ExtendedLocationExtensions.GetCustomLocations Method

Definition

Overloads

GetCustomLocations(ResourceGroupResource)

Gets a collection of CustomLocationResources in the ResourceGroupResource.

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

GetCustomLocations(ResourceGroupResource)

Source:
ExtendedLocationExtensions.cs

Gets a collection of CustomLocationResources in the ResourceGroupResource.

public static Azure.ResourceManager.ExtendedLocation.CustomLocationCollection GetCustomLocations (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetCustomLocations : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ExtendedLocation.CustomLocationCollection
<Extension()>
Public Function GetCustomLocations (resourceGroupResource As ResourceGroupResource) As CustomLocationCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of CustomLocationResources and their operations over a CustomLocationResource.

Applies to

GetCustomLocations(SubscriptionResource, CancellationToken)

Source:
ExtendedLocationExtensions.cs

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

public static Azure.Pageable<Azure.ResourceManager.ExtendedLocation.CustomLocationResource> GetCustomLocations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetCustomLocations : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ExtendedLocation.CustomLocationResource>
<Extension()>
Public Function GetCustomLocations (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CustomLocationResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of CustomLocationResource that may take multiple service requests to iterate over.

Applies to