StaticSitePatch Class

Definition

ARM resource for a static site when patching Serialized Name: StaticSitePatchResource

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

Name Description
StaticSitePatch()

Initializes a new instance of StaticSitePatch.

Properties

Name Description
AllowConfigFileUpdates

<code>false</code> if config file is locked for this static web app; otherwise, <code>true</code>. Serialized Name: StaticSitePatchResource.properties.allowConfigFileUpdates

Branch

The target branch in the repository. Serialized Name: StaticSitePatchResource.properties.branch

BuildProperties

Build properties to configure on the repository. Serialized Name: StaticSitePatchResource.properties.buildProperties

ContentDistributionEndpoint

The content distribution endpoint for the static site. Serialized Name: StaticSitePatchResource.properties.contentDistributionEndpoint

CustomDomains

The custom domains associated with this static site. Serialized Name: StaticSitePatchResource.properties.customDomains

DatabaseConnections

Database connections for the static site Serialized Name: StaticSitePatchResource.properties.databaseConnections

DefaultHostname

The default autogenerated hostname for the static site. Serialized Name: StaticSitePatchResource.properties.defaultHostname

EnterpriseGradeCdnStatus

State indicating the status of the enterprise grade CDN serving traffic to the static web app. Serialized Name: StaticSitePatchResource.properties.enterpriseGradeCdnStatus

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. Serialized Name: StaticSitePatchResource.properties.keyVaultReferenceIdentity

Kind

Kind of resource. Serialized Name: ProxyOnlyResource.kind

LinkedBackends

Backends linked to the static side Serialized Name: StaticSitePatchResource.properties.linkedBackends

Name

The name of the resource.

(Inherited from ResourceData)
PrivateEndpointConnections

Private endpoint connections Serialized Name: StaticSitePatchResource.properties.privateEndpointConnections

Provider

The provider that submitted the last deployment to the primary environment of the static site. Serialized Name: StaticSitePatchResource.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: StaticSitePatchResource.properties.publicNetworkAccess

RepositoryToken

A user's github repository token. This is used to setup the Github Actions workflow file and API secrets. Serialized Name: StaticSitePatchResource.properties.repositoryToken

RepositoryUri

URL for the repository of the static site. Serialized Name: StaticSitePatchResource.properties.repositoryUrl

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. Serialized Name: StaticSitePatchResource.properties.stagingEnvironmentPolicy

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TemplateProperties

Template options for generating a new repository. Serialized Name: StaticSitePatchResource.properties.templateProperties

UserProvidedFunctionApps

User provided function apps registered with the static site Serialized Name: StaticSitePatchResource.properties.userProvidedFunctionApps

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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