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 server.
- Inheritance
-
azure.mgmt.web.v2020_12_01.models._models_py3.ResourceStaticSiteARMResource
Constructor
StaticSiteARMResource(*, location: str, kind: str | None = None, tags: Dict[str, str] | None = None, sku: _models.SkuDescription | None = None, identity: _models.ManagedServiceIdentity | None = None, repository_url: str | None = None, branch: str | None = None, repository_token: str | None = None, build_properties: _models.StaticSiteBuildProperties | None = None, staging_environment_policy: str | _models.StagingEnvironmentPolicy | None = None, allow_config_file_updates: bool | None = None, template_properties: _models.StaticSiteTemplateOptions | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
kind
|
Kind of resource. |
location
|
Resource Location. Required. |
tags
|
Resource tags. |
sku
|
Description of a SKU for a scalable resource. |
identity
|
Managed service identity. |
repository_url
|
URL for the repository of the static site. |
branch
|
The target branch in the repository. |
repository_token
|
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. |
staging_environment_policy
|
State indicating whether staging environments are allowed or not allowed for a static web app. Known values are: "Enabled" and "Disabled". |
allow_config_file_updates
|
|
template_properties
|
Template options for generating a new repository. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource Name. |
kind
|
Kind of resource. |
location
|
Resource Location. Required. |
type
|
Resource type. |
tags
|
Resource tags. |
sku
|
Description of a SKU for a scalable resource. |
identity
|
Managed service identity. |
default_hostname
|
The default autogenerated hostname for the static site. |
repository_url
|
URL for the repository of the static site. |
branch
|
The target branch in the repository. |
custom_domains
|
The custom domains associated with this static site. |
repository_token
|
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. |
private_endpoint_connections
|
Private endpoint connections. |
staging_environment_policy
|
State indicating whether staging environments are allowed or not allowed for a static web app. Known values are: "Enabled" and "Disabled". |
allow_config_file_updates
|
|
template_properties
|
Template options for generating a new repository. |
content_distribution_endpoint
|
The content distribution endpoint for the static site. |
key_vault_reference_identity
|
Identity to use for Key Vault Reference authentication. |
user_provided_function_apps
|
User provided function apps registered with the static site. |
provider
|
The provider that submitted the last deployment to the primary environment of the static site. |
Azure SDK for Python