recoveryservices

package
v1.44.1-0...-4e0a530 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MPL-2.0 Imports: 65 Imported by: 0

Documentation

Index

Constants

View Source
const EnableMultiVMSyncEnabled string = "True"
View Source
const HyperVNetworkMappingRecoveryFabricName = "Microsoft Azure"
View Source
const SiteRecoveryReplicationPolicyVMWareAssociationTargetContainerId string = "Microsoft Azure"
View Source
const TargetContainerIdAzure = "Microsoft Azure"
View Source
const VaultGuardProxyDeleteRequestName = "default" // this name does not matter, this value comes from Portal.
View Source
const VaultGuardResourceType = "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies"

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionDataSourceModel

type ActionDataSourceModel struct {
	ActionDetailType        string   `tfschema:"type"`
	FabricLocation          string   `tfschema:"fabric_location"`
	FailOverDirections      []string `tfschema:"fail_over_directions"`
	FailOverTypes           []string `tfschema:"fail_over_types"`
	ManualActionInstruction string   `tfschema:"manual_action_instruction"`
	Name                    string   `tfschema:"name"`
	RunbookId               string   `tfschema:"runbook_id"`
	ScriptPath              string   `tfschema:"script_path"`
}

type ActionModel

type ActionModel struct {
	ActionDetailType        string   `tfschema:"type"`
	FabricLocation          string   `tfschema:"fabric_location"`
	FailOverDirections      []string `tfschema:"fail_over_directions"`
	FailOverTypes           []string `tfschema:"fail_over_types"`
	ManualActionInstruction string   `tfschema:"manual_action_instruction"`
	Name                    string   `tfschema:"name"`
	RunbookId               string   `tfschema:"runbook_id"`
	ScriptPath              string   `tfschema:"script_path"`
}

type Backup

type Backup struct {
	Frequency          string   `tfschema:"frequency"`
	FrequencyInMinutes int64    `tfschema:"frequency_in_minutes"`
	Time               string   `tfschema:"time"`
	Weekdays           []string `tfschema:"weekdays"`
}

type BackupProtectionPolicyVMWorkloadModel

type BackupProtectionPolicyVMWorkloadModel struct {
	Name               string             `tfschema:"name"`
	ResourceGroupName  string             `tfschema:"resource_group_name"`
	RecoveryVaultName  string             `tfschema:"recovery_vault_name"`
	ProtectionPolicies []ProtectionPolicy `tfschema:"protection_policy"`
	Settings           []Settings         `tfschema:"settings"`
	WorkloadType       string             `tfschema:"workload_type"`
}

type BackupProtectionPolicyVMWorkloadResource

type BackupProtectionPolicyVMWorkloadResource struct{}

func (BackupProtectionPolicyVMWorkloadResource) Arguments

func (BackupProtectionPolicyVMWorkloadResource) Attributes

func (BackupProtectionPolicyVMWorkloadResource) Create

func (BackupProtectionPolicyVMWorkloadResource) Delete

func (BackupProtectionPolicyVMWorkloadResource) IDValidationFunc

func (BackupProtectionPolicyVMWorkloadResource) ModelObject

func (r BackupProtectionPolicyVMWorkloadResource) ModelObject() interface{}

func (BackupProtectionPolicyVMWorkloadResource) Read

func (BackupProtectionPolicyVMWorkloadResource) ResourceType

func (BackupProtectionPolicyVMWorkloadResource) Update

type BootRecoveryGroupModel

type BootRecoveryGroupModel struct {
	PostAction               []ActionModel `tfschema:"post_action"`
	PreAction                []ActionModel `tfschema:"pre_action"`
	ReplicatedProtectedItems []string      `tfschema:"replicated_protected_items"`
}

type GenericRecoveryGroupModel

type GenericRecoveryGroupModel struct {
	PostAction []ActionModel `tfschema:"post_action"`
	PreAction  []ActionModel `tfschema:"pre_action"`
}

type HyperVNetworkMappingModel

type HyperVNetworkMappingModel struct {
	Name            string `tfschema:"name"`
	VaultId         string `tfschema:"recovery_vault_id"`
	SCVMMname       string `tfschema:"source_system_center_virtual_machine_manager_name"`
	NetworkName     string `tfschema:"source_network_name"`
	TargetNetworkId string `tfschema:"target_network_id"`
}

type HyperVNetworkMappingResource

type HyperVNetworkMappingResource struct{}

func (HyperVNetworkMappingResource) Arguments

func (s HyperVNetworkMappingResource) Arguments() map[string]*schema.Schema

func (HyperVNetworkMappingResource) Attributes

