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, string provider = 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> * string * 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 provider As String = 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.
- provider
- String
The provider that submitted the last deployment to the primary environment of the static site.
- kind
- String
Kind of resource.
Returns
A new StaticSiteData instance for mocking.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for