Volume class
代表磁碟區的類別。
建構函式
Volume(Service |
建立磁碟區。 |
方法
建構函式詳細資料
Volume(ServiceFabricMeshManagementClientContext)
建立磁碟區。
new Volume(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<VolumeCreateResponse>
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
選擇性參數
- callback
回呼
create(string, string, VolumeResourceDescription, ServiceCallback<VolumeResourceDescription>)
function create(resourceGroupName: string, volumeResourceName: string, volumeResourceDescription: VolumeResourceDescription, callback: ServiceCallback<VolumeResourceDescription>)
參數
- resourceGroupName
-
string
Azure 資源組名
- volumeResourceName
-
string
磁碟區的識別。
- volumeResourceDescription
- VolumeResourceDescription
建立磁碟區資源的描述。
- callback
回呼
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<VolumeGetResponse>
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
選擇性參數
- callback
回呼
get(string, string, ServiceCallback<VolumeResourceDescription>)
function get(resourceGroupName: string, volumeResourceName: string, callback: ServiceCallback<VolumeResourceDescription>)
參數
- resourceGroupName
-
string
Azure 資源組名
- volumeResourceName
-
string
磁碟區的識別。
- callback
回呼
listByResourceGroup(string, RequestOptionsBase)
取得指定資源群組中所有磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。
function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<VolumeListByResourceGroupResponse>
參數
- resourceGroupName
-
string
Azure 資源組名
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<VolumeListByResourceGroupResponse>
Promise<Models.VolumeListByResourceGroupResponse>
listByResourceGroup(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)
function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<VolumeResourceDescriptionList>)
參數
- resourceGroupName
-
string
Azure 資源組名
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
listByResourceGroup(string, ServiceCallback<VolumeResourceDescriptionList>)
function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<VolumeResourceDescriptionList>)
參數
- resourceGroupName
-
string
Azure 資源組名
- callback
回呼
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
選擇性參數
- callback
回呼
listByResourceGroupNext(string, ServiceCallback<VolumeResourceDescriptionList>)
function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<VolumeResourceDescriptionList>)
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- callback
回呼
listBySubscription(RequestOptionsBase)
取得指定資源群組中所有磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。
function listBySubscription(options?: RequestOptionsBase): Promise<VolumeListBySubscriptionResponse>
參數
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<VolumeListBySubscriptionResponse>
Promise<Models.VolumeListBySubscriptionResponse>
listBySubscription(RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)
function listBySubscription(options: RequestOptionsBase, callback: ServiceCallback<VolumeResourceDescriptionList>)
參數
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
listBySubscription(ServiceCallback<VolumeResourceDescriptionList>)
function listBySubscription(callback: ServiceCallback<VolumeResourceDescriptionList>)
參數
- callback
回呼
listBySubscriptionNext(string, RequestOptionsBase)
取得指定資源群組中所有磁碟區資源的相關信息。 此資訊包括磁碟區的描述和其他屬性。
function listBySubscriptionNext(nextPageLink: string, options?: RequestOptionsBase): Promise<VolumeListBySubscriptionNextResponse>
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<VolumeListBySubscriptionNextResponse>
Promise<Models.VolumeListBySubscriptionNextResponse>
listBySubscriptionNext(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)
function listBySubscriptionNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<VolumeResourceDescriptionList>)
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
listBySubscriptionNext(string, ServiceCallback<VolumeResourceDescriptionList>)
function listBySubscriptionNext(nextPageLink: string, callback: ServiceCallback<VolumeResourceDescriptionList>)
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- callback
回呼