func (s HyperVNetworkMappingResource) Attributes() map[string]*schema.Schema

func (HyperVNetworkMappingResource) Create

func (HyperVNetworkMappingResource) Delete

func (HyperVNetworkMappingResource) IDValidationFunc

func (HyperVNetworkMappingResource) ModelObject

func (s HyperVNetworkMappingResource) ModelObject() interface{}

func (HyperVNetworkMappingResource) Read

func (HyperVNetworkMappingResource) ResourceType

func (s HyperVNetworkMappingResource) ResourceType() string

type HyperVReplicationPolicyAssociationModel

type HyperVReplicationPolicyAssociationModel struct {
	Name     string `tfschema:"name"`
	FabricId string `tfschema:"hyperv_site_id"`
	PolicyId string `tfschema:"policy_id"`
}

type HyperVReplicationPolicyAssociationResource

type HyperVReplicationPolicyAssociationResource struct{}

func (HyperVReplicationPolicyAssociationResource) Arguments

func (HyperVReplicationPolicyAssociationResource) Attributes

func (HyperVReplicationPolicyAssociationResource) Create

func (HyperVReplicationPolicyAssociationResource) Delete

func (HyperVReplicationPolicyAssociationResource) IDValidationFunc

func (HyperVReplicationPolicyAssociationResource) ModelObject

func (h HyperVReplicationPolicyAssociationResource) ModelObject() interface{}

func (HyperVReplicationPolicyAssociationResource) Read

func (HyperVReplicationPolicyAssociationResource) ResourceType

type HyperVSiteModel

type HyperVSiteModel struct {
	Name            string `tfschema:"name"`
	RecoveryVaultId string `tfschema:"recovery_vault_id"`
}

type HyperVSiteResource

type HyperVSiteResource struct{}

func (HyperVSiteResource) Arguments

func (r HyperVSiteResource) Arguments() map[string]*schema.Schema

func (HyperVSiteResource) Attributes

func (r HyperVSiteResource) Attributes() map[string]*schema.Schema

func (HyperVSiteResource) Create

func (r HyperVSiteResource) Create() sdk.ResourceFunc

func (HyperVSiteResource) Delete

func (r HyperVSiteResource) Delete() sdk.ResourceFunc

func (HyperVSiteResource) IDValidationFunc

func (r HyperVSiteResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (HyperVSiteResource) ModelObject

func (r HyperVSiteResource) ModelObject() interface{}

func (HyperVSiteResource) Read

func (HyperVSiteResource) ResourceType

func (r HyperVSiteResource) ResourceType() string

type IncludedDiskModel

type IncludedDiskModel struct {
	DiskId                    string `tfschema:"disk_id"`
	LogStorageAccountId       string `tfschema:"log_storage_account_id"`
	TargetDiskEncryptionSetId string `tfschema:"target_disk_encryption_set_id"`
	TargetDiskType            string `tfschema:"target_disk_type"`
}

type NetworkInterfaceModel

type NetworkInterfaceModel struct {
	SourceMacAddress string `tfschema:"source_mac_address"`
	TargetStaticIp   string `tfschema:"target_static_ip"`
	TargetSubnetName string `tfschema:"target_subnet_name"`
	TestSubnetName   string `tfschema:"test_subnet_name"`
	IsPrimary        bool   `tfschema:"is_primary"`
}

type ProtectionPolicy

type ProtectionPolicy struct {
	Backup           []Backup           `tfschema:"backup"`
	PolicyType       string             `tfschema:"policy_type"`
	RetentionDaily   []RetentionDaily   `tfschema:"retention_daily"`
	RetentionWeekly  []RetentionWeekly  `tfschema:"retention_weekly"`
	RetentionMonthly []RetentionMonthly `tfschema:"retention_monthly"`
	RetentionYearly  []RetentionYearly  `tfschema:"retention_yearly"`
	SimpleRetention  []SimpleRetention  `tfschema:"simple_retention"`
}

type RecoveryGroupDataSourceModel

type RecoveryGroupDataSourceModel struct {
	GroupType                string                  `tfschema:"type"`
	PostAction               []ActionDataSourceModel `tfschema:"post_action"`
	PreAction                []ActionDataSourceModel `tfschema:"pre_action"`
	ReplicatedProtectedItems []string                `tfschema:"replicated_protected_items"`
}

type RecoveryGroupModel

type RecoveryGroupModel struct {
	GroupType                string        `tfschema:"type"`
	PostAction               []ActionModel `tfschema:"post_action"`
	PreAction                []ActionModel `tfschema:"pre_action"`
	ReplicatedProtectedItems []string      `tfschema:"replicated_protected_items"`
}

type Registration

type Registration struct{}

func (Registration) AssociatedGitHubLabel

func (r Registration) AssociatedGitHubLabel() string

func (Registration) DataSources

func (r Registration) DataSources() []sdk.DataSource

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) Resources

