共用方式為


Volume class

代表磁碟區的類別。

建構函式

Volume(ServiceFabricMeshManagementClientContext)

建立磁碟區。

方法

create(string, string, VolumeResourceDescription, RequestOptionsBase)

建立具有指定名稱、描述和屬性的磁碟區資源。 如果磁碟區資源的名稱相同,則會使用指定的描述和屬性來更新它。

create(string, string, VolumeResourceDescription, RequestOptionsBase, ServiceCallback<VolumeResourceDescription>)
create(string, string, VolumeResourceDescription, ServiceCallback<VolumeResourceDescription>)
deleteMethod(string, string, RequestOptionsBase)

刪除名稱所識別的磁碟區資源。

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, ServiceCallback<void>)
get(string, string, RequestOptionsBase)

取得具有指定名稱之磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。

get(string, string, RequestOptionsBase, ServiceCallback<VolumeResourceDescription>)
get(string, string, ServiceCallback<VolumeResourceDescription>)
listByResourceGroup(string, RequestOptionsBase)

取得指定資源群組中所有磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)
listByResourceGroup(string, ServiceCallback<VolumeResourceDescriptionList>)
listByResourceGroupNext(string, RequestOptionsBase)

取得指定資源群組中所有磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)
listByResourceGroupNext(string, ServiceCallback<VolumeResourceDescriptionList>)
listBySubscription(RequestOptionsBase)

取得指定資源群組中所有磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。

listBySubscription(RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)
listBySubscription(ServiceCallback<VolumeResourceDescriptionList>)
listBySubscriptionNext(string, RequestOptionsBase)

取得指定資源群組中所有磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。

listBySubscriptionNext(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)
listBySubscriptionNext(string, ServiceCallback<VolumeResourceDescriptionList>)

建構函式詳細資料

Volume(ServiceFabricMeshManagementClientContext)

建立磁碟區。

new Volume(client: ServiceFabricMeshManagementClientContext)

參數

client
ServiceFabricMeshManagementClientContext

服務客戶端的參考。

方法詳細資料

create(string, string, VolumeResourceDescription, RequestOptionsBase)

建立具有指定名稱、描述和屬性的磁碟區資源。 如果磁碟區資源的名稱相同,則會使用指定的描述和屬性來更新它。

function create(resourceGroupName: string, volumeResourceName: string, volumeResourceDescription: VolumeResourceDescription, options?: RequestOptionsBase): Promise<VolumeCreateResponse>

參數

resourceGroupName

string

Azure 資源組名

volumeResourceName

string

磁碟區的識別。

volumeResourceDescription
VolumeResourceDescription

建立磁碟區資源的描述。

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.VolumeCreateResponse>

create(string, string, VolumeResourceDescription, RequestOptionsBase, ServiceCallback<VolumeResourceDescription>)

function create(resourceGroupName: string, volumeResourceName: string, volumeResourceDescription: VolumeResourceDescription, options: RequestOptionsBase, callback: ServiceCallback<VolumeResourceDescription>)

參數

resourceGroupName

string

Azure 資源組名

volumeResourceName

string

磁碟區的識別。

volumeResourceDescription
VolumeResourceDescription

建立磁碟區資源的描述。

options
RequestOptionsBase

選擇性參數

create(string, string, VolumeResourceDescription, ServiceCallback<VolumeResourceDescription>)

function create(resourceGroupName: string, volumeResourceName: string, volumeResourceDescription: VolumeResourceDescription, callback: ServiceCallback<VolumeResourceDescription>)

參數

resourceGroupName

string

Azure 資源組名

volumeResourceName

string

磁碟區的識別。

volumeResourceDescription
VolumeResourceDescription

建立磁碟區資源的描述。

deleteMethod(string, string, RequestOptionsBase)

刪除名稱所識別的磁碟區資源。

function deleteMethod(resourceGroupName: string, volumeResourceName: string, options?: RequestOptionsBase): Promise<RestResponse>

參數

resourceGroupName

string

Azure 資源組名

volumeResourceName

string

磁碟區的識別。

options
RequestOptionsBase

選擇性參數

傳回

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, volumeResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

參數

resourceGroupName

string

Azure 資源組名

volumeResourceName

string

磁碟區的識別。

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<void>

回呼

deleteMethod(string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, volumeResourceName: string, callback: ServiceCallback<void>)

參數

resourceGroupName

string

Azure 資源組名

volumeResourceName

string

磁碟區的識別。

callback

ServiceCallback<void>

回呼

get(string, string, RequestOptionsBase)

取得具有指定名稱之磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。

function get(resourceGroupName: string, volumeResourceName: string, options?: RequestOptionsBase): Promise<VolumeGetResponse>

參數

resourceGroupName

string

Azure 資源組名

volumeResourceName

string

磁碟區的識別。

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.VolumeGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<VolumeResourceDescription>)

function get(resourceGroupName: string, volumeResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<VolumeResourceDescription>)

參數

resourceGroupName

string

Azure 資源組名

volumeResourceName

string

磁碟區的識別。

options
RequestOptionsBase

選擇性參數

get(string, string, ServiceCallback<VolumeResourceDescription>)

function get(resourceGroupName: string, volumeResourceName: string, callback: ServiceCallback<VolumeResourceDescription>)

參數

resourceGroupName

string

Azure 資源組名

volumeResourceName

string

磁碟區的識別。

listByResourceGroup(string, RequestOptionsBase)

取得指定資源群組中所有磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。

function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<VolumeListByResourceGroupResponse>

參數

resourceGroupName

string

Azure 資源組名

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.VolumeListByResourceGroupResponse>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)

function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<VolumeResourceDescriptionList>)

參數

resourceGroupName

string

Azure 資源組名

options
RequestOptionsBase

選擇性參數

listByResourceGroup(string, ServiceCallback<VolumeResourceDescriptionList>)

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<VolumeResourceDescriptionList>)

參數

resourceGroupName

string

Azure 資源組名

listByResourceGroupNext(string, RequestOptionsBase)

取得指定資源群組中所有磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。

function listByResourceGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<VolumeListByResourceGroupNextResponse>

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.VolumeListByResourceGroupNextResponse>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)

function listByResourceGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<VolumeResourceDescriptionList>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

listByResourceGroupNext(string, ServiceCallback<VolumeResourceDescriptionList>)

function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<VolumeResourceDescriptionList>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

listBySubscription(RequestOptionsBase)

取得指定資源群組中所有磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。

function listBySubscription(options?: RequestOptionsBase): Promise<VolumeListBySubscriptionResponse>

參數

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.VolumeListBySubscriptionResponse>

listBySubscription(RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)

function listBySubscription(options: RequestOptionsBase, callback: ServiceCallback<VolumeResourceDescriptionList>)

參數

options
RequestOptionsBase

選擇性參數

listBySubscription(ServiceCallback<VolumeResourceDescriptionList>)

function listBySubscription(callback: ServiceCallback<VolumeResourceDescriptionList>)

參數

listBySubscriptionNext(string, RequestOptionsBase)

取得指定資源群組中所有磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。

function listBySubscriptionNext(nextPageLink: string, options?: RequestOptionsBase): Promise<VolumeListBySubscriptionNextResponse>

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.VolumeListBySubscriptionNextResponse>

listBySubscriptionNext(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)

function listBySubscriptionNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<VolumeResourceDescriptionList>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

listBySubscriptionNext(string, ServiceCallback<VolumeResourceDescriptionList>)

function listBySubscriptionNext(nextPageLink: string, callback: ServiceCallback<VolumeResourceDescriptionList>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。