ResourceConnectorExtensions.GetResourceConnectorAppliances Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
|
GetResourceConnectorAppliances(ResourceGroupResource)
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)
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
Azure SDK for .NET