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 Azure.
- Inheritance
-
azure.mgmt.web.v2021_01_15.models._models_py3.ResourceStaticSiteARMResource
Constructor
StaticSiteARMResource(*, location: str, kind: Optional[str] = None, tags: Optional[Dict[str, str]] = None, sku: Optional[azure.mgmt.web.v2021_01_15.models._models_py3.SkuDescription] = None, identity: Optional[azure.mgmt.web.v2021_01_15.models._models_py3.ManagedServiceIdentity] = None, repository_url: Optional[str] = None, branch: Optional[str] = None, repository_token: Optional[str] = None, build_properties: Optional[azure.mgmt.web.v2021_01_15.models._models_py3.StaticSiteBuildProperties] = None, staging_environment_policy: Optional[Union[str, azure.mgmt.web.v2021_01_15.models._web_site_management_client_enums.StagingEnvironmentPolicy]] = None, allow_config_file_updates: Optional[bool] = None, template_properties: Optional[azure.mgmt.web.v2021_01_15.models._models_py3.StaticSiteTemplateOptions] = None, **kwargs)
Parameters
- repository_token
- str
A user's github repository token. This is used to setup the Github Actions workflow file and API secrets.
- build_properties
- StaticSiteBuildProperties
Build properties to configure on the repository.
- staging_environment_policy
- str or StagingEnvironmentPolicy
State indicating whether staging environments are allowed or not allowed for a static web app. Possible values include: "Enabled", "Disabled".
- allow_config_file_updates
- bool
<code>false</code> if config file is locked for this
static web app; otherwise, <code>true</code>.
- template_properties
- StaticSiteTemplateOptions
Template options for generating a new 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.
- private_endpoint_connections
- list[ResponseMessageEnvelopeRemotePrivateEndpointConnection]
Private endpoint connections.
- 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
- list[StaticSiteUserProvidedFunctionApp]
User provided function apps registered with the static site.
- provider
- str
The provider that submitted the last deployment to the primary environment of the static site.
Feedback
Submit and view feedback for