Compartir a través de


AvailabilitySets interface

Interface representing a AvailabilitySets.

Methods

beginCreateOrUpdate(string, string, AvailabilitySet, AvailabilitySetsCreateOrUpdateOptionalParams)

Onboards the ScVmm availability set as an Azure resource.

beginCreateOrUpdateAndWait(string, string, AvailabilitySet, AvailabilitySetsCreateOrUpdateOptionalParams)

Onboards the ScVmm availability set as an Azure resource.

beginDelete(string, string, AvailabilitySetsDeleteOptionalParams)

Deregisters the ScVmm availability set from Azure.

beginDeleteAndWait(string, string, AvailabilitySetsDeleteOptionalParams)

Deregisters the ScVmm availability set from Azure.

beginUpdate(string, string, AvailabilitySetTagsUpdate, AvailabilitySetsUpdateOptionalParams)

Updates the AvailabilitySets resource.

beginUpdateAndWait(string, string, AvailabilitySetTagsUpdate, AvailabilitySetsUpdateOptionalParams)

Updates the AvailabilitySets resource.

get(string, string, AvailabilitySetsGetOptionalParams)

Implements AvailabilitySet GET method.

listByResourceGroup(string, AvailabilitySetsListByResourceGroupOptionalParams)

List of AvailabilitySets in a resource group.

listBySubscription(AvailabilitySetsListBySubscriptionOptionalParams)

List of AvailabilitySets in a subscription.

Method Details

beginCreateOrUpdate(string, string, AvailabilitySet, AvailabilitySetsCreateOrUpdateOptionalParams)

Onboards the ScVmm availability set as an Azure resource.

function beginCreateOrUpdate(resourceGroupName: string, availabilitySetResourceName: string, resource: AvailabilitySet, options?: AvailabilitySetsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AvailabilitySet>, AvailabilitySet>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

availabilitySetResourceName

string

Name of the AvailabilitySet.

resource
AvailabilitySet

Resource create parameters.

options
AvailabilitySetsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<AvailabilitySet>, AvailabilitySet>>

beginCreateOrUpdateAndWait(string, string, AvailabilitySet, AvailabilitySetsCreateOrUpdateOptionalParams)

Onboards the ScVmm availability set as an Azure resource.

function beginCreateOrUpdateAndWait(resourceGroupName: string, availabilitySetResourceName: string, resource: AvailabilitySet, options?: AvailabilitySetsCreateOrUpdateOptionalParams): Promise<AvailabilitySet>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

availabilitySetResourceName

string

Name of the AvailabilitySet.

resource
AvailabilitySet

Resource create parameters.

options
AvailabilitySetsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<AvailabilitySet>

beginDelete(string, string, AvailabilitySetsDeleteOptionalParams)

Deregisters the ScVmm availability set from Azure.

function beginDelete(resourceGroupName: string, availabilitySetResourceName: string, options?: AvailabilitySetsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AvailabilitySetsDeleteHeaders>, AvailabilitySetsDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

availabilitySetResourceName

string

Name of the AvailabilitySet.

options
AvailabilitySetsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<AvailabilitySetsDeleteHeaders>, AvailabilitySetsDeleteHeaders>>

beginDeleteAndWait(string, string, AvailabilitySetsDeleteOptionalParams)

Deregisters the ScVmm availability set from Azure.

function beginDeleteAndWait(resourceGroupName: string, availabilitySetResourceName: string, options?: AvailabilitySetsDeleteOptionalParams): Promise<AvailabilitySetsDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

availabilitySetResourceName

string

Name of the AvailabilitySet.

options
AvailabilitySetsDeleteOptionalParams

The options parameters.

Returns

beginUpdate(string, string, AvailabilitySetTagsUpdate, AvailabilitySetsUpdateOptionalParams)

Updates the AvailabilitySets resource.

function beginUpdate(resourceGroupName: string, availabilitySetResourceName: string, properties: AvailabilitySetTagsUpdate, options?: AvailabilitySetsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AvailabilitySet>, AvailabilitySet>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

availabilitySetResourceName

string

Name of the AvailabilitySet.

properties
AvailabilitySetTagsUpdate

The resource properties to be updated.

options
AvailabilitySetsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<AvailabilitySet>, AvailabilitySet>>

beginUpdateAndWait(string, string, AvailabilitySetTagsUpdate, AvailabilitySetsUpdateOptionalParams)

Updates the AvailabilitySets resource.

function beginUpdateAndWait(resourceGroupName: string, availabilitySetResourceName: string, properties: AvailabilitySetTagsUpdate, options?: AvailabilitySetsUpdateOptionalParams): Promise<AvailabilitySet>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

availabilitySetResourceName

string

Name of the AvailabilitySet.

properties
AvailabilitySetTagsUpdate

The resource properties to be updated.

options
AvailabilitySetsUpdateOptionalParams

The options parameters.

Returns

Promise<AvailabilitySet>

get(string, string, AvailabilitySetsGetOptionalParams)

Implements AvailabilitySet GET method.

function get(resourceGroupName: string, availabilitySetResourceName: string, options?: AvailabilitySetsGetOptionalParams): Promise<AvailabilitySet>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

availabilitySetResourceName

string

Name of the AvailabilitySet.

options
AvailabilitySetsGetOptionalParams

The options parameters.

Returns

Promise<AvailabilitySet>

listByResourceGroup(string, AvailabilitySetsListByResourceGroupOptionalParams)

List of AvailabilitySets in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: AvailabilitySetsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AvailabilitySet, AvailabilitySet[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
AvailabilitySetsListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(AvailabilitySetsListBySubscriptionOptionalParams)

List of AvailabilitySets in a subscription.

function listBySubscription(options?: AvailabilitySetsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AvailabilitySet, AvailabilitySet[], PageSettings>

Parameters

options
AvailabilitySetsListBySubscriptionOptionalParams

The options parameters.

Returns