Dela via


WebSiteManagementClientOperationsMixin Class

Inheritance
azure.mgmt.web.v2023_12_01._vendor.WebSiteManagementClientMixinABC
WebSiteManagementClientOperationsMixin

Constructor

WebSiteManagementClientOperationsMixin()

Methods

check_name_availability

Check if a resource name is available.

Description for Check if a resource name is available.

get_publishing_user

Gets publishing user.

Description for Gets publishing user.

get_source_control

Gets source control token.

Description for Gets source control token.

get_subscription_deployment_locations

Gets list of available geo regions plus ministamps.

Description for Gets list of available geo regions plus ministamps.

list_ase_regions

Get a list of available ASE regions and its supported Skus.

Description for get a list of available ASE regions and its supported Skus.

list_billing_meters

Gets a list of meters for a given location.

Description for Gets a list of meters for a given location.

list_custom_host_name_sites

Get custom hostnames under this subscription.

Get custom hostnames under this subscription.

list_geo_regions

Get a list of available geographical regions.

Description for Get a list of available geographical regions.

list_premier_add_on_offers

List all premier add-on offers.

Description for List all premier add-on offers.

list_site_identifiers_assigned_to_host_name

List all apps that are assigned to a hostname.

Description for List all apps that are assigned to a hostname.

list_skus

List all SKUs.

Description for List all SKUs.

list_source_controls

Gets the source controls available for Azure websites.

Description for Gets the source controls available for Azure websites.

move

Move resources between resource groups.

Description for Move resources between resource groups.

update_publishing_user

Updates publishing user.

Description for Updates publishing user.

update_source_control

Updates source control token.

Description for Updates source control token.

validate

Validate if a resource can be created.

Description for Validate if a resource can be created.

validate_move

Validate whether a resource can be moved.

Description for Validate whether a resource can be moved.

verify_hosting_environment_vnet

Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.

Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.

check_name_availability

Check if a resource name is available.

Description for Check if a resource name is available.

check_name_availability(name: str, type: str | CheckNameResourceTypes, is_fqdn: bool | None = None, environment_id: str | None = None, **kwargs: Any) -> ResourceNameAvailability

Parameters

Name Description
name
Required
str

Resource name to verify. Required.

type
Required

Resource type used for verification. Known values are: "Site", "Slot", "HostingEnvironment", "PublishingUser", "Microsoft.Web/sites", "Microsoft.Web/sites/slots", "Microsoft.Web/hostingEnvironments", and "Microsoft.Web/publishingUsers". Required.

is_fqdn
Required

Is fully qualified domain name. Default value is None.

environment_id
Required
str

Azure Resource Manager ID of the customer's selected Container Apps Environment on which to host the Function app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}. Default value is None.

Returns

Type Description

ResourceNameAvailability or the result of cls(response)

Exceptions

Type Description

get_publishing_user

Gets publishing user.

Description for Gets publishing user.

get_publishing_user(**kwargs: Any) -> User

Returns

Type Description

User or the result of cls(response)

Exceptions

Type Description

get_source_control

Gets source control token.

Description for Gets source control token.

get_source_control(source_control_type: str, **kwargs: Any) -> SourceControl

Parameters

Name Description
source_control_type
Required
str

Type of source control. Required.

Returns

Type Description

SourceControl or the result of cls(response)

Exceptions

Type Description

get_subscription_deployment_locations

Gets list of available geo regions plus ministamps.

Description for Gets list of available geo regions plus ministamps.

get_subscription_deployment_locations(**kwargs: Any) -> DeploymentLocations

Returns

Type Description

DeploymentLocations or the result of cls(response)

Exceptions

Type Description

list_ase_regions

Get a list of available ASE regions and its supported Skus.

Description for get a list of available ASE regions and its supported Skus.

list_ase_regions(**kwargs: Any) -> Iterable[AseRegion]

Returns

Type Description

An iterator like instance of either AseRegion or the result of cls(response)

Exceptions

Type Description

list_billing_meters

Gets a list of meters for a given location.

Description for Gets a list of meters for a given location.

list_billing_meters(billing_location: str | None = None, os_type: str | None = None, **kwargs: Any) -> Iterable[BillingMeter]

Parameters

Name Description
billing_location
Required
str

Azure Location of billable resource. Default value is None.

os_type
Required
str

App Service OS type meters used for. Default value is None.

Returns

Type Description

An iterator like instance of either BillingMeter or the result of cls(response)

Exceptions

Type Description

list_custom_host_name_sites

Get custom hostnames under this subscription.

Get custom hostnames under this subscription.

list_custom_host_name_sites(hostname: str | None = None, **kwargs: Any) -> Iterable[CustomHostnameSites]

Parameters

Name Description
hostname
Required
str

Specific hostname. Default value is None.

Returns

Type Description

An iterator like instance of either CustomHostnameSites or the result of cls(response)

Exceptions

Type Description

list_geo_regions

Get a list of available geographical regions.

Description for Get a list of available geographical regions.

