Skip to main content

replication_eligibility_results

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

Overview

Namereplication_eligibility_results
TypeResource
Idazure.recovery_services_site_recovery.replication_eligibility_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.
clientRequestIdstringThe client request Id.
errorsarrayThe error details.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
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
getselectresource_group_name, virtual_machine_name, subscription_idGets the validation errors in case the VM is unsuitable for protection. Validates whether a given VM can be protected or not in which case returns list of errors.
list_rawexecresource_group_name, virtual_machine_name, subscription_idGets the validation errors in case the VM is unsuitable for protection. Validates whether a given VM can be protected or not in which case returns list of errors.

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

SELECT examples

Gets the validation errors in case the VM is unsuitable for protection. Validates whether a given VM can be protected or not in which case returns list of errors.

SELECT
id,
name,
clientRequestId,
errors,
systemData,
type
FROM azure.recovery_services_site_recovery.replication_eligibility_results
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND virtual_machine_name = '{{ virtual_machine_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods

Gets the validation errors in case the VM is unsuitable for protection. Validates whether a given VM can be protected or not in which case returns list of errors.

EXEC azure.recovery_services_site_recovery.replication_eligibility_results.list_raw 
@resource_group_name='{{ resource_group_name }}' --required,
@virtual_machine_name='{{ virtual_machine_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;