ArmAppServiceModelFactory.StaticSiteData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of StaticSiteData.
public static Azure.ResourceManager.AppService.StaticSiteData StaticSiteData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.AppService.Models.AppServiceSkuDescription sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = 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 StaticSiteData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.AppService.Models.AppServiceSkuDescription * Azure.ResourceManager.Models.ManagedServiceIdentity * 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.StaticSiteData
Public Shared Function StaticSiteData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As AppServiceSkuDescription = Nothing, Optional identity As ManagedServiceIdentity = 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 StaticSiteData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
Description of a SKU for a scalable resource.
- identity
- ManagedServiceIdentity
Managed service identity.
- defaultHostname
- String
The default autogenerated hostname for the static site.
- repositoryUri
- Uri
URL for the repository of the static site.
- branch
- String
The target branch in the repository.
- customDomains
- IEnumerable<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
- IEnumerable<ResponseMessageEnvelopeRemotePrivateEndpointConnection>
Private endpoint connections.
- stagingEnvironmentPolicy
- Nullable<StagingEnvironmentPolicy>
State indicating whether staging environments are allowed or not allowed for a static web app.
<code>false</code> if config file is locked for this static web app; otherwise, <code>true</code>.
- templateProperties
- StaticSiteTemplate
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
- IEnumerable<StaticSiteUserProvidedFunctionAppData>
User provided function apps registered with the static site.
- linkedBackends
- IEnumerable<StaticSiteLinkedBackendInfo>
Backends linked to the static side.
- provider
- String
The provider that submitted the last deployment to the primary environment of the static site.
- enterpriseGradeCdnStatus
- Nullable<EnterpriseGradeCdnStatus>
State indicating the status of the enterprise grade CDN serving traffic to the static web app.
- publicNetworkAccess
- String
State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string.
- databaseConnections
- IEnumerable<StaticSiteDatabaseConnectionOverview>
Database connections for the static site.
- kind
- String
Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.
Returns
A new StaticSiteData instance for mocking.
Applies to
Azure SDK for .NET