azure.mgmt.resource.managedapplications.operations module¶
-
class
azure.mgmt.resource.managedapplications.operations.
ApplicationDefinitionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
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[source]¶ Creates a new managed application definition.
- param resource_group_name
The name of the resource group. The name is case insensitive.
- type resource_group_name
str
- param application_definition_name
The name of the managed application definition.
- type application_definition_name
str
- param parameters
Parameters supplied to the create or update an managed application
- definition.
- type parameters
~azure.mgmt.resource.managedapplications.models.ApplicationDefinition
- keyword callable cls
A custom type or function that will be passed the direct response
- keyword str continuation_token
A continuation token to restart a poller from a saved state.
- keyword polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- paramtype polling
bool or ~azure.core.polling.PollingMethod
- keyword int polling_interval
Default waiting time between two polls for LRO operations if no Retry-After header is present.
- return
An instance of LROPoller that returns either ApplicationDefinition or the result of cls(response)
- rtype
~azure.core.polling.LROPoller[~azure.mgmt.resource.managedapplications.models.ApplicationDefinition]
- raises ~azure.core.exceptions.HttpResponseError
-
begin_create_or_update_by_id
(application_definition_id: str, parameters: ‘models.ApplicationDefinition’, **kwargs: Any) → LROPoller[source]¶ Creates a new managed application definition.
- param application_definition_id
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}.
- type application_definition_id
str
- param parameters
Parameters supplied to the create or update a managed application
- definition.
- type parameters
~azure.mgmt.resource.managedapplications.models.ApplicationDefinition
- keyword callable cls
A custom type or function that will be passed the direct response
- keyword str continuation_token
A continuation token to restart a poller from a saved state.
- keyword polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- paramtype polling
bool or ~azure.core.polling.PollingMethod
- keyword int polling_interval
Default waiting time between two polls for LRO operations if no Retry-After header is present.
- return
An instance of LROPoller that returns either ApplicationDefinition or the result of cls(response)
- rtype
~azure.core.polling.LROPoller[~azure.mgmt.resource.managedapplications.models.ApplicationDefinition]
- raises ~azure.core.exceptions.HttpResponseError
-
begin_delete
(resource_group_name: str, application_definition_name: str, **kwargs: Any) → LROPoller[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 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
- Raises
-
begin_delete_by_id
(application_definition_id: str, **kwargs: Any) → LROPoller[source]¶ Deletes the managed application definition.
- param application_definition_id
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}.
- type application_definition_id
str
- keyword callable cls
A custom type or function that will be passed the direct response
- keyword str continuation_token
A continuation token to restart a poller from a saved state.
- keyword polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- paramtype polling
bool or ~azure.core.polling.PollingMethod
- keyword int polling_interval
Default waiting time between two polls for LRO operations if no Retry-After header is present.
- return
An instance of LROPoller that returns either None or the result of cls(response)
- rtype
~azure.core.polling.LROPoller[None]
- raises ~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, application_definition_name: str, **kwargs: Any) → ’models.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
-
get_by_id
(application_definition_id: str, **kwargs: Any) → ’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
- 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
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.resource.managedapplications.models' from '/home/vsts/work/1/s/sdk/resources/azure-mgmt-resource/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/resource/managedapplications/models/__init__.py'>¶
-
class
azure.mgmt.resource.managedapplications.operations.
ApplicationsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
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[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
- Raises
-
begin_create_or_update_by_id
(application_id: str, parameters: ‘models.Application’, **kwargs: Any) → LROPoller[source]¶ Creates a new managed application.
- param application_id
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}.
- type application_id
str
- param parameters
Parameters supplied to the create or update a managed application.
- type parameters
~azure.mgmt.resource.managedapplications.models.Application
- keyword callable cls
A custom type or function that will be passed the direct response
- keyword str continuation_token
A continuation token to restart a poller from a saved state.
- keyword polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- paramtype polling
bool or ~azure.core.polling.PollingMethod
- keyword int polling_interval
Default waiting time between two polls for LRO operations if no Retry-After header is present.
- return
An instance of LROPoller that returns either Application or the result of cls(response)
- rtype
~azure.core.polling.LROPoller[~azure.mgmt.resource.managedapplications.models.Application]
- raises ~azure.core.exceptions.HttpResponseError
-
begin_delete
(resource_group_name: str, application_name: str, **kwargs: Any) → LROPoller[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 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
- Raises
-
begin_delete_by_id
(application_id: str, **kwargs: Any) → LROPoller[source]¶ Deletes the managed application.
- param application_id
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}.
- type application_id
str
- keyword callable cls
A custom type or function that will be passed the direct response
- keyword str continuation_token
A continuation token to restart a poller from a saved state.
- keyword polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- paramtype polling
bool or ~azure.core.polling.PollingMethod
- keyword int polling_interval
Default waiting time between two polls for LRO operations if no Retry-After header is present.
- return
An instance of LROPoller that returns either None or the result of cls(response)
- rtype
~azure.core.polling.LROPoller[None]
- raises ~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, application_name: str, **kwargs: Any) → ’models.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
-
get_by_id
(application_id: str, **kwargs: Any) → ’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
- 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
- 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
- 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
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.resource.managedapplications.models' from '/home/vsts/work/1/s/sdk/resources/azure-mgmt-resource/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/resource/managedapplications/models/__init__.py'>¶