Share via


StaticSiteARMResource Class

Definition

Static Site ARM resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class StaticSiteARMResource : Microsoft.Azure.Management.WebSites.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type StaticSiteARMResource = class
    inherit Resource
Public Class StaticSiteARMResource
Inherits Resource
Inheritance
StaticSiteARMResource
Attributes

Constructors

StaticSiteARMResource()

Initializes a new instance of the StaticSiteARMResource class.

StaticSiteARMResource(String, String, String, String, String, IDictionary<String,String>, String, String, String, IList<String>, String, StaticSiteBuildProperties, IList<ResponseMessageEnvelopeRemotePrivateEndpointConnection>, Nullable<StagingEnvironmentPolicy>, Nullable<Boolean>, StaticSiteTemplateOptions, String, String, IList<StaticSiteUserProvidedFunctionApp>, String, String, SkuDescription, ManagedServiceIdentity)

Initializes a new instance of the StaticSiteARMResource class.

Properties

AllowConfigFileUpdates

Gets or sets &lt;code&gt;false&lt;/code&gt; if config file is locked for this static web app; otherwise, &lt;code&gt;true&lt;/code&gt;.

Branch

Gets or sets the target branch in the repository.

BuildProperties

Gets or sets build properties to configure on the repository.

ContentDistributionEndpoint

Gets the content distribution endpoint for the static site.

CustomDomains

Gets the custom domains associated with this static site.

DefaultHostname

Gets the default autogenerated hostname for the static site.

EnterpriseGradeCdnStatus

Gets or sets state indicating the status of the enterprise grade CDN serving traffic to the static web app. Possible values include: 'Enabled', 'Enabling', 'Disabled', 'Disabling'

Id

Gets resource Id.

(Inherited from Resource)
Identity
KeyVaultReferenceIdentity

Gets identity to use for Key Vault Reference authentication.

Kind

Gets or sets kind of resource.

(Inherited from Resource)
Location

Gets or sets resource Location.

(Inherited from Resource)
Name

Gets resource Name.

(Inherited from Resource)
PrivateEndpointConnections

Gets private endpoint connections

Provider

Gets or sets the provider that submitted the last deployment to the primary environment of the static site.

RepositoryToken

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

RepositoryUrl

Gets or sets URL for the repository of the static site.

Sku
StagingEnvironmentPolicy

Gets or sets state indicating whether staging environments are allowed or not allowed for a static web app. Possible values include: 'Enabled', 'Disabled'

Tags

Gets or sets resource tags.

(Inherited from Resource)
TemplateProperties

Gets or sets template options for generating a new repository.

Type

Gets resource type.

(Inherited from Resource)
UserProvidedFunctionApps

Gets user provided function apps registered with the static site

Methods

Validate()

Validate the object.

Applies to