StaticSiteData Class
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.
A class representing the StaticSite data model. Concrete tracked resource types can be created by aliasing this type using a specific property type. Serialized Name: StaticSiteARMResource
public class StaticSiteData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.StaticSiteData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.StaticSiteData>
type StaticSiteData = class
inherit TrackedResourceData
interface IJsonModel<StaticSiteData>
interface IPersistableModel<StaticSiteData>
Public Class StaticSiteData
Inherits TrackedResourceData
Implements IJsonModel(Of StaticSiteData), IPersistableModel(Of StaticSiteData)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| StaticSiteData(AzureLocation) |
Initializes a new instance of StaticSiteData. |
Properties
| Name | Description |
|---|---|
| AllowConfigFileUpdates |
<code>false</code> if config file is locked for this static web app; otherwise, <code>true</code>. Serialized Name: StaticSiteARMResource.properties.allowConfigFileUpdates |
| Branch |
The target branch in the repository. Serialized Name: StaticSiteARMResource.properties.branch |
| BuildProperties |
Build properties to configure on the repository. Serialized Name: StaticSiteARMResource.properties.buildProperties |
| ContentDistributionEndpoint |
The content distribution endpoint for the static site. Serialized Name: StaticSiteARMResource.properties.contentDistributionEndpoint |
| CustomDomains |
The custom domains associated with this static site. Serialized Name: StaticSiteARMResource.properties.customDomains |
| DatabaseConnections |
Database connections for the static site Serialized Name: StaticSiteARMResource.properties.databaseConnections |
| DefaultHostname |
The default autogenerated hostname for the static site. Serialized Name: StaticSiteARMResource.properties.defaultHostname |
| EnterpriseGradeCdnStatus |
State indicating the status of the enterprise grade CDN serving traffic to the static web app. Serialized Name: StaticSiteARMResource.properties.enterpriseGradeCdnStatus |
| Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
| Identity |
Managed service identity. Serialized Name: StaticSiteARMResource.identity |
| KeyVaultReferenceIdentity |
Identity to use for Key Vault Reference authentication. Serialized Name: StaticSiteARMResource.properties.keyVaultReferenceIdentity |
| Kind |
Kind of resource. Serialized Name: StaticSiteARMResource.kind |
| LinkedBackends |
Backends linked to the static side Serialized Name: StaticSiteARMResource.properties.linkedBackends |
| Location |
The geo-location where the resource lives. (Inherited from TrackedResourceData) |
| Name |
The name of the resource. (Inherited from ResourceData) |
| PrivateEndpointConnections |
Private endpoint connections Serialized Name: StaticSiteARMResource.properties.privateEndpointConnections |
| Provider |
The provider that submitted the last deployment to the primary environment of the static site. Serialized Name: StaticSiteARMResource.properties.provider |
| PublicNetworkAccess |
State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string. Serialized Name: StaticSiteARMResource.properties.publicNetworkAccess |
| RepositoryToken |
A user's github repository token. This is used to setup the Github Actions workflow file and API secrets. Serialized Name: StaticSiteARMResource.properties.repositoryToken |
| RepositoryUri |
URL for the repository of the static site. Serialized Name: StaticSiteARMResource.properties.repositoryUrl |
| ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
| Sku |
Description of a SKU for a scalable resource. Serialized Name: StaticSiteARMResource.sku |
| StagingEnvironmentPolicy |
State indicating whether staging environments are allowed or not allowed for a static web app. Serialized Name: StaticSiteARMResource.properties.stagingEnvironmentPolicy |
| SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
| Tags |
Resource tags. (Inherited from TrackedResourceData) |
| TemplateProperties |
Template options for generating a new repository. Serialized Name: StaticSiteARMResource.properties.templateProperties |
| UserProvidedFunctionApps |
User provided function apps registered with the static site Serialized Name: StaticSiteARMResource.properties.userProvidedFunctionApps |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<StaticSiteData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<StaticSiteData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<StaticSiteData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<StaticSiteData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<StaticSiteData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |