StaticSiteData Class

Definition

A class representing the StaticSite data model. Static Site ARM resource.

public class StaticSiteData : Azure.ResourceManager.Models.TrackedResourceData
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
type StaticSiteData = class
    inherit TrackedResourceData
    interface IJsonModel<StaticSiteData>
    interface IPersistableModel<StaticSiteData>
Public Class StaticSiteData
Inherits TrackedResourceData
Public Class StaticSiteData
Inherits TrackedResourceData
Implements IJsonModel(Of StaticSiteData), IPersistableModel(Of StaticSiteData)
Inheritance
Implements

Constructors

StaticSiteData(AzureLocation)

Initializes a new instance of StaticSiteData.

Properties

AllowConfigFileUpdates

<code>false</code> if config file is locked for this static web app; otherwise, <code>true</code>.

Branch

The target branch in the repository.

BuildProperties

Build properties to configure on the repository.

ContentDistributionEndpoint

The content distribution endpoint for the static site.

CustomDomains

The custom domains associated with this static site.

DefaultHostname

The default autogenerated hostname for the static site.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

Managed service identity.

KeyVaultReferenceIdentity

Identity to use for Key Vault Reference authentication.

Kind

Kind of resource.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
PrivateEndpointConnections

Private endpoint connections.

Provider

The provider that submitted the last deployment to the primary environment of the static site.

RepositoryToken

A user's github repository token. This is used to setup the Github Actions workflow file and API secrets.

RepositoryUri

URL for the repository of the static site.

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.

StagingEnvironmentPolicy

State indicating whether staging environments are allowed or not allowed for a static web app.

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.

UserProvidedFunctionApps

User provided function apps registered with the static site.

Explicit Interface Implementations

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.

Applies to