list_geo_regions(sku: str | SkuName | None = None, linux_workers_enabled: bool | None = None, xenon_workers_enabled: bool | None = None, linux_dynamic_workers_enabled: bool | None = None, **kwargs: Any) -> Iterable[GeoRegion]

Parameters

Name Description
sku
Required

Name of SKU used to filter the regions. Known values are: "Free", "Shared", "Basic", "Standard", "Premium", "Dynamic", "Isolated", "IsolatedV2", "PremiumV2", "PremiumV3", "PremiumContainer", "ElasticPremium", "ElasticIsolated", and "FlexConsumption". Default value is None.

linux_workers_enabled
Required

Specify <code>true</code> if you want to filter to only regions that support Linux workers. Default value is None.

xenon_workers_enabled
Required

Specify <code>true</code> if you want to filter to only regions that support Xenon workers. Default value is None.

linux_dynamic_workers_enabled
Required

Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers. Default value is None.

Returns

Type Description

An iterator like instance of either GeoRegion or the result of cls(response)

Exceptions

Type Description

list_premier_add_on_offers

List all premier add-on offers.

Description for List all premier add-on offers.

list_premier_add_on_offers(**kwargs: Any) -> Iterable[PremierAddOnOffer]

Returns

Type Description

An iterator like instance of either PremierAddOnOffer or the result of cls(response)

Exceptions

Type Description

list_site_identifiers_assigned_to_host_name

List all apps that are assigned to a hostname.

Description for List all apps that are assigned to a hostname.

list_site_identifiers_assigned_to_host_name(name_identifier: _models.NameIdentifier, *, content_type: str = 'application/json', **kwargs: Any) -> Iterable['_models.Identifier']

Parameters

Name Description
name_identifier
Required

Hostname information. Is either a NameIdentifier type or a IO[bytes] type. Required.

Returns

Type Description

An iterator like instance of either Identifier or the result of cls(response)

Exceptions

Type Description

list_skus

List all SKUs.

Description for List all SKUs.

list_skus(**kwargs: Any) -> SkuInfos

Returns

Type Description

SkuInfos or the result of cls(response)

Exceptions

Type Description

list_source_controls

Gets the source controls available for Azure websites.

Description for Gets the source controls available for Azure websites.

list_source_controls(**kwargs: Any) -> Iterable[SourceControl]

Returns

Type Description

An iterator like instance of either SourceControl or the result of cls(response)

Exceptions

Type Description

move

Move resources between resource groups.

Description for Move resources between resource groups.

move(resource_group_name: str, move_resource_envelope: _models.CsmMoveResourceEnvelope, *, content_type: str = 'application/json', **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group to which the resource belongs. Required.

move_resource_envelope
Required

Object that represents the resource to move. Is either a CsmMoveResourceEnvelope type or a IO[bytes] type. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

update_publishing_user

Updates publishing user.

Description for Updates publishing user.

update_publishing_user(user_details: _models.User, *, content_type: str = 'application/json', **kwargs: Any) -> _models.User

Parameters

Name Description
user_details
Required
User or IO[bytes]

Details of publishing user. Is either a User type or a IO[bytes] type. Required.

Returns

Type Description

User or the result of cls(response)

Exceptions

Type Description

update_source_control

Updates source control token.

Description for Updates source control token.

update_source_control(source_control_type: str, request_message: _models.SourceControl, *, content_type: str = 'application/json', **kwargs: Any) -> _models.SourceControl

Parameters

Name Description
source_control_type
Required
str

Type of source control. Required.

request_message
Required

Source control token information. Is either a SourceControl type or a IO[bytes] type. Required.

Returns

Type Description

SourceControl or the result of cls(response)

Exceptions

Type Description

validate

Validate if a resource can be created.

Description for Validate if a resource can be created.

validate(resource_group_name: str, validate_request: _models.ValidateRequest, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ValidateResponse

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group to which the resource belongs. Required.

validate_request
Required

Request with the resources to validate. Is either a ValidateRequest type or a IO[bytes] type. Required.

Returns

Type Description

ValidateResponse or the result of cls(response)

Exceptions

Type Description

validate_move

Validate whether a resource can be moved.

Description for Validate whether a resource can be moved.

validate_move(resource_group_name: str, move_resource_envelope: _models.CsmMoveResourceEnvelope, *, content_type: str = 'application/json', **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group to which the resource belongs. Required.

move_resource_envelope
Required

Object that represents the resource to move. Is either a CsmMoveResourceEnvelope type or a IO[bytes] type. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

verify_hosting_environment_vnet

Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.

Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.

verify_hosting_environment_vnet(parameters: _models.VnetParameters, *, content_type: str = 'application/json', **kwargs: Any) -> _models.VnetValidationFailureDetails

Parameters

Name Description
parameters
Required

VNET information. Is either a VnetParameters type or a IO[bytes] type. Required.

Returns

Type Description

VnetValidationFailureDetails or the result of cls(response)

Exceptions

Type Description