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.v2021_03_01.models._models_py3.ProxyOnlyResourceStaticSitePatchResource
Constructor
StaticSitePatchResource(*, kind: str | 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, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
kind
|
Kind of resource. |
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". |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource Name. |
kind
|
Kind of resource. |
type
|
Resource type. |
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. |
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". |
Azure SDK for Python