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: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, sku: typing.Union[_ForwardRef('SkuDescription'), NoneType] = None, repository_url: typing.Union[str, NoneType] = None, branch: typing.Union[str, NoneType] = None, repository_token: typing.Union[str, NoneType] = None, build_properties: typing.Union[_ForwardRef('StaticSiteBuildProperties'), NoneType] = 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.

system_data
SystemData

The system metadata relating to this resource.

default_hostname
str

The default autogenerated hostname for the static site.

custom_domains
list[str]

The custom domains associated with this static site.