AvsExtensions.GetAvsPrivateClouds 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
GetAvsPrivateClouds(ResourceGroupResource) |
Gets a collection of AvsPrivateCloudResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAvsPrivateClouds() instead. |
GetAvsPrivateClouds(SubscriptionResource, CancellationToken) |
List PrivateCloud resources by subscription ID
|
GetAvsPrivateClouds(ResourceGroupResource)
- Source:
- AvsExtensions.cs
- Source:
- AvsExtensions.cs
Gets a collection of AvsPrivateCloudResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAvsPrivateClouds() instead.
public static Azure.ResourceManager.Avs.AvsPrivateCloudCollection GetAvsPrivateClouds (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAvsPrivateClouds : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Avs.AvsPrivateCloudCollection
<Extension()>
Public Function GetAvsPrivateClouds (resourceGroupResource As ResourceGroupResource) As AvsPrivateCloudCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of AvsPrivateCloudResources and their operations over a AvsPrivateCloudResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetAvsPrivateClouds(SubscriptionResource, CancellationToken)
- Source:
- AvsExtensions.cs
- Source:
- AvsExtensions.cs
List PrivateCloud resources by subscription ID
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds
- Operation Id: PrivateClouds_ListInSubscription
- Default Api Version: 2023-09-01
- Resource: AvsPrivateCloudResource
public static Azure.Pageable<Azure.ResourceManager.Avs.AvsPrivateCloudResource> GetAvsPrivateClouds (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAvsPrivateClouds : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Avs.AvsPrivateCloudResource>
<Extension()>
Public Function GetAvsPrivateClouds (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AvsPrivateCloudResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of AvsPrivateCloudResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.