VolumeGroups interface
代表 VolumeGroups 的介面。
方法
方法詳細資料
beginCreate(string, string, string, VolumeGroup, VolumeGroupsCreateOptionalParams)
建立磁碟區群組。
function beginCreate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeGroup>, VolumeGroup>>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- elasticSanName
-
string
ElasticSan 的名稱。
- volumeGroupName
-
string
VolumeGroup 的名稱。
- parameters
- VolumeGroup
磁碟區群組物件。
- options
- VolumeGroupsCreateOptionalParams
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<VolumeGroup>, VolumeGroup>>
beginCreateAndWait(string, string, string, VolumeGroup, VolumeGroupsCreateOptionalParams)
建立磁碟區群組。
function beginCreateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroup, options?: VolumeGroupsCreateOptionalParams): Promise<VolumeGroup>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- elasticSanName
-
string
ElasticSan 的名稱。
- volumeGroupName
-
string
VolumeGroup 的名稱。
- parameters
- VolumeGroup
磁碟區群組物件。
- options
- VolumeGroupsCreateOptionalParams
選項參數。
傳回
Promise<VolumeGroup>
beginDelete(string, string, string, VolumeGroupsDeleteOptionalParams)
刪除 VolumeGroup。
function beginDelete(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- elasticSanName
-
string
ElasticSan 的名稱。
- volumeGroupName
-
string
VolumeGroup 的名稱。
- options
- VolumeGroupsDeleteOptionalParams
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, VolumeGroupsDeleteOptionalParams)
刪除 VolumeGroup。
function beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsDeleteOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- elasticSanName
-
string
ElasticSan 的名稱。
- volumeGroupName
-
string
VolumeGroup 的名稱。
- options
- VolumeGroupsDeleteOptionalParams
選項參數。
傳回
Promise<void>
beginUpdate(string, string, string, VolumeGroupUpdate, VolumeGroupsUpdateOptionalParams)
更新 VolumeGroup。
function beginUpdate(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeGroup>, VolumeGroup>>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- elasticSanName
-
string
ElasticSan 的名稱。
- volumeGroupName
-
string
VolumeGroup 的名稱。
- parameters
- VolumeGroupUpdate
磁碟區群組物件。
- options
- VolumeGroupsUpdateOptionalParams
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<VolumeGroup>, VolumeGroup>>
beginUpdateAndWait(string, string, string, VolumeGroupUpdate, VolumeGroupsUpdateOptionalParams)
更新 VolumeGroup。
function beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, parameters: VolumeGroupUpdate, options?: VolumeGroupsUpdateOptionalParams): Promise<VolumeGroup>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- elasticSanName
-
string
ElasticSan 的名稱。
- volumeGroupName
-
string
VolumeGroup 的名稱。
- parameters
- VolumeGroupUpdate
磁碟區群組物件。
- options
- VolumeGroupsUpdateOptionalParams
選項參數。
傳回
Promise<VolumeGroup>
get(string, string, string, VolumeGroupsGetOptionalParams)
取得 VolumeGroups。
function get(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeGroupsGetOptionalParams): Promise<VolumeGroup>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- elasticSanName
-
string
ElasticSan 的名稱。
- volumeGroupName
-
string
VolumeGroup 的名稱。
- options
- VolumeGroupsGetOptionalParams
選項參數。
傳回
Promise<VolumeGroup>
listByElasticSan(string, string, VolumeGroupsListByElasticSanOptionalParams)
列出 VolumeGroups。
function listByElasticSan(resourceGroupName: string, elasticSanName: string, options?: VolumeGroupsListByElasticSanOptionalParams): PagedAsyncIterableIterator<VolumeGroup, VolumeGroup[], PageSettings>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- elasticSanName
-
string
ElasticSan 的名稱。
選項參數。