次の方法で共有


ArcScVmmExtensions.GetScVmmAvailabilitySets Method

Definition

Overloads

GetScVmmAvailabilitySets(ResourceGroupResource)

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

GetScVmmAvailabilitySets(SubscriptionResource, CancellationToken)

List of AvailabilitySets in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets
  • Operation Id: AvailabilitySets_ListBySubscription

GetScVmmAvailabilitySets(ResourceGroupResource)

Source:
ArcScVmmExtensions.cs

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

public static Azure.ResourceManager.ArcScVmm.ScVmmAvailabilitySetCollection GetScVmmAvailabilitySets (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetScVmmAvailabilitySets : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ArcScVmm.ScVmmAvailabilitySetCollection
<Extension()>
Public Function GetScVmmAvailabilitySets (resourceGroupResource As ResourceGroupResource) As ScVmmAvailabilitySetCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ScVmmAvailabilitySetResources and their operations over a ScVmmAvailabilitySetResource.

Exceptions

resourceGroupResource is null.

Applies to

GetScVmmAvailabilitySets(SubscriptionResource, CancellationToken)

Source:
ArcScVmmExtensions.cs

List of AvailabilitySets in a subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to