azure.mgmt.standbypool.operations module
- class azure.mgmt.standbypool.operations.Operations(*args, **kwargs)[source]
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
StandbyPoolMgmtClient’soperationsattribute.
- class azure.mgmt.standbypool.operations.StandbyContainerGroupPoolRuntimeViewsOperations(*args, **kwargs)[source]
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
StandbyPoolMgmtClient’sstandby_container_group_pool_runtime_viewsattribute.- get(resource_group_name: str, standby_container_group_pool_name: str, runtime_view: str, **kwargs: Any) StandbyContainerGroupPoolRuntimeViewResource[source]
Get a StandbyContainerGroupPoolRuntimeViewResource.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
standby_container_group_pool_name (str) – Name of the standby container group pool. Required.
runtime_view (str) – The unique identifier for the runtime view. The input string should be the word ‘latest’, which will get the latest runtime view of the pool, otherwise the request will fail with NotFound exception. Required.
- Returns:
StandbyContainerGroupPoolRuntimeViewResource. The StandbyContainerGroupPoolRuntimeViewResource is compatible with MutableMapping
- Return type:
- Raises:
- list_by_standby_pool(resource_group_name: str, standby_container_group_pool_name: str, **kwargs: Any) Iterable[StandbyContainerGroupPoolRuntimeViewResource][source]
List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource.
- Parameters:
- Returns:
An iterator like instance of StandbyContainerGroupPoolRuntimeViewResource
- Return type:
- Raises:
- class azure.mgmt.standbypool.operations.StandbyContainerGroupPoolsOperations(*args, **kwargs)[source]
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
StandbyPoolMgmtClient’sstandby_container_group_poolsattribute.- begin_create_or_update(resource_group_name: str, standby_container_group_pool_name: str, resource: StandbyContainerGroupPoolResource | MutableMapping[str, Any] | IO[bytes], **kwargs: Any) LROPoller[StandbyContainerGroupPoolResource][source]
Create a StandbyContainerGroupPoolResource.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
standby_container_group_pool_name (str) – Name of the standby container group pool. Required.
resource (StandbyContainerGroupPoolResource or JSON or IO[bytes]) – Resource create parameters. Is one of the following types: StandbyContainerGroupPoolResource, JSON, IO[bytes] Required.
- Returns:
An instance of LROPoller that returns StandbyContainerGroupPoolResource. The StandbyContainerGroupPoolResource is compatible with MutableMapping
- Return type:
- Raises:
- begin_delete(resource_group_name: str, standby_container_group_pool_name: str, **kwargs: Any) LROPoller[None][source]
Delete a StandbyContainerGroupPoolResource.
- Parameters:
- Returns:
An instance of LROPoller that returns None
- Return type:
LROPoller[None]
- Raises:
- get(resource_group_name: str, standby_container_group_pool_name: str, **kwargs: Any) StandbyContainerGroupPoolResource[source]
Get a StandbyContainerGroupPoolResource.
- Parameters:
- Returns:
StandbyContainerGroupPoolResource. The StandbyContainerGroupPoolResource is compatible with MutableMapping
- Return type:
- Raises:
- list_by_resource_group(resource_group_name: str, **kwargs: Any) Iterable[StandbyContainerGroupPoolResource][source]
List StandbyContainerGroupPoolResource resources by 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 StandbyContainerGroupPoolResource
- Return type:
- Raises:
- list_by_subscription(**kwargs: Any) Iterable[StandbyContainerGroupPoolResource][source]
List StandbyContainerGroupPoolResource resources by subscription ID.
- Returns:
An iterator like instance of StandbyContainerGroupPoolResource
- Return type:
- Raises:
- update(resource_group_name: str, standby_container_group_pool_name: str, properties: StandbyContainerGroupPoolResourceUpdate | MutableMapping[str, Any] | IO[bytes], **kwargs: Any) StandbyContainerGroupPoolResource[source]
Update a StandbyContainerGroupPoolResource.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
standby_container_group_pool_name (str) – Name of the standby container group pool. Required.
properties (StandbyContainerGroupPoolResourceUpdate or JSON or IO[bytes]) – The resource properties to be updated. Is one of the following types: StandbyContainerGroupPoolResourceUpdate, JSON, IO[bytes] Required.
- Returns:
StandbyContainerGroupPoolResource. The StandbyContainerGroupPoolResource is compatible with MutableMapping
- Return type:
- Raises:
- class azure.mgmt.standbypool.operations.StandbyVirtualMachinePoolRuntimeViewsOperations(*args, **kwargs)[source]
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
StandbyPoolMgmtClient’sstandby_virtual_machine_pool_runtime_viewsattribute.- get(resource_group_name: str, standby_virtual_machine_pool_name: str, runtime_view: str, **kwargs: Any) StandbyVirtualMachinePoolRuntimeViewResource[source]
Get a StandbyVirtualMachinePoolRuntimeViewResource.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
standby_virtual_machine_pool_name (str) – Name of the standby virtual machine pool. Required.
runtime_view (str) – The unique identifier for the runtime view. The input string should be the word ‘latest’, which will get the latest runtime view of the pool, otherwise the request will fail with NotFound exception. Required.
- Returns:
StandbyVirtualMachinePoolRuntimeViewResource. The StandbyVirtualMachinePoolRuntimeViewResource is compatible with MutableMapping
- Return type:
- Raises:
- list_by_standby_pool(resource_group_name: str, standby_virtual_machine_pool_name: str, **kwargs: Any) Iterable[StandbyVirtualMachinePoolRuntimeViewResource][source]
List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource.
- Parameters:
- Returns:
An iterator like instance of StandbyVirtualMachinePoolRuntimeViewResource
- Return type:
- Raises:
- class azure.mgmt.standbypool.operations.StandbyVirtualMachinePoolsOperations(*args, **kwargs)[source]
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
StandbyPoolMgmtClient’sstandby_virtual_machine_poolsattribute.- begin_create_or_update(resource_group_name: str, standby_virtual_machine_pool_name: str, resource: StandbyVirtualMachinePoolResource | MutableMapping[str, Any] | IO[bytes], **kwargs: Any) LROPoller[StandbyVirtualMachinePoolResource][source]
Create a StandbyVirtualMachinePoolResource.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
standby_virtual_machine_pool_name (str) – Name of the standby virtual machine pool. Required.
resource (StandbyVirtualMachinePoolResource or JSON or IO[bytes]) – Resource create parameters. Is one of the following types: StandbyVirtualMachinePoolResource, JSON, IO[bytes] Required.
- Returns:
An instance of LROPoller that returns StandbyVirtualMachinePoolResource. The StandbyVirtualMachinePoolResource is compatible with MutableMapping
- Return type:
- Raises:
- begin_delete(resource_group_name: str, standby_virtual_machine_pool_name: str, **kwargs: Any) LROPoller[None][source]
Delete a StandbyVirtualMachinePoolResource.
- Parameters:
- Returns:
An instance of LROPoller that returns None
- Return type:
LROPoller[None]
- Raises:
- get(resource_group_name: str, standby_virtual_machine_pool_name: str, **kwargs: Any) StandbyVirtualMachinePoolResource[source]
Get a StandbyVirtualMachinePoolResource.
- Parameters:
- Returns:
StandbyVirtualMachinePoolResource. The StandbyVirtualMachinePoolResource is compatible with MutableMapping
- Return type:
- Raises:
- list_by_resource_group(resource_group_name: str, **kwargs: Any) Iterable[StandbyVirtualMachinePoolResource][source]
List StandbyVirtualMachinePoolResource resources by 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 StandbyVirtualMachinePoolResource
- Return type:
- Raises:
- list_by_subscription(**kwargs: Any) Iterable[StandbyVirtualMachinePoolResource][source]
List StandbyVirtualMachinePoolResource resources by subscription ID.
- Returns:
An iterator like instance of StandbyVirtualMachinePoolResource
- Return type:
- Raises:
- update(resource_group_name: str, standby_virtual_machine_pool_name: str, properties: StandbyVirtualMachinePoolResourceUpdate | MutableMapping[str, Any] | IO[bytes], **kwargs: Any) StandbyVirtualMachinePoolResource[source]
Update a StandbyVirtualMachinePoolResource.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
standby_virtual_machine_pool_name (str) – Name of the standby virtual machine pool. Required.
properties (StandbyVirtualMachinePoolResourceUpdate or JSON or IO[bytes]) – The resource properties to be updated. Is one of the following types: StandbyVirtualMachinePoolResourceUpdate, JSON, IO[bytes] Required.
- Returns:
StandbyVirtualMachinePoolResource. The StandbyVirtualMachinePoolResource is compatible with MutableMapping
- Return type:
- Raises:
- class azure.mgmt.standbypool.operations.StandbyVirtualMachinesOperations(*args, **kwargs)[source]
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
StandbyPoolMgmtClient’sstandby_virtual_machinesattribute.- get(resource_group_name: str, standby_virtual_machine_pool_name: str, standby_virtual_machine_name: str, **kwargs: Any) StandbyVirtualMachineResource[source]
Get a StandbyVirtualMachineResource.
- Parameters:
- Returns:
StandbyVirtualMachineResource. The StandbyVirtualMachineResource is compatible with MutableMapping
- Return type:
- Raises:
- list_by_standby_virtual_machine_pool_resource(resource_group_name: str, standby_virtual_machine_pool_name: str, **kwargs: Any) Iterable[StandbyVirtualMachineResource][source]
List StandbyVirtualMachineResource resources by StandbyVirtualMachinePoolResource.
- Parameters:
- Returns:
An iterator like instance of StandbyVirtualMachineResource
- Return type:
- Raises: