Share via


ResourceConnectorExtensions.GetResourceConnectorAppliances Method

Definition

Overloads

GetResourceConnectorAppliances(ResourceGroupResource)

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

GetResourceConnectorAppliances(SubscriptionResource, CancellationToken)

Gets a list of Appliances in the specified subscription. The operation returns properties of each Appliance

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ResourceConnector/appliances
  • Operation Id: Appliances_ListBySubscription

GetResourceConnectorAppliances(ResourceGroupResource)

Source:
ResourceConnectorExtensions.cs

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

public static Azure.ResourceManager.ResourceConnector.ResourceConnectorApplianceCollection GetResourceConnectorAppliances (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetResourceConnectorAppliances : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ResourceConnector.ResourceConnectorApplianceCollection
<Extension()>
Public Function GetResourceConnectorAppliances (resourceGroupResource As ResourceGroupResource) As ResourceConnectorApplianceCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ResourceConnectorApplianceResources and their operations over a ResourceConnectorApplianceResource.

Exceptions

resourceGroupResource is null.

Applies to

GetResourceConnectorAppliances(SubscriptionResource, CancellationToken)

Source:
ResourceConnectorExtensions.cs

Gets a list of Appliances in the specified subscription. The operation returns properties of each Appliance

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to