Compartilhar via


DevOpsInfrastructureExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.DevOpsInfrastructure.

public static class DevOpsInfrastructureExtensions
type DevOpsInfrastructureExtensions = class
Public Module DevOpsInfrastructureExtensions
Inheritance
DevOpsInfrastructureExtensions

Methods

GetDevOpsPool(ResourceGroupResource, String, CancellationToken)

Get a Pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}
  • Operation Id: Pools_Get
  • Default Api Version: 2024-04-04-preview
  • Resource: DevOpsPoolResource
GetDevOpsPoolAsync(ResourceGroupResource, String, CancellationToken)

Get a Pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}
  • Operation Id: Pools_Get
  • Default Api Version: 2024-04-04-preview
  • Resource: DevOpsPoolResource
GetDevOpsPoolResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevOpsPoolResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DevOpsPoolResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevOpsPoolResource(ResourceIdentifier) instead.

GetDevOpsPools(ResourceGroupResource)

Gets a collection of DevOpsPoolResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDevOpsPools() instead.

GetDevOpsPools(SubscriptionResource, CancellationToken)

List Pool resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/pools
  • Operation Id: Pool_ListBySubscription
  • Default Api Version: 2024-04-04-preview
  • Resource: DevOpsPoolResource
GetDevOpsPoolsAsync(SubscriptionResource, CancellationToken)

List Pool resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/pools
  • Operation Id: Pool_ListBySubscription
  • Default Api Version: 2024-04-04-preview
  • Resource: DevOpsPoolResource
GetImageVersionsByImage(ResourceGroupResource, String, CancellationToken)

List ImageVersion resources by Image

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/images/{imageName}/versions
  • Operation Id: ImageVersion_ListByImage
  • Default Api Version: 2024-04-04-preview
GetImageVersionsByImageAsync(ResourceGroupResource, String, CancellationToken)

List ImageVersion resources by Image

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/images/{imageName}/versions
  • Operation Id: ImageVersion_ListByImage
  • Default Api Version: 2024-04-04-preview
GetSkusByLocation(SubscriptionResource, String, CancellationToken)

List ResourceSku resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/locations/{locationName}/skus
  • Operation Id: ResourceSku_ListByLocation
  • Default Api Version: 2024-04-04-preview
GetSkusByLocationAsync(SubscriptionResource, String, CancellationToken)

List ResourceSku resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/locations/{locationName}/skus
  • Operation Id: ResourceSku_ListByLocation
  • Default Api Version: 2024-04-04-preview
GetUsages(SubscriptionResource, AzureLocation, CancellationToken)

List Quota resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/locations/{location}/usages
  • Operation Id: SubscriptionUsages_GetUsages
  • Default Api Version: 2024-04-04-preview
GetUsagesAsync(SubscriptionResource, AzureLocation, CancellationToken)

List Quota resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/locations/{location}/usages
  • Operation Id: SubscriptionUsages_GetUsages
  • Default Api Version: 2024-04-04-preview

Applies to