siterecovery

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fabric

type Fabric struct {
	// contains filtered or unexported fields
}

Manages a Azure Site Recovery Replication Fabric within a Recovery Services vault. Only Azure fabrics are supported at this time. Replication Fabrics serve as a container within an Azure region for other Site Recovery resources such as protection containers, protected items, network mappings.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/site_recovery_fabric.html.markdown.

func GetFabric

func GetFabric(ctx *pulumi.Context,
	name string, id pulumi.ID, state *FabricState, opts ...pulumi.ResourceOpt) (*Fabric, error)

GetFabric gets an existing Fabric resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFabric

func NewFabric(ctx *pulumi.Context,
	name string, args *FabricArgs, opts ...pulumi.ResourceOpt) (*Fabric, error)

NewFabric registers a new resource with the given unique name, arguments, and options.

func (*Fabric) ID

func (r *Fabric) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Fabric) Location

func (r *Fabric) Location() pulumi.StringOutput

In what region should the fabric be located.

func (*Fabric) Name

func (r *Fabric) Name() pulumi.StringOutput

The name of the network mapping.

func (*Fabric) RecoveryVaultName

func (r *Fabric) RecoveryVaultName() pulumi.StringOutput

The name of the vault that should be updated.

func (*Fabric) ResourceGroupName

func (r *Fabric) ResourceGroupName() pulumi.StringOutput

Name of the resource group where the vault that should be updated is located.

func (*Fabric) URN

func (r *Fabric) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type FabricArgs

type FabricArgs struct {
	// In what region should the fabric be located.
	Location interface{}
	// The name of the network mapping.
	Name interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
}

The set of arguments for constructing a Fabric resource.

type FabricState

type FabricState struct {
	// In what region should the fabric be located.
	Location interface{}
	// The name of the network mapping.
	Name interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
}

Input properties used for looking up and filtering Fabric resources.

type NetworkMapping

type NetworkMapping struct {
	// contains filtered or unexported fields
}

Manages a site recovery network mapping on Azure. A network mapping decides how to translate connected netwroks when a VM is migrated from one region to another.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/site_recovery_network_mapping.html.markdown.

func GetNetworkMapping

func GetNetworkMapping(ctx *pulumi.Context,
	name string, id pulumi.ID, state *NetworkMappingState, opts ...pulumi.ResourceOpt) (*NetworkMapping, error)

GetNetworkMapping gets an existing NetworkMapping resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetworkMapping

func NewNetworkMapping(ctx *pulumi.Context,
	name string, args *NetworkMappingArgs, opts ...pulumi.ResourceOpt) (*NetworkMapping, error)

NewNetworkMapping registers a new resource with the given unique name, arguments, and options.

func (*NetworkMapping) ID

func (r *NetworkMapping) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*NetworkMapping) Name

The name of the network mapping.

func (*NetworkMapping) RecoveryVaultName

func (r *NetworkMapping) RecoveryVaultName() pulumi.StringOutput

The name of the vault that should be updated.

func (*NetworkMapping) ResourceGroupName

func (r *NetworkMapping) ResourceGroupName() pulumi.StringOutput

Name of the resource group where the vault that should be updated is located.

func (*NetworkMapping) SourceNetworkId

func (r *NetworkMapping) SourceNetworkId() pulumi.StringOutput

The id of the primary network.

func (*NetworkMapping) SourceRecoveryFabricName

func (r *NetworkMapping) SourceRecoveryFabricName() pulumi.StringOutput

Specifies the ASR fabric where mapping should be created.

func (*NetworkMapping) TargetNetworkId

func (r *NetworkMapping) TargetNetworkId() pulumi.StringOutput

The id of the recovery network.

func (*NetworkMapping) TargetRecoveryFabricName

func (r *NetworkMapping) TargetRecoveryFabricName() pulumi.StringOutput

The Azure Site Recovery fabric object corresponding to the recovery Azure region.

func (*NetworkMapping) URN

func (r *NetworkMapping) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type NetworkMappingArgs

type NetworkMappingArgs struct {
	// The name of the network mapping.
	Name interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
	// The id of the primary network.
	SourceNetworkId interface{}
	// Specifies the ASR fabric where mapping should be created.
	SourceRecoveryFabricName interface{}
	// The id of the recovery network.
	TargetNetworkId interface{}
	// The Azure Site Recovery fabric object corresponding to the recovery Azure region.
	TargetRecoveryFabricName interface{}
}

The set of arguments for constructing a NetworkMapping resource.

type NetworkMappingState

type NetworkMappingState struct {
	// The name of the network mapping.
	Name interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
	// The id of the primary network.
	SourceNetworkId interface{}
	// Specifies the ASR fabric where mapping should be created.
	SourceRecoveryFabricName interface{}
	// The id of the recovery network.
	TargetNetworkId interface{}
	// The Azure Site Recovery fabric object corresponding to the recovery Azure region.
	TargetRecoveryFabricName interface{}
}

