protection_policy_operation_results
Creates, updates, deletes, gets or lists a protection_policy_operation_results
resource.
Overview
Name | protection_policy_operation_results |
Type | Resource |
Id | azure.recovery_services_backup.protection_policy_operation_results |
Fields
- vw_protection_policy_operation_results
- protection_policy_operation_results
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 |
backup_management_type | text | field from the properties object |
operationId | text | field from the properties object |
policyName | text | field from the properties object |
protected_items_count | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resource_guard_operation_requests | text | field from the properties object |
subscriptionId | 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 | Base class for backup policy. Workload-specific backup policies are derived from this class. |
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 | operationId, policyName, resourceGroupName, subscriptionId, vaultName | Provides the result of an operation. |
SELECT
examples
Provides the result of an operation.
- vw_protection_policy_operation_results
- protection_policy_operation_results
SELECT
id,
name,
backup_management_type,
operationId,
policyName,
protected_items_count,
resourceGroupName,
resource_guard_operation_requests,
subscriptionId,
type,
vaultName
FROM azure.recovery_services_backup.vw_protection_policy_operation_results
WHERE operationId = '{{ operationId }}'
AND policyName = '{{ policyName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';
SELECT
id,
name,
properties,
type
FROM azure.recovery_services_backup.protection_policy_operation_results
WHERE operationId = '{{ operationId }}'
AND policyName = '{{ policyName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';