Documentation ¶
Index ¶
- 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
- type A2APolicyCreationInput
- type A2APolicyDetails
- type BasePolicyProviderSpecificDetailsImpl
- type BasePolicyProviderSpecificInputImpl
- type CreateOperationResponse
- type CreatePolicyInput
- type CreatePolicyInputProperties
- type DeleteOperationResponse
- type GetOperationResponse
- type HyperVReplicaAzurePolicyDetails
- type HyperVReplicaAzurePolicyInput
- type HyperVReplicaBasePolicyDetails
- type HyperVReplicaBluePolicyDetails
- type HyperVReplicaBluePolicyInput
- type HyperVReplicaPolicyDetails
- type HyperVReplicaPolicyInput
- type InMageAzureV2PolicyDetails
- type InMageAzureV2PolicyInput
- type InMageBasePolicyDetails
- type InMagePolicyDetails
- type InMagePolicyInput
- type InMageRcmFailbackPolicyCreationInput
- type InMageRcmFailbackPolicyDetails
- type InMageRcmPolicyCreationInput
- type InMageRcmPolicyDetails
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type Policy
- type PolicyOperationPredicate
- type PolicyProperties
- type PolicyProviderSpecificDetails
- type PolicyProviderSpecificInput
- type RawPolicyProviderSpecificDetailsImpl
- type RawPolicyProviderSpecificInputImpl
- type ReplicationPoliciesClient
- 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
- type SetMultiVMSyncStatus
- type UpdateOperationResponse
- type UpdatePolicyInput
- type UpdatePolicyInputProperties
- type VMwareCbtPolicyCreationInput
- type VMwareCbtPolicyDetails
- type VaultId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSetMultiVMSyncStatus ¶
func PossibleValuesForSetMultiVMSyncStatus() []string
func ValidateReplicationPolicyID ¶
ValidateReplicationPolicyID checks that 'input' can be parsed as a Replication Policy ID
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type A2ACrossClusterMigrationPolicyCreationInput ¶
type A2ACrossClusterMigrationPolicyCreationInput struct {
InstanceType string `json:"instanceType"`
}
func (A2ACrossClusterMigrationPolicyCreationInput) MarshalJSON ¶
func (s A2ACrossClusterMigrationPolicyCreationInput) MarshalJSON() ([]byte, error)
func (A2ACrossClusterMigrationPolicyCreationInput) PolicyProviderSpecificInput ¶
func (s A2ACrossClusterMigrationPolicyCreationInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type A2APolicyCreationInput ¶
type A2APolicyCreationInput struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` CrashConsistentFrequencyInMinutes *int64 `json:"crashConsistentFrequencyInMinutes,omitempty"` MultiVMSyncStatus SetMultiVMSyncStatus `json:"multiVmSyncStatus"` RecoveryPointHistory *int64 `json:"recoveryPointHistory,omitempty"` InstanceType string `json:"instanceType"` }
func (A2APolicyCreationInput) MarshalJSON ¶
func (s A2APolicyCreationInput) MarshalJSON() ([]byte, error)
func (A2APolicyCreationInput) PolicyProviderSpecificInput ¶
func (s A2APolicyCreationInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type A2APolicyDetails ¶
type A2APolicyDetails struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` CrashConsistentFrequencyInMinutes *int64 `json:"crashConsistentFrequencyInMinutes,omitempty"` MultiVMSyncStatus *string `json:"multiVmSyncStatus,omitempty"` RecoveryPointHistory *int64 `json:"recoveryPointHistory,omitempty"` RecoveryPointThresholdInMinutes *int64 `json:"recoveryPointThresholdInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (A2APolicyDetails) MarshalJSON ¶
func (s A2APolicyDetails) MarshalJSON() ([]byte, error)
func (A2APolicyDetails) PolicyProviderSpecificDetails ¶
func (s A2APolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type BasePolicyProviderSpecificDetailsImpl ¶
type BasePolicyProviderSpecificDetailsImpl struct {
InstanceType string `json:"instanceType"`
}
func (BasePolicyProviderSpecificDetailsImpl) PolicyProviderSpecificDetails ¶
func (s BasePolicyProviderSpecificDetailsImpl) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type BasePolicyProviderSpecificInputImpl ¶
type BasePolicyProviderSpecificInputImpl struct {
InstanceType string `json:"instanceType"`
}
func (BasePolicyProviderSpecificInputImpl) PolicyProviderSpecificInput ¶
func (s BasePolicyProviderSpecificInputImpl) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type CreateOperationResponse ¶
type CreatePolicyInput ¶
type CreatePolicyInput struct {
Properties *CreatePolicyInputProperties `json:"properties,omitempty"`
}
type CreatePolicyInputProperties ¶
type CreatePolicyInputProperties struct {
ProviderSpecificInput PolicyProviderSpecificInput `json:"providerSpecificInput"`
}
func (*CreatePolicyInputProperties) UnmarshalJSON ¶
func (s *CreatePolicyInputProperties) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type HyperVReplicaAzurePolicyDetails ¶
type HyperVReplicaAzurePolicyDetails struct { ActiveStorageAccountId *string `json:"activeStorageAccountId,omitempty"` ApplicationConsistentSnapshotFrequencyInHours *int64 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"` Encryption *string `json:"encryption,omitempty"` OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"` RecoveryPointHistoryDurationInHours *int64 `json:"recoveryPointHistoryDurationInHours,omitempty"` ReplicationInterval *int64 `json:"replicationInterval,omitempty"` InstanceType string `json:"instanceType"` }
func (HyperVReplicaAzurePolicyDetails) MarshalJSON ¶
func (s HyperVReplicaAzurePolicyDetails) MarshalJSON() ([]byte, error)
func (HyperVReplicaAzurePolicyDetails) PolicyProviderSpecificDetails ¶
func (s HyperVReplicaAzurePolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type HyperVReplicaAzurePolicyInput ¶
type HyperVReplicaAzurePolicyInput struct { ApplicationConsistentSnapshotFrequencyInHours *int64 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"` OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"` RecoveryPointHistoryDuration *int64 `json:"recoveryPointHistoryDuration,omitempty"` ReplicationInterval *int64 `json:"replicationInterval,omitempty"` StorageAccounts *[]string `json:"storageAccounts,omitempty"` InstanceType string `json:"instanceType"` }
func (HyperVReplicaAzurePolicyInput) MarshalJSON ¶
func (s HyperVReplicaAzurePolicyInput) MarshalJSON() ([]byte, error)
func (HyperVReplicaAzurePolicyInput) PolicyProviderSpecificInput ¶
func (s HyperVReplicaAzurePolicyInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type HyperVReplicaBasePolicyDetails ¶
type HyperVReplicaBasePolicyDetails struct { AllowedAuthenticationType *int64 `json:"allowedAuthenticationType,omitempty"` ApplicationConsistentSnapshotFrequencyInHours *int64 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"` Compression *string `json:"compression,omitempty"` InitialReplicationMethod *string `json:"initialReplicationMethod,omitempty"` OfflineReplicationExportPath *string `json:"offlineReplicationExportPath,omitempty"` OfflineReplicationImportPath *string `json:"offlineReplicationImportPath,omitempty"` OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"` RecoveryPoints *int64 `json:"recoveryPoints,omitempty"` ReplicaDeletionOption *string `json:"replicaDeletionOption,omitempty"` ReplicationPort *int64 `json:"replicationPort,omitempty"` InstanceType string `json:"instanceType"` }
func (HyperVReplicaBasePolicyDetails) MarshalJSON ¶
func (s HyperVReplicaBasePolicyDetails) MarshalJSON() ([]byte, error)
func (HyperVReplicaBasePolicyDetails) PolicyProviderSpecificDetails ¶
func (s HyperVReplicaBasePolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type HyperVReplicaBluePolicyDetails ¶
type HyperVReplicaBluePolicyDetails struct { AllowedAuthenticationType *int64 `json:"allowedAuthenticationType,omitempty"` ApplicationConsistentSnapshotFrequencyInHours *int64 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"` Compression *string `json:"compression,omitempty"` InitialReplicationMethod *string `json:"initialReplicationMethod,omitempty"` OfflineReplicationExportPath *string `json:"offlineReplicationExportPath,omitempty"` OfflineReplicationImportPath *string `json:"offlineReplicationImportPath,omitempty"` OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"` RecoveryPoints *int64 `json:"recoveryPoints,omitempty"` ReplicaDeletionOption *string `json:"replicaDeletionOption,omitempty"` ReplicationFrequencyInSeconds *int64 `json:"replicationFrequencyInSeconds,omitempty"` ReplicationPort *int64 `json:"replicationPort,omitempty"` InstanceType string `json:"instanceType"` }
func (HyperVReplicaBluePolicyDetails) MarshalJSON ¶
func (s HyperVReplicaBluePolicyDetails) MarshalJSON() ([]byte, error)
func (HyperVReplicaBluePolicyDetails) PolicyProviderSpecificDetails ¶
func (s HyperVReplicaBluePolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type HyperVReplicaBluePolicyInput ¶
type HyperVReplicaBluePolicyInput struct { ReplicationFrequencyInSeconds *int64 `json:"replicationFrequencyInSeconds,omitempty"` InstanceType string `json:"instanceType"` }
func (HyperVReplicaBluePolicyInput) MarshalJSON ¶
func (s HyperVReplicaBluePolicyInput) MarshalJSON() ([]byte, error)
func (HyperVReplicaBluePolicyInput) PolicyProviderSpecificInput ¶
func (s HyperVReplicaBluePolicyInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type HyperVReplicaPolicyDetails ¶
type HyperVReplicaPolicyDetails struct { AllowedAuthenticationType *int64 `json:"allowedAuthenticationType,omitempty"` ApplicationConsistentSnapshotFrequencyInHours *int64 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"` Compression *string `json:"compression,omitempty"` InitialReplicationMethod *string `json:"initialReplicationMethod,omitempty"` OfflineReplicationExportPath *string `json:"offlineReplicationExportPath,omitempty"` OfflineReplicationImportPath *string `json:"offlineReplicationImportPath,omitempty"` OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"` RecoveryPoints *int64 `json:"recoveryPoints,omitempty"` ReplicaDeletionOption *string `json:"replicaDeletionOption,omitempty"` ReplicationPort *int64 `json:"replicationPort,omitempty"` InstanceType string `json:"instanceType"` }
func (HyperVReplicaPolicyDetails) MarshalJSON ¶
func (s HyperVReplicaPolicyDetails) MarshalJSON() ([]byte, error)
func (HyperVReplicaPolicyDetails) PolicyProviderSpecificDetails ¶
func (s HyperVReplicaPolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type HyperVReplicaPolicyInput ¶
type HyperVReplicaPolicyInput struct { AllowedAuthenticationType *int64 `json:"allowedAuthenticationType,omitempty"` ApplicationConsistentSnapshotFrequencyInHours *int64 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"` Compression *string `json:"compression,omitempty"` InitialReplicationMethod *string `json:"initialReplicationMethod,omitempty"` OfflineReplicationExportPath *string `json:"offlineReplicationExportPath,omitempty"` OfflineReplicationImportPath *string `json:"offlineReplicationImportPath,omitempty"` OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"` RecoveryPoints *int64 `json:"recoveryPoints,omitempty"` ReplicaDeletion *string `json:"replicaDeletion,omitempty"` ReplicationPort *int64 `json:"replicationPort,omitempty"` InstanceType string `json:"instanceType"` }
func (HyperVReplicaPolicyInput) MarshalJSON ¶
func (s HyperVReplicaPolicyInput) MarshalJSON() ([]byte, error)
func (HyperVReplicaPolicyInput) PolicyProviderSpecificInput ¶
func (s HyperVReplicaPolicyInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type InMageAzureV2PolicyDetails ¶
type InMageAzureV2PolicyDetails struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` CrashConsistentFrequencyInMinutes *int64 `json:"crashConsistentFrequencyInMinutes,omitempty"` MultiVMSyncStatus *string `json:"multiVmSyncStatus,omitempty"` RecoveryPointHistory *int64 `json:"recoveryPointHistory,omitempty"` RecoveryPointThresholdInMinutes *int64 `json:"recoveryPointThresholdInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (InMageAzureV2PolicyDetails) MarshalJSON ¶
func (s InMageAzureV2PolicyDetails) MarshalJSON() ([]byte, error)
func (InMageAzureV2PolicyDetails) PolicyProviderSpecificDetails ¶
func (s InMageAzureV2PolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type InMageAzureV2PolicyInput ¶
type InMageAzureV2PolicyInput struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` CrashConsistentFrequencyInMinutes *int64 `json:"crashConsistentFrequencyInMinutes,omitempty"` MultiVMSyncStatus SetMultiVMSyncStatus `json:"multiVmSyncStatus"` RecoveryPointHistory *int64 `json:"recoveryPointHistory,omitempty"` RecoveryPointThresholdInMinutes *int64 `json:"recoveryPointThresholdInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (InMageAzureV2PolicyInput) MarshalJSON ¶
func (s InMageAzureV2PolicyInput) MarshalJSON() ([]byte, error)
func (InMageAzureV2PolicyInput) PolicyProviderSpecificInput ¶
func (s InMageAzureV2PolicyInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type InMageBasePolicyDetails ¶
type InMageBasePolicyDetails struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` MultiVMSyncStatus *string `json:"multiVmSyncStatus,omitempty"` RecoveryPointHistory *int64 `json:"recoveryPointHistory,omitempty"` RecoveryPointThresholdInMinutes *int64 `json:"recoveryPointThresholdInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (InMageBasePolicyDetails) MarshalJSON ¶
func (s InMageBasePolicyDetails) MarshalJSON() ([]byte, error)
func (InMageBasePolicyDetails) PolicyProviderSpecificDetails ¶
func (s InMageBasePolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type InMagePolicyDetails ¶
type InMagePolicyDetails struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` MultiVMSyncStatus *string `json:"multiVmSyncStatus,omitempty"` RecoveryPointHistory *int64 `json:"recoveryPointHistory,omitempty"` RecoveryPointThresholdInMinutes *int64 `json:"recoveryPointThresholdInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (InMagePolicyDetails) MarshalJSON ¶
func (s InMagePolicyDetails) MarshalJSON() ([]byte, error)
func (InMagePolicyDetails) PolicyProviderSpecificDetails ¶
func (s InMagePolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type InMagePolicyInput ¶
type InMagePolicyInput struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` MultiVMSyncStatus SetMultiVMSyncStatus `json:"multiVmSyncStatus"` RecoveryPointHistory *int64 `json:"recoveryPointHistory,omitempty"` RecoveryPointThresholdInMinutes *int64 `json:"recoveryPointThresholdInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (InMagePolicyInput) MarshalJSON ¶
func (s InMagePolicyInput) MarshalJSON() ([]byte, error)
func (InMagePolicyInput) PolicyProviderSpecificInput ¶
func (s InMagePolicyInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type InMageRcmFailbackPolicyCreationInput ¶
type InMageRcmFailbackPolicyCreationInput struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` CrashConsistentFrequencyInMinutes *int64 `json:"crashConsistentFrequencyInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (InMageRcmFailbackPolicyCreationInput) MarshalJSON ¶
func (s InMageRcmFailbackPolicyCreationInput) MarshalJSON() ([]byte, error)
func (InMageRcmFailbackPolicyCreationInput) PolicyProviderSpecificInput ¶
func (s InMageRcmFailbackPolicyCreationInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type InMageRcmFailbackPolicyDetails ¶
type InMageRcmFailbackPolicyDetails struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` CrashConsistentFrequencyInMinutes *int64 `json:"crashConsistentFrequencyInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (InMageRcmFailbackPolicyDetails) MarshalJSON ¶
func (s InMageRcmFailbackPolicyDetails) MarshalJSON() ([]byte, error)
func (InMageRcmFailbackPolicyDetails) PolicyProviderSpecificDetails ¶
func (s InMageRcmFailbackPolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type InMageRcmPolicyCreationInput ¶
type InMageRcmPolicyCreationInput struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` CrashConsistentFrequencyInMinutes *int64 `json:"crashConsistentFrequencyInMinutes,omitempty"` EnableMultiVMSync *string `json:"enableMultiVmSync,omitempty"` RecoveryPointHistoryInMinutes *int64 `json:"recoveryPointHistoryInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (InMageRcmPolicyCreationInput) MarshalJSON ¶
func (s InMageRcmPolicyCreationInput) MarshalJSON() ([]byte, error)
func (InMageRcmPolicyCreationInput) PolicyProviderSpecificInput ¶
func (s InMageRcmPolicyCreationInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type InMageRcmPolicyDetails ¶
type InMageRcmPolicyDetails struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` CrashConsistentFrequencyInMinutes *int64 `json:"crashConsistentFrequencyInMinutes,omitempty"` EnableMultiVMSync *string `json:"enableMultiVmSync,omitempty"` RecoveryPointHistoryInMinutes *int64 `json:"recoveryPointHistoryInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (InMageRcmPolicyDetails) MarshalJSON ¶
func (s InMageRcmPolicyDetails) MarshalJSON() ([]byte, error)
func (InMageRcmPolicyDetails) PolicyProviderSpecificDetails ¶
func (s InMageRcmPolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type ListCompleteResult ¶
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type Policy ¶
type Policy struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *PolicyProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PolicyOperationPredicate ¶
func (PolicyOperationPredicate) Matches ¶
func (p PolicyOperationPredicate) Matches(input Policy) bool
type PolicyProperties ¶
type PolicyProperties struct { FriendlyName *string `json:"friendlyName,omitempty"` ProviderSpecificDetails PolicyProviderSpecificDetails `json:"providerSpecificDetails"` }
func (*PolicyProperties) UnmarshalJSON ¶
func (s *PolicyProperties) UnmarshalJSON(bytes []byte) error
type PolicyProviderSpecificDetails ¶
type PolicyProviderSpecificDetails interface {
PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
}
func UnmarshalPolicyProviderSpecificDetailsImplementation ¶
func UnmarshalPolicyProviderSpecificDetailsImplementation(input []byte) (PolicyProviderSpecificDetails, error)
type PolicyProviderSpecificInput ¶
type PolicyProviderSpecificInput interface {
PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
}
func UnmarshalPolicyProviderSpecificInputImplementation ¶
func UnmarshalPolicyProviderSpecificInputImplementation(input []byte) (PolicyProviderSpecificInput, error)
type RawPolicyProviderSpecificDetailsImpl ¶
type RawPolicyProviderSpecificDetailsImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawPolicyProviderSpecificDetailsImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawPolicyProviderSpecificDetailsImpl) PolicyProviderSpecificDetails ¶
func (s RawPolicyProviderSpecificDetailsImpl) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type RawPolicyProviderSpecificInputImpl ¶
type RawPolicyProviderSpecificInputImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawPolicyProviderSpecificInputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawPolicyProviderSpecificInputImpl) PolicyProviderSpecificInput ¶
func (s RawPolicyProviderSpecificInputImpl) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type ReplicationPoliciesClient ¶
type ReplicationPoliciesClient struct {
Client *resourcemanager.Client
}
func NewReplicationPoliciesClientWithBaseURI ¶
func NewReplicationPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationPoliciesClient, error)
func (ReplicationPoliciesClient) Create ¶
func (c ReplicationPoliciesClient) Create(ctx context.Context, id ReplicationPolicyId, input CreatePolicyInput) (result CreateOperationResponse, err error)
Create ...
func (ReplicationPoliciesClient) CreateThenPoll ¶
func (c ReplicationPoliciesClient) CreateThenPoll(ctx context.Context, id ReplicationPolicyId, input CreatePolicyInput) error
CreateThenPoll performs Create then polls until it's completed
func (ReplicationPoliciesClient) Delete ¶
func (c ReplicationPoliciesClient) Delete(ctx context.Context, id ReplicationPolicyId) (result DeleteOperationResponse, err error)
Delete ...
func (ReplicationPoliciesClient) DeleteThenPoll ¶
func (c ReplicationPoliciesClient) DeleteThenPoll(ctx context.Context, id ReplicationPolicyId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ReplicationPoliciesClient) Get ¶
func (c ReplicationPoliciesClient) Get(ctx context.Context, id ReplicationPolicyId) (result GetOperationResponse, err error)
Get ...
func (ReplicationPoliciesClient) List ¶
func (c ReplicationPoliciesClient) List(ctx context.Context, id VaultId) (result ListOperationResponse, err error)
List ...
func (ReplicationPoliciesClient) ListComplete ¶
func (c ReplicationPoliciesClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ReplicationPoliciesClient) ListCompleteMatchingPredicate ¶
func (c ReplicationPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate PolicyOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ReplicationPoliciesClient) Update ¶
func (c ReplicationPoliciesClient) Update(ctx context.Context, id ReplicationPolicyId, input UpdatePolicyInput) (result UpdateOperationResponse, err error)
Update ...
func (ReplicationPoliciesClient) UpdateThenPoll ¶
func (c ReplicationPoliciesClient) UpdateThenPoll(ctx context.Context, id ReplicationPolicyId, input UpdatePolicyInput) error
UpdateThenPoll performs Update then polls until it's completed
type ReplicationPolicyId ¶
type ReplicationPolicyId struct { SubscriptionId string ResourceGroupName string VaultName string ReplicationPolicyName string }
ReplicationPolicyId is a struct representing the Resource ID for a Replication Policy
func NewReplicationPolicyID ¶
func NewReplicationPolicyID(subscriptionId string, resourceGroupName string, vaultName string, replicationPolicyName string) ReplicationPolicyId
NewReplicationPolicyID returns a new ReplicationPolicyId struct
func ParseReplicationPolicyID ¶
func ParseReplicationPolicyID(input string) (*ReplicationPolicyId, error)
ParseReplicationPolicyID parses 'input' into a ReplicationPolicyId
func ParseReplicationPolicyIDInsensitively ¶
func ParseReplicationPolicyIDInsensitively(input string) (*ReplicationPolicyId, error)
ParseReplicationPolicyIDInsensitively parses 'input' case-insensitively into a ReplicationPolicyId note: this method should only be used for API response data and not user input
func (*ReplicationPolicyId) FromParseResult ¶
func (id *ReplicationPolicyId) FromParseResult(input resourceids.ParseResult) error
func (ReplicationPolicyId) ID ¶
func (id ReplicationPolicyId) ID() string
ID returns the formatted Replication Policy ID
func (ReplicationPolicyId) Segments ¶
func (id ReplicationPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Policy ID
func (ReplicationPolicyId) String ¶
func (id ReplicationPolicyId) String() string
String returns a human-readable description of this Replication Policy ID
type SetMultiVMSyncStatus ¶
type SetMultiVMSyncStatus string
const ( SetMultiVMSyncStatusDisable SetMultiVMSyncStatus = "Disable" SetMultiVMSyncStatusEnable SetMultiVMSyncStatus = "Enable" )
func (*SetMultiVMSyncStatus) UnmarshalJSON ¶
func (s *SetMultiVMSyncStatus) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdatePolicyInput ¶
type UpdatePolicyInput struct {
Properties *UpdatePolicyInputProperties `json:"properties,omitempty"`
}
type UpdatePolicyInputProperties ¶
type UpdatePolicyInputProperties struct {
ReplicationProviderSettings PolicyProviderSpecificInput `json:"replicationProviderSettings"`
}
func (*UpdatePolicyInputProperties) UnmarshalJSON ¶
func (s *UpdatePolicyInputProperties) UnmarshalJSON(bytes []byte) error
type VMwareCbtPolicyCreationInput ¶
type VMwareCbtPolicyCreationInput struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` CrashConsistentFrequencyInMinutes *int64 `json:"crashConsistentFrequencyInMinutes,omitempty"` RecoveryPointHistoryInMinutes *int64 `json:"recoveryPointHistoryInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (VMwareCbtPolicyCreationInput) MarshalJSON ¶
func (s VMwareCbtPolicyCreationInput) MarshalJSON() ([]byte, error)
func (VMwareCbtPolicyCreationInput) PolicyProviderSpecificInput ¶
func (s VMwareCbtPolicyCreationInput) PolicyProviderSpecificInput() BasePolicyProviderSpecificInputImpl
type VMwareCbtPolicyDetails ¶
type VMwareCbtPolicyDetails struct { AppConsistentFrequencyInMinutes *int64 `json:"appConsistentFrequencyInMinutes,omitempty"` CrashConsistentFrequencyInMinutes *int64 `json:"crashConsistentFrequencyInMinutes,omitempty"` RecoveryPointHistoryInMinutes *int64 `json:"recoveryPointHistoryInMinutes,omitempty"` InstanceType string `json:"instanceType"` }
func (VMwareCbtPolicyDetails) MarshalJSON ¶
func (s VMwareCbtPolicyDetails) MarshalJSON() ([]byte, error)
func (VMwareCbtPolicyDetails) PolicyProviderSpecificDetails ¶
func (s VMwareCbtPolicyDetails) PolicyProviderSpecificDetails() BasePolicyProviderSpecificDetailsImpl
type VaultId ¶
VaultId is a struct representing the Resource ID for a Vault
func NewVaultID ¶
NewVaultID returns a new VaultId struct
func ParseVaultID ¶
ParseVaultID parses 'input' into a VaultId
func ParseVaultIDInsensitively ¶
ParseVaultIDInsensitively parses 'input' case-insensitively into a VaultId note: this method should only be used for API response data and not user input
func (*VaultId) FromParseResult ¶
func (id *VaultId) FromParseResult(input resourceids.ParseResult) error
func (VaultId) Segments ¶
func (id VaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vault ID
Source Files ¶
- client.go
- constants.go
- id_replicationpolicy.go
- id_vault.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_a2acrossclustermigrationpolicycreationinput.go
- model_a2apolicycreationinput.go
- model_a2apolicydetails.go
- model_createpolicyinput.go
- model_createpolicyinputproperties.go
- model_hypervreplicaazurepolicydetails.go
- model_hypervreplicaazurepolicyinput.go
- model_hypervreplicabasepolicydetails.go
- model_hypervreplicabluepolicydetails.go
- model_hypervreplicabluepolicyinput.go
- model_hypervreplicapolicydetails.go
- model_hypervreplicapolicyinput.go
- model_inmageazurev2policydetails.go
- model_inmageazurev2policyinput.go
- model_inmagebasepolicydetails.go
- model_inmagepolicydetails.go
- model_inmagepolicyinput.go
- model_inmagercmfailbackpolicycreationinput.go
- model_inmagercmfailbackpolicydetails.go
- model_inmagercmpolicycreationinput.go
- model_inmagercmpolicydetails.go
- model_policy.go
- model_policyproperties.go
- model_policyproviderspecificdetails.go
- model_policyproviderspecificinput.go
- model_updatepolicyinput.go
- model_updatepolicyinputproperties.go
- model_vmwarecbtpolicycreationinput.go
- model_vmwarecbtpolicydetails.go
- predicates.go
- version.go