Input properties used for looking up and filtering NetworkMapping resources.

type ProtectionContainer

type ProtectionContainer struct {
	// contains filtered or unexported fields
}

Manages a Azure Site Recovery protection container. Protection containers serve as containers for replicated VMs and belong to a single region / recovery fabric. Protection containers can contain more than one replicated VM. To replicate a VM, a container must exist in both the source and target Azure regions.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/site_recovery_protection_container.html.markdown.

func GetProtectionContainer

func GetProtectionContainer(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProtectionContainerState, opts ...pulumi.ResourceOpt) (*ProtectionContainer, error)

GetProtectionContainer gets an existing ProtectionContainer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProtectionContainer

func NewProtectionContainer(ctx *pulumi.Context,
	name string, args *ProtectionContainerArgs, opts ...pulumi.ResourceOpt) (*ProtectionContainer, error)

NewProtectionContainer registers a new resource with the given unique name, arguments, and options.

func (*ProtectionContainer) ID

ID is this resource's unique identifier assigned by its provider.

func (*ProtectionContainer) Name

The name of the network mapping.

func (*ProtectionContainer) RecoveryFabricName

func (r *ProtectionContainer) RecoveryFabricName() pulumi.StringOutput

Name of fabric that should contain this protection container.

func (*ProtectionContainer) RecoveryVaultName

func (r *ProtectionContainer) RecoveryVaultName() pulumi.StringOutput

The name of the vault that should be updated.

func (*ProtectionContainer) ResourceGroupName

func (r *ProtectionContainer) ResourceGroupName() pulumi.StringOutput

Name of the resource group where the vault that should be updated is located.

func (*ProtectionContainer) URN

URN is this resource's unique name assigned by Pulumi.

type ProtectionContainerArgs

type ProtectionContainerArgs struct {
	// The name of the network mapping.
	Name interface{}
	// Name of fabric that should contain this protection container.
	RecoveryFabricName interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
}

The set of arguments for constructing a ProtectionContainer resource.

type ProtectionContainerMapping

type ProtectionContainerMapping struct {
	// contains filtered or unexported fields
}

Manages a Azure recovery vault protection container mapping. A protection container mapping decides how to translate the protection container when a VM is migrated from one region to another.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/site_recovery_protection_container_mapping.html.markdown.

func GetProtectionContainerMapping

func GetProtectionContainerMapping(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProtectionContainerMappingState, opts ...pulumi.ResourceOpt) (*ProtectionContainerMapping, error)

GetProtectionContainerMapping gets an existing ProtectionContainerMapping resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProtectionContainerMapping

func NewProtectionContainerMapping(ctx *pulumi.Context,
	name string, args *ProtectionContainerMappingArgs, opts ...pulumi.ResourceOpt) (*ProtectionContainerMapping, error)

NewProtectionContainerMapping registers a new resource with the given unique name, arguments, and options.

func (*ProtectionContainerMapping) ID

ID is this resource's unique identifier assigned by its provider.

func (*ProtectionContainerMapping) Name

The name of the network mapping.

func (*ProtectionContainerMapping) RecoveryFabricName

func (r *ProtectionContainerMapping) RecoveryFabricName() pulumi.StringOutput

Name of fabric that should contains the protection container to map.

func (*ProtectionContainerMapping) RecoveryReplicationPolicyId

func (r *ProtectionContainerMapping) RecoveryReplicationPolicyId() pulumi.StringOutput

Id of the policy to use for this mapping.

func (*ProtectionContainerMapping) RecoverySourceProtectionContainerName

func (r *ProtectionContainerMapping) RecoverySourceProtectionContainerName() pulumi.StringOutput

Name of the source protection container to map.

func (*ProtectionContainerMapping) RecoveryTargetProtectionContainerId

func (r *ProtectionContainerMapping) RecoveryTargetProtectionContainerId() pulumi.StringOutput

Id of target protection container to map to.

func (*ProtectionContainerMapping) RecoveryVaultName

func (r *ProtectionContainerMapping) RecoveryVaultName() pulumi.StringOutput

The name of the vault that should be updated.

func (*ProtectionContainerMapping) ResourceGroupName

func (r *ProtectionContainerMapping) ResourceGroupName() pulumi.StringOutput

Name of the resource group where the vault that should be updated is located.

func (*ProtectionContainerMapping) URN

URN is this resource's unique name assigned by Pulumi.

type ProtectionContainerMappingArgs

