ApplicationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ApplicationClient's

<xref:applications> attribute.

Inheritance
builtins.object
ApplicationsOperations

Constructor

ApplicationsOperations(*args, **kwargs)

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.

begin_refresh_permissions

Refresh Permissions for 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: _models.Application, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.Application]

Parameters

Name Description
resource_group_name
Required
str

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

application_name
Required
str

The name of the managed application. Required.

parameters
Required

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

Returns

Type Description

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

Exceptions

Type Description

begin_create_or_update_by_id

Creates a new managed application.

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

Parameters

Name Description
application_id
Required
str

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}. Required.

parameters
Required

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

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes the managed application.

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

The name of the managed application. 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.

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

Parameters

Name Description
application_id
Required
str

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}. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_refresh_permissions

Refresh Permissions for application.

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

The name of the managed application. 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.

get(resource_group_name: str, application_name: str, **kwargs: Any) -> Application

Parameters

Name Description
resource_group_name
Required
str

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

application_name
Required
str

The name of the managed application. Required.

Returns

Type Description

Application or the result of cls(response)

Exceptions

Type Description

get_by_id

Gets the managed application.

get_by_id(application_id: str, **kwargs: Any) -> Application

Parameters

Name Description
application_id
Required
str

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}. Required.

Returns

Type Description

Application or the result of cls(response)

Exceptions

Type Description

list_by_resource_group

Gets all the applications within a resource group.

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

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

Exceptions

Type Description

list_by_subscription

Gets all the applications within a subscription.

list_by_subscription(**kwargs: Any) -> Iterable[Application]

Returns

Type Description

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

Exceptions

Type Description

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: _models.ApplicationPatchable | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> _models.Application | None

Parameters

Name Description
resource_group_name
Required
str

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

application_name
Required
str

The name of the managed application. Required.

parameters
Required

Parameters supplied to update an existing managed application. Is either a ApplicationPatchable type or a IO[bytes] type. Default value is None.

Returns

Type Description

Application or None or the result of cls(response)

Exceptions

Type Description

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: _models.Application | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> _models.Application

Parameters

Name Description
application_id
Required
str

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}. Required.

parameters
Required

Parameters supplied to update an existing managed application. Is either a Application type or a IO[bytes] type. Default value is None.

Returns

Type Description

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