Documentation
¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type Fabric
- type FabricArgs
- type FabricState
- type NetworkMapping
- type NetworkMappingArgs
- type NetworkMappingState
- type ProtectionContainer
- type ProtectionContainerArgs
- type ProtectionContainerMapping
- type ProtectionContainerMappingArgs
- type ProtectionContainerMappingState
- type ProtectionContainerState
- type ReplicatedVM
- type ReplicatedVMArgs
- type ReplicatedVMManagedDisk
- type ReplicatedVMManagedDiskArgs
- type ReplicatedVMManagedDiskArray
- func (ReplicatedVMManagedDiskArray) ElementType() reflect.Type
- func (i ReplicatedVMManagedDiskArray) ToReplicatedVMManagedDiskArrayOutput() ReplicatedVMManagedDiskArrayOutput
- func (i ReplicatedVMManagedDiskArray) ToReplicatedVMManagedDiskArrayOutputWithContext(ctx context.Context) ReplicatedVMManagedDiskArrayOutput
- type ReplicatedVMManagedDiskArrayInput
- type ReplicatedVMManagedDiskArrayOutput
- func (ReplicatedVMManagedDiskArrayOutput) ElementType() reflect.Type
- func (o ReplicatedVMManagedDiskArrayOutput) Index(i pulumi.IntInput) ReplicatedVMManagedDiskOutput
- func (o ReplicatedVMManagedDiskArrayOutput) ToReplicatedVMManagedDiskArrayOutput() ReplicatedVMManagedDiskArrayOutput
- func (o ReplicatedVMManagedDiskArrayOutput) ToReplicatedVMManagedDiskArrayOutputWithContext(ctx context.Context) ReplicatedVMManagedDiskArrayOutput
- type ReplicatedVMManagedDiskInput
- type ReplicatedVMManagedDiskOutput
- func (o ReplicatedVMManagedDiskOutput) DiskId() pulumi.StringOutput
- func (ReplicatedVMManagedDiskOutput) ElementType() reflect.Type
- func (o ReplicatedVMManagedDiskOutput) StagingStorageAccountId() pulumi.StringOutput
- func (o ReplicatedVMManagedDiskOutput) TargetDiskType() pulumi.StringOutput
- func (o ReplicatedVMManagedDiskOutput) TargetReplicaDiskType() pulumi.StringOutput
- func (o ReplicatedVMManagedDiskOutput) TargetResourceGroupId() pulumi.StringOutput
- func (o ReplicatedVMManagedDiskOutput) ToReplicatedVMManagedDiskOutput() ReplicatedVMManagedDiskOutput
- func (o ReplicatedVMManagedDiskOutput) ToReplicatedVMManagedDiskOutputWithContext(ctx context.Context) ReplicatedVMManagedDiskOutput
- type ReplicatedVMState
- type ReplicationPolicy
- type ReplicationPolicyArgs
- type ReplicationPolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fabric ¶
type Fabric struct { pulumi.CustomResourceState // In what region should the fabric be located. Location pulumi.StringOutput `pulumi:"location"` // The name of the network mapping. Name pulumi.StringOutput `pulumi:"name"` // The name of the vault that should be updated. RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
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.IDInput, state *FabricState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Fabric, error)
NewFabric registers a new resource with the given unique name, arguments, and options.
type FabricArgs ¶
type FabricArgs struct { // In what region should the fabric be located. Location pulumi.StringPtrInput // The name of the network mapping. Name pulumi.StringPtrInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a Fabric resource.
func (FabricArgs) ElementType ¶ added in v1.12.0
func (FabricArgs) ElementType() reflect.Type
type FabricState ¶
type FabricState struct { // In what region should the fabric be located. Location pulumi.StringPtrInput // The name of the network mapping. Name pulumi.StringPtrInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringPtrInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringPtrInput }
func (FabricState) ElementType ¶ added in v1.12.0
func (FabricState) ElementType() reflect.Type
type NetworkMapping ¶
type NetworkMapping struct { pulumi.CustomResourceState // The name of the network mapping. Name pulumi.StringOutput `pulumi:"name"` // The name of the vault that should be updated. RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The id of the primary network. SourceNetworkId pulumi.StringOutput `pulumi:"sourceNetworkId"` // Specifies the ASR fabric where mapping should be created. SourceRecoveryFabricName pulumi.StringOutput `pulumi:"sourceRecoveryFabricName"` // The id of the recovery network. TargetNetworkId pulumi.StringOutput `pulumi:"targetNetworkId"` // The Azure Site Recovery fabric object corresponding to the recovery Azure region. TargetRecoveryFabricName pulumi.StringOutput `pulumi:"targetRecoveryFabricName"` }
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.IDInput, state *NetworkMappingState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*NetworkMapping, error)
NewNetworkMapping registers a new resource with the given unique name, arguments, and options.
type NetworkMappingArgs ¶
type NetworkMappingArgs struct { // The name of the network mapping. Name pulumi.StringPtrInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringInput // The id of the primary network. SourceNetworkId pulumi.StringInput // Specifies the ASR fabric where mapping should be created. SourceRecoveryFabricName pulumi.StringInput // The id of the recovery network. TargetNetworkId pulumi.StringInput // The Azure Site Recovery fabric object corresponding to the recovery Azure region. TargetRecoveryFabricName pulumi.StringInput }
The set of arguments for constructing a NetworkMapping resource.
func (NetworkMappingArgs) ElementType ¶ added in v1.12.0
func (NetworkMappingArgs) ElementType() reflect.Type
type NetworkMappingState ¶
type NetworkMappingState struct { // The name of the network mapping. Name pulumi.StringPtrInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringPtrInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringPtrInput // The id of the primary network. SourceNetworkId pulumi.StringPtrInput // Specifies the ASR fabric where mapping should be created. SourceRecoveryFabricName pulumi.StringPtrInput // The id of the recovery network. TargetNetworkId pulumi.StringPtrInput // The Azure Site Recovery fabric object corresponding to the recovery Azure region. TargetRecoveryFabricName pulumi.StringPtrInput }
func (NetworkMappingState) ElementType ¶ added in v1.12.0
func (NetworkMappingState) ElementType() reflect.Type
type ProtectionContainer ¶
type ProtectionContainer struct { pulumi.CustomResourceState // The name of the network mapping. Name pulumi.StringOutput `pulumi:"name"` // Name of fabric that should contain this protection container. RecoveryFabricName pulumi.StringOutput `pulumi:"recoveryFabricName"` // The name of the vault that should be updated. RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
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.IDInput, state *ProtectionContainerState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*ProtectionContainer, error)
NewProtectionContainer registers a new resource with the given unique name, arguments, and options.
type ProtectionContainerArgs ¶
type ProtectionContainerArgs struct { // The name of the network mapping. Name pulumi.StringPtrInput // Name of fabric that should contain this protection container. RecoveryFabricName pulumi.StringInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a ProtectionContainer resource.
func (ProtectionContainerArgs) ElementType ¶ added in v1.12.0
func (ProtectionContainerArgs) ElementType() reflect.Type
type ProtectionContainerMapping ¶
type ProtectionContainerMapping struct { pulumi.CustomResourceState // The name of the network mapping. Name pulumi.StringOutput `pulumi:"name"` // Name of fabric that should contains the protection container to map. RecoveryFabricName pulumi.StringOutput `pulumi:"recoveryFabricName"` // Id of the policy to use for this mapping. RecoveryReplicationPolicyId pulumi.StringOutput `pulumi:"recoveryReplicationPolicyId"` // Name of the source protection container to map. RecoverySourceProtectionContainerName pulumi.StringOutput `pulumi:"recoverySourceProtectionContainerName"` // Id of target protection container to map to. RecoveryTargetProtectionContainerId pulumi.StringOutput `pulumi:"recoveryTargetProtectionContainerId"` // The name of the vault that should be updated. RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
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.IDInput, state *ProtectionContainerMappingState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*ProtectionContainerMapping, error)
NewProtectionContainerMapping registers a new resource with the given unique name, arguments, and options.
type ProtectionContainerMappingArgs ¶
type ProtectionContainerMappingArgs struct { // The name of the network mapping. Name pulumi.StringPtrInput // Name of fabric that should contains the protection container to map. RecoveryFabricName pulumi.StringInput // Id of the policy to use for this mapping. RecoveryReplicationPolicyId pulumi.StringInput // Name of the source protection container to map. RecoverySourceProtectionContainerName pulumi.StringInput // Id of target protection container to map to. RecoveryTargetProtectionContainerId pulumi.StringInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a ProtectionContainerMapping resource.
func (ProtectionContainerMappingArgs) ElementType ¶ added in v1.12.0
func (ProtectionContainerMappingArgs) ElementType() reflect.Type
type ProtectionContainerMappingState ¶
type ProtectionContainerMappingState struct { // The name of the network mapping. Name pulumi.StringPtrInput // Name of fabric that should contains the protection container to map. RecoveryFabricName pulumi.StringPtrInput // Id of the policy to use for this mapping. RecoveryReplicationPolicyId pulumi.StringPtrInput // Name of the source protection container to map. RecoverySourceProtectionContainerName pulumi.StringPtrInput // Id of target protection container to map to. RecoveryTargetProtectionContainerId pulumi.StringPtrInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringPtrInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringPtrInput }
func (ProtectionContainerMappingState) ElementType ¶ added in v1.12.0
func (ProtectionContainerMappingState) ElementType() reflect.Type
type ProtectionContainerState ¶
type ProtectionContainerState struct { // The name of the network mapping. Name pulumi.StringPtrInput // Name of fabric that should contain this protection container. RecoveryFabricName pulumi.StringPtrInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringPtrInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringPtrInput }
func (ProtectionContainerState) ElementType ¶ added in v1.12.0
func (ProtectionContainerState) ElementType() reflect.Type
type ReplicatedVM ¶
type ReplicatedVM struct { pulumi.CustomResourceState // One or more `managedDisk` block. ManagedDisks ReplicatedVMManagedDiskArrayOutput `pulumi:"managedDisks"` // The name of the network mapping. Name pulumi.StringOutput `pulumi:"name"` RecoveryReplicationPolicyId pulumi.StringOutput `pulumi:"recoveryReplicationPolicyId"` // The name of the vault that should be updated. RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Name of fabric that should contains this replication. SourceRecoveryFabricName pulumi.StringOutput `pulumi:"sourceRecoveryFabricName"` // Name of the protection container to use. SourceRecoveryProtectionContainerName pulumi.StringOutput `pulumi:"sourceRecoveryProtectionContainerName"` // Id of the VM to replicate SourceVmId pulumi.StringOutput `pulumi:"sourceVmId"` // Id of availability set that the new VM should belong to when a failover is done. TargetAvailabilitySetId pulumi.StringPtrOutput `pulumi:"targetAvailabilitySetId"` // Id of fabric where the VM replication should be handled when a failover is done. TargetRecoveryFabricId pulumi.StringOutput `pulumi:"targetRecoveryFabricId"` // Id of protection container where the VM replication should be created when a failover is done. TargetRecoveryProtectionContainerId pulumi.StringOutput `pulumi:"targetRecoveryProtectionContainerId"` // Id of resource group where the VM should be created when a failover is done. TargetResourceGroupId pulumi.StringOutput `pulumi:"targetResourceGroupId"` }
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.IDInput, state *ReplicatedVMState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*ReplicatedVM, error)
NewReplicatedVM registers a new resource with the given unique name, arguments, and options.
type ReplicatedVMArgs ¶
type ReplicatedVMArgs struct { // One or more `managedDisk` block. ManagedDisks ReplicatedVMManagedDiskArrayInput // The name of the network mapping. Name pulumi.StringPtrInput RecoveryReplicationPolicyId pulumi.StringInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringInput // Name of fabric that should contains this replication. SourceRecoveryFabricName pulumi.StringInput // Name of the protection container to use. SourceRecoveryProtectionContainerName pulumi.StringInput // Id of the VM to replicate SourceVmId pulumi.StringInput // Id of availability set that the new VM should belong to when a failover is done. TargetAvailabilitySetId pulumi.StringPtrInput // Id of fabric where the VM replication should be handled when a failover is done. TargetRecoveryFabricId pulumi.StringInput // Id of protection container where the VM replication should be created when a failover is done. TargetRecoveryProtectionContainerId pulumi.StringInput // Id of resource group where the VM should be created when a failover is done. TargetResourceGroupId pulumi.StringInput }
The set of arguments for constructing a ReplicatedVM resource.
func (ReplicatedVMArgs) ElementType ¶ added in v1.12.0
func (ReplicatedVMArgs) ElementType() reflect.Type
type ReplicatedVMManagedDisk ¶ added in v1.12.0
type ReplicatedVMManagedDisk struct { DiskId string `pulumi:"diskId"` StagingStorageAccountId string `pulumi:"stagingStorageAccountId"` TargetDiskType string `pulumi:"targetDiskType"` TargetReplicaDiskType string `pulumi:"targetReplicaDiskType"` // Id of resource group where the VM should be created when a failover is done. TargetResourceGroupId string `pulumi:"targetResourceGroupId"` }
type ReplicatedVMManagedDiskArgs ¶ added in v1.12.0
type ReplicatedVMManagedDiskArgs struct { DiskId pulumi.StringInput `pulumi:"diskId"` StagingStorageAccountId pulumi.StringInput `pulumi:"stagingStorageAccountId"` TargetDiskType pulumi.StringInput `pulumi:"targetDiskType"` TargetReplicaDiskType pulumi.StringInput `pulumi:"targetReplicaDiskType"` // Id of resource group where the VM should be created when a failover is done. TargetResourceGroupId pulumi.StringInput `pulumi:"targetResourceGroupId"` }
func (ReplicatedVMManagedDiskArgs) ElementType ¶ added in v1.12.0
func (ReplicatedVMManagedDiskArgs) ElementType() reflect.Type
func (ReplicatedVMManagedDiskArgs) ToReplicatedVMManagedDiskOutput ¶ added in v1.12.0
func (i ReplicatedVMManagedDiskArgs) ToReplicatedVMManagedDiskOutput() ReplicatedVMManagedDiskOutput
func (ReplicatedVMManagedDiskArgs) ToReplicatedVMManagedDiskOutputWithContext ¶ added in v1.12.0
func (i ReplicatedVMManagedDiskArgs) ToReplicatedVMManagedDiskOutputWithContext(ctx context.Context) ReplicatedVMManagedDiskOutput
type ReplicatedVMManagedDiskArray ¶ added in v1.12.0
type ReplicatedVMManagedDiskArray []ReplicatedVMManagedDiskInput
func (ReplicatedVMManagedDiskArray) ElementType ¶ added in v1.12.0
func (ReplicatedVMManagedDiskArray) ElementType() reflect.Type
func (ReplicatedVMManagedDiskArray) ToReplicatedVMManagedDiskArrayOutput ¶ added in v1.12.0
func (i ReplicatedVMManagedDiskArray) ToReplicatedVMManagedDiskArrayOutput() ReplicatedVMManagedDiskArrayOutput
func (ReplicatedVMManagedDiskArray) ToReplicatedVMManagedDiskArrayOutputWithContext ¶ added in v1.12.0
func (i ReplicatedVMManagedDiskArray) ToReplicatedVMManagedDiskArrayOutputWithContext(ctx context.Context) ReplicatedVMManagedDiskArrayOutput
type ReplicatedVMManagedDiskArrayInput ¶ added in v1.12.0
type ReplicatedVMManagedDiskArrayInput interface { pulumi.Input ToReplicatedVMManagedDiskArrayOutput() ReplicatedVMManagedDiskArrayOutput ToReplicatedVMManagedDiskArrayOutputWithContext(context.Context) ReplicatedVMManagedDiskArrayOutput }
type ReplicatedVMManagedDiskArrayOutput ¶ added in v1.12.0
type ReplicatedVMManagedDiskArrayOutput struct{ *pulumi.OutputState }
func (ReplicatedVMManagedDiskArrayOutput) ElementType ¶ added in v1.12.0
func (ReplicatedVMManagedDiskArrayOutput) ElementType() reflect.Type
func (ReplicatedVMManagedDiskArrayOutput) Index ¶ added in v1.12.0
func (o ReplicatedVMManagedDiskArrayOutput) Index(i pulumi.IntInput) ReplicatedVMManagedDiskOutput
func (ReplicatedVMManagedDiskArrayOutput) ToReplicatedVMManagedDiskArrayOutput ¶ added in v1.12.0
func (o ReplicatedVMManagedDiskArrayOutput) ToReplicatedVMManagedDiskArrayOutput() ReplicatedVMManagedDiskArrayOutput
func (ReplicatedVMManagedDiskArrayOutput) ToReplicatedVMManagedDiskArrayOutputWithContext ¶ added in v1.12.0
func (o ReplicatedVMManagedDiskArrayOutput) ToReplicatedVMManagedDiskArrayOutputWithContext(ctx context.Context) ReplicatedVMManagedDiskArrayOutput
type ReplicatedVMManagedDiskInput ¶ added in v1.12.0
type ReplicatedVMManagedDiskInput interface { pulumi.Input ToReplicatedVMManagedDiskOutput() ReplicatedVMManagedDiskOutput ToReplicatedVMManagedDiskOutputWithContext(context.Context) ReplicatedVMManagedDiskOutput }
type ReplicatedVMManagedDiskOutput ¶ added in v1.12.0
type ReplicatedVMManagedDiskOutput struct{ *pulumi.OutputState }
func (ReplicatedVMManagedDiskOutput) DiskId ¶ added in v1.12.0
func (o ReplicatedVMManagedDiskOutput) DiskId() pulumi.StringOutput
func (ReplicatedVMManagedDiskOutput) ElementType ¶ added in v1.12.0
func (ReplicatedVMManagedDiskOutput) ElementType() reflect.Type
func (ReplicatedVMManagedDiskOutput) StagingStorageAccountId ¶ added in v1.12.0
func (o ReplicatedVMManagedDiskOutput) StagingStorageAccountId() pulumi.StringOutput
func (ReplicatedVMManagedDiskOutput) TargetDiskType ¶ added in v1.12.0
func (o ReplicatedVMManagedDiskOutput) TargetDiskType() pulumi.StringOutput
func (ReplicatedVMManagedDiskOutput) TargetReplicaDiskType ¶ added in v1.12.0
func (o ReplicatedVMManagedDiskOutput) TargetReplicaDiskType() pulumi.StringOutput
func (ReplicatedVMManagedDiskOutput) TargetResourceGroupId ¶ added in v1.12.0
func (o ReplicatedVMManagedDiskOutput) TargetResourceGroupId() pulumi.StringOutput
Id of resource group where the VM should be created when a failover is done.
func (ReplicatedVMManagedDiskOutput) ToReplicatedVMManagedDiskOutput ¶ added in v1.12.0
func (o ReplicatedVMManagedDiskOutput) ToReplicatedVMManagedDiskOutput() ReplicatedVMManagedDiskOutput
func (ReplicatedVMManagedDiskOutput) ToReplicatedVMManagedDiskOutputWithContext ¶ added in v1.12.0
func (o ReplicatedVMManagedDiskOutput) ToReplicatedVMManagedDiskOutputWithContext(ctx context.Context) ReplicatedVMManagedDiskOutput
type ReplicatedVMState ¶
type ReplicatedVMState struct { // One or more `managedDisk` block. ManagedDisks ReplicatedVMManagedDiskArrayInput // The name of the network mapping. Name pulumi.StringPtrInput RecoveryReplicationPolicyId pulumi.StringPtrInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringPtrInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringPtrInput // Name of fabric that should contains this replication. SourceRecoveryFabricName pulumi.StringPtrInput // Name of the protection container to use. SourceRecoveryProtectionContainerName pulumi.StringPtrInput // Id of the VM to replicate SourceVmId pulumi.StringPtrInput // Id of availability set that the new VM should belong to when a failover is done. TargetAvailabilitySetId pulumi.StringPtrInput // Id of fabric where the VM replication should be handled when a failover is done. TargetRecoveryFabricId pulumi.StringPtrInput // Id of protection container where the VM replication should be created when a failover is done. TargetRecoveryProtectionContainerId pulumi.StringPtrInput // Id of resource group where the VM should be created when a failover is done. TargetResourceGroupId pulumi.StringPtrInput }
func (ReplicatedVMState) ElementType ¶ added in v1.12.0
func (ReplicatedVMState) ElementType() reflect.Type
type ReplicationPolicy ¶
type ReplicationPolicy struct { pulumi.CustomResourceState // Specifies the frequency(in minutes) at which to create application consistent recovery points. ApplicationConsistentSnapshotFrequencyInMinutes pulumi.IntOutput `pulumi:"applicationConsistentSnapshotFrequencyInMinutes"` // The name of the network mapping. Name pulumi.StringOutput `pulumi:"name"` // The duration in minutes for which the recovery points need to be stored. RecoveryPointRetentionInMinutes pulumi.IntOutput `pulumi:"recoveryPointRetentionInMinutes"` // The name of the vault that should be updated. RecoveryVaultName pulumi.StringOutput `pulumi:"recoveryVaultName"` // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` }
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.IDInput, state *ReplicationPolicyState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*ReplicationPolicy, error)
NewReplicationPolicy registers a new resource with the given unique name, arguments, and options.
type ReplicationPolicyArgs ¶
type ReplicationPolicyArgs struct { // Specifies the frequency(in minutes) at which to create application consistent recovery points. ApplicationConsistentSnapshotFrequencyInMinutes pulumi.IntInput // The name of the network mapping. Name pulumi.StringPtrInput // The duration in minutes for which the recovery points need to be stored. RecoveryPointRetentionInMinutes pulumi.IntInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringInput }
The set of arguments for constructing a ReplicationPolicy resource.
func (ReplicationPolicyArgs) ElementType ¶ added in v1.12.0
func (ReplicationPolicyArgs) ElementType() reflect.Type
type ReplicationPolicyState ¶
type ReplicationPolicyState struct { // Specifies the frequency(in minutes) at which to create application consistent recovery points. ApplicationConsistentSnapshotFrequencyInMinutes pulumi.IntPtrInput // The name of the network mapping. Name pulumi.StringPtrInput // The duration in minutes for which the recovery points need to be stored. RecoveryPointRetentionInMinutes pulumi.IntPtrInput // The name of the vault that should be updated. RecoveryVaultName pulumi.StringPtrInput // Name of the resource group where the vault that should be updated is located. ResourceGroupName pulumi.StringPtrInput }
func (ReplicationPolicyState) ElementType ¶ added in v1.12.0
func (ReplicationPolicyState) ElementType() reflect.Type