type ProtectionContainerMappingArgs struct {
	// The name of the network mapping.
	Name interface{}
	// Name of fabric that should contains the protection container to map.
	RecoveryFabricName interface{}
	// Id of the policy to use for this mapping.
	RecoveryReplicationPolicyId interface{}
	// Name of the source protection container to map.
	RecoverySourceProtectionContainerName interface{}
	// Id of target protection container to map to.
	RecoveryTargetProtectionContainerId interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
}

The set of arguments for constructing a ProtectionContainerMapping resource.

type ProtectionContainerMappingState

type ProtectionContainerMappingState struct {
	// The name of the network mapping.
	Name interface{}
	// Name of fabric that should contains the protection container to map.
	RecoveryFabricName interface{}
	// Id of the policy to use for this mapping.
	RecoveryReplicationPolicyId interface{}
	// Name of the source protection container to map.
	RecoverySourceProtectionContainerName interface{}
	// Id of target protection container to map to.
	RecoveryTargetProtectionContainerId interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
}

Input properties used for looking up and filtering ProtectionContainerMapping resources.

type ProtectionContainerState

type ProtectionContainerState struct {
	// The name of the network mapping.
	Name interface{}
	// Name of fabric that should contain this protection container.
	RecoveryFabricName interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
}

Input properties used for looking up and filtering ProtectionContainer resources.

type ReplicatedVM

type ReplicatedVM struct {
	// contains filtered or unexported fields
}

Manages a VM replicated using Azure Site Recovery (Azure to Azure only). A replicated VM keeps a copiously updated image of the VM in another region in order to be able to start the VM in that region in case of a disaster.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/site_recovery_replicated_vm.html.markdown.

func GetReplicatedVM

func GetReplicatedVM(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ReplicatedVMState, opts ...pulumi.ResourceOpt) (*ReplicatedVM, error)

GetReplicatedVM gets an existing ReplicatedVM resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewReplicatedVM

func NewReplicatedVM(ctx *pulumi.Context,
	name string, args *ReplicatedVMArgs, opts ...pulumi.ResourceOpt) (*ReplicatedVM, error)

NewReplicatedVM registers a new resource with the given unique name, arguments, and options.

func (*ReplicatedVM) ID

func (r *ReplicatedVM) ID() pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ReplicatedVM) ManagedDisks

func (r *ReplicatedVM) ManagedDisks() pulumi.ArrayOutput

One or more `managedDisk` block.

func (*ReplicatedVM) Name

func (r *ReplicatedVM) Name() pulumi.StringOutput

The name of the network mapping.

func (*ReplicatedVM) RecoveryReplicationPolicyId

func (r *ReplicatedVM) RecoveryReplicationPolicyId() pulumi.StringOutput

func (*ReplicatedVM) RecoveryVaultName

func (r *ReplicatedVM) RecoveryVaultName() pulumi.StringOutput

The name of the vault that should be updated.

func (*ReplicatedVM) ResourceGroupName

func (r *ReplicatedVM) ResourceGroupName() pulumi.StringOutput

Name of the resource group where the vault that should be updated is located.

func (*ReplicatedVM) SourceRecoveryFabricName

func (r *ReplicatedVM) SourceRecoveryFabricName() pulumi.StringOutput

Name of fabric that should contains this replication.

func (*ReplicatedVM) SourceRecoveryProtectionContainerName

func (r *ReplicatedVM) SourceRecoveryProtectionContainerName() pulumi.StringOutput

Name of the protection container to use.

func (*ReplicatedVM) SourceVmId

func (r *ReplicatedVM) SourceVmId() pulumi.StringOutput

Id of the VM to replicate

func (*ReplicatedVM) TargetAvailabilitySetId

func (r *ReplicatedVM) TargetAvailabilitySetId() pulumi.StringOutput

Id of availability set that the new VM should belong to when a failover is done.

func (*ReplicatedVM) TargetRecoveryFabricId

func (r *ReplicatedVM) TargetRecoveryFabricId() pulumi.StringOutput

Id of fabric where the VM replication should be handled when a failover is done.

func (*ReplicatedVM) TargetRecoveryProtectionContainerId

func (r *ReplicatedVM) TargetRecoveryProtectionContainerId() pulumi.StringOutput

Id of protection container where the VM replication should be created when a failover is done.

func (*ReplicatedVM) TargetResourceGroupId

func (r *ReplicatedVM) TargetResourceGroupId() pulumi.StringOutput

Id of resource group where the VM should be created when a failover is done.

func (*ReplicatedVM) URN

func (r *ReplicatedVM) URN() pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ReplicatedVMArgs

