ApplicationDefinitionsOperations Class

ApplicationDefinitionsOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
ApplicationDefinitionsOperations

Constructor

ApplicationDefinitionsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

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: azure.mgmt.resource.managedapplications.models._models_py3.ApplicationDefinition, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.resource.managedapplications.models._models_py3.ApplicationDefinition]

Parameters

resource_group_name
str
Required

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

application_definition_name
str
Required

The name of the managed application definition.

parameters
ApplicationDefinition
Required

Parameters supplied to the create or update an managed application definition.

cls
callable

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
bool or PollingMethod

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

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

Return type

Exceptions

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: azure.mgmt.resource.managedapplications.models._models_py3.ApplicationDefinition, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.resource.managedapplications.models._models_py3.ApplicationDefinition]

Parameters

resource_group_name
str
Required

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

application_definition_name
str
Required

The name of the managed application definition.

parameters
ApplicationDefinition
Required

Parameters supplied to the create or update a managed application definition.

cls
callable

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
bool or PollingMethod

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

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

Return type

Exceptions

begin_delete

Deletes the managed application definition.

begin_delete(resource_group_name: str, application_definition_name: str, **kwargs: Any) -> azure.core.polling._poller.LROPoller[None]

Parameters

resource_group_name
str
Required

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

application_definition_name
str
Required

The name of the managed application definition to delete.

cls
callable

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
bool or PollingMethod

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

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

Return type

Exceptions

begin_delete_by_id

Deletes the managed application definition.

begin_delete_by_id(resource_group_name: str, application_definition_name: str, **kwargs: Any) -> azure.core.polling._poller.LROPoller[None]

Parameters

resource_group_name
str
Required

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

application_definition_name
str
Required

The name of the managed application definition.

cls
callable

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
bool or PollingMethod

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

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

Return type

Exceptions

get

Gets the managed application definition.

get(resource_group_name: str, application_definition_name: str, **kwargs: Any) -> Optional[azure.mgmt.resource.managedapplications.models._models_py3.ApplicationDefinition]

Parameters

resource_group_name
str
Required

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

application_definition_name
str
Required

The name of the managed application definition.

cls
callable

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

Returns

ApplicationDefinition, or the result of cls(response)

Return type

Exceptions

get_by_id

Gets the managed application definition.

get_by_id(resource_group_name: str, application_definition_name: str, **kwargs: Any) -> Optional[azure.mgmt.resource.managedapplications.models._models_py3.ApplicationDefinition]

Parameters

resource_group_name
str
Required

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

application_definition_name
str
Required

The name of the managed application definition.

cls
callable

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

Returns

ApplicationDefinition, or the result of cls(response)

Return type

Exceptions

list_by_resource_group

Lists the managed application definitions in a resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[azure.mgmt.resource.managedapplications.models._models_py3.ApplicationDefinitionListResult]

Parameters

resource_group_name
str
Required

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

cls
callable

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

Returns

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

Return type

Exceptions

Attributes

models

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