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.v2023_12_01.models._models_py3.ProxyOnlyResource
StaticSitePatchResource

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, public_network_access: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
kind
str

Kind of resource.

repository_url
str

URL for the repository of the static site.

branch
str

The target branch in the repository.

repository_token
str

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

<code>false</code> if config file is locked for this static web app; otherwise, <code>true</code>.

template_properties

Template options for generating a new repository.

provider
str

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
str

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
str

Resource Id.

name
str

Resource Name.

kind
str

Kind of resource.

type
str

Resource type.

default_hostname
str

The default autogenerated hostname for the static site.

repository_url
str

URL for the repository of the static site.

branch
str

The target branch in the repository.

custom_domains

The custom domains associated with this static site.

repository_token
str

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

<code>false</code> if config file is locked for this static web app; otherwise, <code>true</code>.

template_properties

Template options for generating a new repository.

content_distribution_endpoint
str

The content distribution endpoint for the static site.

key_vault_reference_identity
str

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
str

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
str

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.