Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForSetMultiVMSyncStatus() []string + func ValidateReplicationPolicyID(input interface{}, key string) (warnings []string, errors []error) + func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error) + type A2ACrossClusterMigrationPolicyCreationInput struct + InstanceType string + func (s A2ACrossClusterMigrationPolicyCreationInput) MarshalJSON() ([]byte, error) + func (s A2ACrossClusterMigrationPolicyCreationInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type A2APolicyCreationInput struct + AppConsistentFrequencyInMinutes *int64 + CrashConsistentFrequencyInMinutes *int64 + InstanceType string + MultiVMSyncStatus SetMultiVMSyncStatus + RecoveryPointHistory *int64 + func (s A2APolicyCreationInput) MarshalJSON() ([]byte, error) + func (s A2APolicyCreationInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type A2APolicyDetails struct + AppConsistentFrequencyInMinutes *int64 + CrashConsistentFrequencyInMinutes *int64 + InstanceType string + MultiVMSyncStatus *string + RecoveryPointHistory *int64 + RecoveryPointThresholdInMinutes *int64 + func (s A2APolicyDetails) MarshalJSON() ([]byte, error) + func (s A2APolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type BasePolicyProviderSpecificDetailsImpl struct + InstanceType string + func (s BasePolicyProviderSpecificDetailsImpl) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type BasePolicyProviderSpecificInputImpl struct + InstanceType string + func (s BasePolicyProviderSpecificInputImpl) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type CreateOperationResponse struct + HttpResponse *http.Response + Model *Policy + OData *odata.OData + Poller pollers.Poller + type CreatePolicyInput struct + Properties *CreatePolicyInputProperties + type CreatePolicyInputProperties struct + ProviderSpecificInput PolicyProviderSpecificInput + func (s *CreatePolicyInputProperties) UnmarshalJSON(bytes []byte) error + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model *Policy + OData *odata.OData + type HyperVReplicaAzurePolicyDetails struct + ActiveStorageAccountId *string + ApplicationConsistentSnapshotFrequencyInHours *int64 + Encryption *string + InstanceType string + OnlineReplicationStartTime *string + RecoveryPointHistoryDurationInHours *int64 + ReplicationInterval *int64 + func (s HyperVReplicaAzurePolicyDetails) MarshalJSON() ([]byte, error) + func (s HyperVReplicaAzurePolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type HyperVReplicaAzurePolicyInput struct + ApplicationConsistentSnapshotFrequencyInHours *int64 + InstanceType string + OnlineReplicationStartTime *string + RecoveryPointHistoryDuration *int64 + ReplicationInterval *int64 + StorageAccounts *[]string + func (s HyperVReplicaAzurePolicyInput) MarshalJSON() ([]byte, error) + func (s HyperVReplicaAzurePolicyInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type HyperVReplicaBasePolicyDetails struct + AllowedAuthenticationType *int64 + ApplicationConsistentSnapshotFrequencyInHours *int64 + Compression *string + InitialReplicationMethod *string + InstanceType string + OfflineReplicationExportPath *string + OfflineReplicationImportPath *string + OnlineReplicationStartTime *string + RecoveryPoints *int64 + ReplicaDeletionOption *string + ReplicationPort *int64 + func (s HyperVReplicaBasePolicyDetails) MarshalJSON() ([]byte, error) + func (s HyperVReplicaBasePolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type HyperVReplicaBluePolicyDetails struct + AllowedAuthenticationType *int64 + ApplicationConsistentSnapshotFrequencyInHours *int64 + Compression *string + InitialReplicationMethod *string + InstanceType string + OfflineReplicationExportPath *string + OfflineReplicationImportPath *string + OnlineReplicationStartTime *string + RecoveryPoints *int64 + ReplicaDeletionOption *string + ReplicationFrequencyInSeconds *int64 + ReplicationPort *int64 + func (s HyperVReplicaBluePolicyDetails) MarshalJSON() ([]byte, error) + func (s HyperVReplicaBluePolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type HyperVReplicaBluePolicyInput struct + InstanceType string + ReplicationFrequencyInSeconds *int64 + func (s HyperVReplicaBluePolicyInput) MarshalJSON() ([]byte, error) + func (s HyperVReplicaBluePolicyInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type HyperVReplicaPolicyDetails struct + AllowedAuthenticationType *int64 + ApplicationConsistentSnapshotFrequencyInHours *int64 + Compression *string + InitialReplicationMethod *string + InstanceType string + OfflineReplicationExportPath *string + OfflineReplicationImportPath *string + OnlineReplicationStartTime *string + RecoveryPoints *int64 + ReplicaDeletionOption *string + ReplicationPort *int64 + func (s HyperVReplicaPolicyDetails) MarshalJSON() ([]byte, error) + func (s HyperVReplicaPolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type HyperVReplicaPolicyInput struct + AllowedAuthenticationType *int64 + ApplicationConsistentSnapshotFrequencyInHours *int64 + Compression *string + InitialReplicationMethod *string + InstanceType string + OfflineReplicationExportPath *string + OfflineReplicationImportPath *string + OnlineReplicationStartTime *string + RecoveryPoints *int64 + ReplicaDeletion *string + ReplicationPort *int64 + func (s HyperVReplicaPolicyInput) MarshalJSON() ([]byte, error) + func (s HyperVReplicaPolicyInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type InMageAzureV2PolicyDetails struct + AppConsistentFrequencyInMinutes *int64 + CrashConsistentFrequencyInMinutes *int64 + InstanceType string + MultiVMSyncStatus *string + RecoveryPointHistory *int64 + RecoveryPointThresholdInMinutes *int64 + func (s InMageAzureV2PolicyDetails) MarshalJSON() ([]byte, error) + func (s InMageAzureV2PolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type InMageAzureV2PolicyInput struct + AppConsistentFrequencyInMinutes *int64 + CrashConsistentFrequencyInMinutes *int64 + InstanceType string + MultiVMSyncStatus SetMultiVMSyncStatus + RecoveryPointHistory *int64 + RecoveryPointThresholdInMinutes *int64 + func (s InMageAzureV2PolicyInput) MarshalJSON() ([]byte, error) + func (s InMageAzureV2PolicyInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type InMageBasePolicyDetails struct + AppConsistentFrequencyInMinutes *int64 + InstanceType string + MultiVMSyncStatus *string + RecoveryPointHistory *int64 + RecoveryPointThresholdInMinutes *int64 + func (s InMageBasePolicyDetails) MarshalJSON() ([]byte, error) + func (s InMageBasePolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type InMagePolicyDetails struct + AppConsistentFrequencyInMinutes *int64 + InstanceType string + MultiVMSyncStatus *string + RecoveryPointHistory *int64 + RecoveryPointThresholdInMinutes *int64 + func (s InMagePolicyDetails) MarshalJSON() ([]byte, error) + func (s InMagePolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type InMagePolicyInput struct + AppConsistentFrequencyInMinutes *int64 + InstanceType string + MultiVMSyncStatus SetMultiVMSyncStatus + RecoveryPointHistory *int64 + RecoveryPointThresholdInMinutes *int64 + func (s InMagePolicyInput) MarshalJSON() ([]byte, error) + func (s InMagePolicyInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type InMageRcmFailbackPolicyCreationInput struct + AppConsistentFrequencyInMinutes *int64 + CrashConsistentFrequencyInMinutes *int64 + InstanceType string + func (s InMageRcmFailbackPolicyCreationInput) MarshalJSON() ([]byte, error) + func (s InMageRcmFailbackPolicyCreationInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type InMageRcmFailbackPolicyDetails struct + AppConsistentFrequencyInMinutes *int64 + CrashConsistentFrequencyInMinutes *int64 + InstanceType string + func (s InMageRcmFailbackPolicyDetails) MarshalJSON() ([]byte, error) + func (s InMageRcmFailbackPolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type InMageRcmPolicyCreationInput struct + AppConsistentFrequencyInMinutes *int64 + CrashConsistentFrequencyInMinutes *int64 + EnableMultiVMSync *string + InstanceType string + RecoveryPointHistoryInMinutes *int64 + func (s InMageRcmPolicyCreationInput) MarshalJSON() ([]byte, error) + func (s InMageRcmPolicyCreationInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type InMageRcmPolicyDetails struct + AppConsistentFrequencyInMinutes *int64 + CrashConsistentFrequencyInMinutes *int64 + EnableMultiVMSync *string + InstanceType string + RecoveryPointHistoryInMinutes *int64 + func (s InMageRcmPolicyDetails) MarshalJSON() ([]byte, error) + func (s InMageRcmPolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type ListCompleteResult struct + Items []Policy + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]Policy + OData *odata.OData + type Policy struct + Id *string + Location *string + Name *string + Properties *PolicyProperties + Type *string + type PolicyOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p PolicyOperationPredicate) Matches(input Policy) bool + type PolicyProperties struct + FriendlyName *string + ProviderSpecificDetails PolicyProviderSpecificDetails + func (s *PolicyProperties) UnmarshalJSON(bytes []byte) error + type PolicyProviderSpecificDetails interface + PolicyProviderSpecificDetails func() BasePolicyProviderSpecificDetailsImpl + func UnmarshalPolicyProviderSpecificDetailsImplementation(input []byte) (PolicyProviderSpecificDetails, error) + type PolicyProviderSpecificInput interface + PolicyProviderSpecificInput func() BasePolicyProviderSpecificInputImpl + func UnmarshalPolicyProviderSpecificInputImplementation(input []byte) (PolicyProviderSpecificInput, error) + type RawPolicyProviderSpecificDetailsImpl struct + Type string + Values map[string]interface{} + func (s RawPolicyProviderSpecificDetailsImpl) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type RawPolicyProviderSpecificInputImpl struct + Type string + Values map[string]interface{} + func (s RawPolicyProviderSpecificInputImpl) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type ReplicationPoliciesClient struct + Client *resourcemanager.Client + func NewReplicationPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationPoliciesClient, error) + func (c ReplicationPoliciesClient) Create(ctx context.Context, id ReplicationPolicyId, input CreatePolicyInput) (result CreateOperationResponse, err error) + func (c ReplicationPoliciesClient) CreateThenPoll(ctx context.Context, id ReplicationPolicyId, input CreatePolicyInput) error + func (c ReplicationPoliciesClient) Delete(ctx context.Context, id ReplicationPolicyId) (result DeleteOperationResponse, err error) + func (c ReplicationPoliciesClient) DeleteThenPoll(ctx context.Context, id ReplicationPolicyId) error + func (c ReplicationPoliciesClient) Get(ctx context.Context, id ReplicationPolicyId) (result GetOperationResponse, err error) + func (c ReplicationPoliciesClient) List(ctx context.Context, id VaultId) (result ListOperationResponse, err error) + func (c ReplicationPoliciesClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error) + func (c ReplicationPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate PolicyOperationPredicate) (result ListCompleteResult, err error) + func (c ReplicationPoliciesClient) Update(ctx context.Context, id ReplicationPolicyId, input UpdatePolicyInput) (result UpdateOperationResponse, err error) + func (c ReplicationPoliciesClient) UpdateThenPoll(ctx context.Context, id ReplicationPolicyId, input UpdatePolicyInput) error + type ReplicationPolicyId struct + ReplicationPolicyName string + ResourceGroupName string + SubscriptionId string + VaultName string + func NewReplicationPolicyID(subscriptionId string, resourceGroupName string, vaultName string, ...) ReplicationPolicyId + func ParseReplicationPolicyID(input string) (*ReplicationPolicyId, error) + func ParseReplicationPolicyIDInsensitively(input string) (*ReplicationPolicyId, error) + func (id *ReplicationPolicyId) FromParseResult(input resourceids.ParseResult) error + func (id ReplicationPolicyId) ID() string + func (id ReplicationPolicyId) Segments() []resourceids.Segment + func (id ReplicationPolicyId) String() string + type SetMultiVMSyncStatus string + const SetMultiVMSyncStatusDisable + const SetMultiVMSyncStatusEnable + func (s *SetMultiVMSyncStatus) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Policy + OData *odata.OData + Poller pollers.Poller + type UpdatePolicyInput struct + Properties *UpdatePolicyInputProperties + type UpdatePolicyInputProperties struct + ReplicationProviderSettings PolicyProviderSpecificInput + func (s *UpdatePolicyInputProperties) UnmarshalJSON(bytes []byte) error + type VMwareCbtPolicyCreationInput struct + AppConsistentFrequencyInMinutes *int64 + CrashConsistentFrequencyInMinutes *int64 + InstanceType string + RecoveryPointHistoryInMinutes *int64 + func (s VMwareCbtPolicyCreationInput) MarshalJSON() ([]byte, error) + func (s VMwareCbtPolicyCreationInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl + type VMwareCbtPolicyDetails struct + AppConsistentFrequencyInMinutes *int64 + CrashConsistentFrequencyInMinutes *int64 + InstanceType string + RecoveryPointHistoryInMinutes *int64 + func (s VMwareCbtPolicyDetails) MarshalJSON() ([]byte, error) + func (s VMwareCbtPolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl + type VaultId struct + ResourceGroupName string + SubscriptionId string + VaultName string + func NewVaultID(subscriptionId string, resourceGroupName string, vaultName string) VaultId + func ParseVaultID(input string) (*VaultId, error) + func ParseVaultIDInsensitively(input string) (*VaultId, error) + func (id *VaultId) FromParseResult(input resourceids.ParseResult) error + func (id VaultId) ID() string + func (id VaultId) Segments() []resourceids.Segment + func (id VaultId) String() string