1. Packages
  2. Nutanix
  3. API Docs
  4. getProtectedResourceV2
Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

nutanix.getProtectedResourceV2

Explore with Pulumi AI

nutanix logo
Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

    Get the details of the specified protected resource such as the restorable time ranges available on the local Prism Central and the state of replication to the targets specified in the applied protection policies. This applies only if the entity is protected in a minutely or synchronous schedule. Other protection schedules are not served by this endpoint yet, and are considered not protected.

    Example 1: Get Protected Virtual Machine

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const protected_vm = nutanix.getProtectedResourceV2({
        extId: "d22529bb-f02d-4710-894b-d1de772d7832",
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    protected_vm = nutanix.get_protected_resource_v2(ext_id="d22529bb-f02d-4710-894b-d1de772d7832")
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nutanix.GetProtectedResourceV2(ctx, &nutanix.GetProtectedResourceV2Args{
    			ExtId: "d22529bb-f02d-4710-894b-d1de772d7832",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = Pulumi.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var protected_vm = Nutanix.GetProtectedResourceV2.Invoke(new()
        {
            ExtId = "d22529bb-f02d-4710-894b-d1de772d7832",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.NutanixFunctions;
    import com.pulumi.nutanix.inputs.GetProtectedResourceV2Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var protected-vm = NutanixFunctions.getProtectedResourceV2(GetProtectedResourceV2Args.builder()
                .extId("d22529bb-f02d-4710-894b-d1de772d7832")
                .build());
    
        }
    }
    
    variables:
      protected-vm:
        fn::invoke:
          function: nutanix:getProtectedResourceV2
          arguments:
            extId: d22529bb-f02d-4710-894b-d1de772d7832
    

    Example 2: Get Protected Volume Group

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const protected_vg = nutanix.getProtectedResourceV2({
        extId: "246c651a-1b16-4983-b5ff-204840f85e07",
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    protected_vg = nutanix.get_protected_resource_v2(ext_id="246c651a-1b16-4983-b5ff-204840f85e07")
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nutanix.GetProtectedResourceV2(ctx, &nutanix.GetProtectedResourceV2Args{
    			ExtId: "246c651a-1b16-4983-b5ff-204840f85e07",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = Pulumi.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var protected_vg = Nutanix.GetProtectedResourceV2.Invoke(new()
        {
            ExtId = "246c651a-1b16-4983-b5ff-204840f85e07",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.NutanixFunctions;
    import com.pulumi.nutanix.inputs.GetProtectedResourceV2Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var protected-vg = NutanixFunctions.getProtectedResourceV2(GetProtectedResourceV2Args.builder()
                .extId("246c651a-1b16-4983-b5ff-204840f85e07")
                .build());
    
        }
    }
    
    variables:
      protected-vg:
        fn::invoke:
          function: nutanix:getProtectedResourceV2
          arguments:
            extId: 246c651a-1b16-4983-b5ff-204840f85e07
    

    Using getProtectedResourceV2

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getProtectedResourceV2(args: GetProtectedResourceV2Args, opts?: InvokeOptions): Promise<GetProtectedResourceV2Result>
    function getProtectedResourceV2Output(args: GetProtectedResourceV2OutputArgs, opts?: InvokeOptions): Output<GetProtectedResourceV2Result>
    def get_protected_resource_v2(ext_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetProtectedResourceV2Result
    def get_protected_resource_v2_output(ext_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetProtectedResourceV2Result]
    func GetProtectedResourceV2(ctx *Context, args *GetProtectedResourceV2Args, opts ...InvokeOption) (*GetProtectedResourceV2Result, error)
    func GetProtectedResourceV2Output(ctx *Context, args *GetProtectedResourceV2OutputArgs, opts ...InvokeOption) GetProtectedResourceV2ResultOutput

    > Note: This function is named GetProtectedResourceV2 in the Go SDK.

    public static class GetProtectedResourceV2 
    {
        public static Task<GetProtectedResourceV2Result> InvokeAsync(GetProtectedResourceV2Args args, InvokeOptions? opts = null)
        public static Output<GetProtectedResourceV2Result> Invoke(GetProtectedResourceV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProtectedResourceV2Result> getProtectedResourceV2(GetProtectedResourceV2Args args, InvokeOptions options)
    public static Output<GetProtectedResourceV2Result> getProtectedResourceV2(GetProtectedResourceV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: nutanix:index/getProtectedResourceV2:getProtectedResourceV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ExtId string
    -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
    ExtId string
    -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
    extId String
    -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
    extId string
    -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
    ext_id str
    -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
    extId String
    -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.

    getProtectedResourceV2 Result

    The following output properties are available:

    CategoryFqNames List<string>
    Category key-value pairs associated with the protected resource at the time of protection. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
    ConsistencyGroupExtId string
    External identifier of the Consistency group which the protected resource is part of.
    EntityExtId string
    The external identifier of the VM or the volume group associated with the protected resource.
    EntityType string
    Protected resource entity type. Possible values are: VM, VOLUME_GROUP.
    ExtId string
    • The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links List<PiersKarsenbarg.Nutanix.Outputs.GetProtectedResourceV2Link>
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    ReplicationStates List<PiersKarsenbarg.Nutanix.Outputs.GetProtectedResourceV2ReplicationState>
    Replication related information about the protected resource.
    SiteProtectionInfos List<PiersKarsenbarg.Nutanix.Outputs.GetProtectedResourceV2SiteProtectionInfo>
    The data protection details for the protected resource that are relevant to any of the sites in the local Prism Central, like the time ranges available for recovery.
    SourceSiteReferences List<PiersKarsenbarg.Nutanix.Outputs.GetProtectedResourceV2SourceSiteReference>
    Details about the data protection site in the Prism Central.
    TenantId string
    A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    CategoryFqNames []string
    Category key-value pairs associated with the protected resource at the time of protection. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
    ConsistencyGroupExtId string
    External identifier of the Consistency group which the protected resource is part of.
    EntityExtId string
    The external identifier of the VM or the volume group associated with the protected resource.
    EntityType string
    Protected resource entity type. Possible values are: VM, VOLUME_GROUP.
    ExtId string
    • The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links []GetProtectedResourceV2Link
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    ReplicationStates []GetProtectedResourceV2ReplicationState
    Replication related information about the protected resource.
    SiteProtectionInfos []GetProtectedResourceV2SiteProtectionInfo
    The data protection details for the protected resource that are relevant to any of the sites in the local Prism Central, like the time ranges available for recovery.
    SourceSiteReferences []GetProtectedResourceV2SourceSiteReference
    Details about the data protection site in the Prism Central.
    TenantId string
    A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    categoryFqNames List<String>
    Category key-value pairs associated with the protected resource at the time of protection. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
    consistencyGroupExtId String
    External identifier of the Consistency group which the protected resource is part of.
    entityExtId String
    The external identifier of the VM or the volume group associated with the protected resource.
    entityType String
    Protected resource entity type. Possible values are: VM, VOLUME_GROUP.
    extId String
    • The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<GetProtectedResourceV2Link>
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    replicationStates List<GetProtectedResourceV2ReplicationState>
    Replication related information about the protected resource.
    siteProtectionInfos List<GetProtectedResourceV2SiteProtectionInfo>
    The data protection details for the protected resource that are relevant to any of the sites in the local Prism Central, like the time ranges available for recovery.
    sourceSiteReferences List<GetProtectedResourceV2SourceSiteReference>
    Details about the data protection site in the Prism Central.
    tenantId String
    A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    categoryFqNames string[]
    Category key-value pairs associated with the protected resource at the time of protection. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
    consistencyGroupExtId string
    External identifier of the Consistency group which the protected resource is part of.
    entityExtId string
    The external identifier of the VM or the volume group associated with the protected resource.
    entityType string
    Protected resource entity type. Possible values are: VM, VOLUME_GROUP.
    extId string
    • The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
    id string
    The provider-assigned unique ID for this managed resource.
    links GetProtectedResourceV2Link[]
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    replicationStates GetProtectedResourceV2ReplicationState[]
    Replication related information about the protected resource.
    siteProtectionInfos GetProtectedResourceV2SiteProtectionInfo[]
    The data protection details for the protected resource that are relevant to any of the sites in the local Prism Central, like the time ranges available for recovery.
    sourceSiteReferences GetProtectedResourceV2SourceSiteReference[]
    Details about the data protection site in the Prism Central.
    tenantId string
    A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    category_fq_names Sequence[str]
    Category key-value pairs associated with the protected resource at the time of protection. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
    consistency_group_ext_id str
    External identifier of the Consistency group which the protected resource is part of.
    entity_ext_id str
    The external identifier of the VM or the volume group associated with the protected resource.
    entity_type str
    Protected resource entity type. Possible values are: VM, VOLUME_GROUP.
    ext_id str
    • The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
    id str
    The provider-assigned unique ID for this managed resource.
    links Sequence[GetProtectedResourceV2Link]
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    replication_states Sequence[GetProtectedResourceV2ReplicationState]
    Replication related information about the protected resource.
    site_protection_infos Sequence[GetProtectedResourceV2SiteProtectionInfo]
    The data protection details for the protected resource that are relevant to any of the sites in the local Prism Central, like the time ranges available for recovery.
    source_site_references Sequence[GetProtectedResourceV2SourceSiteReference]
    Details about the data protection site in the Prism Central.
    tenant_id str
    A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    categoryFqNames List<String>
    Category key-value pairs associated with the protected resource at the time of protection. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' will be represented as 'dept/hr'.
    consistencyGroupExtId String
    External identifier of the Consistency group which the protected resource is part of.
    entityExtId String
    The external identifier of the VM or the volume group associated with the protected resource.
    entityType String
    Protected resource entity type. Possible values are: VM, VOLUME_GROUP.
    extId String
    • The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<Property Map>
    A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    replicationStates List<Property Map>
    Replication related information about the protected resource.
    siteProtectionInfos List<Property Map>
    The data protection details for the protected resource that are relevant to any of the sites in the local Prism Central, like the time ranges available for recovery.
    sourceSiteReferences List<Property Map>
    Details about the data protection site in the Prism Central.
    tenantId String
    A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).

    Supporting Types

    Href string
    • The URL at which the entity described by the link can be accessed.
    Rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
    Href string
    • The URL at which the entity described by the link can be accessed.
    Rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
    href String
    • The URL at which the entity described by the link can be accessed.
    rel String
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
    href string
    • The URL at which the entity described by the link can be accessed.
    rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
    href str
    • The URL at which the entity described by the link can be accessed.
    rel str
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
    href String
    • The URL at which the entity described by the link can be accessed.
    rel String
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    GetProtectedResourceV2ReplicationState

    ProtectionPolicyExtId string
    The external identifier of the Protection policy associated with the protected resource.
    RecoveryPointObjectiveSeconds int
    The recovery point objective of the schedule in seconds.
    ReplicationStatus string
    Status of replication to a specified target site. Possible values are:

    • IN_SYNC: The specified recovery point objective is met on the target site and failover can be performed.
    • SYNCING: The system is trying to meet the specified recovery point objective for the target site via ongoing replications and failover can't yet be performed.
    • OUT_OF_SYNC: The replication schedule is disabled and there are no ongoing replications. Manual action might be needed by the user to meet the recovery point objective.
    TargetSiteReferences List<PiersKarsenbarg.Nutanix.Inputs.GetProtectedResourceV2ReplicationStateTargetSiteReference>
    Details about the data protection site in the Prism Central.
    ProtectionPolicyExtId string
    The external identifier of the Protection policy associated with the protected resource.
    RecoveryPointObjectiveSeconds int
    The recovery point objective of the schedule in seconds.
    ReplicationStatus string
    Status of replication to a specified target site. Possible values are:

    • IN_SYNC: The specified recovery point objective is met on the target site and failover can be performed.
    • SYNCING: The system is trying to meet the specified recovery point objective for the target site via ongoing replications and failover can't yet be performed.
    • OUT_OF_SYNC: The replication schedule is disabled and there are no ongoing replications. Manual action might be needed by the user to meet the recovery point objective.
    TargetSiteReferences []GetProtectedResourceV2ReplicationStateTargetSiteReference
    Details about the data protection site in the Prism Central.
    protectionPolicyExtId String
    The external identifier of the Protection policy associated with the protected resource.
    recoveryPointObjectiveSeconds Integer
    The recovery point objective of the schedule in seconds.
    replicationStatus String
    Status of replication to a specified target site. Possible values are:

    • IN_SYNC: The specified recovery point objective is met on the target site and failover can be performed.
    • SYNCING: The system is trying to meet the specified recovery point objective for the target site via ongoing replications and failover can't yet be performed.
    • OUT_OF_SYNC: The replication schedule is disabled and there are no ongoing replications. Manual action might be needed by the user to meet the recovery point objective.
    targetSiteReferences List<GetProtectedResourceV2ReplicationStateTargetSiteReference>
    Details about the data protection site in the Prism Central.
    protectionPolicyExtId string
    The external identifier of the Protection policy associated with the protected resource.
    recoveryPointObjectiveSeconds number
    The recovery point objective of the schedule in seconds.
    replicationStatus string
    Status of replication to a specified target site. Possible values are:

    • IN_SYNC: The specified recovery point objective is met on the target site and failover can be performed.
    • SYNCING: The system is trying to meet the specified recovery point objective for the target site via ongoing replications and failover can't yet be performed.
    • OUT_OF_SYNC: The replication schedule is disabled and there are no ongoing replications. Manual action might be needed by the user to meet the recovery point objective.
    targetSiteReferences GetProtectedResourceV2ReplicationStateTargetSiteReference[]
    Details about the data protection site in the Prism Central.
    protection_policy_ext_id str
    The external identifier of the Protection policy associated with the protected resource.
    recovery_point_objective_seconds int
    The recovery point objective of the schedule in seconds.
    replication_status str
    Status of replication to a specified target site. Possible values are:

    • IN_SYNC: The specified recovery point objective is met on the target site and failover can be performed.
    • SYNCING: The system is trying to meet the specified recovery point objective for the target site via ongoing replications and failover can't yet be performed.
    • OUT_OF_SYNC: The replication schedule is disabled and there are no ongoing replications. Manual action might be needed by the user to meet the recovery point objective.
    target_site_references Sequence[GetProtectedResourceV2ReplicationStateTargetSiteReference]
    Details about the data protection site in the Prism Central.
    protectionPolicyExtId String
    The external identifier of the Protection policy associated with the protected resource.
    recoveryPointObjectiveSeconds Number
    The recovery point objective of the schedule in seconds.
    replicationStatus String
    Status of replication to a specified target site. Possible values are:

    • IN_SYNC: The specified recovery point objective is met on the target site and failover can be performed.
    • SYNCING: The system is trying to meet the specified recovery point objective for the target site via ongoing replications and failover can't yet be performed.
    • OUT_OF_SYNC: The replication schedule is disabled and there are no ongoing replications. Manual action might be needed by the user to meet the recovery point objective.
    targetSiteReferences List<Property Map>
    Details about the data protection site in the Prism Central.

    GetProtectedResourceV2ReplicationStateTargetSiteReference

    ClusterExtId string
    External identifier of the cluster.
    MgmtClusterExtId string
    External identifier of the Prism Central.
    ClusterExtId string
    External identifier of the cluster.
    MgmtClusterExtId string
    External identifier of the Prism Central.
    clusterExtId String
    External identifier of the cluster.
    mgmtClusterExtId String
    External identifier of the Prism Central.
    clusterExtId string
    External identifier of the cluster.
    mgmtClusterExtId string
    External identifier of the Prism Central.
    cluster_ext_id str
    External identifier of the cluster.
    mgmt_cluster_ext_id str
    External identifier of the Prism Central.
    clusterExtId String
    External identifier of the cluster.
    mgmtClusterExtId String
    External identifier of the Prism Central.

    GetProtectedResourceV2SiteProtectionInfo

    LocationReferences List<PiersKarsenbarg.Nutanix.Inputs.GetProtectedResourceV2SiteProtectionInfoLocationReference>
    Details about the data protection site in the Prism Central.
    RecoveryInfos List<PiersKarsenbarg.Nutanix.Inputs.GetProtectedResourceV2SiteProtectionInfoRecoveryInfo>
    The restorable time range details that can be used to recover the protected resource.
    SynchronousReplicationRole string
    Synchronous Replication role related information of the protected resource. Possible values are:

    • DECOUPLED: VM is no longer in Synchronous Replication, and all the actions are blocked on VM, except a delete operation.
    • SECONDARY: This is the target site for VM in Synchronous Replication.
    • INDEPENDENT: VM is no longer in Synchronous Replication, and not replicating to the configured recovery cluster.
    • PRIMARY: VM is in Synchronous Replication, and is active on the primary site.
    LocationReferences []GetProtectedResourceV2SiteProtectionInfoLocationReference
    Details about the data protection site in the Prism Central.
    RecoveryInfos []GetProtectedResourceV2SiteProtectionInfoRecoveryInfo
    The restorable time range details that can be used to recover the protected resource.
    SynchronousReplicationRole string
    Synchronous Replication role related information of the protected resource. Possible values are:

    • DECOUPLED: VM is no longer in Synchronous Replication, and all the actions are blocked on VM, except a delete operation.
    • SECONDARY: This is the target site for VM in Synchronous Replication.
    • INDEPENDENT: VM is no longer in Synchronous Replication, and not replicating to the configured recovery cluster.
    • PRIMARY: VM is in Synchronous Replication, and is active on the primary site.
    locationReferences List<GetProtectedResourceV2SiteProtectionInfoLocationReference>
    Details about the data protection site in the Prism Central.
    recoveryInfos List<GetProtectedResourceV2SiteProtectionInfoRecoveryInfo>
    The restorable time range details that can be used to recover the protected resource.
    synchronousReplicationRole String
    Synchronous Replication role related information of the protected resource. Possible values are:

    • DECOUPLED: VM is no longer in Synchronous Replication, and all the actions are blocked on VM, except a delete operation.
    • SECONDARY: This is the target site for VM in Synchronous Replication.
    • INDEPENDENT: VM is no longer in Synchronous Replication, and not replicating to the configured recovery cluster.
    • PRIMARY: VM is in Synchronous Replication, and is active on the primary site.
    locationReferences GetProtectedResourceV2SiteProtectionInfoLocationReference[]
    Details about the data protection site in the Prism Central.
    recoveryInfos GetProtectedResourceV2SiteProtectionInfoRecoveryInfo[]
    The restorable time range details that can be used to recover the protected resource.
    synchronousReplicationRole string
    Synchronous Replication role related information of the protected resource. Possible values are:

    • DECOUPLED: VM is no longer in Synchronous Replication, and all the actions are blocked on VM, except a delete operation.
    • SECONDARY: This is the target site for VM in Synchronous Replication.
    • INDEPENDENT: VM is no longer in Synchronous Replication, and not replicating to the configured recovery cluster.
    • PRIMARY: VM is in Synchronous Replication, and is active on the primary site.
    location_references Sequence[GetProtectedResourceV2SiteProtectionInfoLocationReference]
    Details about the data protection site in the Prism Central.
    recovery_infos Sequence[GetProtectedResourceV2SiteProtectionInfoRecoveryInfo]
    The restorable time range details that can be used to recover the protected resource.
    synchronous_replication_role str
    Synchronous Replication role related information of the protected resource. Possible values are:

    • DECOUPLED: VM is no longer in Synchronous Replication, and all the actions are blocked on VM, except a delete operation.
    • SECONDARY: This is the target site for VM in Synchronous Replication.
    • INDEPENDENT: VM is no longer in Synchronous Replication, and not replicating to the configured recovery cluster.
    • PRIMARY: VM is in Synchronous Replication, and is active on the primary site.
    locationReferences List<Property Map>
    Details about the data protection site in the Prism Central.
    recoveryInfos List<Property Map>
    The restorable time range details that can be used to recover the protected resource.
    synchronousReplicationRole String
    Synchronous Replication role related information of the protected resource. Possible values are:

    • DECOUPLED: VM is no longer in Synchronous Replication, and all the actions are blocked on VM, except a delete operation.
    • SECONDARY: This is the target site for VM in Synchronous Replication.
    • INDEPENDENT: VM is no longer in Synchronous Replication, and not replicating to the configured recovery cluster.
    • PRIMARY: VM is in Synchronous Replication, and is active on the primary site.

    GetProtectedResourceV2SiteProtectionInfoLocationReference

    ClusterExtId string
    External identifier of the cluster.
    MgmtClusterExtId string
    External identifier of the Prism Central.
    ClusterExtId string
    External identifier of the cluster.
    MgmtClusterExtId string
    External identifier of the Prism Central.
    clusterExtId String
    External identifier of the cluster.
    mgmtClusterExtId String
    External identifier of the Prism Central.
    clusterExtId string
    External identifier of the cluster.
    mgmtClusterExtId string
    External identifier of the Prism Central.
    cluster_ext_id str
    External identifier of the cluster.
    mgmt_cluster_ext_id str
    External identifier of the Prism Central.
    clusterExtId String
    External identifier of the cluster.
    mgmtClusterExtId String
    External identifier of the Prism Central.

    GetProtectedResourceV2SiteProtectionInfoRecoveryInfo

    RestorableTimeRanges List<PiersKarsenbarg.Nutanix.Inputs.GetProtectedResourceV2SiteProtectionInfoRecoveryInfoRestorableTimeRange>
    The restorable time range details that can be used to recover the protected resource.
    RestorableTimeRanges []GetProtectedResourceV2SiteProtectionInfoRecoveryInfoRestorableTimeRange
    The restorable time range details that can be used to recover the protected resource.
    restorableTimeRanges List<GetProtectedResourceV2SiteProtectionInfoRecoveryInfoRestorableTimeRange>
    The restorable time range details that can be used to recover the protected resource.
    restorableTimeRanges GetProtectedResourceV2SiteProtectionInfoRecoveryInfoRestorableTimeRange[]
    The restorable time range details that can be used to recover the protected resource.
    restorable_time_ranges Sequence[GetProtectedResourceV2SiteProtectionInfoRecoveryInfoRestorableTimeRange]
    The restorable time range details that can be used to recover the protected resource.
    restorableTimeRanges List<Property Map>
    The restorable time range details that can be used to recover the protected resource.

    GetProtectedResourceV2SiteProtectionInfoRecoveryInfoRestorableTimeRange

    EndTime string
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
    StartTime string
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
    EndTime string
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
    StartTime string
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
    endTime String
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
    startTime String
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
    endTime string
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
    startTime string
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
    end_time str
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
    start_time str
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
    endTime String
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.
    startTime String
    UTC date and time in ISO 8601 format representing the time when the restorable time range for the entity starts.

    GetProtectedResourceV2SourceSiteReference

    ClusterExtId string
    External identifier of the cluster.
    MgmtClusterExtId string
    External identifier of the Prism Central.
    ClusterExtId string
    External identifier of the cluster.
    MgmtClusterExtId string
    External identifier of the Prism Central.
    clusterExtId String
    External identifier of the cluster.
    mgmtClusterExtId String
    External identifier of the Prism Central.
    clusterExtId string
    External identifier of the cluster.
    mgmtClusterExtId string
    External identifier of the Prism Central.
    cluster_ext_id str
    External identifier of the cluster.
    mgmt_cluster_ext_id str
    External identifier of the Prism Central.
    clusterExtId String
    External identifier of the cluster.
    mgmtClusterExtId String
    External identifier of the Prism Central.

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg