Partager via


StaticSiteArmResource Class

Definition

Static Site ARM resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StaticSiteArmResourceTypeConverter))]
public class StaticSiteArmResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteArmResource, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.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

Branch

The target branch in the repository.

BuildPropertyApiLocation

The path to the api code within the repository.

BuildPropertyAppArtifactLocation

The path of the app artifacts after building.

BuildPropertyAppLocation

The path to the app code within the repository.

Capacity

Current number of instances assigned to the resource.

CustomDomain

The custom domains associated with this static site.

DefaultHostname

The default autogenerated hostname for the static site.

Id

Resource Id.

Kind

Kind of resource.

Location

Resource Location.

Name

Resource Name.

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.

SkuCapability

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

SkuCapacityDefault

Default number of 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.

Tag

Resource tags.

Type

Resource type.

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.Functions.Models.Api20190801.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.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to