다음을 통해 공유


ArmAppServiceModelFactory.StaticSiteBasicAuthPropertyData Method

Definition

Initializes a new instance of StaticSiteBasicAuthPropertyData.

public static Azure.ResourceManager.AppService.StaticSiteBasicAuthPropertyData StaticSiteBasicAuthPropertyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string password = default, Uri secretUri = default, string applicableEnvironmentsMode = default, System.Collections.Generic.IEnumerable<string> environments = default, string secretState = default, string kind = default);
static member StaticSiteBasicAuthPropertyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Uri * string * seq<string> * string * string -> Azure.ResourceManager.AppService.StaticSiteBasicAuthPropertyData
Public Shared Function StaticSiteBasicAuthPropertyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional password As String = Nothing, Optional secretUri As Uri = Nothing, Optional applicableEnvironmentsMode As String = Nothing, Optional environments As IEnumerable(Of String) = Nothing, Optional secretState As String = Nothing, Optional kind As String = Nothing) As StaticSiteBasicAuthPropertyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

password
String

The password for basic auth.

secretUri
Uri

Url to the secret in Key Vault.

applicableEnvironmentsMode
String

State indicating if basic auth is enabled and for what environments it is active.

environments
IEnumerable<String>

The list of enabled environments for Basic Auth if ApplicableEnvironmentsMode is set to SpecifiedEnvironments.

secretState
String

State indicating if basic auth has a secret and what type it is.

kind
String

Kind of resource.

Returns

A new StaticSiteBasicAuthPropertyData instance for mocking.

Applies to