StaticSitePatchResource Class

ARM resource for a static site when patching.

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

Inheritance
azure.mgmt.web.v2019_08_01.models._models_py3.ProxyOnlyResource
StaticSitePatchResource

Constructor

StaticSitePatchResource(*, kind: Optional[str] = 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.

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.