deleted_accounts
Creates, updates, deletes, gets or lists a deleted_accounts
resource.
Overview
Name | deleted_accounts |
Type | Resource |
Id | azure.storage.deleted_accounts |
Fields
The following fields are returned by SELECT
queries:
- get
- list
OK -- properties retrieved and returned successfully for the deleted account.
Name | Datatype | Description |
---|---|---|
properties | object | Properties of the deleted account. |
OK -- List of deleted accounts was retrieved and returned successfully.
Name | Datatype | Description |
---|---|---|
properties | object | Properties of the deleted account. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | deletedAccountName , location , subscriptionId | Get properties of specified deleted account resource. | |
list | select | subscriptionId | Lists deleted accounts under the subscription. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
deletedAccountName | string | Name of the deleted storage account. |
location | string | The location of the deleted storage account. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
- list
Get properties of specified deleted account resource.
SELECT
properties
FROM azure.storage.deleted_accounts
WHERE deletedAccountName = '{{ deletedAccountName }}' -- required
AND location = '{{ location }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Lists deleted accounts under the subscription.
SELECT
properties
FROM azure.storage.deleted_accounts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;