replicationprotectioncontainers

package
v0.20241128.1084944 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicessiterecovery/2024-04-01/replicationprotectioncontainers Documentation

The replicationprotectioncontainers SDK allows for interaction with Azure Resource Manager recoveryservicessiterecovery (API Version 2024-04-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicessiterecovery/2024-04-01/replicationprotectioncontainers"

Client Initialization

client := replicationprotectioncontainers.NewReplicationProtectionContainersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ReplicationProtectionContainersClient.Create

ctx := context.TODO()
id := replicationprotectioncontainers.NewReplicationProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName")

payload := replicationprotectioncontainers.CreateProtectionContainerInput{
	// ...
}


if err := client.CreateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ReplicationProtectionContainersClient.Delete

ctx := context.TODO()
id := replicationprotectioncontainers.NewReplicationProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ReplicationProtectionContainersClient.DiscoverProtectableItem

ctx := context.TODO()
id := replicationprotectioncontainers.NewReplicationProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName")

payload := replicationprotectioncontainers.DiscoverProtectableItemRequest{
	// ...
}


if err := client.DiscoverProtectableItemThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ReplicationProtectionContainersClient.Get

ctx := context.TODO()
id := replicationprotectioncontainers.NewReplicationProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ReplicationProtectionContainersClient.List

ctx := context.TODO()
id := replicationprotectioncontainers.NewVaultID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ReplicationProtectionContainersClient.ListByReplicationFabrics

ctx := context.TODO()
id := replicationprotectioncontainers.NewReplicationFabricID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName")

// alternatively `client.ListByReplicationFabrics(ctx, id)` can be used to do batched pagination
items, err := client.ListByReplicationFabricsComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ReplicationProtectionContainersClient.SwitchClusterProtection

ctx := context.TODO()
id := replicationprotectioncontainers.NewReplicationProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName")

payload := replicationprotectioncontainers.SwitchClusterProtectionInput{
	// ...
}


if err := client.SwitchClusterProtectionThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ReplicationProtectionContainersClient.SwitchProtection

ctx := context.TODO()
id := replicationprotectioncontainers.NewReplicationProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName")

payload := replicationprotectioncontainers.SwitchProtectionInput{
	// ...
}


if err := client.SwitchProtectionThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateReplicationFabricID

func ValidateReplicationFabricID(input interface{}, key string) (warnings []string, errors []error)

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

func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)

ValidateVaultID checks that 'input' can be parsed as a Vault ID

Types

type A2AContainerCreationInput

type A2AContainerCreationInput struct {
	InstanceType string `json:"instanceType"`
}

func (A2AContainerCreationInput) MarshalJSON

func (s A2AContainerCreationInput) MarshalJSON() ([]byte, error)

func (A2AContainerCreationInput) ReplicationProviderSpecificContainerCreationInput added in v0.20240920.1135249

func (s A2AContainerCreationInput) ReplicationProviderSpecificContainerCreationInput() BaseReplicationProviderSpecificContainerCreationInputImpl

type A2ACrossClusterMigrationContainerCreationInput

type A2ACrossClusterMigrationContainerCreationInput struct {
	InstanceType string `json:"instanceType"`
}

func (A2ACrossClusterMigrationContainerCreationInput) MarshalJSON

func (A2ACrossClusterMigrationContainerCreationInput) ReplicationProviderSpecificContainerCreationInput added in v0.20240920.1135249

type A2AProtectedItemDetail

