azure.mgmt.resource.managedapplications.aio.operations package¶
-
class
azure.mgmt.resource.managedapplications.aio.operations.
ApplicationsOperations
(client, config, serializer, deserializer)[source]¶ ApplicationsOperations async 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.
-
async
begin_create_or_update
(resource_group_name: str, application_name: str, parameters: azure.mgmt.resource.managedapplications.models._models_py3.Application, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.resource.managedapplications.models._models_py3.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 AsyncPollingMethod) – 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 AsyncLROPoller that returns either Application or the result of cls(response)
- Return type
- Raises
-
async
begin_create_or_update_by_id
(application_id: str, parameters: azure.mgmt.resource.managedapplications.models._models_py3.Application, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.resource.managedapplications.models._models_py3.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 AsyncPollingMethod) – 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 AsyncLROPoller that returns either Application or the result of cls(response)
- Return type
- Raises
-
async
begin_delete
(resource_group_name: str, application_name: str, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[None][source]¶ Deletes the managed application.
- Parameters
- 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 AsyncPollingMethod) – 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 AsyncLROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
async
begin_delete_by_id
(application_id: str, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[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 AsyncPollingMethod) – 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 AsyncLROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
async
get
(resource_group_name: str, application_name: str, **kwargs) → Optional[azure.mgmt.resource.managedapplications.models._models_py3.Application][source]¶ Gets the managed application.
- Parameters
- 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
-
async
get_by_id
(application_id: str, **kwargs) → Optional[azure.mgmt.resource.managedapplications.models._models_py3.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) → AsyncIterable[azure.mgmt.resource.managedapplications.models._models_py3.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
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_subscription
(**kwargs) → AsyncIterable[azure.mgmt.resource.managedapplications.models._models_py3.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
- Raises
~azure.core.exceptions.HttpResponseError
-
async
update
(resource_group_name: str, application_name: str, parameters: Optional[models.Application] = None, **kwargs) → azure.mgmt.resource.managedapplications.models._models_py3.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
- Raises
~azure.core.exceptions.HttpResponseError
-
async
update_by_id
(application_id: str, parameters: Optional[models.Application] = None, **kwargs) → azure.mgmt.resource.managedapplications.models._models_py3.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
- 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.aio.operations.
ApplicationDefinitionsOperations
(client, config, serializer, deserializer)[source]¶ ApplicationDefinitionsOperations async 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.
-
async
begin_create_or_update
(resource_group_name: str, application_definition_name: str, parameters: azure.mgmt.resource.managedapplications.models._models_py3.ApplicationDefinition, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.resource.managedapplications.models._models_py3.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 AsyncPollingMethod) – 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 AsyncLROPoller that returns either ApplicationDefinition or the result of cls(response)
- Return type
- Raises
-
async
begin_create_or_update_by_id
(application_definition_id: str, parameters: azure.mgmt.resource.managedapplications.models._models_py3.ApplicationDefinition, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.resource.managedapplications.models._models_py3.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 AsyncPollingMethod) – 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 AsyncLROPoller that returns either ApplicationDefinition or the result of cls(response)
- Return type
- Raises
-
async
begin_delete
(resource_group_name: str, application_definition_name: str, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[None][source]¶ Deletes the managed application definition.
- Parameters
- 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 AsyncPollingMethod) – 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 AsyncLROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
async
begin_delete_by_id
(application_definition_id: str, **kwargs) → azure.core.polling._async_poller.AsyncLROPoller[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 AsyncPollingMethod) – 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 AsyncLROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
async
get
(resource_group_name: str, application_definition_name: str, **kwargs) → Optional[azure.mgmt.resource.managedapplications.models._models_py3.ApplicationDefinition][source]¶ Gets the managed application definition.
- Parameters
- 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
- Raises
~azure.core.exceptions.HttpResponseError
-
async
get_by_id
(application_definition_id: str, **kwargs) → Optional[azure.mgmt.resource.managedapplications.models._models_py3.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
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_resource_group
(resource_group_name: str, **kwargs) → AsyncIterable[azure.mgmt.resource.managedapplications.models._models_py3.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
- 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'>¶