AvailabilitySets interface
Interface representing a AvailabilitySets.
Methods
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.
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.
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.
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.
The options parameters.
Returns
Promise<AvailabilitySetsDeleteHeaders>
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.
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.
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.
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.
The options parameters.
Returns
listBySubscription(AvailabilitySetsListBySubscriptionOptionalParams)
List of AvailabilitySets in a subscription.
function listBySubscription(options?: AvailabilitySetsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AvailabilitySet, AvailabilitySet[], PageSettings>
Parameters
The options parameters.