CustomDomainsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AppPlatformManagementClient's

<xref:custom_domains> attribute.

Inheritance
builtins.object
CustomDomainsOperations

Constructor

CustomDomainsOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update custom domain of one lifecycle application.

begin_delete

Delete the custom domain of one lifecycle application.

begin_update

Update custom domain of one lifecycle application.

get

Get the custom domain of one lifecycle application.

list

List the custom domains of one lifecycle application.

begin_create_or_update

Create or update custom domain of one lifecycle application.

begin_create_or_update(resource_group_name: str, service_name: str, app_name: str, domain_name: str, domain_resource: _models.CustomDomainResource, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.CustomDomainResource]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.

service_name
Required
str

The name of the Service resource. Required.

app_name
Required
str

The name of the App resource. Required.

domain_name
Required
str

The name of the custom domain resource. Required.

domain_resource
Required

Parameters for the create or update operation. Is either a CustomDomainResource 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

continuation_token
str

A continuation token to restart a poller from a saved state.

polling

By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

Type Description

An instance of LROPoller that returns either CustomDomainResource or the result of cls(response)

Exceptions

Type Description

begin_delete

Delete the custom domain of one lifecycle application.

begin_delete(resource_group_name: str, service_name: str, app_name: str, domain_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.

service_name
Required
str

The name of the Service resource. Required.

app_name
Required
str

The name of the App resource. Required.

domain_name
Required
str

The name of the custom domain resource. Required.

Keyword-Only Parameters

Name Description
cls

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

continuation_token
str

A continuation token to restart a poller from a saved state.

polling

By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

Type Description

An instance of LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

begin_update

Update custom domain of one lifecycle application.

begin_update(resource_group_name: str, service_name: str, app_name: str, domain_name: str, domain_resource: _models.CustomDomainResource, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.CustomDomainResource]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.

service_name
Required
str

The name of the Service resource. Required.

app_name
Required
str

The name of the App resource. Required.

domain_name
Required
str

The name of the custom domain resource. Required.

domain_resource
Required

Parameters for the create or update operation. Is either a CustomDomainResource 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

continuation_token
str

A continuation token to restart a poller from a saved state.

polling

By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

Type Description

An instance of LROPoller that returns either CustomDomainResource or the result of cls(response)

Exceptions

Type Description

get

Get the custom domain of one lifecycle application.

get(resource_group_name: str, service_name: str, app_name: str, domain_name: str, **kwargs: Any) -> CustomDomainResource

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.

service_name
Required
str

The name of the Service resource. Required.

app_name
Required
str

The name of the App resource. Required.

domain_name
Required
str

The name of the custom domain resource. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

CustomDomainResource or the result of cls(response)

Exceptions

Type Description

list

List the custom domains of one lifecycle application.

list(resource_group_name: str, service_name: str, app_name: str, **kwargs: Any) -> Iterable[CustomDomainResource]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.

service_name
Required
str

The name of the Service resource. Required.

app_name
Required
str

The name of the App resource. Required.

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 CustomDomainResource or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.appplatform.v2020_11_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\appplatform\\v2020_11_01_preview\\models\\__init__.py'>