Share via


AvailabilitySetsOperationsExtensions.ListBySubscription Method

Definition

Lists all availability sets in a subscription.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.AvailabilitySet> ListBySubscription (this Microsoft.Azure.Management.Compute.IAvailabilitySetsOperations operations, string expand = default);
static member ListBySubscription : Microsoft.Azure.Management.Compute.IAvailabilitySetsOperations * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.AvailabilitySet>
<Extension()>
Public Function ListBySubscription (operations As IAvailabilitySetsOperations, Optional expand As String = Nothing) As IPage(Of AvailabilitySet)

Parameters

operations
IAvailabilitySetsOperations

The operations group for this extension method.

expand
String

The expand expression to apply to the operation. Allowed values are 'instanceView'.

Returns

Applies to