Documentation ¶
Index ¶
- func ValidateReplicationFabricID(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 A2AContainerCreationInput
- type A2ACrossClusterMigrationContainerCreationInput
- type A2ASwitchProtectionInput
- type A2AVMDiskInputDetails
- type A2AVMManagedDiskInputDetails
- type CreateOperationResponse
- type CreateProtectionContainerInput
- type CreateProtectionContainerInputProperties
- type DeleteOperationResponse
- type DiscoverProtectableItemOperationResponse
- type DiscoverProtectableItemRequest
- type DiscoverProtectableItemRequestProperties
- type DiskEncryptionInfo
- type DiskEncryptionKeyInfo
- type GetOperationResponse
- type KeyEncryptionKeyInfo
- type ListByReplicationFabricsCompleteResult
- type ListByReplicationFabricsOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProtectionContainer
- type ProtectionContainerFabricSpecificDetails
- type ProtectionContainerOperationPredicate
- type ProtectionContainerProperties
- type ReplicationFabricId
- type ReplicationProtectionContainerId
- func NewReplicationProtectionContainerID(subscriptionId string, resourceGroupName string, vaultName string, ...) ReplicationProtectionContainerId
- func ParseReplicationProtectionContainerID(input string) (*ReplicationProtectionContainerId, error)
- func ParseReplicationProtectionContainerIDInsensitively(input string) (*ReplicationProtectionContainerId, error)
- type ReplicationProtectionContainersClient
- func (c ReplicationProtectionContainersClient) Create(ctx context.Context, id ReplicationProtectionContainerId, ...) (result CreateOperationResponse, err error)
- func (c ReplicationProtectionContainersClient) CreateThenPoll(ctx context.Context, id ReplicationProtectionContainerId, ...) error
- func (c ReplicationProtectionContainersClient) Delete(ctx context.Context, id ReplicationProtectionContainerId) (result DeleteOperationResponse, err error)
- func (c ReplicationProtectionContainersClient) DeleteThenPoll(ctx context.Context, id ReplicationProtectionContainerId) error
- func (c ReplicationProtectionContainersClient) DiscoverProtectableItem(ctx context.Context, id ReplicationProtectionContainerId, ...) (result DiscoverProtectableItemOperationResponse, err error)
- func (c ReplicationProtectionContainersClient) DiscoverProtectableItemThenPoll(ctx context.Context, id ReplicationProtectionContainerId, ...) error
- func (c ReplicationProtectionContainersClient) Get(ctx context.Context, id ReplicationProtectionContainerId) (result GetOperationResponse, err error)
- func (c ReplicationProtectionContainersClient) List(ctx context.Context, id VaultId) (resp ListOperationResponse, err error)
- func (c ReplicationProtectionContainersClient) ListByReplicationFabrics(ctx context.Context, id ReplicationFabricId) (resp ListByReplicationFabricsOperationResponse, err error)
- func (c ReplicationProtectionContainersClient) ListByReplicationFabricsComplete(ctx context.Context, id ReplicationFabricId) (ListByReplicationFabricsCompleteResult, error)
- func (c ReplicationProtectionContainersClient) ListByReplicationFabricsCompleteMatchingPredicate(ctx context.Context, id ReplicationFabricId, ...) (resp ListByReplicationFabricsCompleteResult, err error)
- func (c ReplicationProtectionContainersClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
- func (c ReplicationProtectionContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, ...) (resp ListCompleteResult, err error)
- func (c ReplicationProtectionContainersClient) SwitchProtection(ctx context.Context, id ReplicationProtectionContainerId, ...) (result SwitchProtectionOperationResponse, err error)
- func (c ReplicationProtectionContainersClient) SwitchProtectionThenPoll(ctx context.Context, id ReplicationProtectionContainerId, ...) error
- type ReplicationProviderSpecificContainerCreationInput
- type SwitchProtectionInput
- type SwitchProtectionInputProperties
- type SwitchProtectionOperationResponse
- type SwitchProtectionProviderSpecificInput
- type VMwareCbtContainerCreationInput
- type VaultId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateReplicationFabricID ¶
ValidateReplicationFabricID checks that 'input' can be parsed as a Replication Fabric ID
func ValidateReplicationProtectionContainerID ¶
func ValidateReplicationProtectionContainerID(input interface{}, key string) (warnings []string, errors []error)
ValidateReplicationProtectionContainerID checks that 'input' can be parsed as a Replication Protection Container ID
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type A2AContainerCreationInput ¶
type A2AContainerCreationInput struct { }
func (A2AContainerCreationInput) MarshalJSON ¶
func (s A2AContainerCreationInput) MarshalJSON() ([]byte, error)
type A2ACrossClusterMigrationContainerCreationInput ¶
type A2ACrossClusterMigrationContainerCreationInput struct { }
func (A2ACrossClusterMigrationContainerCreationInput) MarshalJSON ¶
func (s A2ACrossClusterMigrationContainerCreationInput) MarshalJSON() ([]byte, error)
type A2ASwitchProtectionInput ¶
type A2ASwitchProtectionInput struct { DiskEncryptionInfo *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"` PolicyId *string `json:"policyId,omitempty"` RecoveryAvailabilitySetId *string `json:"recoveryAvailabilitySetId,omitempty"` RecoveryAvailabilityZone *string `json:"recoveryAvailabilityZone,omitempty"` RecoveryBootDiagStorageAccountId *string `json:"recoveryBootDiagStorageAccountId,omitempty"` RecoveryCapacityReservationGroupId *string `json:"recoveryCapacityReservationGroupId,omitempty"` RecoveryCloudServiceId *string `json:"recoveryCloudServiceId,omitempty"` RecoveryContainerId *string `json:"recoveryContainerId,omitempty"` RecoveryProximityPlacementGroupId *string `json:"recoveryProximityPlacementGroupId,omitempty"` RecoveryResourceGroupId *string `json:"recoveryResourceGroupId,omitempty"` RecoveryVirtualMachineScaleSetId *string `json:"recoveryVirtualMachineScaleSetId,omitempty"` VMDisks *[]A2AVMDiskInputDetails `json:"vmDisks,omitempty"` VMManagedDisks *[]A2AVMManagedDiskInputDetails `json:"vmManagedDisks,omitempty"` }
func (A2ASwitchProtectionInput) MarshalJSON ¶
func (s A2ASwitchProtectionInput) MarshalJSON() ([]byte, error)
type A2AVMDiskInputDetails ¶
type A2AVMManagedDiskInputDetails ¶
type A2AVMManagedDiskInputDetails struct { DiskEncryptionInfo *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"` DiskId string `json:"diskId"` PrimaryStagingAzureStorageAccountId string `json:"primaryStagingAzureStorageAccountId"` RecoveryDiskEncryptionSetId *string `json:"recoveryDiskEncryptionSetId,omitempty"` RecoveryReplicaDiskAccountType *string `json:"recoveryReplicaDiskAccountType,omitempty"` RecoveryResourceGroupId string `json:"recoveryResourceGroupId"` RecoveryTargetDiskAccountType *string `json:"recoveryTargetDiskAccountType,omitempty"` }
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CreateProtectionContainerInput ¶
type CreateProtectionContainerInput struct {
Properties *CreateProtectionContainerInputProperties `json:"properties,omitempty"`
}
type CreateProtectionContainerInputProperties ¶
type CreateProtectionContainerInputProperties struct {
ProviderSpecificInput *[]ReplicationProviderSpecificContainerCreationInput `json:"providerSpecificInput,omitempty"`
}
func (*CreateProtectionContainerInputProperties) UnmarshalJSON ¶
func (s *CreateProtectionContainerInputProperties) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DiscoverProtectableItemOperationResponse ¶
type DiscoverProtectableItemOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DiscoverProtectableItemRequest ¶
type DiscoverProtectableItemRequest struct {
Properties *DiscoverProtectableItemRequestProperties `json:"properties,omitempty"`
}
type DiskEncryptionInfo ¶
type DiskEncryptionInfo struct { DiskEncryptionKeyInfo *DiskEncryptionKeyInfo `json:"diskEncryptionKeyInfo,omitempty"` KeyEncryptionKeyInfo *KeyEncryptionKeyInfo `json:"keyEncryptionKeyInfo,omitempty"` }
type DiskEncryptionKeyInfo ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ProtectionContainer }
type KeyEncryptionKeyInfo ¶
type ListByReplicationFabricsCompleteResult ¶
type ListByReplicationFabricsCompleteResult struct {
Items []ProtectionContainer
}
type ListByReplicationFabricsOperationResponse ¶
type ListByReplicationFabricsOperationResponse struct { HttpResponse *http.Response Model *[]ProtectionContainer // contains filtered or unexported fields }
func (ListByReplicationFabricsOperationResponse) HasMore ¶
func (r ListByReplicationFabricsOperationResponse) HasMore() bool
func (ListByReplicationFabricsOperationResponse) LoadMore ¶
func (r ListByReplicationFabricsOperationResponse) LoadMore(ctx context.Context) (resp ListByReplicationFabricsOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ProtectionContainer
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ProtectionContainer // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ProtectionContainer ¶
type ProtectionContainer struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ProtectionContainerProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ProtectionContainerFabricSpecificDetails ¶
type ProtectionContainerFabricSpecificDetails struct {
InstanceType *string `json:"instanceType,omitempty"`
}
type ProtectionContainerOperationPredicate ¶
type ProtectionContainerOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ProtectionContainerOperationPredicate) Matches ¶
func (p ProtectionContainerOperationPredicate) Matches(input ProtectionContainer) bool
type ProtectionContainerProperties ¶
type ProtectionContainerProperties struct { FabricFriendlyName *string `json:"fabricFriendlyName,omitempty"` FabricSpecificDetails *ProtectionContainerFabricSpecificDetails `json:"fabricSpecificDetails,omitempty"` FabricType *string `json:"fabricType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` PairingStatus *string `json:"pairingStatus,omitempty"` ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"` Role *string `json:"role,omitempty"` }
type ReplicationFabricId ¶
type ReplicationFabricId struct { SubscriptionId string ResourceGroupName string VaultName string ReplicationFabricName string }
ReplicationFabricId is a struct representing the Resource ID for a Replication Fabric
func NewReplicationFabricID ¶
func NewReplicationFabricID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string) ReplicationFabricId
NewReplicationFabricID returns a new ReplicationFabricId struct
func ParseReplicationFabricID ¶
func ParseReplicationFabricID(input string) (*ReplicationFabricId, error)
ParseReplicationFabricID parses 'input' into a ReplicationFabricId
func ParseReplicationFabricIDInsensitively ¶
func ParseReplicationFabricIDInsensitively(input string) (*ReplicationFabricId, error)
ParseReplicationFabricIDInsensitively parses 'input' case-insensitively into a ReplicationFabricId note: this method should only be used for API response data and not user input
func (ReplicationFabricId) ID ¶
func (id ReplicationFabricId) ID() string
ID returns the formatted Replication Fabric ID
func (ReplicationFabricId) Segments ¶
func (id ReplicationFabricId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Fabric ID
func (ReplicationFabricId) String ¶
func (id ReplicationFabricId) String() string
String returns a human-readable description of this Replication Fabric ID
type ReplicationProtectionContainerId ¶
type ReplicationProtectionContainerId struct { SubscriptionId string ResourceGroupName string VaultName string ReplicationFabricName string ReplicationProtectionContainerName string }
ReplicationProtectionContainerId is a struct representing the Resource ID for a Replication Protection Container
func NewReplicationProtectionContainerID ¶
func NewReplicationProtectionContainerID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string, replicationProtectionContainerName string) ReplicationProtectionContainerId
NewReplicationProtectionContainerID returns a new ReplicationProtectionContainerId struct
func ParseReplicationProtectionContainerID ¶
func ParseReplicationProtectionContainerID(input string) (*ReplicationProtectionContainerId, error)
ParseReplicationProtectionContainerID parses 'input' into a ReplicationProtectionContainerId
func ParseReplicationProtectionContainerIDInsensitively ¶
func ParseReplicationProtectionContainerIDInsensitively(input string) (*ReplicationProtectionContainerId, error)
ParseReplicationProtectionContainerIDInsensitively parses 'input' case-insensitively into a ReplicationProtectionContainerId note: this method should only be used for API response data and not user input
func (ReplicationProtectionContainerId) ID ¶
func (id ReplicationProtectionContainerId) ID() string
ID returns the formatted Replication Protection Container ID
func (ReplicationProtectionContainerId) Segments ¶
func (id ReplicationProtectionContainerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Protection Container ID
func (ReplicationProtectionContainerId) String ¶
func (id ReplicationProtectionContainerId) String() string
String returns a human-readable description of this Replication Protection Container ID
type ReplicationProtectionContainersClient ¶
type ReplicationProtectionContainersClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewReplicationProtectionContainersClientWithBaseURI ¶
func NewReplicationProtectionContainersClientWithBaseURI(endpoint string) ReplicationProtectionContainersClient
func (ReplicationProtectionContainersClient) Create ¶
func (c ReplicationProtectionContainersClient) Create(ctx context.Context, id ReplicationProtectionContainerId, input CreateProtectionContainerInput) (result CreateOperationResponse, err error)
Create ...
func (ReplicationProtectionContainersClient) CreateThenPoll ¶
func (c ReplicationProtectionContainersClient) CreateThenPoll(ctx context.Context, id ReplicationProtectionContainerId, input CreateProtectionContainerInput) error
CreateThenPoll performs Create then polls until it's completed
func (ReplicationProtectionContainersClient) Delete ¶
func (c ReplicationProtectionContainersClient) Delete(ctx context.Context, id ReplicationProtectionContainerId) (result DeleteOperationResponse, err error)
Delete ...
func (ReplicationProtectionContainersClient) DeleteThenPoll ¶
func (c ReplicationProtectionContainersClient) DeleteThenPoll(ctx context.Context, id ReplicationProtectionContainerId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ReplicationProtectionContainersClient) DiscoverProtectableItem ¶
func (c ReplicationProtectionContainersClient) DiscoverProtectableItem(ctx context.Context, id ReplicationProtectionContainerId, input DiscoverProtectableItemRequest) (result DiscoverProtectableItemOperationResponse, err error)
DiscoverProtectableItem ...
func (ReplicationProtectionContainersClient) DiscoverProtectableItemThenPoll ¶
func (c ReplicationProtectionContainersClient) DiscoverProtectableItemThenPoll(ctx context.Context, id ReplicationProtectionContainerId, input DiscoverProtectableItemRequest) error
DiscoverProtectableItemThenPoll performs DiscoverProtectableItem then polls until it's completed
func (ReplicationProtectionContainersClient) Get ¶
func (c ReplicationProtectionContainersClient) Get(ctx context.Context, id ReplicationProtectionContainerId) (result GetOperationResponse, err error)
Get ...
func (ReplicationProtectionContainersClient) List ¶
func (c ReplicationProtectionContainersClient) List(ctx context.Context, id VaultId) (resp ListOperationResponse, err error)
List ...
func (ReplicationProtectionContainersClient) ListByReplicationFabrics ¶
func (c ReplicationProtectionContainersClient) ListByReplicationFabrics(ctx context.Context, id ReplicationFabricId) (resp ListByReplicationFabricsOperationResponse, err error)
ListByReplicationFabrics ...
func (ReplicationProtectionContainersClient) ListByReplicationFabricsComplete ¶
func (c ReplicationProtectionContainersClient) ListByReplicationFabricsComplete(ctx context.Context, id ReplicationFabricId) (ListByReplicationFabricsCompleteResult, error)
ListByReplicationFabricsComplete retrieves all of the results into a single object
func (ReplicationProtectionContainersClient) ListByReplicationFabricsCompleteMatchingPredicate ¶
func (c ReplicationProtectionContainersClient) ListByReplicationFabricsCompleteMatchingPredicate(ctx context.Context, id ReplicationFabricId, predicate ProtectionContainerOperationPredicate) (resp ListByReplicationFabricsCompleteResult, err error)
ListByReplicationFabricsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReplicationProtectionContainersClient) ListComplete ¶
func (c ReplicationProtectionContainersClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ReplicationProtectionContainersClient) ListCompleteMatchingPredicate ¶
func (c ReplicationProtectionContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate ProtectionContainerOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReplicationProtectionContainersClient) SwitchProtection ¶
func (c ReplicationProtectionContainersClient) SwitchProtection(ctx context.Context, id ReplicationProtectionContainerId, input SwitchProtectionInput) (result SwitchProtectionOperationResponse, err error)
SwitchProtection ...
func (ReplicationProtectionContainersClient) SwitchProtectionThenPoll ¶
func (c ReplicationProtectionContainersClient) SwitchProtectionThenPoll(ctx context.Context, id ReplicationProtectionContainerId, input SwitchProtectionInput) error
SwitchProtectionThenPoll performs SwitchProtection then polls until it's completed
type ReplicationProviderSpecificContainerCreationInput ¶
type ReplicationProviderSpecificContainerCreationInput interface { }
type SwitchProtectionInput ¶
type SwitchProtectionInput struct {
Properties *SwitchProtectionInputProperties `json:"properties,omitempty"`
}
type SwitchProtectionInputProperties ¶
type SwitchProtectionInputProperties struct { ProviderSpecificDetails *SwitchProtectionProviderSpecificInput `json:"providerSpecificDetails,omitempty"` ReplicationProtectedItemName *string `json:"replicationProtectedItemName,omitempty"` }
func (*SwitchProtectionInputProperties) UnmarshalJSON ¶
func (s *SwitchProtectionInputProperties) UnmarshalJSON(bytes []byte) error
type SwitchProtectionOperationResponse ¶
type SwitchProtectionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SwitchProtectionProviderSpecificInput ¶
type SwitchProtectionProviderSpecificInput interface { }
type VMwareCbtContainerCreationInput ¶
type VMwareCbtContainerCreationInput struct { }
func (VMwareCbtContainerCreationInput) MarshalJSON ¶
func (s VMwareCbtContainerCreationInput) MarshalJSON() ([]byte, error)
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) Segments ¶
func (id VaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vault ID
Source Files ¶
- client.go
- id_replicationfabric.go
- id_replicationprotectioncontainer.go
- id_vault.go
- method_create_autorest.go
- method_delete_autorest.go
- method_discoverprotectableitem_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyreplicationfabrics_autorest.go
- method_switchprotection_autorest.go
- model_a2acontainercreationinput.go
- model_a2acrossclustermigrationcontainercreationinput.go
- model_a2aswitchprotectioninput.go
- model_a2avmdiskinputdetails.go
- model_a2avmmanageddiskinputdetails.go
- model_createprotectioncontainerinput.go
- model_createprotectioncontainerinputproperties.go
- model_discoverprotectableitemrequest.go
- model_discoverprotectableitemrequestproperties.go
- model_diskencryptioninfo.go
- model_diskencryptionkeyinfo.go
- model_keyencryptionkeyinfo.go
- model_protectioncontainer.go
- model_protectioncontainerfabricspecificdetails.go
- model_protectioncontainerproperties.go
- model_replicationproviderspecificcontainercreationinput.go
- model_switchprotectioninput.go
- model_switchprotectioninputproperties.go
- model_switchprotectionproviderspecificinput.go
- model_vmwarecbtcontainercreationinput.go
- predicates.go
- version.go