func (r Registration) Resources() []sdk.Resource

func (Registration) SupportedDataSources

func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*pluginsdk.Resource

SupportedResources returns the supported Resources supported by this Service

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

WebsiteCategories returns a list of categories which can be used for the sidebar

type ReplicationPolicyHyperVModel

type ReplicationPolicyHyperVModel struct {
	Name                                          string `tfschema:"name"`
	RecoveryVaultId                               string `tfschema:"recovery_vault_id"`
	RecoveryPointRetentionInHours                 int64  `tfschema:"recovery_point_retention_in_hours"`
	ApplicationConsistentSnapshotFrequencyInHours int64  `tfschema:"application_consistent_snapshot_frequency_in_hours"`
	CopyFrequency                                 int64  `tfschema:"replication_interval_in_seconds"`
}

type ReplicationPolicyHyperVResource

type ReplicationPolicyHyperVResource struct{}

func (ReplicationPolicyHyperVResource) Arguments

func (ReplicationPolicyHyperVResource) Attributes

func (ReplicationPolicyHyperVResource) Create

func (ReplicationPolicyHyperVResource) Delete

func (ReplicationPolicyHyperVResource) IDValidationFunc

func (ReplicationPolicyHyperVResource) ModelObject

func (r ReplicationPolicyHyperVResource) ModelObject() interface{}

func (ReplicationPolicyHyperVResource) Read

func (ReplicationPolicyHyperVResource) ResourceType

func (r ReplicationPolicyHyperVResource) ResourceType() string

func (ReplicationPolicyHyperVResource) Update

type ReplicationRecoveryPlanA2ASpecificInputDataSourceModel

type ReplicationRecoveryPlanA2ASpecificInputDataSourceModel struct {
	PrimaryZone      string `tfschema:"primary_zone"`
	RecoveryZone     string `tfschema:"recovery_zone"`
	PrimaryEdgeZone  string `tfschema:"primary_edge_zone"`
	RecoveryEdgeZone string `tfschema:"recovery_edge_zone"`
}

type ReplicationRecoveryPlanA2ASpecificInputModel

type ReplicationRecoveryPlanA2ASpecificInputModel struct {
	PrimaryZone      string `tfschema:"primary_zone"`
	RecoveryZone     string `tfschema:"recovery_zone"`
	PrimaryEdgeZone  string `tfschema:"primary_edge_zone"`
	RecoveryEdgeZone string `tfschema:"recovery_edge_zone"`
}

type RetentionDaily

type RetentionDaily struct {
	Count int64 `tfschema:"count"`
}

type RetentionMonthly

type RetentionMonthly struct {
	Count      int64    `tfschema:"count"`
	FormatType string   `tfschema:"format_type"`
	Monthdays  []int    `tfschema:"monthdays"`
	Weeks      []string `tfschema:"weeks"`
	Weekdays   []string `tfschema:"weekdays"`
}

type RetentionWeekly

type RetentionWeekly struct {
	Count    int64    `tfschema:"count"`
	Weekdays []string `tfschema:"weekdays"`
}

type RetentionYearly

type RetentionYearly struct {
	Count      int64    `tfschema:"count"`
	FormatType string   `tfschema:"format_type"`
	Months     []string `tfschema:"months"`
	Monthdays  []int    `tfschema:"monthdays"`
	Weeks      []string `tfschema:"weeks"`
	Weekdays   []string `tfschema:"weekdays"`
}

type Settings

type Settings struct {
	CompressionEnabled bool   `tfschema:"compression_enabled"`
	TimeZone           string `tfschema:"time_zone"`
}

type SimpleRetention

type SimpleRetention struct {
	Count int64 `tfschema:"count"`
}

type SiteRecoveryReplicatedVmVMwareModel

