Skip to main content

operation_results

Creates, updates, deletes, gets or lists an operation_results resource.

Overview

Nameoperation_results
TypeResource
Idazure.recovery_services.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.
backupStorageVersionstringBackup storage version. Known values are: "V1", "V2", and "Unassigned". (V1, V2, Unassigned)
bcdrSecurityLevelstringSecurity levels of Recovery Services Vault for business continuity and disaster recovery. Known values are: "Poor", "Fair", "Good", and "Excellent". (Poor, Fair, Good, Excellent)
encryptionobjectCustomer Managed Key details of the resource.
etagstringetag for the resource.
identityobjectIdentity for the resource.
locationstringThe geo-location where the resource lives. Required.
monitoringSettingsobjectMonitoring Settings of the vault.
moveDetailsobjectThe details of the latest move operation performed on the Azure Resource.
moveStatestringThe State of the Resource after the move operation. Known values are: "Unknown", "InProgress", "PrepareFailed", "CommitFailed", "PrepareTimedout", "CommitTimedout", "MoveSucceeded", "Failure", "CriticalFailure", and "PartialSuccess". (Unknown, InProgress, PrepareFailed, CommitFailed, PrepareTimedout, CommitTimedout, MoveSucceeded, Failure, CriticalFailure, PartialSuccess)
privateEndpointConnectionsarrayList of private endpoint connection.
privateEndpointStateForBackupstringPrivate endpoint state for backup. Known values are: "None" and "Enabled". (None, Enabled)
privateEndpointStateForSiteRecoverystringPrivate endpoint state for site recovery. Known values are: "None" and "Enabled". (None, Enabled)
provisioningStatestringProvisioning State.
publicNetworkAccessstringproperty to enable or disable resource provider inbound network traffic from public clients. Known values are: "Enabled" and "Disabled". (Enabled, Disabled)
redundancySettingsobjectThe redundancy Settings of a Vault.
resourceGuardOperationRequestsarrayResourceGuardOperationRequests on which LAC check will be performed.
restoreSettingsobjectRestore Settings of the vault.
secureScorestringSecure Score of Recovery Services Vault. Known values are: "None", "Minimum", "Adequate", and "Maximum". (None, Minimum, Adequate, Maximum)
securitySettingsobjectSecurity Settings of the vault.
skuobjectIdentifies the unique system identifier for each Azure resource.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
upgradeDetailsobjectDetails for upgrading vault.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_operation_resultselectresource_group_name, vault_name, operation_id, subscription_idGets the operation result for a resource.

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
operation_idstringThe name of the Vault. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
vault_namestringThe name of the Vault. Required.

SELECT examples

Gets the operation result for a resource.

SELECT
id,
name,
backupStorageVersion,
bcdrSecurityLevel,
encryption,
etag,
identity,
location,
monitoringSettings,
moveDetails,
moveState,
privateEndpointConnections,
privateEndpointStateForBackup,
privateEndpointStateForSiteRecovery,
provisioningState,
publicNetworkAccess,
redundancySettings,
resourceGuardOperationRequests,
restoreSettings,
secureScore,
securitySettings,
sku,
systemData,
tags,
type,
upgradeDetails
FROM azure.recovery_services.operation_results
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND vault_name = '{{ vault_name }}' -- required
AND operation_id = '{{ operation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;