type ReplicatedVMArgs struct {
	// One or more `managedDisk` block.
	ManagedDisks interface{}
	// The name of the network mapping.
	Name                        interface{}
	RecoveryReplicationPolicyId interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
	// Name of fabric that should contains this replication.
	SourceRecoveryFabricName interface{}
	// Name of the protection container to use.
	SourceRecoveryProtectionContainerName interface{}
	// Id of the VM to replicate
	SourceVmId interface{}
	// Id of availability set that the new VM should belong to when a failover is done.
	TargetAvailabilitySetId interface{}
	// Id of fabric where the VM replication should be handled when a failover is done.
	TargetRecoveryFabricId interface{}
	// Id of protection container where the VM replication should be created when a failover is done.
	TargetRecoveryProtectionContainerId interface{}
	// Id of resource group where the VM should be created when a failover is done.
	TargetResourceGroupId interface{}
}

The set of arguments for constructing a ReplicatedVM resource.

type ReplicatedVMState

type ReplicatedVMState struct {
	// One or more `managedDisk` block.
	ManagedDisks interface{}
	// The name of the network mapping.
	Name                        interface{}
	RecoveryReplicationPolicyId interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
	// Name of fabric that should contains this replication.
	SourceRecoveryFabricName interface{}
	// Name of the protection container to use.
	SourceRecoveryProtectionContainerName interface{}
	// Id of the VM to replicate
	SourceVmId interface{}
	// Id of availability set that the new VM should belong to when a failover is done.
	TargetAvailabilitySetId interface{}
	// Id of fabric where the VM replication should be handled when a failover is done.
	TargetRecoveryFabricId interface{}
	// Id of protection container where the VM replication should be created when a failover is done.
	TargetRecoveryProtectionContainerId interface{}
	// Id of resource group where the VM should be created when a failover is done.
	TargetResourceGroupId interface{}
}

Input properties used for looking up and filtering ReplicatedVM resources.

type ReplicationPolicy

type ReplicationPolicy struct {
	// contains filtered or unexported fields
}

Manages a Azure Site Recovery replication policy within a recovery vault. Replication policies define the frequency at which recovery points are created and how long they are stored.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/site_recovery_replication_policy.html.markdown.

func GetReplicationPolicy

func GetReplicationPolicy(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ReplicationPolicyState, opts ...pulumi.ResourceOpt) (*ReplicationPolicy, error)

GetReplicationPolicy gets an existing ReplicationPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewReplicationPolicy

func NewReplicationPolicy(ctx *pulumi.Context,
	name string, args *ReplicationPolicyArgs, opts ...pulumi.ResourceOpt) (*ReplicationPolicy, error)

NewReplicationPolicy registers a new resource with the given unique name, arguments, and options.

func (*ReplicationPolicy) ApplicationConsistentSnapshotFrequencyInMinutes

func (r *ReplicationPolicy) ApplicationConsistentSnapshotFrequencyInMinutes() pulumi.IntOutput

Specifies the frequency(in minutes) at which to create application consistent recovery points.

func (*ReplicationPolicy) ID

ID is this resource's unique identifier assigned by its provider.

func (*ReplicationPolicy) Name

The name of the network mapping.

func (*ReplicationPolicy) RecoveryPointRetentionInMinutes

func (r *ReplicationPolicy) RecoveryPointRetentionInMinutes() pulumi.IntOutput

The duration in minutes for which the recovery points need to be stored.

func (*ReplicationPolicy) RecoveryVaultName

func (r *ReplicationPolicy) RecoveryVaultName() pulumi.StringOutput

The name of the vault that should be updated.

func (*ReplicationPolicy) ResourceGroupName

func (r *ReplicationPolicy) ResourceGroupName() pulumi.StringOutput

Name of the resource group where the vault that should be updated is located.

func (*ReplicationPolicy) URN

URN is this resource's unique name assigned by Pulumi.

type ReplicationPolicyArgs

type ReplicationPolicyArgs struct {
	// Specifies the frequency(in minutes) at which to create application consistent recovery points.
	ApplicationConsistentSnapshotFrequencyInMinutes interface{}
	// The name of the network mapping.
	Name interface{}
	// The duration in minutes for which the recovery points need to be stored.
	RecoveryPointRetentionInMinutes interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
}

The set of arguments for constructing a ReplicationPolicy resource.

type ReplicationPolicyState

type ReplicationPolicyState struct {
	// Specifies the frequency(in minutes) at which to create application consistent recovery points.
	ApplicationConsistentSnapshotFrequencyInMinutes interface{}
	// The name of the network mapping.
	Name interface{}
	// The duration in minutes for which the recovery points need to be stored.
	RecoveryPointRetentionInMinutes interface{}
	// The name of the vault that should be updated.
	RecoveryVaultName interface{}
	// Name of the resource group where the vault that should be updated is located.
	ResourceGroupName interface{}
}

Input properties used for looking up and filtering ReplicationPolicy resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL