ElasticSanManagement class
- Extends
Constructors
| Elastic |
Initializes a new instance of the ElasticSanManagement class. |
Properties
| $host | |
| api |
|
| elastic |
|
| operations | |
| private |
|
| private |
|
| skus | |
| subscription |
|
| volume |
|
| volumes | |
| volume |
Inherited Properties
| pipeline | The pipeline used by this client to make requests |
Methods
| begin |
Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted volumes by volume group |
| begin |
Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted volumes by volume group |
Inherited Methods
| send |
Send an HTTP request that is populated using the provided OperationSpec. |
| send |
Send the provided httpRequest. |
Constructor Details
ElasticSanManagement(TokenCredential, string, ElasticSanManagementOptionalParams)
Initializes a new instance of the ElasticSanManagement class.
new ElasticSanManagement(credentials: TokenCredential, subscriptionId: string, options?: ElasticSanManagementOptionalParams)
Parameters
- credentials
- TokenCredential
Subscription credentials which uniquely identify client subscription.
- subscriptionId
-
string
The ID of the target subscription.
The parameter options
Property Details
$host
$host: string
Property Value
string
apiVersion
apiVersion: string
Property Value
string
elasticSans
operations
privateEndpointConnections
privateLinkResources
skus
subscriptionId
subscriptionId: string
Property Value
string
volumeGroups
volumes
volumeSnapshots
Inherited Property Details
pipeline
The pipeline used by this client to make requests
pipeline: Pipeline
Property Value
Inherited From coreClient.ServiceClient.pipeline
Method Details
beginRestoreVolume(string, string, string, string, RestoreVolumeOptionalParams)
Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted volumes by volume group
function beginRestoreVolume(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: RestoreVolumeOptionalParams): Promise<SimplePollerLike<OperationState<Volume>, Volume>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- elasticSanName
-
string
The name of the ElasticSan.
- volumeGroupName
-
string
The name of the VolumeGroup.
- volumeName
-
string
The name of the Volume.
- options
- RestoreVolumeOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Volume>, Volume>>
beginRestoreVolumeAndWait(string, string, string, string, RestoreVolumeOptionalParams)
Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted volumes by volume group
function beginRestoreVolumeAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: RestoreVolumeOptionalParams): Promise<Volume>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- elasticSanName
-
string
The name of the ElasticSan.
- volumeGroupName
-
string
The name of the VolumeGroup.
- volumeName
-
string
The name of the Volume.
- options
- RestoreVolumeOptionalParams
The options parameters.
Returns
Promise<Volume>
Inherited Method Details
sendOperationRequest<T>(OperationArguments, OperationSpec)
Send an HTTP request that is populated using the provided OperationSpec.
function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>
Parameters
- operationArguments
- OperationArguments
The arguments that the HTTP request's templated values will be populated from.
- operationSpec
- OperationSpec
The OperationSpec to use to populate the httpRequest.
Returns
Promise<T>
Inherited From coreClient.ServiceClient.sendOperationRequest
sendRequest(PipelineRequest)
Send the provided httpRequest.
function sendRequest(request: PipelineRequest): Promise<PipelineResponse>
Parameters
- request
- PipelineRequest
Returns
Promise<PipelineResponse>
Inherited From coreClient.ServiceClient.sendRequest