azure.mgmt.resource.managedapplications.operations package

class azure.mgmt.resource.managedapplications.operations.ApplicationsOperations(client, config, serializer, deserializer)[source]

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.

Variables

models – Alias to model classes used in this operation group.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

begin_create_or_update(resource_group_name: str, application_name: str, parameters: ‘models.Application’, **kwargs: Any) → LROPoller[‘models.Application’][source]

Creates a new managed application.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • application_name (str) – The name of the managed application.

  • parameters (Application) – Parameters supplied to the create or update a managed application.

Keyword Arguments
  • 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) – True for ARMPolling, False for no polling, or a polling object for 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

LROPoller[Application]

Raises

HttpResponseError

begin_create_or_update_by_id(application_id: str, parameters: ‘models.Application’, **kwargs: Any) → LROPoller[‘models.Application’][source]

Creates a new managed application.

Parameters
  • application_id (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}.

  • parameters (Application) – Parameters supplied to the create or update a managed application.

Keyword Arguments
  • 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) – True for ARMPolling, False for no polling, or a polling object for 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

LROPoller[Application]

Raises

HttpResponseError

begin_delete(resource_group_name: str, application_name: str, **kwargs: Any) → LROPoller[None][source]

Deletes the managed application.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • application_name (str) – The name of the managed application.

Keyword Arguments
  • 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) – True for ARMPolling, False for no polling, or a polling object for 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

LROPoller[None]

Raises

HttpResponseError

begin_delete_by_id(application_id: str, **kwargs: Any) → LROPoller[None][source]

Deletes the managed application.

Parameters

application_id (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}.

Keyword Arguments
  • 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) – True for ARMPolling, False for no polling, or a polling object for 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

LROPoller[None]

Raises

HttpResponseError

get(resource_group_name: str, application_name: str, **kwargs: Any) → Optional[‘models.Application’][source]

Gets the managed application.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • application_name (str) – The name of the managed application.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

Application, or the result of cls(response)

Return type

Application or None

Raises

~azure.core.exceptions.HttpResponseError

get_by_id(application_id: str, **kwargs: Any) → Optional[‘models.Application’][source]

Gets the managed application.

Parameters

application_id (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}.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

Application, or the result of cls(response)

Return type

Application or None

Raises

~azure.core.exceptions.HttpResponseError

list_by_resource_group(resource_group_name: str, **kwargs: Any) → Iterable[‘models.ApplicationListResult’][source]

Gets all the applications within a resource group.

Parameters

resource_group_name (str) – The name of the resource group. The name is case insensitive.

Keyword Arguments

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

ItemPaged[ApplicationListResult]

Raises

~azure.core.exceptions.HttpResponseError

list_by_subscription(**kwargs: Any) → Iterable[‘models.ApplicationListResult’][source]

Gets all the applications within a subscription.

Keyword Arguments

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

ItemPaged[ApplicationListResult]

Raises

~azure.core.exceptions.HttpResponseError

update(resource_group_name: str, application_name: str, parameters: Optional[‘models.Application’] = None, **kwargs: Any) → ’models.Application’[source]

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

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • application_name (str) – The name of the managed application.

  • parameters (Application) – Parameters supplied to update an existing managed application.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

Application, or the result of cls(response)

Return type

Application

Raises

~azure.core.exceptions.HttpResponseError

update_by_id(application_id: str, parameters: Optional[‘models.Application’] = None, **kwargs: Any) → ’models.Application’[source]

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

Parameters
  • application_id (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}.

  • parameters (Application) – Parameters supplied to update an existing managed application.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

Application, or the result of cls(response)

Return type

Application

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.mgmt.resource.managedapplications.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\managedapplications\\models\\__init__.py'>
class azure.mgmt.resource.managedapplications.operations.ApplicationDefinitionsOperations(client, config, serializer, deserializer)[source]

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.

Variables

models – Alias to model classes used in this operation group.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

begin_create_or_update(resource_group_name: str, application_definition_name: str, parameters: ‘models.ApplicationDefinition’, **kwargs: Any) → LROPoller[‘models.ApplicationDefinition’][source]

Creates a new managed application definition.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • application_definition_name (str) – The name of the managed application definition.

  • parameters (ApplicationDefinition) – Parameters supplied to the create or update an managed application definition.

Keyword Arguments
  • 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) – True for ARMPolling, False for no polling, or a polling object for 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

LROPoller[ApplicationDefinition]

Raises

HttpResponseError

begin_create_or_update_by_id(application_definition_id: str, parameters: ‘models.ApplicationDefinition’, **kwargs: Any) → LROPoller[‘models.ApplicationDefinition’][source]

Creates a new managed application definition.

Parameters
  • application_definition_id (str) – The fully qualified ID of the managed application definition, including the managed application name and the managed application definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group- name}/Microsoft.Solutions/applicationDefinitions/{applicationDefinition-name}.

  • parameters (ApplicationDefinition) – Parameters supplied to the create or update a managed application definition.

Keyword Arguments
  • 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) – True for ARMPolling, False for no polling, or a polling object for 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

LROPoller[ApplicationDefinition]

Raises

HttpResponseError

begin_delete(resource_group_name: str, application_definition_name: str, **kwargs: Any) → LROPoller[None][source]

Deletes the managed application definition.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • application_definition_name (str) – The name of the managed application definition to delete.

Keyword Arguments
  • 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) – True for ARMPolling, False for no polling, or a polling object for 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

LROPoller[None]

Raises

HttpResponseError

begin_delete_by_id(application_definition_id: str, **kwargs: Any) → LROPoller[None][source]

Deletes the managed application definition.

Parameters

application_definition_id (str) – The fully qualified ID of the managed application definition, including the managed application name and the managed application definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group- name}/Microsoft.Solutions/applicationDefinitions/{applicationDefinition-name}.

Keyword Arguments
  • 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) – True for ARMPolling, False for no polling, or a polling object for 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

LROPoller[None]

Raises

HttpResponseError

get(resource_group_name: str, application_definition_name: str, **kwargs: Any) → Optional[‘models.ApplicationDefinition’][source]

Gets the managed application definition.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive.

  • application_definition_name (str) – The name of the managed application definition.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

ApplicationDefinition, or the result of cls(response)

Return type

ApplicationDefinition or None

Raises

~azure.core.exceptions.HttpResponseError

get_by_id(application_definition_id: str, **kwargs: Any) → Optional[‘models.ApplicationDefinition’][source]

Gets the managed application definition.

Parameters

application_definition_id (str) – The fully qualified ID of the managed application definition, including the managed application name and the managed application definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group- name}/Microsoft.Solutions/applicationDefinitions/{applicationDefinition-name}.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

ApplicationDefinition, or the result of cls(response)

Return type

ApplicationDefinition or None

Raises

~azure.core.exceptions.HttpResponseError

list_by_resource_group(resource_group_name: str, **kwargs: Any) → Iterable[‘models.ApplicationDefinitionListResult’][source]

Lists the managed application definitions in a resource group.

Parameters

resource_group_name (str) – The name of the resource group. The name is case insensitive.

Keyword Arguments

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

ItemPaged[ApplicationDefinitionListResult]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.mgmt.resource.managedapplications.models' from 'c:\\repo\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\.tox\\sphinx\\lib\\site-packages\\azure\\mgmt\\resource\\managedapplications\\models\\__init__.py'>