StaticSitePatch Class

Definition

ARM resource for a static site when patching.

public class StaticSitePatch : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.StaticSitePatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.StaticSitePatch>
type StaticSitePatch = class
    inherit ResourceData
    interface IJsonModel<StaticSitePatch>
    interface IPersistableModel<StaticSitePatch>
Public Class StaticSitePatch
Inherits ResourceData
Implements IJsonModel(Of StaticSitePatch), IPersistableModel(Of StaticSitePatch)
Inheritance
StaticSitePatch
Implements

Constructors

StaticSitePatch()

Initializes a new instance of StaticSitePatch.

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.

DatabaseConnections

Database connections for the static site.

DefaultHostname

The default autogenerated hostname for the static site.

EnterpriseGradeCdnStatus

State indicating the status of the enterprise grade CDN serving traffic to the static web app.

Id

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

(Inherited from ResourceData)
KeyVaultReferenceIdentity

Identity to use for Key Vault Reference authentication.

Kind

Kind of resource.

LinkedBackends

Backends linked to the static side.

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.

PublicNetworkAccess

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

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)
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)
TemplateProperties

Template options for generating a new repository.

UserProvidedFunctionApps

User provided function apps registered with the static site.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<StaticSitePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StaticSitePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StaticSitePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StaticSitePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StaticSitePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to