ArmAppServiceModelFactory.StaticSitePatch Method

Definition

Initializes a new instance of StaticSitePatch.

public static Azure.ResourceManager.AppService.Models.StaticSitePatch StaticSitePatch(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string defaultHostname = default, Uri repositoryUri = default, string branch = default, System.Collections.Generic.IEnumerable<string> customDomains = default, string repositoryToken = default, Azure.ResourceManager.AppService.Models.StaticSiteBuildProperties buildProperties = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.ResponseMessageEnvelopeRemotePrivateEndpointConnection> privateEndpointConnections = default, Azure.ResourceManager.AppService.Models.StagingEnvironmentPolicy? stagingEnvironmentPolicy = default, bool? allowConfigFileUpdates = default, Azure.ResourceManager.AppService.Models.StaticSiteTemplate templateProperties = default, string contentDistributionEndpoint = default, string keyVaultReferenceIdentity = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.StaticSiteUserProvidedFunctionAppData> userProvidedFunctionApps = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.StaticSiteLinkedBackendInfo> linkedBackends = default, string provider = default, Azure.ResourceManager.AppService.Models.EnterpriseGradeCdnStatus? enterpriseGradeCdnStatus = default, string publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.StaticSiteDatabaseConnectionOverview> databaseConnections = default, string kind = default);
static member StaticSitePatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Uri * string * seq<string> * string * Azure.ResourceManager.AppService.Models.StaticSiteBuildProperties * seq<Azure.ResourceManager.AppService.Models.ResponseMessageEnvelopeRemotePrivateEndpointConnection> * Nullable<Azure.ResourceManager.AppService.Models.StagingEnvironmentPolicy> * Nullable<bool> * Azure.ResourceManager.AppService.Models.StaticSiteTemplate * string * string * seq<Azure.ResourceManager.AppService.StaticSiteUserProvidedFunctionAppData> * seq<Azure.ResourceManager.AppService.Models.StaticSiteLinkedBackendInfo> * string * Nullable<Azure.ResourceManager.AppService.Models.EnterpriseGradeCdnStatus> * string * seq<Azure.ResourceManager.AppService.Models.StaticSiteDatabaseConnectionOverview> * string -> Azure.ResourceManager.AppService.Models.StaticSitePatch
Public Shared Function StaticSitePatch (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional defaultHostname As String = Nothing, Optional repositoryUri As Uri = Nothing, Optional branch As String = Nothing, Optional customDomains As IEnumerable(Of String) = Nothing, Optional repositoryToken As String = Nothing, Optional buildProperties As StaticSiteBuildProperties = Nothing, Optional privateEndpointConnections As IEnumerable(Of ResponseMessageEnvelopeRemotePrivateEndpointConnection) = Nothing, Optional stagingEnvironmentPolicy As Nullable(Of StagingEnvironmentPolicy) = Nothing, Optional allowConfigFileUpdates As Nullable(Of Boolean) = Nothing, Optional templateProperties As StaticSiteTemplate = Nothing, Optional contentDistributionEndpoint As String = Nothing, Optional keyVaultReferenceIdentity As String = Nothing, Optional userProvidedFunctionApps As IEnumerable(Of StaticSiteUserProvidedFunctionAppData) = Nothing, Optional linkedBackends As IEnumerable(Of StaticSiteLinkedBackendInfo) = Nothing, Optional provider As String = Nothing, Optional enterpriseGradeCdnStatus As Nullable(Of EnterpriseGradeCdnStatus) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional databaseConnections As IEnumerable(Of StaticSiteDatabaseConnectionOverview) = Nothing, Optional kind As String = Nothing) As StaticSitePatch

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

defaultHostname
String

The default autogenerated hostname for the static site. Serialized Name: StaticSitePatchResource.properties.defaultHostname

repositoryUri
Uri

URL for the repository of the static site. Serialized Name: StaticSitePatchResource.properties.repositoryUrl

branch
String

The target branch in the repository. Serialized Name: StaticSitePatchResource.properties.branch

customDomains
IEnumerable<String>

The custom domains associated with this static site. Serialized Name: StaticSitePatchResource.properties.customDomains

repositoryToken
String

A user's github repository token. This is used to setup the Github Actions workflow file and API secrets. Serialized Name: StaticSitePatchResource.properties.repositoryToken

buildProperties
StaticSiteBuildProperties

Build properties to configure on the repository. Serialized Name: StaticSitePatchResource.properties.buildProperties

privateEndpointConnections
IEnumerable<ResponseMessageEnvelopeRemotePrivateEndpointConnection>

Private endpoint connections Serialized Name: StaticSitePatchResource.properties.privateEndpointConnections

stagingEnvironmentPolicy
Nullable<StagingEnvironmentPolicy>

State indicating whether staging environments are allowed or not allowed for a static web app. Serialized Name: StaticSitePatchResource.properties.stagingEnvironmentPolicy

allowConfigFileUpdates
Nullable<Boolean>

<code>false</code> if config file is locked for this static web app; otherwise, <code>true</code>. Serialized Name: StaticSitePatchResource.properties.allowConfigFileUpdates

templateProperties
StaticSiteTemplate

Template options for generating a new repository. Serialized Name: StaticSitePatchResource.properties.templateProperties

contentDistributionEndpoint
String

The content distribution endpoint for the static site. Serialized Name: StaticSitePatchResource.properties.contentDistributionEndpoint

keyVaultReferenceIdentity
String

Identity to use for Key Vault Reference authentication. Serialized Name: StaticSitePatchResource.properties.keyVaultReferenceIdentity

userProvidedFunctionApps
IEnumerable<StaticSiteUserProvidedFunctionAppData>

User provided function apps registered with the static site Serialized Name: StaticSitePatchResource.properties.userProvidedFunctionApps

linkedBackends
IEnumerable<StaticSiteLinkedBackendInfo>

Backends linked to the static side Serialized Name: StaticSitePatchResource.properties.linkedBackends

provider
String

The provider that submitted the last deployment to the primary environment of the static site. Serialized Name: StaticSitePatchResource.properties.provider

enterpriseGradeCdnStatus
Nullable<EnterpriseGradeCdnStatus>

State indicating the status of the enterprise grade CDN serving traffic to the static web app. Serialized Name: StaticSitePatchResource.properties.enterpriseGradeCdnStatus

publicNetworkAccess
String

State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string. Serialized Name: StaticSitePatchResource.properties.publicNetworkAccess

databaseConnections
IEnumerable<StaticSiteDatabaseConnectionOverview>

Database connections for the static site Serialized Name: StaticSitePatchResource.properties.databaseConnections

kind
String

Kind of resource. Serialized Name: ProxyOnlyResource.kind

Returns

A new StaticSitePatch instance for mocking.

Applies to