Volumes interface

代表磁碟區的介面。

方法

beginCreateOrUpdate(string, string, Volume, VolumesCreateOrUpdateOptionalParams)

建立新的磁碟區或更新現有磁碟區的屬性。

beginCreateOrUpdateAndWait(string, string, Volume, VolumesCreateOrUpdateOptionalParams)

建立新的磁碟區或更新現有磁碟區的屬性。

beginDelete(string, string, VolumesDeleteOptionalParams)

刪除提供的磁碟區。

beginDeleteAndWait(string, string, VolumesDeleteOptionalParams)

刪除提供的磁碟區。

get(string, string, VolumesGetOptionalParams)

取得所提供磁碟區的屬性。

listByResourceGroup(string, VolumesListByResourceGroupOptionalParams)

取得所提供資源群組中的磁碟區清單。

listBySubscription(VolumesListBySubscriptionOptionalParams)

取得所提供訂用帳戶中的磁碟區清單。

update(string, string, VolumesUpdateOptionalParams)

更新與所提供磁碟區相關聯的標籤。

方法詳細資料

beginCreateOrUpdate(string, string, Volume, VolumesCreateOrUpdateOptionalParams)

建立新的磁碟區或更新現有磁碟區的屬性。

function beginCreateOrUpdate(resourceGroupName: string, volumeName: string, volumeParameters: Volume, options?: VolumesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Volume>, Volume>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

volumeName

string

磁碟區的名稱。

volumeParameters
Volume

要求本文。

options
VolumesCreateOrUpdateOptionalParams

選項參數。

傳回

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

beginCreateOrUpdateAndWait(string, string, Volume, VolumesCreateOrUpdateOptionalParams)

建立新的磁碟區或更新現有磁碟區的屬性。

function beginCreateOrUpdateAndWait(resourceGroupName: string, volumeName: string, volumeParameters: Volume, options?: VolumesCreateOrUpdateOptionalParams): Promise<Volume>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

volumeName

string

磁碟區的名稱。

volumeParameters
Volume

要求本文。

options
VolumesCreateOrUpdateOptionalParams

選項參數。

傳回

Promise<Volume>

beginDelete(string, string, VolumesDeleteOptionalParams)

刪除提供的磁碟區。

function beginDelete(resourceGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

volumeName

string

磁碟區的名稱。

options
VolumesDeleteOptionalParams

選項參數。

傳回

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

beginDeleteAndWait(string, string, VolumesDeleteOptionalParams)

刪除提供的磁碟區。

function beginDeleteAndWait(resourceGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams): Promise<OperationStatusResult>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

volumeName

string

磁碟區的名稱。

options
VolumesDeleteOptionalParams

選項參數。

傳回

get(string, string, VolumesGetOptionalParams)

取得所提供磁碟區的屬性。

function get(resourceGroupName: string, volumeName: string, options?: VolumesGetOptionalParams): Promise<Volume>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

volumeName

string

磁碟區的名稱。

options
VolumesGetOptionalParams

選項參數。

傳回

Promise<Volume>

listByResourceGroup(string, VolumesListByResourceGroupOptionalParams)

取得所提供資源群組中的磁碟區清單。

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

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

傳回

listBySubscription(VolumesListBySubscriptionOptionalParams)

取得所提供訂用帳戶中的磁碟區清單。

function listBySubscription(options?: VolumesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Volume, Volume[], PageSettings>

參數

options
VolumesListBySubscriptionOptionalParams

選項參數。

傳回

update(string, string, VolumesUpdateOptionalParams)

更新與所提供磁碟區相關聯的標籤。

function update(resourceGroupName: string, volumeName: string, options?: VolumesUpdateOptionalParams): Promise<Volume>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

volumeName

string

磁碟區的名稱。

options
VolumesUpdateOptionalParams

選項參數。

傳回

Promise<Volume>