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 PossibleValuesForAutoProtectionOfDataDisk() []string + func PossibleValuesForFailoverDirection() []string + func PossibleValuesForHealthErrorCustomerResolvability() []string + func PossibleValuesForMultiVMGroupCreateOption() []string + func ValidateReplicationProtectionClusterID(input interface{}, key string) (warnings []string, errors []error) + func ValidateReplicationProtectionContainerID(input interface{}, key string) (warnings []string, errors []error) + func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error) + type A2AApplyClusterRecoveryPointInput struct + InstanceType string + func (s A2AApplyClusterRecoveryPointInput) ApplyClusterRecoveryPointProviderSpecificInput() BaseApplyClusterRecoveryPointProviderSpecificInputImpl + func (s A2AApplyClusterRecoveryPointInput) MarshalJSON() ([]byte, error) + type A2AClusterTestFailoverInput struct + ClusterRecoveryPointId *string + IndividualNodeRecoveryPoints *[]string + InstanceType string + func (s A2AClusterTestFailoverInput) ClusterTestFailoverProviderSpecificInput() BaseClusterTestFailoverProviderSpecificInputImpl + func (s A2AClusterTestFailoverInput) MarshalJSON() ([]byte, error) + type A2AClusterUnplannedFailoverInput struct + ClusterRecoveryPointId *string + IndividualNodeRecoveryPoints *[]string + InstanceType string + func (s A2AClusterUnplannedFailoverInput) ClusterUnplannedFailoverProviderSpecificInput() BaseClusterUnplannedFailoverProviderSpecificInputImpl + func (s A2AClusterUnplannedFailoverInput) MarshalJSON() ([]byte, error) + type A2AProtectedManagedDiskDetails struct + AllowedDiskLevelOperation *[]string + DataPendingAtSourceAgentInMB *float64 + DataPendingInStagingStorageAccountInMB *float64 + DekKeyVaultArmId *string + DiskCapacityInBytes *int64 + DiskId *string + DiskName *string + DiskState *string + DiskType *string + FailoverDiskName *string + IsDiskEncrypted *bool + IsDiskKeyEncrypted *bool + KekKeyVaultArmId *string + KeyIdentifier *string + MonitoringJobType *string + MonitoringPercentageCompletion *int64 + PrimaryDiskEncryptionSetId *string + PrimaryStagingAzureStorageAccountId *string + RecoveryDiskEncryptionSetId *string + RecoveryOrignalTargetDiskId *string + RecoveryReplicaDiskAccountType *string + RecoveryReplicaDiskId *string + RecoveryResourceGroupId *string + RecoveryTargetDiskAccountType *string + RecoveryTargetDiskId *string + ResyncRequired *bool + SecretIdentifier *string + TfoDiskName *string + type A2AReplicationProtectionClusterDetails struct + ClusterManagementId *string + FailoverRecoveryPointId *string + InitialPrimaryExtendedLocation *edgezones.Model + InitialPrimaryFabricLocation *string + InitialPrimaryZone *string + InitialRecoveryExtendedLocation *edgezones.Model + InitialRecoveryFabricLocation *string + InitialRecoveryZone *string + InstanceType string + LastRpoCalculatedTime *string + LifecycleId *string + MultiVMGroupCreateOption *MultiVMGroupCreateOption + MultiVMGroupId *string + MultiVMGroupName *string + PrimaryAvailabilityZone *string + PrimaryExtendedLocation *edgezones.Model + PrimaryFabricLocation *string + RecoveryAvailabilityZone *string + RecoveryExtendedLocation *edgezones.Model + RecoveryFabricLocation *string + RpoInSeconds *int64 + func (s A2AReplicationProtectionClusterDetails) MarshalJSON() ([]byte, error) + func (s A2AReplicationProtectionClusterDetails) ReplicationClusterProviderSpecificSettings() BaseReplicationClusterProviderSpecificSettingsImpl + type A2ASharedDiskIRErrorDetails struct + ErrorCode *string + ErrorCodeEnum *string + ErrorMessage *string + PossibleCauses *string + RecommendedAction *string + type A2ASharedDiskReplicationDetails struct + FailoverRecoveryPointId *string + InstanceType string + LastRpoCalculatedTime *string + ManagementId *string + MonitoringJobType *string + MonitoringPercentageCompletion *int64 + PrimaryFabricLocation *string + ProtectedManagedDisks *[]A2AProtectedManagedDiskDetails + RecoveryFabricLocation *string + RpoInSeconds *int64 + SharedDiskIRErrors *[]A2ASharedDiskIRErrorDetails + UnprotectedDisks *[]A2AUnprotectedDiskDetails + func (s A2ASharedDiskReplicationDetails) MarshalJSON() ([]byte, error) + func (s A2ASharedDiskReplicationDetails) SharedDiskReplicationProviderSpecificSettings() BaseSharedDiskReplicationProviderSpecificSettingsImpl + type A2AUnprotectedDiskDetails struct + DiskAutoProtectionStatus *AutoProtectionOfDataDisk + DiskLunId *int64 + type ApplyClusterRecoveryPointInput struct + Properties ApplyClusterRecoveryPointInputProperties + type ApplyClusterRecoveryPointInputProperties struct + ClusterRecoveryPointId *string + IndividualNodeRecoveryPoints *[]string + ProviderSpecificDetails ApplyClusterRecoveryPointProviderSpecificInput + func (s *ApplyClusterRecoveryPointInputProperties) UnmarshalJSON(bytes []byte) error + type ApplyClusterRecoveryPointProviderSpecificInput interface + ApplyClusterRecoveryPointProviderSpecificInput func() BaseApplyClusterRecoveryPointProviderSpecificInputImpl + func UnmarshalApplyClusterRecoveryPointProviderSpecificInputImplementation(input []byte) (ApplyClusterRecoveryPointProviderSpecificInput, error) + type ApplyRecoveryPointOperationResponse struct + HttpResponse *http.Response + Model *ReplicationProtectionCluster + OData *odata.OData + Poller pollers.Poller + type AutoProtectionOfDataDisk string + const AutoProtectionOfDataDiskDisabled + const AutoProtectionOfDataDiskEnabled + func (s *AutoProtectionOfDataDisk) UnmarshalJSON(bytes []byte) error + type BaseApplyClusterRecoveryPointProviderSpecificInputImpl struct + InstanceType string + func (s BaseApplyClusterRecoveryPointProviderSpecificInputImpl) ApplyClusterRecoveryPointProviderSpecificInput() BaseApplyClusterRecoveryPointProviderSpecificInputImpl + type BaseClusterTestFailoverProviderSpecificInputImpl struct + InstanceType string + func (s BaseClusterTestFailoverProviderSpecificInputImpl) ClusterTestFailoverProviderSpecificInput() BaseClusterTestFailoverProviderSpecificInputImpl + type BaseClusterUnplannedFailoverProviderSpecificInputImpl struct + InstanceType string + func (s BaseClusterUnplannedFailoverProviderSpecificInputImpl) ClusterUnplannedFailoverProviderSpecificInput() BaseClusterUnplannedFailoverProviderSpecificInputImpl + type BaseReplicationClusterProviderSpecificSettingsImpl struct + InstanceType string + func (s BaseReplicationClusterProviderSpecificSettingsImpl) ReplicationClusterProviderSpecificSettings() BaseReplicationClusterProviderSpecificSettingsImpl + type BaseSharedDiskReplicationProviderSpecificSettingsImpl struct + InstanceType string + func (s BaseSharedDiskReplicationProviderSpecificSettingsImpl) SharedDiskReplicationProviderSpecificSettings() BaseSharedDiskReplicationProviderSpecificSettingsImpl + type ClusterTestFailoverCleanupInput struct + Properties ClusterTestFailoverCleanupInputProperties + type ClusterTestFailoverCleanupInputProperties struct + Comments *string + type ClusterTestFailoverInput struct + Properties ClusterTestFailoverInputProperties + type ClusterTestFailoverInputProperties struct + FailoverDirection *FailoverDirection + NetworkId *string + NetworkType *string + ProviderSpecificDetails ClusterTestFailoverProviderSpecificInput + func (s *ClusterTestFailoverInputProperties) UnmarshalJSON(bytes []byte) error + type ClusterTestFailoverProviderSpecificInput interface + ClusterTestFailoverProviderSpecificInput func() BaseClusterTestFailoverProviderSpecificInputImpl + func UnmarshalClusterTestFailoverProviderSpecificInputImplementation(input []byte) (ClusterTestFailoverProviderSpecificInput, error) + type ClusterUnplannedFailoverInput struct + Properties ClusterUnplannedFailoverInputProperties + type ClusterUnplannedFailoverInputProperties struct + FailoverDirection *string + ProviderSpecificDetails ClusterUnplannedFailoverProviderSpecificInput + SourceSiteOperations *string + func (s *ClusterUnplannedFailoverInputProperties) UnmarshalJSON(bytes []byte) error + type ClusterUnplannedFailoverProviderSpecificInput interface + ClusterUnplannedFailoverProviderSpecificInput func() BaseClusterUnplannedFailoverProviderSpecificInputImpl + func UnmarshalClusterUnplannedFailoverProviderSpecificInputImplementation(input []byte) (ClusterUnplannedFailoverProviderSpecificInput, error) + type CreateOperationResponse struct + HttpResponse *http.Response + Model *ReplicationProtectionCluster + OData *odata.OData + Poller pollers.Poller + type CurrentScenarioDetails struct + JobId *string + ScenarioName *string + StartTime *string + func (o *CurrentScenarioDetails) GetStartTimeAsTime() (*time.Time, error) + func (o *CurrentScenarioDetails) SetStartTimeAsTime(input time.Time) + type FailoverCommitOperationResponse struct + HttpResponse *http.Response + Model *ReplicationProtectionCluster + OData *odata.OData + Poller pollers.Poller + type FailoverDirection string + const FailoverDirectionPrimaryToRecovery + const FailoverDirectionRecoveryToPrimary + func (s *FailoverDirection) UnmarshalJSON(bytes []byte) error + type GetOperationResponse struct + HttpResponse *http.Response + Model *ReplicationProtectionCluster + OData *odata.OData + type HealthError struct + CreationTimeUtc *string + CustomerResolvability *HealthErrorCustomerResolvability + EntityId *string + ErrorCategory *string + ErrorCode *string + ErrorId *string + ErrorLevel *string + ErrorMessage *string + ErrorSource *string + ErrorType *string + InnerHealthErrors *[]InnerHealthError + PossibleCauses *string + RecommendedAction *string + RecoveryProviderErrorMessage *string + SummaryMessage *string + func (o *HealthError) GetCreationTimeUtcAsTime() (*time.Time, error) + func (o *HealthError) SetCreationTimeUtcAsTime(input time.Time) + type HealthErrorCustomerResolvability string + const HealthErrorCustomerResolvabilityAllowed + const HealthErrorCustomerResolvabilityNotAllowed + func (s *HealthErrorCustomerResolvability) UnmarshalJSON(bytes []byte) error + type InnerHealthError struct + CreationTimeUtc *string + CustomerResolvability *HealthErrorCustomerResolvability + EntityId *string + ErrorCategory *string + ErrorCode *string + ErrorId *string + ErrorLevel *string + ErrorMessage *string + ErrorSource *string + ErrorType *string + PossibleCauses *string + RecommendedAction *string + RecoveryProviderErrorMessage *string + SummaryMessage *string + func (o *InnerHealthError) GetCreationTimeUtcAsTime() (*time.Time, error) + func (o *InnerHealthError) SetCreationTimeUtcAsTime(input time.Time) + type ListByReplicationProtectionContainersCompleteResult struct + Items []ReplicationProtectionCluster + LatestHttpResponse *http.Response + type ListByReplicationProtectionContainersCustomPager struct + NextLink *odata.Link + func (p *ListByReplicationProtectionContainersCustomPager) NextPageLink() *odata.Link + type ListByReplicationProtectionContainersOperationResponse struct + HttpResponse *http.Response + Model *[]ReplicationProtectionCluster + OData *odata.OData + type ListCompleteResult struct + Items []ReplicationProtectionCluster + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationOptions struct + Filter *string + SkipToken *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]ReplicationProtectionCluster + OData *odata.OData + type MultiVMGroupCreateOption string + const MultiVMGroupCreateOptionAutoCreated + const MultiVMGroupCreateOptionUserSpecified + func (s *MultiVMGroupCreateOption) UnmarshalJSON(bytes []byte) error + type PurgeOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type RawApplyClusterRecoveryPointProviderSpecificInputImpl struct + Type string + Values map[string]interface{} + func (s RawApplyClusterRecoveryPointProviderSpecificInputImpl) ApplyClusterRecoveryPointProviderSpecificInput() BaseApplyClusterRecoveryPointProviderSpecificInputImpl + type RawClusterTestFailoverProviderSpecificInputImpl struct + Type string + Values map[string]interface{} + func (s RawClusterTestFailoverProviderSpecificInputImpl) ClusterTestFailoverProviderSpecificInput() BaseClusterTestFailoverProviderSpecificInputImpl + type RawClusterUnplannedFailoverProviderSpecificInputImpl struct + Type string + Values map[string]interface{} + func (s RawClusterUnplannedFailoverProviderSpecificInputImpl) ClusterUnplannedFailoverProviderSpecificInput() BaseClusterUnplannedFailoverProviderSpecificInputImpl + type RawReplicationClusterProviderSpecificSettingsImpl struct + Type string + Values map[string]interface{} + func (s RawReplicationClusterProviderSpecificSettingsImpl) ReplicationClusterProviderSpecificSettings() BaseReplicationClusterProviderSpecificSettingsImpl + type RawSharedDiskReplicationProviderSpecificSettingsImpl struct + Type string + Values map[string]interface{} + func (s RawSharedDiskReplicationProviderSpecificSettingsImpl) SharedDiskReplicationProviderSpecificSettings() BaseSharedDiskReplicationProviderSpecificSettingsImpl + type RegisteredClusterNodes struct + BiosId *string + ClusterNodeFqdn *string + IsSharedDiskVirtualNode *bool + MachineId *string + type RepairReplicationOperationResponse struct + HttpResponse *http.Response + Model *ReplicationProtectionCluster + OData *odata.OData + Poller pollers.Poller + type ReplicationClusterProviderSpecificSettings interface + ReplicationClusterProviderSpecificSettings func() BaseReplicationClusterProviderSpecificSettingsImpl + func UnmarshalReplicationClusterProviderSpecificSettingsImplementation(input []byte) (ReplicationClusterProviderSpecificSettings, error) + type ReplicationProtectionCluster struct + Id *string + Name *string + Properties *ReplicationProtectionClusterProperties + Type *string + type ReplicationProtectionClusterId struct + ReplicationFabricName string + ReplicationProtectionClusterName string + ReplicationProtectionContainerName string + ResourceGroupName string + SubscriptionId string + VaultName string + func NewReplicationProtectionClusterID(subscriptionId string, resourceGroupName string, vaultName string, ...) ReplicationProtectionClusterId + func ParseReplicationProtectionClusterID(input string) (*ReplicationProtectionClusterId, error) + func ParseReplicationProtectionClusterIDInsensitively(input string) (*ReplicationProtectionClusterId, error) + func (id *ReplicationProtectionClusterId) FromParseResult(input resourceids.ParseResult) error + func (id ReplicationProtectionClusterId) ID() string + func (id ReplicationProtectionClusterId) Segments() []resourceids.Segment + func (id ReplicationProtectionClusterId) String() string + type ReplicationProtectionClusterOperationPredicate struct + Id *string + Name *string + Type *string + func (p ReplicationProtectionClusterOperationPredicate) Matches(input ReplicationProtectionCluster) bool + type ReplicationProtectionClusterProperties struct + ActiveLocation *string + AgentClusterId *string + AllowedOperations *[]string + AreAllClusterNodesRegistered *bool + ClusterFqdn *string + ClusterNodeFqdns *[]string + ClusterProtectedItemIds *[]string + ClusterRegisteredNodes *[]RegisteredClusterNodes + CurrentScenario *CurrentScenarioDetails + HealthErrors *[]HealthError + LastSuccessfulFailoverTime *string + LastSuccessfulTestFailoverTime *string + PolicyFriendlyName *string + PolicyId *string + PrimaryFabricFriendlyName *string + PrimaryFabricProvider *string + PrimaryProtectionContainerFriendlyName *string + ProtectionClusterType *string + ProtectionState *string + ProtectionStateDescription *string + ProviderSpecificDetails ReplicationClusterProviderSpecificSettings + ProvisioningState *string + RecoveryContainerId *string + RecoveryFabricFriendlyName *string + RecoveryFabricId *string + RecoveryProtectionContainerFriendlyName *string + ReplicationHealth *string + SharedDiskProperties *SharedDiskReplicationItemProperties + TestFailoverState *string + TestFailoverStateDescription *string + func (o *ReplicationProtectionClusterProperties) GetLastSuccessfulFailoverTimeAsTime() (*time.Time, error) + func (o *ReplicationProtectionClusterProperties) GetLastSuccessfulTestFailoverTimeAsTime() (*time.Time, error) + func (o *ReplicationProtectionClusterProperties) SetLastSuccessfulFailoverTimeAsTime(input time.Time) + func (o *ReplicationProtectionClusterProperties) SetLastSuccessfulTestFailoverTimeAsTime(input time.Time) + func (s *ReplicationProtectionClusterProperties) UnmarshalJSON(bytes []byte) error + type ReplicationProtectionClustersClient struct + Client *resourcemanager.Client + func NewReplicationProtectionClustersClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationProtectionClustersClient, error) + func (c ReplicationProtectionClustersClient) ApplyRecoveryPoint(ctx context.Context, id ReplicationProtectionClusterId, ...) (result ApplyRecoveryPointOperationResponse, err error) + func (c ReplicationProtectionClustersClient) ApplyRecoveryPointThenPoll(ctx context.Context, id ReplicationProtectionClusterId, ...) error + func (c ReplicationProtectionClustersClient) Create(ctx context.Context, id ReplicationProtectionClusterId, ...) (result CreateOperationResponse, err error) + func (c ReplicationProtectionClustersClient) CreateThenPoll(ctx context.Context, id ReplicationProtectionClusterId, ...) error + func (c ReplicationProtectionClustersClient) FailoverCommit(ctx context.Context, id ReplicationProtectionClusterId) (result FailoverCommitOperationResponse, err error) + func (c ReplicationProtectionClustersClient) FailoverCommitThenPoll(ctx context.Context, id ReplicationProtectionClusterId) error + func (c ReplicationProtectionClustersClient) Get(ctx context.Context, id ReplicationProtectionClusterId) (result GetOperationResponse, err error) + func (c ReplicationProtectionClustersClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (result ListOperationResponse, err error) + func (c ReplicationProtectionClustersClient) ListByReplicationProtectionContainers(ctx context.Context, id ReplicationProtectionContainerId) (result ListByReplicationProtectionContainersOperationResponse, err error) + func (c ReplicationProtectionClustersClient) ListByReplicationProtectionContainersComplete(ctx context.Context, id ReplicationProtectionContainerId) (ListByReplicationProtectionContainersCompleteResult, error) + func (c ReplicationProtectionClustersClient) ListByReplicationProtectionContainersCompleteMatchingPredicate(ctx context.Context, id ReplicationProtectionContainerId, ...) (result ListByReplicationProtectionContainersCompleteResult, err error) + func (c ReplicationProtectionClustersClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error) + func (c ReplicationProtectionClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, ...) (result ListCompleteResult, err error) + func (c ReplicationProtectionClustersClient) Purge(ctx context.Context, id ReplicationProtectionClusterId) (result PurgeOperationResponse, err error) + func (c ReplicationProtectionClustersClient) PurgeThenPoll(ctx context.Context, id ReplicationProtectionClusterId) error + func (c ReplicationProtectionClustersClient) RepairReplication(ctx context.Context, id ReplicationProtectionClusterId) (result RepairReplicationOperationResponse, err error) + func (c ReplicationProtectionClustersClient) RepairReplicationThenPoll(ctx context.Context, id ReplicationProtectionClusterId) error + func (c ReplicationProtectionClustersClient) TestFailover(ctx context.Context, id ReplicationProtectionClusterId, ...) (result TestFailoverOperationResponse, err error) + func (c ReplicationProtectionClustersClient) TestFailoverCleanup(ctx context.Context, id ReplicationProtectionClusterId, ...) (result TestFailoverCleanupOperationResponse, err error) + func (c ReplicationProtectionClustersClient) TestFailoverCleanupThenPoll(ctx context.Context, id ReplicationProtectionClusterId, ...) error + func (c ReplicationProtectionClustersClient) TestFailoverThenPoll(ctx context.Context, id ReplicationProtectionClusterId, ...) error + func (c ReplicationProtectionClustersClient) UnplannedFailover(ctx context.Context, id ReplicationProtectionClusterId, ...) (result UnplannedFailoverOperationResponse, err error) + func (c ReplicationProtectionClustersClient) UnplannedFailoverThenPoll(ctx context.Context, id ReplicationProtectionClusterId, ...) error + type ReplicationProtectionContainerId struct + ReplicationFabricName string + ReplicationProtectionContainerName string + ResourceGroupName string + SubscriptionId string + VaultName string + func NewReplicationProtectionContainerID(subscriptionId string, resourceGroupName string, vaultName string, ...) ReplicationProtectionContainerId + func ParseReplicationProtectionContainerID(input string) (*ReplicationProtectionContainerId, error) + func ParseReplicationProtectionContainerIDInsensitively(input string) (*ReplicationProtectionContainerId, error) + func (id *ReplicationProtectionContainerId) FromParseResult(input resourceids.ParseResult) error + func (id ReplicationProtectionContainerId) ID() string + func (id ReplicationProtectionContainerId) Segments() []resourceids.Segment + func (id ReplicationProtectionContainerId) String() string + type SharedDiskReplicationItemProperties struct + ActiveLocation *string + AllowedOperations *[]string + CurrentScenario *CurrentScenarioDetails + HealthErrors *[]HealthError + ProtectionState *string + ReplicationHealth *string + SharedDiskProviderSpecificDetails SharedDiskReplicationProviderSpecificSettings + TestFailoverState *string + func (s *SharedDiskReplicationItemProperties) UnmarshalJSON(bytes []byte) error + type SharedDiskReplicationProviderSpecificSettings interface + SharedDiskReplicationProviderSpecificSettings func() BaseSharedDiskReplicationProviderSpecificSettingsImpl + func UnmarshalSharedDiskReplicationProviderSpecificSettingsImplementation(input []byte) (SharedDiskReplicationProviderSpecificSettings, error) + type TestFailoverCleanupOperationResponse struct + HttpResponse *http.Response + Model *ReplicationProtectionCluster + OData *odata.OData + Poller pollers.Poller + type TestFailoverOperationResponse struct + HttpResponse *http.Response + Model *ReplicationProtectionCluster + OData *odata.OData + Poller pollers.Poller + type UnplannedFailoverOperationResponse struct + HttpResponse *http.Response + Model *ReplicationProtectionCluster + OData *odata.OData + Poller pollers.Poller + 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