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.v2019_08_01.models._models_py3.Resource
StaticSiteARMResource

Constructor

StaticSiteARMResource(*, location: str, kind: Optional[str] = None, tags: Optional[Dict[str, str]] = None, sku: Optional[azure.mgmt.web.v2019_08_01.models._models_py3.SkuDescription] = None, repository_url: Optional[str] = None, branch: Optional[str] = None, repository_token: Optional[str] = None, build_properties: Optional[azure.mgmt.web.v2019_08_01.models._models_py3.StaticSiteBuildProperties] = None, **kwargs)

Parameters

kind
str
Required

Kind of resource.

location
str
Required

Required. Resource Location.

tags
dict[str, str]
Required

A set of tags. Resource tags.

sku
SkuDescription
Required

Description of a SKU for a scalable resource.

repository_url
str
Required

URL for the repository of the static site.

branch
str
Required

The target branch in the repository.

repository_token
str
Required

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

build_properties
StaticSiteBuildProperties
Required

Build properties to configure on the repository.

Variables

id
str

Resource Id.

name
str

Resource Name.

type
str

Resource type.

default_hostname
str

The default autogenerated hostname for the static site.

custom_domains
list[str]

The custom domains associated with this static site.