ApplicationDefinitionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ApplicationClient's

<xref:application_definitions> attribute.

Inheritance
builtins.object
ApplicationDefinitionsOperations

Constructor

ApplicationDefinitionsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates a new managed application definition.

begin_create_or_update_by_id

Creates a new managed application definition.

begin_delete

Deletes the managed application definition.

begin_delete_by_id

Deletes the managed application definition.

get

Gets the managed application definition.

get_by_id

Gets the managed application definition.

list_by_resource_group

Lists the managed application definitions in a resource group.

begin_create_or_update

Creates a new managed application definition.

begin_create_or_update(resource_group_name: str, application_definition_name: str, parameters: _models.ApplicationDefinition, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ApplicationDefinition]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

application_definition_name
Required
str

The name of the managed application definition. Required.

parameters
Required

Parameters supplied to the create or update an managed application definition. Is either a ApplicationDefinition type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_create_or_update_by_id

Creates a new managed application definition.

begin_create_or_update_by_id(resource_group_name: str, application_definition_name: str, parameters: _models.ApplicationDefinition, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ApplicationDefinition]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

application_definition_name
Required
str

The name of the managed application definition. Required.

parameters
Required

Parameters supplied to the create or update a managed application definition. Is either a ApplicationDefinition type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes the managed application definition.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

application_definition_name
Required
str

The name of the managed application definition to delete. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_delete_by_id

Deletes the managed application definition.

begin_delete_by_id(resource_group_name: str, application_definition_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

application_definition_name
Required
str

The name of the managed application definition. Required.

Returns

Type Description

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

Exceptions

Type Description

get

Gets the managed application definition.

get(resource_group_name: str, application_definition_name: str, **kwargs: Any) -> ApplicationDefinition

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

application_definition_name
Required
str

The name of the managed application definition. Required.

Returns

Type Description

ApplicationDefinition or the result of cls(response)

Exceptions

Type Description

get_by_id

Gets the managed application definition.

get_by_id(resource_group_name: str, application_definition_name: str, **kwargs: Any) -> ApplicationDefinition

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

application_definition_name
Required
str

The name of the managed application definition. Required.

Returns

Type Description

ApplicationDefinition or the result of cls(response)

Exceptions

Type Description

list_by_resource_group

Lists the managed application definitions in a resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[ApplicationDefinition]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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