ApplicationsOperations Class

ApplicationsOperations 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
ApplicationsOperations

Constructor

ApplicationsOperations(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.

begin_create_or_update_by_id

Creates a new managed application.

begin_delete

Deletes the managed application.

begin_delete_by_id

Deletes the managed application.

get

Gets the managed application.

get_by_id

Gets the managed application.

list_by_resource_group

Gets all the applications within a resource group.

list_by_subscription

Gets all the applications within a subscription.

update

Updates an existing managed application. The only value that can be updated via PATCH currently is the tags.

update_by_id

Updates an existing managed application. The only value that can be updated via PATCH currently is the tags.

begin_create_or_update

Creates a new managed application.

begin_create_or_update(resource_group_name: str, application_name: str, parameters: azure.mgmt.resource.managedapplications.models._models_py3.Application, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.resource.managedapplications.models._models_py3.Application]

Parameters

resource_group_name
str
Required

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

application_name
str
Required

The name of the managed application.

parameters
Application
Required

Parameters supplied to the create or update a managed application.

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

Return type

Exceptions

begin_create_or_update_by_id

Creates a new managed application.

begin_create_or_update_by_id(application_id: str, parameters: azure.mgmt.resource.managedapplications.models._models_py3.Application, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.resource.managedapplications.models._models_py3.Application]

Parameters

application_id
str
Required

The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.

parameters
Application
Required

Parameters supplied to the create or update a managed application.

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

Return type

Exceptions

begin_delete

Deletes the managed application.

begin_delete(resource_group_name: str, application_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_name
str
Required

The name of the managed application.

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.

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

Parameters

application_id
str
Required

The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.

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.

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

Parameters

resource_group_name
str
Required

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

application_name
str
Required

The name of the managed application.

cls
callable

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

Returns

Application, or the result of cls(response)

Return type

Exceptions

get_by_id

Gets the managed application.

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

Parameters

application_id
str
Required

The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.

cls
callable

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

Returns

Application, or the result of cls(response)

Return type

Exceptions

list_by_resource_group

Gets all the applications within a resource group.

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

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

Return type

Exceptions

list_by_subscription

Gets all the applications within a subscription.

list_by_subscription(**kwargs: Any) -> Iterable[azure.mgmt.resource.managedapplications.models._models_py3.ApplicationListResult]

Parameters

cls
callable

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

Returns

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

Return type

Exceptions

update

Updates an existing managed application. The only value that can be updated via PATCH currently is the tags.

update(resource_group_name: str, application_name: str, parameters: Optional[azure.mgmt.resource.managedapplications.models._models_py3.ApplicationPatchable] = None, **kwargs: Any) -> azure.mgmt.resource.managedapplications.models._models_py3.Application

Parameters

resource_group_name
str
Required

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

application_name
str
Required

The name of the managed application.

parameters
ApplicationPatchable
Required

Parameters supplied to update an existing managed application. Default value is None.

cls
callable

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

Returns

Application, or the result of cls(response)

Return type

Exceptions

update_by_id

Updates an existing managed application. The only value that can be updated via PATCH currently is the tags.

update_by_id(application_id: str, parameters: Optional[azure.mgmt.resource.managedapplications.models._models_py3.Application] = None, **kwargs: Any) -> azure.mgmt.resource.managedapplications.models._models_py3.Application

Parameters

application_id
str
Required

The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.

parameters
Application
Required

Parameters supplied to update an existing managed application. Default value is None.

cls
callable

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

Returns

Application, 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'>