你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StaticSiteArmResource Class

Definition

Static Site ARM resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.StaticSiteArmResourceTypeConverter))]
public class StaticSiteArmResource : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteArmResource, Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.StaticSiteArmResourceTypeConverter))>]
type StaticSiteArmResource = class
    interface IStaticSiteArmResource
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class StaticSiteArmResource
Implements IStaticSiteArmResource, IValidates
Inheritance
StaticSiteArmResource
Attributes
Implements

Constructors

StaticSiteArmResource()

Creates an new StaticSiteArmResource instance.

Properties

AllowConfigFileUpdate

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

Branch

The target branch in the repository.

BuildPropertyApiBuildCommand

A custom command to run during deployment of the Azure Functions API application.

BuildPropertyApiLocation

The path to the api code within the repository.

BuildPropertyAppArtifactLocation

Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)

BuildPropertyAppBuildCommand

A custom command to run during deployment of the static content application.

BuildPropertyAppLocation

The path to the app code within the repository.

BuildPropertyGithubActionSecretNameOverride

Github Action secret name override.

BuildPropertyOutputLocation

The output path of the app after building.

BuildPropertySkipGithubActionWorkflowGeneration

Skip Github Action workflow generation.

Capacity

Current number of instances assigned to the resource.

ContentDistributionEndpoint

The content distribution endpoint for the static site.

CustomDomain

The custom domains associated with this static site.

DefaultHostname

The default autogenerated hostname for the static site.

Id

Resource Id.

IdentityPrincipalId

Principal Id of managed service identity.

IdentityTenantId

Tenant of managed service identity.

IdentityType

Type of managed service identity.

IdentityUserAssignedIdentity

The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}

KeyVaultReferenceIdentity

Identity to use for Key Vault Reference authentication.

Kind

Kind of resource.

Location

Resource Location.

Name

Resource Name.

PrivateEndpointConnection

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.

RepositoryUrl

URL for the repository of the static site.

ResourceGroupName

Gets the resource group name

SkuCapability

Capabilities of the SKU, e.g., is traffic manager enabled?

SkuCapacityDefault

Default number of workers for this App Service plan SKU.

SkuCapacityElasticMaximum

Maximum number of Elastic workers for this App Service plan SKU.

SkuCapacityMaximum

Maximum number of workers for this App Service plan SKU.

SkuCapacityMinimum

Minimum number of workers for this App Service plan SKU.

SkuCapacityScaleType

Available scale configurations for an App Service plan.

SkuFamily

Family code of the resource SKU.

SkuLocation

Locations of the SKU.

SkuName

Name of the resource SKU.

SkuSize

Size specifier of the resource SKU.

SkuTier

Service tier of the resource SKU.

StagingEnvironmentPolicy

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

Tag

Resource tags.

TemplatePropertyDescription

Description of the newly generated repository.

TemplatePropertyIsPrivate

Whether or not the newly generated repository is a private repository. Defaults to false (i.e. public).

TemplatePropertyOwner

Owner of the newly generated repository.

TemplatePropertyRepositoryName

Name of the newly generated repository.

TemplatePropertyTemplateRepositoryUrl

URL of the template repository. The newly generated repository will be based on this one.

Type

Resource type.

UserProvidedFunctionApp

User provided function apps registered with the static site

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StaticSiteArmResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StaticSiteArmResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteArmResource.

FromJsonString(String)

Creates a new instance of StaticSiteArmResource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of StaticSiteArmResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to