你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmAppServiceModelFactory.StaticSiteUser Method

Definition

Initializes a new instance of StaticSiteUser.

public static Azure.ResourceManager.AppService.Models.StaticSiteUser StaticSiteUser (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string provider = default, string userId = default, string displayName = default, string roles = default, string kind = default);
static member StaticSiteUser : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * string -> Azure.ResourceManager.AppService.Models.StaticSiteUser
Public Shared Function StaticSiteUser (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provider As String = Nothing, Optional userId As String = Nothing, Optional displayName As String = Nothing, Optional roles As String = Nothing, Optional kind As String = Nothing) As StaticSiteUser

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provider
String

The identity provider for the static site user.

userId
String

The user id for the static site user.

displayName
String

The display name for the static site user.

roles
String

The roles for the static site user, in free-form string format.

kind
String

Kind of resource.

Returns

A new StaticSiteUser instance for mocking.

Applies to