Share via


Elastic SAN - Delete

Delete a Elastic San.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}?api-version=2022-12-01-preview

URI Parameters

Name In Required Type Description
elasticSanName
path True

string

minLength: 3
maxLength: 24
pattern: ^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$

The name of the ElasticSan.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

minLength: 1

The ID of the target subscription.

api-version
query True

string

minLength: 1

The API version to use for this operation.

Responses

Name Type Description
200 OK

OK -- Delete operation completed successfully.

202 Accepted

Accepted -- Delete request accepted; operation will complete asynchronously.

Headers

Location: string

204 No Content

NoContent --ElasticSAN does not exist in the subscription.

Other Status Codes

ErrorResponse

Error from the ElasticSan Resource Provider

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

ElasticSans_Delete_MaximumSet_Gen
ElasticSans_Delete_MinimumSet_Gen

ElasticSans_Delete_MaximumSet_Gen

Sample request

DELETE https://management.azure.com/subscriptions/subscriptionid/resourceGroups/resourcegroupname/providers/Microsoft.ElasticSan/elasticSans/elasticsanname?api-version=2022-12-01-preview

Sample response

location: https://contoso.com/operationstatus

ElasticSans_Delete_MinimumSet_Gen

Sample request

DELETE https://management.azure.com/subscriptions/subscriptionid/resourceGroups/resourcegroupname/providers/Microsoft.ElasticSan/elasticSans/elasticsanname?api-version=2022-12-01-preview

Sample response

location: https://contoso.com/operationstatus

Definitions

Name Description
ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.