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 RawReplicationProviderSpecificContainerCreationInputImpl
- type RawSwitchProtectionProviderSpecificInputImpl
- 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) (result ListOperationResponse, err error)
- func (c ReplicationProtectionContainersClient) ListByReplicationFabrics(ctx context.Context, id ReplicationFabricId) (result ListByReplicationFabricsOperationResponse, err error)
- func (c ReplicationProtectionContainersClient) ListByReplicationFabricsComplete(ctx context.Context, id ReplicationFabricId) (ListByReplicationFabricsCompleteResult, error)
- func (c ReplicationProtectionContainersClient) ListByReplicationFabricsCompleteMatchingPredicate(ctx context.Context, id ReplicationFabricId, ...) (result ListByReplicationFabricsCompleteResult, err error)
- func (c ReplicationProtectionContainersClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
- func (c ReplicationProtectionContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, ...) (result 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 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 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 OData *odata.OData Model *ProtectionContainer }
type KeyEncryptionKeyInfo ¶
type ListByReplicationFabricsCompleteResult ¶
type ListByReplicationFabricsCompleteResult struct {
Items []ProtectionContainer
}
type ListByReplicationFabricsOperationResponse ¶
type ListByReplicationFabricsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ProtectionContainer }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ProtectionContainer
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ProtectionContainer }
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 RawReplicationProviderSpecificContainerCreationInputImpl ¶
type RawReplicationProviderSpecificContainerCreationInputImpl struct { Type string Values map[string]interface{} }
RawModeOfTransitImpl 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).
type RawSwitchProtectionProviderSpecificInputImpl ¶
type RawSwitchProtectionProviderSpecificInputImpl struct { Type string Values map[string]interface{} }
RawModeOfTransitImpl 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).
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 *resourcemanager.Client
}
func NewReplicationProtectionContainersClientWithBaseURI ¶
func NewReplicationProtectionContainersClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationProtectionContainersClient, error)
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) (result ListOperationResponse, err error)
List ...
func (ReplicationProtectionContainersClient) ListByReplicationFabrics ¶
func (c ReplicationProtectionContainersClient) ListByReplicationFabrics(ctx context.Context, id ReplicationFabricId) (result ListByReplicationFabricsOperationResponse, err error)
ListByReplicationFabrics ...
func (ReplicationProtectionContainersClient) ListByReplicationFabricsComplete ¶
func (c ReplicationProtectionContainersClient) ListByReplicationFabricsComplete(ctx context.Context, id ReplicationFabricId) (ListByReplicationFabricsCompleteResult, error)
ListByReplicationFabricsComplete retrieves all the results into a single object
func (ReplicationProtectionContainersClient) ListByReplicationFabricsCompleteMatchingPredicate ¶
func (c ReplicationProtectionContainersClient) ListByReplicationFabricsCompleteMatchingPredicate(ctx context.Context, id ReplicationFabricId, predicate ProtectionContainerOperationPredicate) (result ListByReplicationFabricsCompleteResult, err error)
ListByReplicationFabricsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ReplicationProtectionContainersClient) ListComplete ¶
func (c ReplicationProtectionContainersClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ReplicationProtectionContainersClient) ListCompleteMatchingPredicate ¶
func (c ReplicationProtectionContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate ProtectionContainerOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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"` ReplicationProtectedItemName *string `json:"replicationProtectedItemName,omitempty"` }
func (*SwitchProtectionInputProperties) UnmarshalJSON ¶
func (s *SwitchProtectionInputProperties) UnmarshalJSON(bytes []byte) error
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.go
- method_delete.go
- method_discoverprotectableitem.go
- method_get.go
- method_list.go
- method_listbyreplicationfabrics.go
- method_switchprotection.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