vault_extended_info
Creates, updates, deletes, gets or lists a vault_extended_info
resource.
Overview
Name | vault_extended_info |
Type | Resource |
Id | azure.recovery_services.vault_extended_info |
Fields
- vw_vault_extended_info
- vault_extended_info
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | text | The name of the resource |
algorithm | text | field from the properties object |
encryption_key | text | field from the properties object |
encryption_key_thumbprint | text | field from the properties object |
integrity_key | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
vaultName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | Vault extended information. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, subscriptionId, vaultName | Get the vault extended info. |
create_or_update | INSERT | resourceGroupName, subscriptionId, vaultName | Create vault extended info. |
update | UPDATE | resourceGroupName, subscriptionId, vaultName | Update vault extended info. |
SELECT
examples
Get the vault extended info.
- vw_vault_extended_info
- vault_extended_info
SELECT
id,
name,
algorithm,
encryption_key,
encryption_key_thumbprint,
integrity_key,
resourceGroupName,
subscriptionId,
system_data,
type,
vaultName
FROM azure.recovery_services.vw_vault_extended_info
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.recovery_services.vault_extended_info
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new vault_extended_info
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.recovery_services.vault_extended_info (
resourceGroupName,
subscriptionId,
vaultName,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ vaultName }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: properties
value:
- name: integrityKey
value: string
- name: encryptionKey
value: string
- name: encryptionKeyThumbprint
value: string
- name: algorithm
value: string
UPDATE
example
Updates a vault_extended_info
resource.
/*+ update */
UPDATE azure.recovery_services.vault_extended_info
SET
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';