azure.mgmt.standbypool.operations module

class azure.mgmt.standbypool.operations.Operations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through StandbyPoolMgmtClient’s operations attribute.

list(**kwargs: Any) Iterable[Operation][source]

List the operations for the provider.

Returns:

An iterator like instance of Operation

Return type:

ItemPaged[Operation]

Raises:

HttpResponseError

class azure.mgmt.standbypool.operations.StandbyContainerGroupPoolRuntimeViewsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through StandbyPoolMgmtClient’s standby_container_group_pool_runtime_views attribute.

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:

StandbyContainerGroupPoolRuntimeViewResource

Raises:

HttpResponseError

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:
  • 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.

Returns:

An iterator like instance of StandbyContainerGroupPoolRuntimeViewResource

Return type:

ItemPaged[StandbyContainerGroupPoolRuntimeViewResource]

Raises:

HttpResponseError

class azure.mgmt.standbypool.operations.StandbyContainerGroupPoolsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through StandbyPoolMgmtClient’s standby_container_group_pools attribute.

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:

LROPoller[StandbyContainerGroupPoolResource]

Raises:

HttpResponseError

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

Delete 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.

Returns:

An instance of LROPoller that returns None

Return type:

LROPoller[None]

Raises:

HttpResponseError

get(resource_group_name: str, standby_container_group_pool_name: str, **kwargs: Any) StandbyContainerGroupPoolResource[source]

Get 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.

Returns:

StandbyContainerGroupPoolResource. The StandbyContainerGroupPoolResource is compatible with MutableMapping

Return type:

StandbyContainerGroupPoolResource

Raises:

HttpResponseError

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:

ItemPaged[StandbyContainerGroupPoolResource]

Raises:

HttpResponseError

list_by_subscription(**kwargs: Any) Iterable[StandbyContainerGroupPoolResource][source]

List StandbyContainerGroupPoolResource resources by subscription ID.

Returns:

An iterator like instance of StandbyContainerGroupPoolResource

Return type:

ItemPaged[StandbyContainerGroupPoolResource]

Raises:

HttpResponseError

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:

StandbyContainerGroupPoolResource

Raises:

HttpResponseError

class azure.mgmt.standbypool.operations.StandbyVirtualMachinePoolRuntimeViewsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through StandbyPoolMgmtClient’s standby_virtual_machine_pool_runtime_views attribute.

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:

StandbyVirtualMachinePoolRuntimeViewResource

Raises:

HttpResponseError

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:
  • 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.

Returns:

An iterator like instance of StandbyVirtualMachinePoolRuntimeViewResource

Return type:

ItemPaged[StandbyVirtualMachinePoolRuntimeViewResource]

Raises:

HttpResponseError

class azure.mgmt.standbypool.operations.StandbyVirtualMachinePoolsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through StandbyPoolMgmtClient’s standby_virtual_machine_pools attribute.

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:

LROPoller[StandbyVirtualMachinePoolResource]

Raises:

HttpResponseError

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

Delete 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.

Returns:

An instance of LROPoller that returns None

Return type:

LROPoller[None]

Raises:

HttpResponseError

get(resource_group_name: str, standby_virtual_machine_pool_name: str, **kwargs: Any) StandbyVirtualMachinePoolResource[source]

Get 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.

Returns:

StandbyVirtualMachinePoolResource. The StandbyVirtualMachinePoolResource is compatible with MutableMapping

Return type:

StandbyVirtualMachinePoolResource

Raises:

HttpResponseError

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:

ItemPaged[StandbyVirtualMachinePoolResource]

Raises:

HttpResponseError

list_by_subscription(**kwargs: Any) Iterable[StandbyVirtualMachinePoolResource][source]

List StandbyVirtualMachinePoolResource resources by subscription ID.

Returns:

An iterator like instance of StandbyVirtualMachinePoolResource

Return type:

ItemPaged[StandbyVirtualMachinePoolResource]

Raises:

HttpResponseError

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:

StandbyVirtualMachinePoolResource

Raises:

HttpResponseError

class azure.mgmt.standbypool.operations.StandbyVirtualMachinesOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through StandbyPoolMgmtClient’s standby_virtual_machines attribute.

get(resource_group_name: str, standby_virtual_machine_pool_name: str, standby_virtual_machine_name: str, **kwargs: Any) StandbyVirtualMachineResource[source]

Get a StandbyVirtualMachineResource.

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.

  • standby_virtual_machine_name (str) – Name of the standby virtual machine. Required.

Returns:

StandbyVirtualMachineResource. The StandbyVirtualMachineResource is compatible with MutableMapping

Return type:

StandbyVirtualMachineResource

Raises:

HttpResponseError

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:
  • 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.

Returns:

An iterator like instance of StandbyVirtualMachineResource

Return type:

ItemPaged[StandbyVirtualMachineResource]

Raises:

HttpResponseError