type SiteRecoveryReplicatedVmVMwareModel struct {
	Name                                  string                  `tfschema:"name"`
	RecoveryVaultId                       string                  `tfschema:"recovery_vault_id"`
	SourceVmName                          string                  `tfschema:"source_vm_name"`
	ApplianceName                         string                  `tfschema:"appliance_name"`
	RecoveryReplicationPolicyId           string                  `tfschema:"recovery_replication_policy_id"`
	PhysicalServerCredentialName          string                  `tfschema:"physical_server_credential_name"`
	LicenseType                           string                  `tfschema:"license_type"`
	TargetResourceGroupId                 string                  `tfschema:"target_resource_group_id"`
	TargetVmName                          string                  `tfschema:"target_vm_name"`
	MultiVmGroupName                      string                  `tfschema:"multi_vm_group_name"`
	TargetProximityPlacementGroupId       string                  `tfschema:"target_proximity_placement_group_id"`
	TargetVmSize                          string                  `tfschema:"target_vm_size"`
	TargetAvailabilitySetId               string                  `tfschema:"target_availability_set_id"`
	TargetZone                            string                  `tfschema:"target_zone"`
	TargetNetworkId                       string                  `tfschema:"target_network_id"`
	TestNetworkId                         string                  `tfschema:"test_network_id"`
	TargetBootDiagnosticsStorageAccountId string                  `tfschema:"target_boot_diagnostics_storage_account_id"`
	DiskToInclude                         []IncludedDiskModel     `tfschema:"managed_disk"`
	NetworkInterface                      []NetworkInterfaceModel `tfschema:"network_interface"`
	DefaultLogStorageAccountId            string                  `tfschema:"default_log_storage_account_id"`
	DefaultRecoveryDiskType               string                  `tfschema:"default_recovery_disk_type"`
	DefaultTargetDiskEncryptionSetId      string                  `tfschema:"default_target_disk_encryption_set_id"`
}

type SiteRecoveryReplicationPolicyVmwareAssociationModel

type SiteRecoveryReplicationPolicyVmwareAssociationModel struct {
	Name                        string `tfschema:"name"`
	RecoveryVaultId             string `tfschema:"recovery_vault_id"`
	RecoveryReplicationPolicyId string `tfschema:"policy_id"`
}

type SiteRecoveryReplicationPolicyVmwareModel

type SiteRecoveryReplicationPolicyVmwareModel struct {
	Name                                            string `tfschema:"name"`
	RecoveryVaultID                                 string `tfschema:"recovery_vault_id"`
	ApplicationConsistentSnapshotFrequencyInMinutes int64  `tfschema:"application_consistent_snapshot_frequency_in_minutes"`
	RecoveryPointRetentionInMinutes                 int64  `tfschema:"recovery_point_retention_in_minutes"`
}

type SiteRecoveryReplicationRecoveryPlanDataSource

type SiteRecoveryReplicationRecoveryPlanDataSource struct{}

func (SiteRecoveryReplicationRecoveryPlanDataSource) Arguments

func (SiteRecoveryReplicationRecoveryPlanDataSource) Attributes

func (SiteRecoveryReplicationRecoveryPlanDataSource) IDValidationFunc

func (SiteRecoveryReplicationRecoveryPlanDataSource) ModelObject

func (r SiteRecoveryReplicationRecoveryPlanDataSource) ModelObject() interface{}

func (SiteRecoveryReplicationRecoveryPlanDataSource) Read

func (SiteRecoveryReplicationRecoveryPlanDataSource) ResourceType

type SiteRecoveryReplicationRecoveryPlanDataSourceModel

type SiteRecoveryReplicationRecoveryPlanDataSourceModel struct {
	Name                   string                                                   `tfschema:"name"`
	RecoveryGroup          []RecoveryGroupDataSourceModel                           `tfschema:"recovery_group"`
	RecoveryVaultId        string                                                   `tfschema:"recovery_vault_id"`
	SourceRecoveryFabricId string                                                   `tfschema:"source_recovery_fabric_id"`
	TargetRecoveryFabricId string                                                   `tfschema:"target_recovery_fabric_id"`
	A2ASettings            []ReplicationRecoveryPlanA2ASpecificInputDataSourceModel `tfschema:"azure_to_azure_settings"`
}

type SiteRecoveryReplicationRecoveryPlanModel

type SiteRecoveryReplicationRecoveryPlanModel struct {
	Name                   string                                         `tfschema:"name"`
	ShutdownRecoveryGroup  []GenericRecoveryGroupModel                    `tfschema:"shutdown_recovery_group"`
	FailoverRecoveryGroup  []GenericRecoveryGroupModel                    `tfschema:"failover_recovery_group"`
	BootRecoveryGroup      []BootRecoveryGroupModel                       `tfschema:"boot_recovery_group"`
	RecoveryGroup          []RecoveryGroupModel                           `tfschema:"recovery_group,removedInNextMajorVersion"`
	RecoveryVaultId        string                                         `tfschema:"recovery_vault_id"`
	SourceRecoveryFabricId string                                         `tfschema:"source_recovery_fabric_id"`
	TargetRecoveryFabricId string                                         `tfschema:"target_recovery_fabric_id"`
	A2ASettings            []ReplicationRecoveryPlanA2ASpecificInputModel `tfschema:"azure_to_azure_settings"`
}

