次の方法で共有


MeshVolume class

MeshVolume を表すクラス。

コンストラクター

MeshVolume(ServiceFabricClientContext)

MeshVolume を作成します。

メソッド

createOrUpdate(string, VolumeResourceDescription, RequestOptionsBase)

指定した名前、説明、およびプロパティを使用してボリューム リソースを作成します。 同じ名前のボリューム リソースが存在する場合は、指定された説明とプロパティで更新されます。

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

名前で識別されるボリューム リソースを削除します。

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

指定した名前のボリューム リソースに関する情報を取得します。 この情報には、ボリュームの説明とその他のプロパティが含まれます。

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

特定のリソース グループ内のすべてのボリューム リソースに関する情報を取得します。 この情報には、ボリュームの説明とその他のプロパティが含まれます。

list(RequestOptionsBase, ServiceCallback<PagedVolumeResourceDescriptionList>)
list(ServiceCallback<PagedVolumeResourceDescriptionList>)

コンストラクターの詳細

MeshVolume(ServiceFabricClientContext)

MeshVolume を作成します。

new MeshVolume(client: ServiceFabricClientContext)

パラメーター

client
ServiceFabricClientContext

サービス クライアントへの参照。

メソッドの詳細

createOrUpdate(string, VolumeResourceDescription, RequestOptionsBase)

指定した名前、説明、およびプロパティを使用してボリューム リソースを作成します。 同じ名前のボリューム リソースが存在する場合は、指定された説明とプロパティで更新されます。

function createOrUpdate(volumeResourceName: string, volumeResourceDescription: VolumeResourceDescription, options?: RequestOptionsBase): Promise<MeshVolumeCreateOrUpdateResponse>

パラメーター

volumeResourceName

string

ボリュームの ID。

volumeResourceDescription
VolumeResourceDescription

ボリューム リソースを作成するための説明。

options
RequestOptionsBase

省略可能なパラメーター

戻り値

Promise<Models.MeshVolumeCreateOrUpdateResponse>

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

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

パラメーター

volumeResourceName

string

ボリュームの ID。

volumeResourceDescription
VolumeResourceDescription

ボリューム リソースを作成するための説明。

options
RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<VolumeResourceDescription>

コールバック

createOrUpdate(string, VolumeResourceDescription, ServiceCallback<VolumeResourceDescription>)

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

パラメーター

volumeResourceName

string

ボリュームの ID。

volumeResourceDescription
VolumeResourceDescription

ボリューム リソースを作成するための説明。

callback

ServiceCallback<VolumeResourceDescription>

コールバック

deleteMethod(string, RequestOptionsBase)

名前で識別されるボリューム リソースを削除します。

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

パラメーター

volumeResourceName

string

ボリュームの ID。

options
RequestOptionsBase

省略可能なパラメーター

戻り値

Promise<RestResponse>

Promise<msRest.RestResponse応答>

deleteMethod(string, RequestOptionsBase, ServiceCallback<void>)

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

パラメーター

volumeResourceName

string

ボリュームの ID。

options
RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<void>

コールバック

deleteMethod(string, ServiceCallback<void>)

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

パラメーター

volumeResourceName

string

ボリュームの ID。

callback

ServiceCallback<void>

コールバック

get(string, RequestOptionsBase)

指定した名前のボリューム リソースに関する情報を取得します。 この情報には、ボリュームの説明とその他のプロパティが含まれます。

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

パラメーター

volumeResourceName

string

ボリュームの ID。

options
RequestOptionsBase

省略可能なパラメーター

戻り値

Promise<Models.MeshVolumeGetResponse>

get(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescription>)

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

パラメーター

volumeResourceName

string

ボリュームの ID。

options
RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<VolumeResourceDescription>

コールバック

get(string, ServiceCallback<VolumeResourceDescription>)

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

パラメーター

volumeResourceName

string

ボリュームの ID。

callback

ServiceCallback<VolumeResourceDescription>

コールバック

list(RequestOptionsBase)

特定のリソース グループ内のすべてのボリューム リソースに関する情報を取得します。 この情報には、ボリュームの説明とその他のプロパティが含まれます。

function list(options?: RequestOptionsBase): Promise<MeshVolumeListResponse>

パラメーター

options
RequestOptionsBase

省略可能なパラメーター

戻り値

Promise<Models.MeshVolumeListResponse応答>

list(RequestOptionsBase, ServiceCallback<PagedVolumeResourceDescriptionList>)

function list(options: RequestOptionsBase, callback: ServiceCallback<PagedVolumeResourceDescriptionList>)

パラメーター

options
RequestOptionsBase

省略可能なパラメーター

list(ServiceCallback<PagedVolumeResourceDescriptionList>)

function list(callback: ServiceCallback<PagedVolumeResourceDescriptionList>)

パラメーター