StaticSiteARMResource Class

Static Site ARM resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.web.v2020_09_01.models._models_py3.Resource
StaticSiteARMResource

Constructor

StaticSiteARMResource(*, location: str, kind: str | None = None, tags: Dict[str, str] | None = None, sku: _models.SkuDescription | None = None, repository_url: str | None = None, branch: str | None = None, repository_token: str | None = None, build_properties: _models.StaticSiteBuildProperties | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
kind
str

Kind of resource.

location
str

Resource Location. Required.

tags

Resource tags.

sku

Description of a SKU for a scalable resource.

repository_url
str

URL for the repository of the static site.

branch
str

The target branch in the repository.

repository_token
str

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

build_properties

Build properties to configure on the repository.

Variables

Name Description
id
str

Resource Id.

name
str

Resource Name.

kind
str

Kind of resource.

location
str

Resource Location. Required.

type
str

Resource type.

tags

Resource tags.

system_data

The system metadata relating to this resource.

sku

Description of a SKU for a scalable resource.

default_hostname
str

The default autogenerated hostname for the static site.

repository_url
str

URL for the repository of the static site.

branch
str

The target branch in the repository.

custom_domains

The custom domains associated with this static site.

repository_token
str

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

build_properties

Build properties to configure on the repository.