Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg
nutanix.getProtectionRule
Explore with Pulumi AI
Describe a Nutanix Protection Rule and its values (if it has them).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
import * as nutanix from "@pulumi/nutanix";
const protectionRuleTest = new nutanix.ProtectionRule("protectionRuleTest", {
description: "test",
orderedAvailabilityZoneLists: [{
availabilityZoneUrl: "ab788130-0820-4d07-a1b5-b0ba4d3a42asd",
}],
availabilityZoneConnectivityLists: [{
snapshotScheduleLists: [{
recoveryPointObjectiveSecs: 3600,
snapshotType: "CRASH_CONSISTENT",
localSnapshotRetentionPolicy: {
numSnapshots: 1,
},
}],
}],
categoryFilter: {
params: [{
name: "Environment",
values: ["Dev"],
}],
},
});
const test = nutanix.getProtectionRuleOutput({
protectionRuleId: protectionRuleTest.id,
});
import pulumi
import pulumi_nutanix as nutanix
protection_rule_test = nutanix.ProtectionRule("protectionRuleTest",
description="test",
ordered_availability_zone_lists=[{
"availability_zone_url": "ab788130-0820-4d07-a1b5-b0ba4d3a42asd",
}],
availability_zone_connectivity_lists=[{
"snapshot_schedule_lists": [{
"recovery_point_objective_secs": 3600,
"snapshot_type": "CRASH_CONSISTENT",
"local_snapshot_retention_policy": {
"num_snapshots": 1,
},
}],
}],
category_filter={
"params": [{
"name": "Environment",
"values": ["Dev"],
}],
})
test = nutanix.get_protection_rule_output(protection_rule_id=protection_rule_test.id)
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 {
protectionRuleTest, err := nutanix.NewProtectionRule(ctx, "protectionRuleTest", &nutanix.ProtectionRuleArgs{
Description: pulumi.String("test"),
OrderedAvailabilityZoneLists: nutanix.ProtectionRuleOrderedAvailabilityZoneListArray{
&nutanix.ProtectionRuleOrderedAvailabilityZoneListArgs{
AvailabilityZoneUrl: pulumi.String("ab788130-0820-4d07-a1b5-b0ba4d3a42asd"),
},
},
AvailabilityZoneConnectivityLists: nutanix.ProtectionRuleAvailabilityZoneConnectivityListArray{
&nutanix.ProtectionRuleAvailabilityZoneConnectivityListArgs{
SnapshotScheduleLists: nutanix.ProtectionRuleAvailabilityZoneConnectivityListSnapshotScheduleListArray{
&nutanix.ProtectionRuleAvailabilityZoneConnectivityListSnapshotScheduleListArgs{
RecoveryPointObjectiveSecs: pulumi.Int(3600),
SnapshotType: pulumi.String("CRASH_CONSISTENT"),
LocalSnapshotRetentionPolicy: &nutanix.ProtectionRuleAvailabilityZoneConnectivityListSnapshotScheduleListLocalSnapshotRetentionPolicyArgs{
NumSnapshots: pulumi.Int(1),
},
},
},
},
},
CategoryFilter: &nutanix.ProtectionRuleCategoryFilterArgs{
Params: nutanix.ProtectionRuleCategoryFilterParamArray{
&nutanix.ProtectionRuleCategoryFilterParamArgs{
Name: pulumi.String("Environment"),
Values: pulumi.StringArray{
pulumi.String("Dev"),
},
},
},
},
})
if err != nil {
return err
}
_ = nutanix.LookupProtectionRuleOutput(ctx, nutanix.GetProtectionRuleOutputArgs{
ProtectionRuleId: protectionRuleTest.ID(),
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
using Nutanix = Pulumi.Nutanix;
return await Deployment.RunAsync(() =>
{
var protectionRuleTest = new Nutanix.ProtectionRule("protectionRuleTest", new()
{
Description = "test",
OrderedAvailabilityZoneLists = new[]
{
new Nutanix.Inputs.ProtectionRuleOrderedAvailabilityZoneListArgs
{
AvailabilityZoneUrl = "ab788130-0820-4d07-a1b5-b0ba4d3a42asd",
},
},
AvailabilityZoneConnectivityLists = new[]
{
new Nutanix.Inputs.ProtectionRuleAvailabilityZoneConnectivityListArgs
{
SnapshotScheduleLists = new[]
{
new Nutanix.Inputs.ProtectionRuleAvailabilityZoneConnectivityListSnapshotScheduleListArgs
{
RecoveryPointObjectiveSecs = 3600,
SnapshotType = "CRASH_CONSISTENT",
LocalSnapshotRetentionPolicy = new Nutanix.Inputs.ProtectionRuleAvailabilityZoneConnectivityListSnapshotScheduleListLocalSnapshotRetentionPolicyArgs
{
NumSnapshots = 1,
},
},
},
},
},
CategoryFilter = new Nutanix.Inputs.ProtectionRuleCategoryFilterArgs
{
Params = new[]
{
new Nutanix.Inputs.ProtectionRuleCategoryFilterParamArgs
{
Name = "Environment",
Values = new[]
{
"Dev",
},
},
},
},
});
var test = Nutanix.GetProtectionRule.Invoke(new()
{
ProtectionRuleId = protectionRuleTest.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.ProtectionRule;
import com.pulumi.nutanix.ProtectionRuleArgs;
import com.pulumi.nutanix.inputs.ProtectionRuleOrderedAvailabilityZoneListArgs;
import com.pulumi.nutanix.inputs.ProtectionRuleAvailabilityZoneConnectivityListArgs;
import com.pulumi.nutanix.inputs.ProtectionRuleCategoryFilterArgs;
import com.pulumi.nutanix.NutanixFunctions;
import com.pulumi.nutanix.inputs.GetProtectionRuleArgs;
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) {
var protectionRuleTest = new ProtectionRule("protectionRuleTest", ProtectionRuleArgs.builder()
.description("test")
.orderedAvailabilityZoneLists(ProtectionRuleOrderedAvailabilityZoneListArgs.builder()
.availabilityZoneUrl("ab788130-0820-4d07-a1b5-b0ba4d3a42asd")
.build())
.availabilityZoneConnectivityLists(ProtectionRuleAvailabilityZoneConnectivityListArgs.builder()
.snapshotScheduleLists(ProtectionRuleAvailabilityZoneConnectivityListSnapshotScheduleListArgs.builder()
.recoveryPointObjectiveSecs(3600)
.snapshotType("CRASH_CONSISTENT")
.localSnapshotRetentionPolicy(ProtectionRuleAvailabilityZoneConnectivityListSnapshotScheduleListLocalSnapshotRetentionPolicyArgs.builder()
.numSnapshots(1)
.build())
.build())
.build())
.categoryFilter(ProtectionRuleCategoryFilterArgs.builder()
.params(ProtectionRuleCategoryFilterParamArgs.builder()
.name("Environment")
.values("Dev")
.build())
.build())
.build());
final var test = NutanixFunctions.getProtectionRule(GetProtectionRuleArgs.builder()
.protectionRuleId(protectionRuleTest.id())
.build());
}
}
resources:
protectionRuleTest:
type: nutanix:ProtectionRule
properties:
description: test
orderedAvailabilityZoneLists:
- availabilityZoneUrl: ab788130-0820-4d07-a1b5-b0ba4d3a42asd
availabilityZoneConnectivityLists:
- snapshotScheduleLists:
- recoveryPointObjectiveSecs: 3600
snapshotType: CRASH_CONSISTENT
localSnapshotRetentionPolicy:
numSnapshots: 1
categoryFilter:
params:
- name: Environment
values:
- Dev
variables:
test:
fn::invoke:
Function: nutanix:getProtectionRule
Arguments:
protectionRuleId: ${protectionRuleTest.id}
Using getProtectionRule
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 getProtectionRule(args: GetProtectionRuleArgs, opts?: InvokeOptions): Promise<GetProtectionRuleResult>
function getProtectionRuleOutput(args: GetProtectionRuleOutputArgs, opts?: InvokeOptions): Output<GetProtectionRuleResult>
def get_protection_rule(categories: Optional[Sequence[GetProtectionRuleCategory]] = None,
protection_rule_id: Optional[str] = None,
protection_rule_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProtectionRuleResult
def get_protection_rule_output(categories: Optional[pulumi.Input[Sequence[pulumi.Input[GetProtectionRuleCategoryArgs]]]] = None,
protection_rule_id: Optional[pulumi.Input[str]] = None,
protection_rule_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProtectionRuleResult]
func LookupProtectionRule(ctx *Context, args *LookupProtectionRuleArgs, opts ...InvokeOption) (*LookupProtectionRuleResult, error)
func LookupProtectionRuleOutput(ctx *Context, args *LookupProtectionRuleOutputArgs, opts ...InvokeOption) LookupProtectionRuleResultOutput
> Note: This function is named LookupProtectionRule
in the Go SDK.
public static class GetProtectionRule
{
public static Task<GetProtectionRuleResult> InvokeAsync(GetProtectionRuleArgs args, InvokeOptions? opts = null)
public static Output<GetProtectionRuleResult> Invoke(GetProtectionRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProtectionRuleResult> getProtectionRule(GetProtectionRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getProtectionRule:getProtectionRule
arguments:
# arguments dictionary
The following arguments are supported:
- Categories
List<Piers
Karsenbarg. Nutanix. Inputs. Get Protection Rule Category> - Protection
Rule stringId - (Required) The
id
of the protection rule.
- (Required) The
- Protection
Rule stringName
- Categories
[]Get
Protection Rule Category - Protection
Rule stringId - (Required) The
id
of the protection rule.
- (Required) The
- Protection
Rule stringName
- categories
List<Get
Protection Rule Category> - protection
Rule StringId - (Required) The
id
of the protection rule.
- (Required) The
- protection
Rule StringName
- categories
Get
Protection Rule Category[] - protection
Rule stringId - (Required) The
id
of the protection rule.
- (Required) The
- protection
Rule stringName
- categories
Sequence[Get
Protection Rule Category] - protection_
rule_ strid - (Required) The
id
of the protection rule.
- (Required) The
- protection_
rule_ strname
- categories List<Property Map>
- protection
Rule StringId - (Required) The
id
of the protection rule.
- (Required) The
- protection
Rule StringName
getProtectionRule Result
The following output properties are available:
- Api
Version string - Availability
Zone List<PiersConnectivity Lists Karsenbarg. Nutanix. Outputs. Get Protection Rule Availability Zone Connectivity List> - (Required) This encodes the datapipes between various availability zones and\nthe backup policy of the pipes.
- Categories
List<Piers
Karsenbarg. Nutanix. Outputs. Get Protection Rule Category> - Category
Filters List<PiersKarsenbarg. Nutanix. Outputs. Get Protection Rule Category Filter> - (Optional/Computed)
- Description string
- A description for protection rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadata Dictionary<string, string>
- Name string
- (Optional) the name.
- Ordered
Availability List<PiersZone Lists Karsenbarg. Nutanix. Outputs. Get Protection Rule Ordered Availability Zone List> - (Required) A list of availability zones, each of which, receives a replica\nof the data for the entities protected by this protection rule.
ordered_availability_zone_list.#.cluster_uuid
- (Optional/Computed) UUID of specific cluster to which we will be replicating.ordered_availability_zone_list.#.availability_zone_url
- (Optional/Computed) The FQDN or IP address of the availability zone.
- Owner
References List<PiersKarsenbarg. Nutanix. Outputs. Get Protection Rule Owner Reference> - Project
References List<PiersKarsenbarg. Nutanix. Outputs. Get Protection Rule Project Reference> - Start
Time string - State string
- Protection
Rule stringId - Protection
Rule stringName
- Api
Version string - Availability
Zone []GetConnectivity Lists Protection Rule Availability Zone Connectivity List - (Required) This encodes the datapipes between various availability zones and\nthe backup policy of the pipes.
- Categories
[]Get
Protection Rule Category - Category
Filters []GetProtection Rule Category Filter - (Optional/Computed)
- Description string
- A description for protection rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadata map[string]string
- Name string
- (Optional) the name.
- Ordered
Availability []GetZone Lists Protection Rule Ordered Availability Zone List - (Required) A list of availability zones, each of which, receives a replica\nof the data for the entities protected by this protection rule.
ordered_availability_zone_list.#.cluster_uuid
- (Optional/Computed) UUID of specific cluster to which we will be replicating.ordered_availability_zone_list.#.availability_zone_url
- (Optional/Computed) The FQDN or IP address of the availability zone.
- Owner
References []GetProtection Rule Owner Reference - Project
References []GetProtection Rule Project Reference - Start
Time string - State string
- Protection
Rule stringId - Protection
Rule stringName
- api
Version String - availability
Zone List<GetConnectivity Lists Protection Rule Availability Zone Connectivity List> - (Required) This encodes the datapipes between various availability zones and\nthe backup policy of the pipes.
- categories
List<Get
Protection Rule Category> - category
Filters List<GetProtection Rule Category Filter> - (Optional/Computed)
- description String
- A description for protection rule.
- id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String,String>
- name String
- (Optional) the name.
- ordered
Availability List<GetZone Lists Protection Rule Ordered Availability Zone List> - (Required) A list of availability zones, each of which, receives a replica\nof the data for the entities protected by this protection rule.
ordered_availability_zone_list.#.cluster_uuid
- (Optional/Computed) UUID of specific cluster to which we will be replicating.ordered_availability_zone_list.#.availability_zone_url
- (Optional/Computed) The FQDN or IP address of the availability zone.
- owner
References List<GetProtection Rule Owner Reference> - project
References List<GetProtection Rule Project Reference> - start
Time String - state String
- protection
Rule StringId - protection
Rule StringName
- api
Version string - availability
Zone GetConnectivity Lists Protection Rule Availability Zone Connectivity List[] - (Required) This encodes the datapipes between various availability zones and\nthe backup policy of the pipes.
- categories
Get
Protection Rule Category[] - category
Filters GetProtection Rule Category Filter[] - (Optional/Computed)
- description string
- A description for protection rule.
- id string
- The provider-assigned unique ID for this managed resource.
- metadata {[key: string]: string}
- name string
- (Optional) the name.
- ordered
Availability GetZone Lists Protection Rule Ordered Availability Zone List[] - (Required) A list of availability zones, each of which, receives a replica\nof the data for the entities protected by this protection rule.
ordered_availability_zone_list.#.cluster_uuid
- (Optional/Computed) UUID of specific cluster to which we will be replicating.ordered_availability_zone_list.#.availability_zone_url
- (Optional/Computed) The FQDN or IP address of the availability zone.
- owner
References GetProtection Rule Owner Reference[] - project
References GetProtection Rule Project Reference[] - start
Time string - state string
- protection
Rule stringId - protection
Rule stringName
- api_
version str - availability_
zone_ Sequence[Getconnectivity_ lists Protection Rule Availability Zone Connectivity List] - (Required) This encodes the datapipes between various availability zones and\nthe backup policy of the pipes.
- categories
Sequence[Get
Protection Rule Category] - category_
filters Sequence[GetProtection Rule Category Filter] - (Optional/Computed)
- description str
- A description for protection rule.
- id str
- The provider-assigned unique ID for this managed resource.
- metadata Mapping[str, str]
- name str
- (Optional) the name.
- ordered_
availability_ Sequence[Getzone_ lists Protection Rule Ordered Availability Zone List] - (Required) A list of availability zones, each of which, receives a replica\nof the data for the entities protected by this protection rule.
ordered_availability_zone_list.#.cluster_uuid
- (Optional/Computed) UUID of specific cluster to which we will be replicating.ordered_availability_zone_list.#.availability_zone_url
- (Optional/Computed) The FQDN or IP address of the availability zone.
- owner_
references Sequence[GetProtection Rule Owner Reference] - project_
references Sequence[GetProtection Rule Project Reference] - start_
time str - state str
- protection_
rule_ strid - protection_
rule_ strname
- api
Version String - availability
Zone List<Property Map>Connectivity Lists - (Required) This encodes the datapipes between various availability zones and\nthe backup policy of the pipes.
- categories List<Property Map>
- category
Filters List<Property Map> - (Optional/Computed)
- description String
- A description for protection rule.
- id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String>
- name String
- (Optional) the name.
- ordered
Availability List<Property Map>Zone Lists - (Required) A list of availability zones, each of which, receives a replica\nof the data for the entities protected by this protection rule.
ordered_availability_zone_list.#.cluster_uuid
- (Optional/Computed) UUID of specific cluster to which we will be replicating.ordered_availability_zone_list.#.availability_zone_url
- (Optional/Computed) The FQDN or IP address of the availability zone.
- owner
References List<Property Map> - project
References List<Property Map> - start
Time String - state String
- protection
Rule StringId - protection
Rule StringName
Supporting Types
GetProtectionRuleAvailabilityZoneConnectivityList
- int
- (Optional/Computed) Index of the availability zone.
- Snapshot
Schedule List<PiersLists Karsenbarg. Nutanix. Inputs. Get Protection Rule Availability Zone Connectivity List Snapshot Schedule List> - (Optional/Computed) Snapshot schedules for the pair of the availability zones.
availability_zone_connectivity_list.snapshot_schedule_list.#.recovery_point_objective_secs
- (Required) "A recovery point objective (RPO) is the maximum acceptable amount of data loss.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.num_snapshots
- (Optional/Computed) Number of snapshots need to be retained.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_multiple
- (Optional/Computed) Multiplier to 'snapshot_interval_type'.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_snapshot_interval_type
- (Optional/Computed)availability_zone_connectivity_list.snapshot_schedule_list.#.auto_suspend_timeout_secs
- (Optional/Computed) Auto suspend timeout in case of connection failure between the sites.availability_zone_connectivity_list.snapshot_schedule_list.#.snapshot_type
- (Optional/Computed) Crash consistent or Application Consistent snapshot.availability_zone_connectivity_list.snapshot_schedule_list.#.remote_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.
- Source
Availability intZone Index - (Optional/Computed) Index of the availability zone.
- int
- (Optional/Computed) Index of the availability zone.
- Snapshot
Schedule []GetLists Protection Rule Availability Zone Connectivity List Snapshot Schedule List - (Optional/Computed) Snapshot schedules for the pair of the availability zones.
availability_zone_connectivity_list.snapshot_schedule_list.#.recovery_point_objective_secs
- (Required) "A recovery point objective (RPO) is the maximum acceptable amount of data loss.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.num_snapshots
- (Optional/Computed) Number of snapshots need to be retained.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_multiple
- (Optional/Computed) Multiplier to 'snapshot_interval_type'.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_snapshot_interval_type
- (Optional/Computed)availability_zone_connectivity_list.snapshot_schedule_list.#.auto_suspend_timeout_secs
- (Optional/Computed) Auto suspend timeout in case of connection failure between the sites.availability_zone_connectivity_list.snapshot_schedule_list.#.snapshot_type
- (Optional/Computed) Crash consistent or Application Consistent snapshot.availability_zone_connectivity_list.snapshot_schedule_list.#.remote_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.
- Source
Availability intZone Index - (Optional/Computed) Index of the availability zone.
- Integer
- (Optional/Computed) Index of the availability zone.
- snapshot
Schedule List<GetLists Protection Rule Availability Zone Connectivity List Snapshot Schedule List> - (Optional/Computed) Snapshot schedules for the pair of the availability zones.
availability_zone_connectivity_list.snapshot_schedule_list.#.recovery_point_objective_secs
- (Required) "A recovery point objective (RPO) is the maximum acceptable amount of data loss.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.num_snapshots
- (Optional/Computed) Number of snapshots need to be retained.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_multiple
- (Optional/Computed) Multiplier to 'snapshot_interval_type'.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_snapshot_interval_type
- (Optional/Computed)availability_zone_connectivity_list.snapshot_schedule_list.#.auto_suspend_timeout_secs
- (Optional/Computed) Auto suspend timeout in case of connection failure between the sites.availability_zone_connectivity_list.snapshot_schedule_list.#.snapshot_type
- (Optional/Computed) Crash consistent or Application Consistent snapshot.availability_zone_connectivity_list.snapshot_schedule_list.#.remote_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.
- source
Availability IntegerZone Index - (Optional/Computed) Index of the availability zone.
- number
- (Optional/Computed) Index of the availability zone.
- snapshot
Schedule GetLists Protection Rule Availability Zone Connectivity List Snapshot Schedule List[] - (Optional/Computed) Snapshot schedules for the pair of the availability zones.
availability_zone_connectivity_list.snapshot_schedule_list.#.recovery_point_objective_secs
- (Required) "A recovery point objective (RPO) is the maximum acceptable amount of data loss.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.num_snapshots
- (Optional/Computed) Number of snapshots need to be retained.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_multiple
- (Optional/Computed) Multiplier to 'snapshot_interval_type'.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_snapshot_interval_type
- (Optional/Computed)availability_zone_connectivity_list.snapshot_schedule_list.#.auto_suspend_timeout_secs
- (Optional/Computed) Auto suspend timeout in case of connection failure between the sites.availability_zone_connectivity_list.snapshot_schedule_list.#.snapshot_type
- (Optional/Computed) Crash consistent or Application Consistent snapshot.availability_zone_connectivity_list.snapshot_schedule_list.#.remote_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.
- source
Availability numberZone Index - (Optional/Computed) Index of the availability zone.
- destination_
availability_ intzone_ index - (Optional/Computed) Index of the availability zone.
- snapshot_
schedule_ Sequence[Getlists Protection Rule Availability Zone Connectivity List Snapshot Schedule List] - (Optional/Computed) Snapshot schedules for the pair of the availability zones.
availability_zone_connectivity_list.snapshot_schedule_list.#.recovery_point_objective_secs
- (Required) "A recovery point objective (RPO) is the maximum acceptable amount of data loss.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.num_snapshots
- (Optional/Computed) Number of snapshots need to be retained.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_multiple
- (Optional/Computed) Multiplier to 'snapshot_interval_type'.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_snapshot_interval_type
- (Optional/Computed)availability_zone_connectivity_list.snapshot_schedule_list.#.auto_suspend_timeout_secs
- (Optional/Computed) Auto suspend timeout in case of connection failure between the sites.availability_zone_connectivity_list.snapshot_schedule_list.#.snapshot_type
- (Optional/Computed) Crash consistent or Application Consistent snapshot.availability_zone_connectivity_list.snapshot_schedule_list.#.remote_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.
- source_
availability_ intzone_ index - (Optional/Computed) Index of the availability zone.
- Number
- (Optional/Computed) Index of the availability zone.
- snapshot
Schedule List<Property Map>Lists - (Optional/Computed) Snapshot schedules for the pair of the availability zones.
availability_zone_connectivity_list.snapshot_schedule_list.#.recovery_point_objective_secs
- (Required) "A recovery point objective (RPO) is the maximum acceptable amount of data loss.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.num_snapshots
- (Optional/Computed) Number of snapshots need to be retained.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_multiple
- (Optional/Computed) Multiplier to 'snapshot_interval_type'.availability_zone_connectivity_list.snapshot_schedule_list.#.local_snapshot_retention_policy.0.rollup_retention_policy_snapshot_interval_type
- (Optional/Computed)availability_zone_connectivity_list.snapshot_schedule_list.#.auto_suspend_timeout_secs
- (Optional/Computed) Auto suspend timeout in case of connection failure between the sites.availability_zone_connectivity_list.snapshot_schedule_list.#.snapshot_type
- (Optional/Computed) Crash consistent or Application Consistent snapshot.availability_zone_connectivity_list.snapshot_schedule_list.#.remote_snapshot_retention_policy
- (Optional/Computed) This describes the snapshot retention policy for this availability zone.
- source
Availability NumberZone Index - (Optional/Computed) Index of the availability zone.
GetProtectionRuleAvailabilityZoneConnectivityListSnapshotScheduleList
- Auto
Suspend intTimeout Secs - Local
Snapshot List<PiersRetention Policies Karsenbarg. Nutanix. Inputs. Get Protection Rule Availability Zone Connectivity List Snapshot Schedule List Local Snapshot Retention Policy> - Recovery
Point intObjective Secs - Remote
Snapshot List<PiersRetention Policies Karsenbarg. Nutanix. Inputs. Get Protection Rule Availability Zone Connectivity List Snapshot Schedule List Remote Snapshot Retention Policy> - Snapshot
Type string
- Auto
Suspend intTimeout Secs - Local
Snapshot []GetRetention Policies Protection Rule Availability Zone Connectivity List Snapshot Schedule List Local Snapshot Retention Policy - Recovery
Point intObjective Secs - Remote
Snapshot []GetRetention Policies Protection Rule Availability Zone Connectivity List Snapshot Schedule List Remote Snapshot Retention Policy - Snapshot
Type string
- auto
Suspend IntegerTimeout Secs - local
Snapshot List<GetRetention Policies Protection Rule Availability Zone Connectivity List Snapshot Schedule List Local Snapshot Retention Policy> - recovery
Point IntegerObjective Secs - remote
Snapshot List<GetRetention Policies Protection Rule Availability Zone Connectivity List Snapshot Schedule List Remote Snapshot Retention Policy> - snapshot
Type String
- auto
Suspend numberTimeout Secs - local
Snapshot GetRetention Policies Protection Rule Availability Zone Connectivity List Snapshot Schedule List Local Snapshot Retention Policy[] - recovery
Point numberObjective Secs - remote
Snapshot GetRetention Policies Protection Rule Availability Zone Connectivity List Snapshot Schedule List Remote Snapshot Retention Policy[] - snapshot
Type string
- auto_
suspend_ inttimeout_ secs - local_
snapshot_ Sequence[Getretention_ policies Protection Rule Availability Zone Connectivity List Snapshot Schedule List Local Snapshot Retention Policy] - recovery_
point_ intobjective_ secs - remote_
snapshot_ Sequence[Getretention_ policies Protection Rule Availability Zone Connectivity List Snapshot Schedule List Remote Snapshot Retention Policy] - snapshot_
type str
GetProtectionRuleAvailabilityZoneConnectivityListSnapshotScheduleListLocalSnapshotRetentionPolicy
- num
Snapshots Integer - rollup
Retention IntegerPolicy Multiple - rollup
Retention StringPolicy Snapshot Interval Type
- num
Snapshots number - rollup
Retention numberPolicy Multiple - rollup
Retention stringPolicy Snapshot Interval Type
- num
Snapshots Number - rollup
Retention NumberPolicy Multiple - rollup
Retention StringPolicy Snapshot Interval Type
GetProtectionRuleAvailabilityZoneConnectivityListSnapshotScheduleListRemoteSnapshotRetentionPolicy
- num
Snapshots Integer - rollup
Retention IntegerPolicy Multiple - rollup
Retention StringPolicy Snapshot Interval Type
- num
Snapshots number - rollup
Retention numberPolicy Multiple - rollup
Retention stringPolicy Snapshot Interval Type
- num
Snapshots Number - rollup
Retention NumberPolicy Multiple - rollup
Retention StringPolicy Snapshot Interval Type
GetProtectionRuleCategory
GetProtectionRuleCategoryFilter
- Kind
Lists List<string> - (Optional/Computed) List of kinds associated with this filter.
- Params
List<Piers
Karsenbarg. Nutanix. Inputs. Get Protection Rule Category Filter Param> - (Optional/Computed) A list of category key and list of values.
- Type string
- (Optional/Computed) The type of the filter being used.
- Kind
Lists []string - (Optional/Computed) List of kinds associated with this filter.
- Params
[]Get
Protection Rule Category Filter Param - (Optional/Computed) A list of category key and list of values.
- Type string
- (Optional/Computed) The type of the filter being used.
- kind
Lists List<String> - (Optional/Computed) List of kinds associated with this filter.
- params
List<Get
Protection Rule Category Filter Param> - (Optional/Computed) A list of category key and list of values.
- type String
- (Optional/Computed) The type of the filter being used.
- kind
Lists string[] - (Optional/Computed) List of kinds associated with this filter.
- params
Get
Protection Rule Category Filter Param[] - (Optional/Computed) A list of category key and list of values.
- type string
- (Optional/Computed) The type of the filter being used.
- kind_
lists Sequence[str] - (Optional/Computed) List of kinds associated with this filter.
- params
Sequence[Get
Protection Rule Category Filter Param] - (Optional/Computed) A list of category key and list of values.
- type str
- (Optional/Computed) The type of the filter being used.
- kind
Lists List<String> - (Optional/Computed) List of kinds associated with this filter.
- params List<Property Map>
- (Optional/Computed) A list of category key and list of values.
- type String
- (Optional/Computed) The type of the filter being used.
GetProtectionRuleCategoryFilterParam
GetProtectionRuleOrderedAvailabilityZoneList
- Availability
Zone stringUrl - Cluster
Uuid string
- Availability
Zone stringUrl - Cluster
Uuid string
- availability
Zone StringUrl - cluster
Uuid String
- availability
Zone stringUrl - cluster
Uuid string
- availability
Zone StringUrl - cluster
Uuid String
GetProtectionRuleOwnerReference
GetProtectionRuleProjectReference
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.