Share via


StaticSitePatchResource Constructors

Definition

Overloads

StaticSitePatchResource()

Initializes a new instance of the StaticSitePatchResource class.

StaticSitePatchResource(String, String, String, String, String, String, String, IList<String>, String, StaticSiteBuildProperties, IList<ResponseMessageEnvelopeRemotePrivateEndpointConnection>, Nullable<StagingEnvironmentPolicy>, Nullable<Boolean>, StaticSiteTemplateOptions, String, String, IList<StaticSiteUserProvidedFunctionApp>, String, String)

Initializes a new instance of the StaticSitePatchResource class.

StaticSitePatchResource()

Initializes a new instance of the StaticSitePatchResource class.

public StaticSitePatchResource ();
Public Sub New ()

Applies to

StaticSitePatchResource(String, String, String, String, String, String, String, IList<String>, String, StaticSiteBuildProperties, IList<ResponseMessageEnvelopeRemotePrivateEndpointConnection>, Nullable<StagingEnvironmentPolicy>, Nullable<Boolean>, StaticSiteTemplateOptions, String, String, IList<StaticSiteUserProvidedFunctionApp>, String, String)

Initializes a new instance of the StaticSitePatchResource class.

public StaticSitePatchResource (string id = default, string name = default, string kind = default, string type = 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);
new Microsoft.Azure.Management.WebSites.Models.StaticSitePatchResource : string * string * 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.StaticSitePatchResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As 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)

Parameters

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

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