type A2AProtectedItemDetail struct {
	DiskEncryptionInfo                 *DiskEncryptionInfo             `json:"diskEncryptionInfo,omitempty"`
	RecoveryAvailabilitySetId          *string                         `json:"recoveryAvailabilitySetId,omitempty"`
	RecoveryAvailabilityZone           *string                         `json:"recoveryAvailabilityZone,omitempty"`
	RecoveryBootDiagStorageAccountId   *string                         `json:"recoveryBootDiagStorageAccountId,omitempty"`
	RecoveryCapacityReservationGroupId *string                         `json:"recoveryCapacityReservationGroupId,omitempty"`
	RecoveryProximityPlacementGroupId  *string                         `json:"recoveryProximityPlacementGroupId,omitempty"`
	RecoveryResourceGroupId            *string                         `json:"recoveryResourceGroupId,omitempty"`
	RecoveryVirtualMachineScaleSetId   *string                         `json:"recoveryVirtualMachineScaleSetId,omitempty"`
	ReplicationProtectedItemName       *string                         `json:"replicationProtectedItemName,omitempty"`
	VMManagedDisks                     *[]A2AVMManagedDiskInputDetails `json:"vmManagedDisks,omitempty"`
}

type A2ASwitchClusterProtectionInput

type A2ASwitchClusterProtectionInput struct {
	PolicyId             *string                   `json:"policyId,omitempty"`
	ProtectedItemsDetail *[]A2AProtectedItemDetail `json:"protectedItemsDetail,omitempty"`
	RecoveryContainerId  *string                   `json:"recoveryContainerId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2ASwitchClusterProtectionInput) MarshalJSON

func (s A2ASwitchClusterProtectionInput) MarshalJSON() ([]byte, error)

func (A2ASwitchClusterProtectionInput) SwitchClusterProtectionProviderSpecificInput added in v0.20240920.1135249

func (s A2ASwitchClusterProtectionInput) SwitchClusterProtectionProviderSpecificInput() BaseSwitchClusterProtectionProviderSpecificInputImpl

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"`

	InstanceType string `json:"instanceType"`
}

func (A2ASwitchProtectionInput) MarshalJSON

func (s A2ASwitchProtectionInput) MarshalJSON() ([]byte, error)

func (A2ASwitchProtectionInput) SwitchProtectionProviderSpecificInput added in v0.20240920.1135249

func (s A2ASwitchProtectionInput) SwitchProtectionProviderSpecificInput() BaseSwitchProtectionProviderSpecificInputImpl

type A2AVMDiskInputDetails

type A2AVMDiskInputDetails struct {
	DiskUri                             string `json:"diskUri"`
	PrimaryStagingAzureStorageAccountId string `json:"primaryStagingAzureStorageAccountId"`
	RecoveryAzureStorageAccountId       string `json:"recoveryAzureStorageAccountId"`
}

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 BaseReplicationProviderSpecificContainerCreationInputImpl added in v0.20240920.1135249

type BaseReplicationProviderSpecificContainerCreationInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseReplicationProviderSpecificContainerCreationInputImpl) ReplicationProviderSpecificContainerCreationInput added in v0.20240920.1135249

type BaseSwitchClusterProtectionProviderSpecificInputImpl added in v0.20240920.1135249

type BaseSwitchClusterProtectionProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseSwitchClusterProtectionProviderSpecificInputImpl) SwitchClusterProtectionProviderSpecificInput added in v0.20240920.1135249

type BaseSwitchProtectionProviderSpecificInputImpl added in v0.20240920.1135249

type BaseSwitchProtectionProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseSwitchProtectionProviderSpecificInputImpl) SwitchProtectionProviderSpecificInput added in v0.20240920.1135249

type CreateOperationResponse

type CreateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProtectionContainer
}

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       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DiscoverProtectableItemOperationResponse

type DiscoverProtectableItemOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProtectionContainer
}

type DiscoverProtectableItemRequest

type DiscoverProtectableItemRequest struct {
	Properties *DiscoverProtectableItemRequestProperties `json:"properties,omitempty"`
}

type DiscoverProtectableItemRequestProperties

type DiscoverProtectableItemRequestProperties struct {
	FriendlyName *string `json:"friendlyName,omitempty"`
	IPAddress    *string `json:"ipAddress,omitempty"`
	OsType       *string `json:"osType,omitempty"`
}

type DiskEncryptionInfo

