Udostępnij za pośrednictwem


ScVmmExtensions.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
  • Default Api Version: 2023-10-07
  • Resource: ScVmmAvailabilitySetResource

GetScVmmAvailabilitySets(ResourceGroupResource)

Source:
ScVmmExtensions.cs

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

public static Azure.ResourceManager.ScVmm.ScVmmAvailabilitySetCollection GetScVmmAvailabilitySets (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetScVmmAvailabilitySets : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ScVmm.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:
ScVmmExtensions.cs

List of AvailabilitySets in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets
  • Operation Id: AvailabilitySets_ListBySubscription
  • Default Api Version: 2023-10-07
  • Resource: ScVmmAvailabilitySetResource
public static Azure.Pageable<Azure.ResourceManager.ScVmm.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.ScVmm.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