Skip to main content

protection_container_operation_results

Creates, updates, deletes, gets or lists a protection_container_operation_results resource.

Overview

Nameprotection_container_operation_results
TypeResource
Idazure.recovery_services_backup.protection_container_operation_results

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectProtectionContainerResource properties
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectvaultName, resourceGroupName, subscriptionId, fabricName, containerName, operationIdapi-versionFetches the result of any operation on the container.

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.

NameDatatypeDescription
containerNamestringContainer name whose information should be fetched.
fabricNamestringFabric name associated with the container.
operationIdstringOperation ID which represents the operation whose result needs to be fetched.
resourceGroupNamestringThe name of the resource group where the recovery services vault is present.
subscriptionIdstringThe subscription Id.
vaultNamestringThe name of the recovery services vault.
api-versionstringClient Api Version.

SELECT examples

Fetches the result of any operation on the container.

SELECT
id,
name,
properties,
type
FROM azure.recovery_services_backup.protection_container_operation_results
WHERE vaultName = '{{ vaultName }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND fabricName = '{{ fabricName }}' -- required
AND containerName = '{{ containerName }}' -- required
AND operationId = '{{ operationId }}' -- required
AND api-version = '{{ api-version }}'
;