Delen via


ExtendedLocationsExtensions Class

Definition

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

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

Methods

GetCustomLocation(ResourceGroupResource, String, CancellationToken)

Gets the details of the customLocation with a specified resource group and name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}
  • Operation Id: CustomLocations_Get
GetCustomLocationAsync(ResourceGroupResource, String, CancellationToken)

Gets the details of the customLocation with a specified resource group and name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}
  • Operation Id: CustomLocations_Get
GetCustomLocationResource(ArmClient, ResourceIdentifier)

Gets an object representing a CustomLocationResource 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 CustomLocationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCustomLocationResource(ResourceIdentifier) instead.

GetCustomLocations(ResourceGroupResource)

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

GetCustomLocations(SubscriptionResource, CancellationToken)

Gets a list of Custom Locations in the specified subscription. The operation returns properties of each Custom Location

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ExtendedLocation/customLocations
  • Operation Id: CustomLocations_ListBySubscription
GetCustomLocationsAsync(SubscriptionResource, CancellationToken)

Gets a list of Custom Locations in the specified subscription. The operation returns properties of each Custom Location

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ExtendedLocation/customLocations
  • Operation Id: CustomLocations_ListBySubscription

Applies to