共用方式為


StaticSiteARMResource Constructors

Definition

Overloads

StaticSiteARMResource()

Initializes a new instance of the StaticSiteARMResource class.

StaticSiteARMResource(String, String, String, String, String, IDictionary<String,String>, String, String, String, IList<String>, String, StaticSiteBuildProperties, IList<ResponseMessageEnvelopeRemotePrivateEndpointConnection>, Nullable<StagingEnvironmentPolicy>, Nullable<Boolean>, StaticSiteTemplateOptions, String, String, IList<StaticSiteUserProvidedFunctionApp>, String, String, SkuDescription, ManagedServiceIdentity)

Initializes a new instance of the StaticSiteARMResource class.

StaticSiteARMResource()

Initializes a new instance of the StaticSiteARMResource class.

public StaticSiteARMResource ();
Public Sub New ()

Applies to

StaticSiteARMResource(String, String, String, String, String, IDictionary<String,String>, String, String, String, IList<String>, String, StaticSiteBuildProperties, IList<ResponseMessageEnvelopeRemotePrivateEndpointConnection>, Nullable<StagingEnvironmentPolicy>, Nullable<Boolean>, StaticSiteTemplateOptions, String, String, IList<StaticSiteUserProvidedFunctionApp>, String, String, SkuDescription, ManagedServiceIdentity)

Initializes a new instance of the StaticSiteARMResource class.

public StaticSiteARMResource (string location, string id = default, string name = default, string kind = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string defaultHostname = default, string repositoryUrl = default, string branch = default, System.Collections.Generic.IList<string> customDomains = default, string repositoryToken = default, Microsoft.Azure.Management.WebSites.Models.StaticSiteBuildProperties buildProperties = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.ResponseMessageEnvelopeRemotePrivateEndpointConnection> privateEndpointConnections = default, Microsoft.Azure.Management.WebSites.Models.StagingEnvironmentPolicy? stagingEnvironmentPolicy = default, bool? allowConfigFileUpdates = default, Microsoft.Azure.Management.WebSites.Models.StaticSiteTemplateOptions templateProperties = default, string contentDistributionEndpoint = default, string keyVaultReferenceIdentity = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.StaticSiteUserProvidedFunctionApp> userProvidedFunctionApps = default, string provider = default, string enterpriseGradeCdnStatus = default, Microsoft.Azure.Management.WebSites.Models.SkuDescription sku = default, Microsoft.Azure.Management.WebSites.Models.ManagedServiceIdentity identity = default);
new Microsoft.Azure.Management.WebSites.Models.StaticSiteARMResource : string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * System.Collections.Generic.IList<string> * string * Microsoft.Azure.Management.WebSites.Models.StaticSiteBuildProperties * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.ResponseMessageEnvelopeRemotePrivateEndpointConnection> * Nullable<Microsoft.Azure.Management.WebSites.Models.StagingEnvironmentPolicy> * Nullable<bool> * Microsoft.Azure.Management.WebSites.Models.StaticSiteTemplateOptions * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.StaticSiteUserProvidedFunctionApp> * string * string * Microsoft.Azure.Management.WebSites.Models.SkuDescription * Microsoft.Azure.Management.WebSites.Models.ManagedServiceIdentity -> Microsoft.Azure.Management.WebSites.Models.StaticSiteARMResource
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional defaultHostname As String = Nothing, Optional repositoryUrl As String = Nothing, Optional branch As String = Nothing, Optional customDomains As IList(Of String) = Nothing, Optional repositoryToken As String = Nothing, Optional buildProperties As StaticSiteBuildProperties = Nothing, Optional privateEndpointConnections As IList(Of ResponseMessageEnvelopeRemotePrivateEndpointConnection) = Nothing, Optional stagingEnvironmentPolicy As Nullable(Of StagingEnvironmentPolicy) = Nothing, Optional allowConfigFileUpdates As Nullable(Of Boolean) = Nothing, Optional templateProperties As StaticSiteTemplateOptions = Nothing, Optional contentDistributionEndpoint As String = Nothing, Optional keyVaultReferenceIdentity As String = Nothing, Optional userProvidedFunctionApps As IList(Of StaticSiteUserProvidedFunctionApp) = Nothing, Optional provider As String = Nothing, Optional enterpriseGradeCdnStatus As String = Nothing, Optional sku As SkuDescription = Nothing, Optional identity As ManagedServiceIdentity = Nothing)

Parameters

location
String

Resource Location.

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

defaultHostname
String

The default autogenerated hostname for the static site.

repositoryUrl
String

URL for the repository of the static site.

branch
String

The target branch in the repository.

customDomains
IList<String>

The custom domains associated with this static site.

repositoryToken
String

A user's github repository token. This is used to setup the Github Actions workflow file and API secrets.

buildProperties
StaticSiteBuildProperties

Build properties to configure on the repository.

privateEndpointConnections
IList<ResponseMessageEnvelopeRemotePrivateEndpointConnection>

Private endpoint connections

stagingEnvironmentPolicy
Nullable<StagingEnvironmentPolicy>

State indicating whether staging environments are allowed or not allowed for a static web app. Possible values include: 'Enabled', 'Disabled'

allowConfigFileUpdates
Nullable<Boolean>

<code>false</code> if config file is locked for this static web app; otherwise, <code>true</code>.

templateProperties
StaticSiteTemplateOptions

Template options for generating a new repository.

contentDistributionEndpoint
String

The content distribution endpoint for the static site.

keyVaultReferenceIdentity
String

Identity to use for Key Vault Reference authentication.

userProvidedFunctionApps
IList<StaticSiteUserProvidedFunctionApp>

User provided function apps registered with the static site

provider
String

The provider that submitted the last deployment to the primary environment of the static site.

enterpriseGradeCdnStatus
String

State indicating the status of the enterprise grade CDN serving traffic to the static web app. Possible values include: 'Enabled', 'Enabling', 'Disabled', 'Disabling'

Applies to