type DiskEncryptionInfo struct {
	DiskEncryptionKeyInfo *DiskEncryptionKeyInfo `json:"diskEncryptionKeyInfo,omitempty"`
	KeyEncryptionKeyInfo  *KeyEncryptionKeyInfo  `json:"keyEncryptionKeyInfo,omitempty"`
}

type DiskEncryptionKeyInfo

type DiskEncryptionKeyInfo struct {
	KeyVaultResourceArmId *string `json:"keyVaultResourceArmId,omitempty"`
	SecretIdentifier      *string `json:"secretIdentifier,omitempty"`
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProtectionContainer
}

type KeyEncryptionKeyInfo

type KeyEncryptionKeyInfo struct {
	KeyIdentifier         *string `json:"keyIdentifier,omitempty"`
	KeyVaultResourceArmId *string `json:"keyVaultResourceArmId,omitempty"`
}

type ListByReplicationFabricsCompleteResult

type ListByReplicationFabricsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ProtectionContainer
}

type ListByReplicationFabricsCustomPager added in v0.20240628.1153531

type ListByReplicationFabricsCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByReplicationFabricsCustomPager) NextPageLink() *odata.Link

type ListByReplicationFabricsOperationResponse

type ListByReplicationFabricsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ProtectionContainer
}

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ProtectionContainer
}

type ListCustomPager added in v0.20240628.1153531

type ListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListCustomPager) NextPageLink() *odata.Link

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

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{}
	// contains filtered or unexported fields
}

RawReplicationProviderSpecificContainerCreationInputImpl 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 (RawReplicationProviderSpecificContainerCreationInputImpl) ReplicationProviderSpecificContainerCreationInput added in v0.20240920.1135249

type RawSwitchClusterProtectionProviderSpecificInputImpl

type RawSwitchClusterProtectionProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawSwitchClusterProtectionProviderSpecificInputImpl 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 (RawSwitchClusterProtectionProviderSpecificInputImpl) SwitchClusterProtectionProviderSpecificInput added in v0.20240920.1135249

type RawSwitchProtectionProviderSpecificInputImpl

type RawSwitchProtectionProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawSwitchProtectionProviderSpecificInputImpl 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 (RawSwitchProtectionProviderSpecificInputImpl) SwitchProtectionProviderSpecificInput added in v0.20240920.1135249

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) FromParseResult

func (id *ReplicationFabricId) FromParseResult(input resourceids.ParseResult) error

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) FromParseResult

func (ReplicationProtectionContainerId) ID

ID returns the formatted Replication Protection Container ID

func (ReplicationProtectionContainerId) Segments

Segments returns a slice of Resource ID Segments which comprise this Replication Protection Container ID

func (ReplicationProtectionContainerId) 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

Create ...

func (ReplicationProtectionContainersClient) CreateThenPoll

CreateThenPoll performs Create then polls until it's completed

func (ReplicationProtectionContainersClient) Delete

Delete ...

func (ReplicationProtectionContainersClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (ReplicationProtectionContainersClient) DiscoverProtectableItem

DiscoverProtectableItem ...

func (ReplicationProtectionContainersClient) DiscoverProtectableItemThenPoll

DiscoverProtectableItemThenPoll performs DiscoverProtectableItem then polls until it's completed

func (ReplicationProtectionContainersClient) Get

Get ...

func (ReplicationProtectionContainersClient) List

List ...

func (ReplicationProtectionContainersClient) ListByReplicationFabrics

ListByReplicationFabrics ...

func (ReplicationProtectionContainersClient) ListByReplicationFabricsComplete

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

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) SwitchClusterProtection

SwitchClusterProtection ...

func (ReplicationProtectionContainersClient) SwitchClusterProtectionThenPoll

SwitchClusterProtectionThenPoll performs SwitchClusterProtection then polls until it's completed

func (ReplicationProtectionContainersClient) SwitchProtection

SwitchProtection ...

