WebSiteManagementClientOperationsMixin Class

Inheritance
azure.mgmt.web.v2016_03_01.aio._vendor.WebSiteManagementClientMixinABC
WebSiteManagementClientOperationsMixin

Constructor

WebSiteManagementClientOperationsMixin()

Methods

check_name_availability

Check if a resource name is available.

Check if a resource name is available.

get_publishing_user

Gets publishing user.

Gets publishing user.

get_source_control

Gets source control token.

Gets source control token.

get_subscription_deployment_locations

Gets list of available geo regions plus ministamps.

Gets list of available geo regions plus ministamps.

list_geo_regions

Get a list of available geographical regions.

Get a list of available geographical regions.

list_premier_add_on_offers

List all premier add-on offers.

List all premier add-on offers.

list_site_identifiers_assigned_to_host_name

List all apps that are assigned to a hostname.

List all apps that are assigned to a hostname.

list_skus

List all SKUs.

List all SKUs.

list_source_controls

Gets the source controls available for Azure websites.

Gets the source controls available for Azure websites.

move

Move resources between resource groups.

Move resources between resource groups.

update_publishing_user

Updates publishing user.

Updates publishing user.

update_source_control

Updates source control token.

Updates source control token.

validate

Validate if a resource can be created.

Validate if a resource can be created.

validate_move

Validate whether a resource can be moved.

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.

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.

Check if a resource name is available.

async check_name_availability(name: str, type: str | CheckNameResourceTypes, is_fqdn: bool | 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.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

ResourceNameAvailability or the result of cls(response)

Exceptions

Type Description

get_publishing_user

Gets publishing user.

Gets publishing user.

async get_publishing_user(**kwargs: Any) -> User

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

User or the result of cls(response)

Exceptions

Type Description

get_source_control

Gets source control token.

Gets source control token.

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

Parameters

Name Description
source_control_type
Required
str

Type of source control. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

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.

Gets list of available geo regions plus ministamps.

async get_subscription_deployment_locations(**kwargs: Any) -> DeploymentLocations

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

DeploymentLocations or the result of cls(response)

Exceptions

Type Description

list_geo_regions

Get a list of available geographical regions.

Get a list of available geographical regions.

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

Parameters

Name Description
sku
Required

Name of SKU used to filter the regions. Known values are: "Free", "Shared", "Basic", "Standard", "Premium", "PremiumV2", "Dynamic", and "Isolated". 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.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

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.

List all premier add-on offers.

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

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

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.

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) -> AsyncIterable['_models.Identifier']

Parameters

Name Description
name_identifier
Required

Hostname information. Is either a NameIdentifier type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

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

Exceptions

Type Description

list_skus

List all SKUs.

List all SKUs.

async list_skus(**kwargs: Any) -> SkuInfos

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

SkuInfos or the result of cls(response)

Exceptions

Type Description

list_source_controls

Gets the source controls available for Azure websites.

Gets the source controls available for Azure websites.

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

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

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.

Move resources between resource groups.

async 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 type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

update_publishing_user

Updates publishing user.

Updates publishing user.

async 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

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

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

User or the result of cls(response)

Exceptions

Type Description

update_source_control

Updates source control token.

Updates source control token.

async 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 type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

SourceControl or the result of cls(response)

Exceptions

Type Description

validate

Validate if a resource can be created.

Validate if a resource can be created.

async 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 type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

ValidateResponse or the result of cls(response)

Exceptions

Type Description

validate_move

Validate whether a resource can be moved.

Validate whether a resource can be moved.

async 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 type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

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.

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

async 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 type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

VnetValidationFailureDetails or the result of cls(response)

Exceptions

Type Description