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.v2022_09_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, provider: str | None = None, enterprise_grade_cdn_status: str | _models.EnterpriseGradeCdnStatus | None = None, public_network_access: str | 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. |
provider
|
The provider that submitted the last deployment to the primary environment of the static site. |
enterprise_grade_cdn_status
|
State indicating the status of the enterprise grade CDN serving traffic to the static web app. Known values are: "Enabled", "Enabling", "Disabled", and "Disabling". |
public_network_access
|
State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string. |
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. |
linked_backends
|
Backends linked to the static side. |
provider
|
The provider that submitted the last deployment to the primary environment of the static site. |
enterprise_grade_cdn_status
|
State indicating the status of the enterprise grade CDN serving traffic to the static web app. Known values are: "Enabled", "Enabling", "Disabled", and "Disabling". |
public_network_access
|
State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string. |
database_connections
|
Database connections for the static site. |
Azure SDK for Python