azure.mgmt.devopsinfrastructure.operations module

class azure.mgmt.devopsinfrastructure.operations.ImageVersionsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

list_by_image(resource_group_name: str, image_name: str, **kwargs: Any) Iterable[ImageVersion][source]

List ImageVersion resources by Image.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • image_name (str) – Name of the image. Required.

Returns:

An iterator like instance of ImageVersion

Return type:

ItemPaged[ImageVersion]

Raises:

HttpResponseError

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

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through DevOpsInfrastructureMgmtClient’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.devopsinfrastructure.operations.PoolsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

begin_create_or_update(resource_group_name: str, pool_name: str, resource: _models.Pool, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Pool][source]
begin_create_or_update(resource_group_name: str, pool_name: str, resource: JSON, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Pool]
begin_create_or_update(resource_group_name: str, pool_name: str, resource: IO[bytes], *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Pool]

Create a Pool.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • pool_name (str) – Name of the pool. It needs to be globally unique. Required.

  • resource (Pool or JSON or IO[bytes]) – Resource create parameters. Is one of the following types: Pool, JSON, IO[bytes] Required.

Returns:

An instance of LROPoller that returns Pool. The Pool is compatible with MutableMapping

Return type:

LROPoller[Pool]

Raises:

HttpResponseError

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

Delete a Pool.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • pool_name (str) – Name of the pool. It needs to be globally unique. Required.

Returns:

An instance of LROPoller that returns None

Return type:

LROPoller[None]

Raises:

HttpResponseError

begin_update(resource_group_name: str, pool_name: str, properties: _models.PoolUpdate, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Pool][source]
begin_update(resource_group_name: str, pool_name: str, properties: JSON, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Pool]
begin_update(resource_group_name: str, pool_name: str, properties: IO[bytes], *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.Pool]

Update a Pool.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • pool_name (str) – Name of the pool. It needs to be globally unique. Required.

  • properties (PoolUpdate or JSON or IO[bytes]) – The resource properties to be updated. Is one of the following types: PoolUpdate, JSON, IO[bytes] Required.

Returns:

An instance of LROPoller that returns Pool. The Pool is compatible with MutableMapping

Return type:

LROPoller[Pool]

Raises:

HttpResponseError

get(resource_group_name: str, pool_name: str, **kwargs: Any) Pool[source]

Get a Pool.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • pool_name (str) – Name of the pool. It needs to be globally unique. Required.

Returns:

Pool. The Pool is compatible with MutableMapping

Return type:

Pool

Raises:

HttpResponseError

list_by_resource_group(resource_group_name: str, **kwargs: Any) Iterable[Pool][source]

List Pool 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 Pool

Return type:

ItemPaged[Pool]

Raises:

HttpResponseError

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

List Pool resources by subscription ID.

Returns:

An iterator like instance of Pool

Return type:

ItemPaged[Pool]

Raises:

HttpResponseError

class azure.mgmt.devopsinfrastructure.operations.ResourceDetailsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

list_by_pool(resource_group_name: str, pool_name: str, **kwargs: Any) Iterable[ResourceDetailsObject][source]

List ResourceDetailsObject resources by Pool.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • pool_name (str) – Name of the pool. It needs to be globally unique. Required.

Returns:

An iterator like instance of ResourceDetailsObject

Return type:

ItemPaged[ResourceDetailsObject]

Raises:

HttpResponseError

class azure.mgmt.devopsinfrastructure.operations.SkuOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

list_by_location(location_name: str, **kwargs: Any) Iterable[ResourceSku][source]

List ResourceSku resources by subscription ID.

Parameters:

location_name (str) – Name of the location. Required.

Returns:

An iterator like instance of ResourceSku

Return type:

ItemPaged[ResourceSku]

Raises:

HttpResponseError

class azure.mgmt.devopsinfrastructure.operations.SubscriptionUsagesOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

usages(location: str, **kwargs: Any) Iterable[Quota][source]

List Quota resources by subscription ID.

Parameters:

location (str) – The name of the Azure region. Required.

Returns:

An iterator like instance of Quota

Return type:

ItemPaged[Quota]

Raises:

HttpResponseError