DevSpacesExtensions.GetControllers Method

Definition

Overloads

GetControllers(ResourceGroupResource)

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

GetControllers(SubscriptionResource, CancellationToken)

Lists all the Azure Dev Spaces Controllers with their properties in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers
  • Operation Id: Controllers_List

GetControllers(ResourceGroupResource)

Source:
DevSpacesExtensions.cs

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

public static Azure.ResourceManager.DevSpaces.ControllerCollection GetControllers (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetControllers : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DevSpaces.ControllerCollection
<Extension()>
Public Function GetControllers (resourceGroupResource As ResourceGroupResource) As ControllerCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ControllerResources and their operations over a ControllerResource.

Exceptions

resourceGroupResource is null.

Applies to

GetControllers(SubscriptionResource, CancellationToken)

Source:
DevSpacesExtensions.cs

Lists all the Azure Dev Spaces Controllers with their properties in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers
  • Operation Id: Controllers_List
public static Azure.Pageable<Azure.ResourceManager.DevSpaces.ControllerResource> GetControllers (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetControllers : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DevSpaces.ControllerResource>
<Extension()>
Public Function GetControllers (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ControllerResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to