Volume class

Class representing a Volume.

Constructors

Volume(ServiceFabricMeshManagementClientContext)

Create a Volume.

Methods

create(string, string, VolumeResourceDescription, RequestOptionsBase)

Creates a volume resource with the specified name, description and properties. If a volume resource with the same name exists, then it is updated with the specified description and properties.

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

Deletes the volume resource identified by the name.

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

Gets the information about the volume resource with the given name. The information include the description and other properties of the volume.

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

Gets the information about all volume resources in a given resource group. The information include the description and other properties of the Volume.

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

Gets the information about all volume resources in a given resource group. The information include the description and other properties of the Volume.

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

Gets the information about all volume resources in a given resource group. The information include the description and other properties of the volume.

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

Gets the information about all volume resources in a given resource group. The information include the description and other properties of the volume.

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

Constructor Details

Volume(ServiceFabricMeshManagementClientContext)

Create a Volume.

new Volume(client: ServiceFabricMeshManagementClientContext)

Parameters

client
ServiceFabricMeshManagementClientContext

Reference to the service client.

Method Details

create(string, string, VolumeResourceDescription, RequestOptionsBase)

Creates a volume resource with the specified name, description and properties. If a volume resource with the same name exists, then it is updated with the specified description and properties.

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

Parameters

resourceGroupName

string

Azure resource group name

volumeResourceName

string

The identity of the volume.

volumeResourceDescription
VolumeResourceDescription

Description for creating a Volume resource.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.VolumeCreateResponse>

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

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

Parameters

resourceGroupName

string

Azure resource group name

volumeResourceName

string

The identity of the volume.

volumeResourceDescription
VolumeResourceDescription

Description for creating a Volume resource.

options
RequestOptionsBase

The optional parameters

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

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

Parameters

resourceGroupName

string

Azure resource group name

volumeResourceName

string

The identity of the volume.

volumeResourceDescription
VolumeResourceDescription

Description for creating a Volume resource.

deleteMethod(string, string, RequestOptionsBase)

Deletes the volume resource identified by the name.

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

Parameters

resourceGroupName

string

Azure resource group name

volumeResourceName

string

The identity of the volume.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

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

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

Parameters

resourceGroupName

string

Azure resource group name

volumeResourceName

string

The identity of the volume.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, ServiceCallback<void>)

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

Parameters

resourceGroupName

string

Azure resource group name

volumeResourceName

string

The identity of the volume.

callback

ServiceCallback<void>

The callback

get(string, string, RequestOptionsBase)

Gets the information about the volume resource with the given name. The information include the description and other properties of the volume.

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

Parameters

resourceGroupName

string

Azure resource group name

volumeResourceName

string

The identity of the volume.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.VolumeGetResponse>

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

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

Parameters

resourceGroupName

string

Azure resource group name

volumeResourceName

string

The identity of the volume.

options
RequestOptionsBase

The optional parameters

get(string, string, ServiceCallback<VolumeResourceDescription>)

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

Parameters

resourceGroupName

string

Azure resource group name

volumeResourceName

string

The identity of the volume.

listByResourceGroup(string, RequestOptionsBase)

Gets the information about all volume resources in a given resource group. The information include the description and other properties of the Volume.

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

Parameters

resourceGroupName

string

Azure resource group name

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.VolumeListByResourceGroupResponse>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)

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

Parameters

resourceGroupName

string

Azure resource group name

options
RequestOptionsBase

The optional parameters

listByResourceGroup(string, ServiceCallback<VolumeResourceDescriptionList>)

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

Parameters

resourceGroupName

string

Azure resource group name

listByResourceGroupNext(string, RequestOptionsBase)

Gets the information about all volume resources in a given resource group. The information include the description and other properties of the Volume.

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.VolumeListByResourceGroupNextResponse>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listByResourceGroupNext(string, ServiceCallback<VolumeResourceDescriptionList>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

listBySubscription(RequestOptionsBase)

Gets the information about all volume resources in a given resource group. The information include the description and other properties of the volume.

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

Parameters

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.VolumeListBySubscriptionResponse>

listBySubscription(RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)

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

Parameters

options
RequestOptionsBase

The optional parameters

listBySubscription(ServiceCallback<VolumeResourceDescriptionList>)

function listBySubscription(callback: ServiceCallback<VolumeResourceDescriptionList>)

Parameters

listBySubscriptionNext(string, RequestOptionsBase)

Gets the information about all volume resources in a given resource group. The information include the description and other properties of the volume.

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.VolumeListBySubscriptionNextResponse>

listBySubscriptionNext(string, RequestOptionsBase, ServiceCallback<VolumeResourceDescriptionList>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listBySubscriptionNext(string, ServiceCallback<VolumeResourceDescriptionList>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.