Share via


StaticSite Class

Definition

A static site.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StaticSiteTypeConverter))]
public class StaticSite : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSite
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StaticSiteTypeConverter))>]
type StaticSite = class
    interface IStaticSite
    interface IJsonSerializable
Public Class StaticSite
Implements IStaticSite
Inheritance
StaticSite
Attributes
Implements

Constructors

StaticSite()

Creates an new StaticSite 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.

CustomDomain

The custom domains associated with this static site.

DefaultHostname

The default autogenerated hostname for 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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StaticSite.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StaticSite.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSite.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StaticSite into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to