type SiteRecoveryReplicationRecoveryPlanResource

type SiteRecoveryReplicationRecoveryPlanResource struct{}

func (SiteRecoveryReplicationRecoveryPlanResource) Arguments

func (SiteRecoveryReplicationRecoveryPlanResource) Attributes

func (SiteRecoveryReplicationRecoveryPlanResource) Create

func (SiteRecoveryReplicationRecoveryPlanResource) Delete

func (SiteRecoveryReplicationRecoveryPlanResource) IDValidationFunc

func (SiteRecoveryReplicationRecoveryPlanResource) ModelObject

func (r SiteRecoveryReplicationRecoveryPlanResource) ModelObject() interface{}

func (SiteRecoveryReplicationRecoveryPlanResource) Read

func (SiteRecoveryReplicationRecoveryPlanResource) ResourceType

func (SiteRecoveryReplicationRecoveryPlanResource) Update

type VMWareReplicatedVmResource

type VMWareReplicatedVmResource struct{}

func (VMWareReplicatedVmResource) Arguments

func (VMWareReplicatedVmResource) Attributes

func (s VMWareReplicatedVmResource) Attributes() map[string]*pluginsdk.Schema

func (VMWareReplicatedVmResource) Create

func (VMWareReplicatedVmResource) CustomizeDiff

func (k VMWareReplicatedVmResource) CustomizeDiff() sdk.ResourceFunc

func (VMWareReplicatedVmResource) Delete

func (VMWareReplicatedVmResource) IDValidationFunc

func (VMWareReplicatedVmResource) ModelObject

func (s VMWareReplicatedVmResource) ModelObject() interface{}

func (VMWareReplicatedVmResource) Read

func (VMWareReplicatedVmResource) ResourceType

func (s VMWareReplicatedVmResource) ResourceType() string

func (VMWareReplicatedVmResource) Update

type VMWareReplicationPolicyAssociationResource

type VMWareReplicationPolicyAssociationResource struct{}

func (VMWareReplicationPolicyAssociationResource) Arguments

func (VMWareReplicationPolicyAssociationResource) Attributes

func (VMWareReplicationPolicyAssociationResource) Create

func (VMWareReplicationPolicyAssociationResource) Delete

func (VMWareReplicationPolicyAssociationResource) IDValidationFunc

func (VMWareReplicationPolicyAssociationResource) ModelObject

func (s VMWareReplicationPolicyAssociationResource) ModelObject() interface{}

func (VMWareReplicationPolicyAssociationResource) Read

func (VMWareReplicationPolicyAssociationResource) ResourceType

type VMWareReplicationPolicyResource

type VMWareReplicationPolicyResource struct{}

func (VMWareReplicationPolicyResource) Arguments

func (VMWareReplicationPolicyResource) Attributes

func (VMWareReplicationPolicyResource) Create

func (VMWareReplicationPolicyResource) CustomizeDiff

func (VMWareReplicationPolicyResource) Delete

func (VMWareReplicationPolicyResource) IDValidationFunc

func (VMWareReplicationPolicyResource) ModelObject

func (r VMWareReplicationPolicyResource) ModelObject() interface{}

func (VMWareReplicationPolicyResource) Read

func (VMWareReplicationPolicyResource) ResourceType

func (r VMWareReplicationPolicyResource) ResourceType() string

func (VMWareReplicationPolicyResource) Update

type VaultGuardProxyModel

type VaultGuardProxyModel struct {
	Name            string `tfschema:"name"`
	VaultId         string `tfschema:"vault_id"`
	ResourceGuardId string `tfschema:"resource_guard_id"`
}

type VaultGuardProxyResource

type VaultGuardProxyResource struct{}

func (VaultGuardProxyResource) Arguments

func (r VaultGuardProxyResource) Arguments() map[string]*schema.Schema

func (VaultGuardProxyResource) Attributes

func (r VaultGuardProxyResource) Attributes() map[string]*schema.Schema

func (VaultGuardProxyResource) Create

func (VaultGuardProxyResource) Delete

func (VaultGuardProxyResource) IDValidationFunc

func (VaultGuardProxyResource) ModelObject

func (r VaultGuardProxyResource) ModelObject() interface{}

func (VaultGuardProxyResource) Read

func (VaultGuardProxyResource) ResourceType

func (r VaultGuardProxyResource) ResourceType() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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