func (ReplicationProtectionContainersClient) SwitchProtectionThenPoll

SwitchProtectionThenPoll performs SwitchProtection then polls until it's completed

type ReplicationProviderSpecificContainerCreationInput

type ReplicationProviderSpecificContainerCreationInput interface {
	ReplicationProviderSpecificContainerCreationInput() BaseReplicationProviderSpecificContainerCreationInputImpl
}

func UnmarshalReplicationProviderSpecificContainerCreationInputImplementation added in v0.20240920.1135249

func UnmarshalReplicationProviderSpecificContainerCreationInputImplementation(input []byte) (ReplicationProviderSpecificContainerCreationInput, error)

type SwitchClusterProtectionInput

type SwitchClusterProtectionInput struct {
	Properties *SwitchClusterProtectionInputProperties `json:"properties,omitempty"`
}

type SwitchClusterProtectionInputProperties

type SwitchClusterProtectionInputProperties struct {
	ProviderSpecificDetails          SwitchClusterProtectionProviderSpecificInput `json:"providerSpecificDetails"`
	ReplicationProtectionClusterName *string                                      `json:"replicationProtectionClusterName,omitempty"`
}

func (*SwitchClusterProtectionInputProperties) UnmarshalJSON

func (s *SwitchClusterProtectionInputProperties) UnmarshalJSON(bytes []byte) error

type SwitchClusterProtectionOperationResponse

type SwitchClusterProtectionOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProtectionContainer
}

type SwitchClusterProtectionProviderSpecificInput

type SwitchClusterProtectionProviderSpecificInput interface {
	SwitchClusterProtectionProviderSpecificInput() BaseSwitchClusterProtectionProviderSpecificInputImpl
}

func UnmarshalSwitchClusterProtectionProviderSpecificInputImplementation added in v0.20240920.1135249

func UnmarshalSwitchClusterProtectionProviderSpecificInputImplementation(input []byte) (SwitchClusterProtectionProviderSpecificInput, error)

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 SwitchProtectionOperationResponse

type SwitchProtectionOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProtectionContainer
}

type SwitchProtectionProviderSpecificInput

type SwitchProtectionProviderSpecificInput interface {
	SwitchProtectionProviderSpecificInput() BaseSwitchProtectionProviderSpecificInputImpl
}

func UnmarshalSwitchProtectionProviderSpecificInputImplementation added in v0.20240920.1135249

func UnmarshalSwitchProtectionProviderSpecificInputImplementation(input []byte) (SwitchProtectionProviderSpecificInput, error)

type VMwareCbtContainerCreationInput

type VMwareCbtContainerCreationInput struct {
	InstanceType string `json:"instanceType"`
}

func (VMwareCbtContainerCreationInput) MarshalJSON

func (s VMwareCbtContainerCreationInput) MarshalJSON() ([]byte, error)

func (VMwareCbtContainerCreationInput) ReplicationProviderSpecificContainerCreationInput added in v0.20240920.1135249

func (s VMwareCbtContainerCreationInput) ReplicationProviderSpecificContainerCreationInput() BaseReplicationProviderSpecificContainerCreationInputImpl

type VaultId

type VaultId struct {
	SubscriptionId    string
	ResourceGroupName string
	VaultName         string
}

VaultId is a struct representing the Resource ID for a Vault

func NewVaultID

func NewVaultID(subscriptionId string, resourceGroupName string, vaultName string) VaultId

NewVaultID returns a new VaultId struct

func ParseVaultID

func ParseVaultID(input string) (*VaultId, error)

ParseVaultID parses 'input' into a VaultId

func ParseVaultIDInsensitively

func ParseVaultIDInsensitively(input string) (*VaultId, error)

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) ID

func (id VaultId) ID() string

ID returns the formatted Vault ID

func (VaultId) Segments

func (id VaultId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Vault ID

func (VaultId) String

func (id VaultId) String() string

String returns a human-readable description of this Vault ID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL