NetworkCloudExtensions.GetNetworkCloudClusterManagers 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
GetNetworkCloudClusterManagers(ResourceGroupResource) |
Gets a collection of NetworkCloudClusterManagerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkCloudClusterManagers() instead. |
GetNetworkCloudClusterManagers(SubscriptionResource, CancellationToken) |
Get a list of cluster managers in the provided subscription.
|
GetNetworkCloudClusterManagers(ResourceGroupResource)
- Source:
- NetworkCloudExtensions.cs
- Source:
- NetworkCloudExtensions.cs
Gets a collection of NetworkCloudClusterManagerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkCloudClusterManagers() instead.
public static Azure.ResourceManager.NetworkCloud.NetworkCloudClusterManagerCollection GetNetworkCloudClusterManagers (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkCloudClusterManagers : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.NetworkCloud.NetworkCloudClusterManagerCollection
<Extension()>
Public Function GetNetworkCloudClusterManagers (resourceGroupResource As ResourceGroupResource) As NetworkCloudClusterManagerCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of NetworkCloudClusterManagerResources and their operations over a NetworkCloudClusterManagerResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetNetworkCloudClusterManagers(SubscriptionResource, CancellationToken)
- Source:
- NetworkCloudExtensions.cs
- Source:
- NetworkCloudExtensions.cs
Get a list of cluster managers in the provided subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/clusterManagers
- Operation Id: ClusterManagers_ListBySubscription
- Default Api Version: 2024-06-01-preview
- Resource: NetworkCloudClusterManagerResource
public static Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudClusterManagerResource> GetNetworkCloudClusterManagers (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkCloudClusterManagers : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudClusterManagerResource>
<Extension()>
Public Function GetNetworkCloudClusterManagers (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkCloudClusterManagerResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of NetworkCloudClusterManagerResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET