Sdílet prostřednictvím


VolumeGroups interface

Interface representing a VolumeGroups.

Methods

beginCreate(string, string, string, VolumeGroupDetails, VolumeGroupsCreateOptionalParams)

Create a volume group along with specified volumes

beginCreateAndWait(string, string, string, VolumeGroupDetails, VolumeGroupsCreateOptionalParams)

Create a volume group along with specified volumes

beginDelete(string, string, string, VolumeGroupsDeleteOptionalParams)

Delete the specified volume group only if there are no volumes under volume group.

beginDeleteAndWait(string, string, string, VolumeGroupsDeleteOptionalParams)

Delete the specified volume group only if there are no volumes under volume group.

get(string, string, string, VolumeGroupsGetOptionalParams)

Get details of the specified volume group

listByNetAppAccount(string, string, VolumeGroupsListByNetAppAccountOptionalParams)

List all volume groups for given account

Method Details

beginCreate(string, string, string, VolumeGroupDetails, VolumeGroupsCreateOptionalParams)

Create a volume group along with specified volumes

function beginCreate(resourceGroupName: string, accountName: string, volumeGroupName: string, body: VolumeGroupDetails, options?: VolumeGroupsCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeGroupDetails>, VolumeGroupDetails>>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

volumeGroupName

string

The name of the volumeGroup

body
VolumeGroupDetails

Volume Group object supplied in the body of the operation.

options
VolumeGroupsCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, string, VolumeGroupDetails, VolumeGroupsCreateOptionalParams)

Create a volume group along with specified volumes

function beginCreateAndWait(resourceGroupName: string, accountName: string, volumeGroupName: string, body: VolumeGroupDetails, options?: VolumeGroupsCreateOptionalParams): Promise<VolumeGroupDetails>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

volumeGroupName

string

The name of the volumeGroup

body
VolumeGroupDetails

Volume Group object supplied in the body of the operation.

options
VolumeGroupsCreateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, VolumeGroupsDeleteOptionalParams)

Delete the specified volume group only if there are no volumes under volume group.

function beginDelete(resourceGroupName: string, accountName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

volumeGroupName

string

The name of the volumeGroup

options
VolumeGroupsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, VolumeGroupsDeleteOptionalParams)

Delete the specified volume group only if there are no volumes under volume group.

function beginDeleteAndWait(resourceGroupName: string, accountName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

volumeGroupName

string

The name of the volumeGroup

options
VolumeGroupsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, VolumeGroupsGetOptionalParams)

Get details of the specified volume group

function get(resourceGroupName: string, accountName: string, volumeGroupName: string, options?: VolumeGroupsGetOptionalParams): Promise<VolumeGroupDetails>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

volumeGroupName

string

The name of the volumeGroup

options
VolumeGroupsGetOptionalParams

The options parameters.

Returns

listByNetAppAccount(string, string, VolumeGroupsListByNetAppAccountOptionalParams)

List all volume groups for given account

function listByNetAppAccount(resourceGroupName: string, accountName: string, options?: VolumeGroupsListByNetAppAccountOptionalParams): PagedAsyncIterableIterator<VolumeGroup, VolumeGroup[], PageSettings>

Parameters

resourceGroupName

string

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

accountName

string

The name of the NetApp account

options
VolumeGroupsListByNetAppAccountOptionalParams

The options parameters.

Returns