azure.mgmt.resource.managedapplications.v2019_07_01.operations module
- class azure.mgmt.resource.managedapplications.v2019_07_01.operations.ApplicationClientOperationsMixin[source]
Bases:
ApplicationClientMixinABC
- class azure.mgmt.resource.managedapplications.v2019_07_01.operations.ApplicationDefinitionsOperations(*args, **kwargs)[source]
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ApplicationClient
’sapplication_definitions
attribute.- begin_create_or_update(resource_group_name: str, application_definition_name: str, parameters: _models.ApplicationDefinition, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.ApplicationDefinition] [source]
- begin_create_or_update(resource_group_name: str, application_definition_name: str, parameters: IO[bytes], *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.ApplicationDefinition]
Creates a new managed application definition.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
application_definition_name (str) – The name of the managed application definition. Required.
parameters (ApplicationDefinition or IO[bytes]) – Parameters supplied to the create or update an managed application definition. Is either a ApplicationDefinition type or a IO[bytes] type. Required.
- Returns:
An instance of LROPoller that returns either ApplicationDefinition or the result of cls(response)
- Return type:
- Raises:
- begin_create_or_update_by_id(resource_group_name: str, application_definition_name: str, parameters: _models.ApplicationDefinition, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.ApplicationDefinition] [source]
- begin_create_or_update_by_id(resource_group_name: str, application_definition_name: str, parameters: IO[bytes], *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.ApplicationDefinition]
Creates a new managed application definition.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
application_definition_name (str) – The name of the managed application definition. Required.
parameters (ApplicationDefinition or IO[bytes]) – Parameters supplied to the create or update a managed application definition. Is either a ApplicationDefinition type or a IO[bytes] type. Required.
- Returns:
An instance of LROPoller that returns either ApplicationDefinition or the result of cls(response)
- Return type:
- Raises:
- begin_delete(resource_group_name: str, application_definition_name: str, **kwargs: Any) LROPoller[None] [source]
Deletes the managed application definition.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_delete_by_id(resource_group_name: str, application_definition_name: str, **kwargs: Any) LROPoller[None] [source]
Deletes the managed application definition.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- get(resource_group_name: str, application_definition_name: str, **kwargs: Any) ApplicationDefinition [source]
Gets the managed application definition.
- Parameters:
- Returns:
ApplicationDefinition or the result of cls(response)
- Return type:
- Raises:
- get_by_id(resource_group_name: str, application_definition_name: str, **kwargs: Any) ApplicationDefinition [source]
Gets the managed application definition.
- Parameters:
- Returns:
ApplicationDefinition or the result of cls(response)
- Return type:
- Raises:
- list_by_resource_group(resource_group_name: str, **kwargs: Any) Iterable[ApplicationDefinition] [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. Required.
- Returns:
An iterator like instance of either ApplicationDefinition or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.resource.managedapplications.v2019_07_01.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-resource/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/resource/managedapplications/v2019_07_01/models/__init__.py'>
- class azure.mgmt.resource.managedapplications.v2019_07_01.operations.ApplicationsOperations(*args, **kwargs)[source]
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ApplicationClient
’sapplications
attribute.- begin_create_or_update(resource_group_name: str, application_name: str, parameters: _models.Application, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Application] [source]
- begin_create_or_update(resource_group_name: str, application_name: str, parameters: IO[bytes], *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Application]
Creates a new managed application.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
application_name (str) – The name of the managed application. Required.
parameters (Application or IO[bytes]) – Parameters supplied to the create or update a managed application. Is either a Application type or a IO[bytes] type. Required.
- 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, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Application] [source]
- begin_create_or_update_by_id(application_id: str, parameters: IO[bytes], *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Application]
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}. Required.
parameters (Application or IO[bytes]) – Parameters supplied to the create or update a managed application. Is either a Application type or a IO[bytes] type. Required.
- Returns:
An instance of LROPoller that returns either Application or the result of cls(response)
- Return type:
- Raises:
- begin_delete(resource_group_name: str, application_name: str, **kwargs: Any) LROPoller[None] [source]
Deletes the managed application.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- 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}. Required.
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_refresh_permissions(resource_group_name: str, application_name: str, **kwargs: Any) LROPoller[None] [source]
Refresh Permissions for application.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- get(resource_group_name: str, application_name: str, **kwargs: Any) Application [source]
Gets the managed application.
- Parameters:
- Returns:
Application or the result of cls(response)
- Return type:
- Raises:
- get_by_id(application_id: str, **kwargs: Any) 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}. Required.
- Returns:
Application or the result of cls(response)
- Return type:
- Raises:
- list_by_resource_group(resource_group_name: str, **kwargs: Any) Iterable[Application] [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. Required.
- Returns:
An iterator like instance of either Application or the result of cls(response)
- Return type:
- Raises:
- list_by_subscription(**kwargs: Any) Iterable[Application] [source]
Gets all the applications within a subscription.
- Returns:
An iterator like instance of either Application or the result of cls(response)
- Return type:
- Raises:
- update(resource_group_name: str, application_name: str, parameters: _models.ApplicationPatchable | None = None, *, content_type: str = 'application/json', **kwargs: Any) _models.Application | None [source]
- update(resource_group_name: str, application_name: str, parameters: IO[bytes] | None = None, *, content_type: str = 'application/json', **kwargs: Any) _models.Application | None
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. Required.
application_name (str) – The name of the managed application. Required.
parameters (ApplicationPatchable or IO[bytes]) – Parameters supplied to update an existing managed application. Is either a ApplicationPatchable type or a IO[bytes] type. Default value is None.
- Returns:
Application or None or the result of cls(response)
- Return type:
Application or None
- Raises:
- update_by_id(application_id: str, parameters: _models.Application | None = None, *, content_type: str = 'application/json', **kwargs: Any) _models.Application [source]
- update_by_id(application_id: str, parameters: IO[bytes] | None = None, *, content_type: str = 'application/json', **kwargs: Any) _models.Application
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}. Required.
parameters (Application or IO[bytes]) – Parameters supplied to update an existing managed application. Is either a Application type or a IO[bytes] type. Default value is None.
- Returns:
Application or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.resource.managedapplications.v2019_07_01.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-resource/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/resource/managedapplications/v2019_07_01/models/__init__.py'>
- class azure.mgmt.resource.managedapplications.v2019_07_01.operations.JitRequestsOperations(*args, **kwargs)[source]
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ApplicationClient
’sjit_requests
attribute.- begin_create_or_update(resource_group_name: str, jit_request_name: str, parameters: _models.JitRequestDefinition, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.JitRequestDefinition] [source]
- begin_create_or_update(resource_group_name: str, jit_request_name: str, parameters: IO[bytes], *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.JitRequestDefinition]
Creates or updates the JIT request.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
jit_request_name (str) – The name of the JIT request. Required.
parameters (JitRequestDefinition or IO[bytes]) – Parameters supplied to the update JIT request. Is either a JitRequestDefinition type or a IO[bytes] type. Required.
- Returns:
An instance of LROPoller that returns either JitRequestDefinition or the result of cls(response)
- Return type:
- Raises:
- delete(resource_group_name: str, jit_request_name: str, **kwargs: Any) None [source]
Deletes the JIT request.
- Parameters:
- Returns:
None or the result of cls(response)
- Return type:
None
- Raises:
- get(resource_group_name: str, jit_request_name: str, **kwargs: Any) JitRequestDefinition [source]
Gets the JIT request.
- Parameters:
- Returns:
JitRequestDefinition or the result of cls(response)
- Return type:
- Raises:
- list_by_resource_group(resource_group_name: str, **kwargs: Any) JitRequestDefinitionListResult [source]
Retrieves all JIT requests within the resource group.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
- Returns:
JitRequestDefinitionListResult or the result of cls(response)
- Return type:
- Raises:
- list_by_subscription(**kwargs: Any) JitRequestDefinitionListResult [source]
Retrieves all JIT requests within the subscription.
- Returns:
JitRequestDefinitionListResult or the result of cls(response)
- Return type:
- Raises:
- update(resource_group_name: str, jit_request_name: str, parameters: _models.JitRequestPatchable, *, content_type: str = 'application/json', **kwargs: Any) _models.JitRequestDefinition [source]
- update(resource_group_name: str, jit_request_name: str, parameters: IO[bytes], *, content_type: str = 'application/json', **kwargs: Any) _models.JitRequestDefinition
Updates the JIT request.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
jit_request_name (str) – The name of the JIT request. Required.
parameters (JitRequestPatchable or IO[bytes]) – Parameters supplied to the update JIT request. Is either a JitRequestPatchable type or a IO[bytes] type. Required.
- Returns:
JitRequestDefinition or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.resource.managedapplications.v2019_07_01.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-resource/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/resource/managedapplications/v2019_07_01/models/__init__.py'>