resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
parameters
- Parameters supplied to the Create Availability Set operation.
context
- The context to associate with this operation.
Returns:
specifies information about the availability set that the virtual machine should be assigned to along
with Response<T>.
createOrUpdateWithResponseAsync
public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetInner parameters)
Create or update an availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
parameters
- Parameters supplied to the Create Availability Set operation.
Returns:
specifies information about the availability set that the virtual machine should be assigned to along
with Response<T> on successful completion of Mono.
delete
public abstract void delete(String resourceGroupName, String availabilitySetName)
Delete an availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
deleteAsync
public abstract Mono deleteAsync(String resourceGroupName, String availabilitySetName)
Delete an availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
Returns:
A Mono that completes when a successful response is received.
deleteWithResponse
public abstract Response deleteWithResponse(String resourceGroupName, String availabilitySetName, Context context)
Delete an availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
context
- The context to associate with this operation.
public abstract AvailabilitySetInner getByResourceGroup(String resourceGroupName, String availabilitySetName)
Retrieves information about an availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
Returns:
specifies information about the availability set that the virtual machine should be assigned to.
getByResourceGroupAsync
public abstract Mono getByResourceGroupAsync(String resourceGroupName, String availabilitySetName)
Retrieves information about an availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
Returns:
specifies information about the availability set that the virtual machine should be assigned to on
successful completion of Mono.
getByResourceGroupWithResponse
public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String availabilitySetName, Context context)
Retrieves information about an availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
context
- The context to associate with this operation.
Returns:
specifies information about the availability set that the virtual machine should be assigned to along
with Response<T>.
getByResourceGroupWithResponseAsync
public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String availabilitySetName)
Retrieves information about an availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
Returns:
specifies information about the availability set that the virtual machine should be assigned to along
with Response<T> on successful completion of Mono.
list
public abstract PagedIterable list()
Lists all availability sets in a subscription.
Returns:
the List Availability Set operation response as paginated response with PagedIterable<T>.
list
public abstract PagedIterable list(String expand, Context context)
Lists all availability sets in a subscription.
Parameters:
expand
- The expand expression to apply to the operation. Allowed values are 'instanceView'.
context
- The context to associate with this operation.
Returns:
the List Availability Set operation response as paginated response with PagedIterable<T>.
listAsync
public abstract PagedFlux listAsync()
Lists all availability sets in a subscription.
Returns:
the List Availability Set operation response as paginated response with PagedFlux<T>.
listAsync
public abstract PagedFlux listAsync(String expand)
Lists all availability sets in a subscription.
Parameters:
expand
- The expand expression to apply to the operation. Allowed values are 'instanceView'.
Returns:
the List Availability Set operation response as paginated response with PagedFlux<T>.
listAvailableSizes
public abstract PagedIterable listAvailableSizes(String resourceGroupName, String availabilitySetName)
Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
Returns:
the List Virtual Machine operation response as paginated response with PagedIterable<T>.
listAvailableSizes
public abstract PagedIterable listAvailableSizes(String resourceGroupName, String availabilitySetName, Context context)
Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
context
- The context to associate with this operation.
Returns:
the List Virtual Machine operation response as paginated response with PagedIterable<T>.
listAvailableSizesAsync
public abstract PagedFlux listAvailableSizesAsync(String resourceGroupName, String availabilitySetName)
Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
Returns:
the List Virtual Machine operation response as paginated response with PagedFlux<T>.
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName)
Lists all availability sets in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
the List Availability Set operation response as paginated response with PagedIterable<T>.
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)
Lists all availability sets in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
context
- The context to associate with this operation.
Returns:
the List Availability Set operation response as paginated response with PagedIterable<T>.
listByResourceGroupAsync
public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)
Lists all availability sets in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
the List Availability Set operation response as paginated response with PagedFlux<T>.
update
public abstract AvailabilitySetInner update(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters)
Update an availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
parameters
- Parameters supplied to the Update Availability Set operation.
Returns:
specifies information about the availability set that the virtual machine should be assigned to.
updateAsync
public abstract Mono updateAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters)
Update an availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
parameters
- Parameters supplied to the Update Availability Set operation.
Returns:
specifies information about the availability set that the virtual machine should be assigned to on
successful completion of Mono.
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
parameters
- Parameters supplied to the Update Availability Set operation.
context
- The context to associate with this operation.
Returns:
specifies information about the availability set that the virtual machine should be assigned to along
with Response<T>.
updateWithResponseAsync
public abstract Mono> updateWithResponseAsync(String resourceGroupName, String availabilitySetName, AvailabilitySetUpdate parameters)
Update an availability set.
Parameters:
resourceGroupName
- The name of the resource group.
availabilitySetName
- The name of the availability set.
parameters
- Parameters supplied to the Update Availability Set operation.
Returns:
specifies information about the availability set that the virtual machine should be assigned to along
with Response<T> on successful completion of Mono.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.