replicationprotectionintents

package
v0.20241212.1154051 Latest Latest
Warning

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

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

README

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

The replicationprotectionintents 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/replicationprotectionintents"

Client Initialization

client := replicationprotectionintents.NewReplicationProtectionIntentsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ReplicationProtectionIntentsClient.Create

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

payload := replicationprotectionintents.CreateProtectionIntentInput{
	// ...
}


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

Example Usage: ReplicationProtectionIntentsClient.Get

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

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: ReplicationProtectionIntentsClient.List

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForA2ARecoveryAvailabilityType

func PossibleValuesForA2ARecoveryAvailabilityType() []string

func PossibleValuesForAgentAutoUpdateStatus

func PossibleValuesForAgentAutoUpdateStatus() []string

func PossibleValuesForAutoProtectionOfDataDisk

func PossibleValuesForAutoProtectionOfDataDisk() []string

func PossibleValuesForAutomationAccountAuthenticationType

func PossibleValuesForAutomationAccountAuthenticationType() []string

func PossibleValuesForSetMultiVMSyncStatus

func PossibleValuesForSetMultiVMSyncStatus() []string

func ValidateReplicationProtectionIntentID

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

ValidateReplicationProtectionIntentID checks that 'input' can be parsed as a Replication Protection Intent 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 A2ACreateProtectionIntentInput

type A2ACreateProtectionIntentInput struct {
	AgentAutoUpdateStatus                      *AgentAutoUpdateStatus                        `json:"agentAutoUpdateStatus,omitempty"`
	AutoProtectionOfDataDisk                   *AutoProtectionOfDataDisk                     `json:"autoProtectionOfDataDisk,omitempty"`
	AutomationAccountArmId                     *string                                       `json:"automationAccountArmId,omitempty"`
	AutomationAccountAuthenticationType        *AutomationAccountAuthenticationType          `json:"automationAccountAuthenticationType,omitempty"`
	DiskEncryptionInfo                         *DiskEncryptionInfo                           `json:"diskEncryptionInfo,omitempty"`
	FabricObjectId                             string                                        `json:"fabricObjectId"`
	MultiVMGroupId                             *string                                       `json:"multiVmGroupId,omitempty"`
	MultiVMGroupName                           *string                                       `json:"multiVmGroupName,omitempty"`
	PrimaryLocation                            string                                        `json:"primaryLocation"`
	PrimaryStagingStorageAccountCustomInput    StorageAccountCustomDetails                   `json:"primaryStagingStorageAccountCustomInput"`
	ProtectionProfileCustomInput               ProtectionProfileCustomDetails                `json:"protectionProfileCustomInput"`
	RecoveryAvailabilitySetCustomInput         RecoveryAvailabilitySetCustomDetails          `json:"recoveryAvailabilitySetCustomInput"`
	RecoveryAvailabilityType                   A2ARecoveryAvailabilityType                   `json:"recoveryAvailabilityType"`
	RecoveryAvailabilityZone                   *string                                       `json:"recoveryAvailabilityZone,omitempty"`
	RecoveryBootDiagStorageAccount             StorageAccountCustomDetails                   `json:"recoveryBootDiagStorageAccount"`
	RecoveryLocation                           string                                        `json:"recoveryLocation"`
	RecoveryProximityPlacementGroupCustomInput RecoveryProximityPlacementGroupCustomDetails  `json:"recoveryProximityPlacementGroupCustomInput"`
	RecoveryResourceGroupId                    string                                        `json:"recoveryResourceGroupId"`
	RecoverySubscriptionId                     string                                        `json:"recoverySubscriptionId"`
	RecoveryVirtualNetworkCustomInput          RecoveryVirtualNetworkCustomDetails           `json:"recoveryVirtualNetworkCustomInput"`
	VMDisks                                    *[]A2AProtectionIntentDiskInputDetails        `json:"vmDisks,omitempty"`
	VMManagedDisks                             *[]A2AProtectionIntentManagedDiskInputDetails `json:"vmManagedDisks,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2ACreateProtectionIntentInput) CreateProtectionIntentProviderSpecificDetails added in v0.20240920.1135249

func (s A2ACreateProtectionIntentInput) CreateProtectionIntentProviderSpecificDetails() BaseCreateProtectionIntentProviderSpecificDetailsImpl

func (A2ACreateProtectionIntentInput) MarshalJSON

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

func (*A2ACreateProtectionIntentInput) UnmarshalJSON

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

type A2AProtectionIntentDiskInputDetails

type A2AProtectionIntentDiskInputDetails struct {
	DiskUri                                 string                      `json:"diskUri"`
	PrimaryStagingStorageAccountCustomInput StorageAccountCustomDetails `json:"primaryStagingStorageAccountCustomInput"`
	RecoveryAzureStorageAccountCustomInput  StorageAccountCustomDetails `json:"recoveryAzureStorageAccountCustomInput"`
}

func (*A2AProtectionIntentDiskInputDetails) UnmarshalJSON

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

type A2AProtectionIntentManagedDiskInputDetails

type A2AProtectionIntentManagedDiskInputDetails struct {
	DiskEncryptionInfo                      *DiskEncryptionInfo                `json:"diskEncryptionInfo,omitempty"`
	DiskId                                  string                             `json:"diskId"`
	PrimaryStagingStorageAccountCustomInput StorageAccountCustomDetails        `json:"primaryStagingStorageAccountCustomInput"`
	RecoveryDiskEncryptionSetId             *string                            `json:"recoveryDiskEncryptionSetId,omitempty"`
	RecoveryReplicaDiskAccountType          *string                            `json:"recoveryReplicaDiskAccountType,omitempty"`
	RecoveryResourceGroupCustomInput        RecoveryResourceGroupCustomDetails `json:"recoveryResourceGroupCustomInput"`
	RecoveryTargetDiskAccountType           *string                            `json:"recoveryTargetDiskAccountType,omitempty"`
}

func (*A2AProtectionIntentManagedDiskInputDetails) UnmarshalJSON

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

type A2ARecoveryAvailabilityType

type A2ARecoveryAvailabilityType string
const (
	A2ARecoveryAvailabilityTypeAvailabilitySet  A2ARecoveryAvailabilityType = "AvailabilitySet"
	A2ARecoveryAvailabilityTypeAvailabilityZone A2ARecoveryAvailabilityType = "AvailabilityZone"
	A2ARecoveryAvailabilityTypeSingle           A2ARecoveryAvailabilityType = "Single"
)

func (*A2ARecoveryAvailabilityType) UnmarshalJSON

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

type A2AReplicationIntentDetails

type A2AReplicationIntentDetails struct {
	AgentAutoUpdateStatus               *AgentAutoUpdateStatus                        `json:"agentAutoUpdateStatus,omitempty"`
	AutoProtectionOfDataDisk            *AutoProtectionOfDataDisk                     `json:"autoProtectionOfDataDisk,omitempty"`
	AutomationAccountArmId              *string                                       `json:"automationAccountArmId,omitempty"`
	AutomationAccountAuthenticationType *AutomationAccountAuthenticationType          `json:"automationAccountAuthenticationType,omitempty"`
	DiskEncryptionInfo                  *DiskEncryptionInfo                           `json:"diskEncryptionInfo,omitempty"`
	FabricObjectId                      *string                                       `json:"fabricObjectId,omitempty"`
	MultiVMGroupId                      *string                                       `json:"multiVmGroupId,omitempty"`
	MultiVMGroupName                    *string                                       `json:"multiVmGroupName,omitempty"`
	PrimaryLocation                     *string                                       `json:"primaryLocation,omitempty"`
	PrimaryStagingStorageAccount        StorageAccountCustomDetails                   `json:"primaryStagingStorageAccount"`
	ProtectionProfile                   ProtectionProfileCustomDetails                `json:"protectionProfile"`
	RecoveryAvailabilitySet             RecoveryAvailabilitySetCustomDetails          `json:"recoveryAvailabilitySet"`
	RecoveryAvailabilityType            string                                        `json:"recoveryAvailabilityType"`
	RecoveryAvailabilityZone            *string                                       `json:"recoveryAvailabilityZone,omitempty"`
	RecoveryBootDiagStorageAccount      StorageAccountCustomDetails                   `json:"recoveryBootDiagStorageAccount"`
	RecoveryLocation                    *string                                       `json:"recoveryLocation,omitempty"`
	RecoveryProximityPlacementGroup     RecoveryProximityPlacementGroupCustomDetails  `json:"recoveryProximityPlacementGroup"`
	RecoveryResourceGroupId             *string                                       `json:"recoveryResourceGroupId,omitempty"`
	RecoverySubscriptionId              *string                                       `json:"recoverySubscriptionId,omitempty"`
	RecoveryVirtualNetwork              RecoveryVirtualNetworkCustomDetails           `json:"recoveryVirtualNetwork"`
	VMDisks                             *[]A2AProtectionIntentDiskInputDetails        `json:"vmDisks,omitempty"`
	VMManagedDisks                      *[]A2AProtectionIntentManagedDiskInputDetails `json:"vmManagedDisks,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2AReplicationIntentDetails) MarshalJSON

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

func (A2AReplicationIntentDetails) ReplicationProtectionIntentProviderSpecificSettings added in v0.20240920.1135249

func (s A2AReplicationIntentDetails) ReplicationProtectionIntentProviderSpecificSettings() BaseReplicationProtectionIntentProviderSpecificSettingsImpl

func (*A2AReplicationIntentDetails) UnmarshalJSON

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

type AgentAutoUpdateStatus

type AgentAutoUpdateStatus string
const (
	AgentAutoUpdateStatusDisabled AgentAutoUpdateStatus = "Disabled"
	AgentAutoUpdateStatusEnabled  AgentAutoUpdateStatus = "Enabled"
)

func (*AgentAutoUpdateStatus) UnmarshalJSON

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

type AutoProtectionOfDataDisk

type AutoProtectionOfDataDisk string
const (
	AutoProtectionOfDataDiskDisabled AutoProtectionOfDataDisk = "Disabled"
	AutoProtectionOfDataDiskEnabled  AutoProtectionOfDataDisk = "Enabled"
)

func (*AutoProtectionOfDataDisk) UnmarshalJSON

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

type AutomationAccountAuthenticationType

type AutomationAccountAuthenticationType string
const (
	AutomationAccountAuthenticationTypeRunAsAccount           AutomationAccountAuthenticationType = "RunAsAccount"
	AutomationAccountAuthenticationTypeSystemAssignedIdentity AutomationAccountAuthenticationType = "SystemAssignedIdentity"
)

func (*AutomationAccountAuthenticationType) UnmarshalJSON

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

type BaseCreateProtectionIntentProviderSpecificDetailsImpl added in v0.20240920.1135249

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

func (BaseCreateProtectionIntentProviderSpecificDetailsImpl) CreateProtectionIntentProviderSpecificDetails added in v0.20240920.1135249

type BaseProtectionProfileCustomDetailsImpl added in v0.20240920.1135249

type BaseProtectionProfileCustomDetailsImpl struct {
	ResourceType string `json:"resourceType"`
}

func (BaseProtectionProfileCustomDetailsImpl) ProtectionProfileCustomDetails added in v0.20240920.1135249

type BaseRecoveryAvailabilitySetCustomDetailsImpl added in v0.20240920.1135249

type BaseRecoveryAvailabilitySetCustomDetailsImpl struct {
	ResourceType string `json:"resourceType"`
}

func (BaseRecoveryAvailabilitySetCustomDetailsImpl) RecoveryAvailabilitySetCustomDetails added in v0.20240920.1135249

type BaseRecoveryProximityPlacementGroupCustomDetailsImpl added in v0.20240920.1135249

type BaseRecoveryProximityPlacementGroupCustomDetailsImpl struct {
	ResourceType string `json:"resourceType"`
}

func (BaseRecoveryProximityPlacementGroupCustomDetailsImpl) RecoveryProximityPlacementGroupCustomDetails added in v0.20240920.1135249

type BaseRecoveryResourceGroupCustomDetailsImpl added in v0.20240920.1135249

type BaseRecoveryResourceGroupCustomDetailsImpl struct {
	ResourceType string `json:"resourceType"`
}

func (BaseRecoveryResourceGroupCustomDetailsImpl) RecoveryResourceGroupCustomDetails added in v0.20240920.1135249

type BaseRecoveryVirtualNetworkCustomDetailsImpl added in v0.20240920.1135249

type BaseRecoveryVirtualNetworkCustomDetailsImpl struct {
	ResourceType string `json:"resourceType"`
}

func (BaseRecoveryVirtualNetworkCustomDetailsImpl) RecoveryVirtualNetworkCustomDetails added in v0.20240920.1135249

type BaseReplicationProtectionIntentProviderSpecificSettingsImpl added in v0.20240920.1135249

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

func (BaseReplicationProtectionIntentProviderSpecificSettingsImpl) ReplicationProtectionIntentProviderSpecificSettings added in v0.20240920.1135249

type BaseStorageAccountCustomDetailsImpl added in v0.20240920.1135249

type BaseStorageAccountCustomDetailsImpl struct {
	ResourceType string `json:"resourceType"`
}

func (BaseStorageAccountCustomDetailsImpl) StorageAccountCustomDetails added in v0.20240920.1135249

type CreateOperationResponse

type CreateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectionIntent
}

type CreateProtectionIntentInput

type CreateProtectionIntentInput struct {
	Properties *CreateProtectionIntentProperties `json:"properties,omitempty"`
}

type CreateProtectionIntentProperties

type CreateProtectionIntentProperties struct {
	ProviderSpecificDetails CreateProtectionIntentProviderSpecificDetails `json:"providerSpecificDetails"`
}

func (*CreateProtectionIntentProperties) UnmarshalJSON

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

type CreateProtectionIntentProviderSpecificDetails

type CreateProtectionIntentProviderSpecificDetails interface {
	CreateProtectionIntentProviderSpecificDetails() BaseCreateProtectionIntentProviderSpecificDetailsImpl
}

func UnmarshalCreateProtectionIntentProviderSpecificDetailsImplementation added in v0.20240920.1135249

func UnmarshalCreateProtectionIntentProviderSpecificDetailsImplementation(input []byte) (CreateProtectionIntentProviderSpecificDetails, error)

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 ExistingProtectionProfile

type ExistingProtectionProfile struct {
	ProtectionProfileId string `json:"protectionProfileId"`

	ResourceType string `json:"resourceType"`
}

func (ExistingProtectionProfile) MarshalJSON

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

func (ExistingProtectionProfile) ProtectionProfileCustomDetails added in v0.20240920.1135249

func (s ExistingProtectionProfile) ProtectionProfileCustomDetails() BaseProtectionProfileCustomDetailsImpl

type ExistingRecoveryAvailabilitySet

type ExistingRecoveryAvailabilitySet struct {
	RecoveryAvailabilitySetId *string `json:"recoveryAvailabilitySetId,omitempty"`

	ResourceType string `json:"resourceType"`
}

func (ExistingRecoveryAvailabilitySet) MarshalJSON

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

func (ExistingRecoveryAvailabilitySet) RecoveryAvailabilitySetCustomDetails added in v0.20240920.1135249

func (s ExistingRecoveryAvailabilitySet) RecoveryAvailabilitySetCustomDetails() BaseRecoveryAvailabilitySetCustomDetailsImpl

type ExistingRecoveryProximityPlacementGroup

type ExistingRecoveryProximityPlacementGroup struct {
	RecoveryProximityPlacementGroupId *string `json:"recoveryProximityPlacementGroupId,omitempty"`

	ResourceType string `json:"resourceType"`
}

func (ExistingRecoveryProximityPlacementGroup) MarshalJSON

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

func (ExistingRecoveryProximityPlacementGroup) RecoveryProximityPlacementGroupCustomDetails added in v0.20240920.1135249

type ExistingRecoveryRecoveryResourceGroup

type ExistingRecoveryRecoveryResourceGroup struct {
	RecoveryResourceGroupId *string `json:"recoveryResourceGroupId,omitempty"`

	ResourceType string `json:"resourceType"`
}

func (ExistingRecoveryRecoveryResourceGroup) MarshalJSON

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

func (ExistingRecoveryRecoveryResourceGroup) RecoveryResourceGroupCustomDetails added in v0.20240920.1135249

type ExistingRecoveryVirtualNetwork

type ExistingRecoveryVirtualNetwork struct {
	RecoverySubnetName       *string `json:"recoverySubnetName,omitempty"`
	RecoveryVirtualNetworkId string  `json:"recoveryVirtualNetworkId"`

	ResourceType string `json:"resourceType"`
}

func (ExistingRecoveryVirtualNetwork) MarshalJSON

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

func (ExistingRecoveryVirtualNetwork) RecoveryVirtualNetworkCustomDetails added in v0.20240920.1135249

func (s ExistingRecoveryVirtualNetwork) RecoveryVirtualNetworkCustomDetails() BaseRecoveryVirtualNetworkCustomDetailsImpl

type ExistingStorageAccount

type ExistingStorageAccount struct {
	AzureStorageAccountId string `json:"azureStorageAccountId"`

	ResourceType string `json:"resourceType"`
}

func (ExistingStorageAccount) MarshalJSON

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

func (ExistingStorageAccount) StorageAccountCustomDetails added in v0.20240920.1135249

func (s ExistingStorageAccount) StorageAccountCustomDetails() BaseStorageAccountCustomDetailsImpl

type GetOperationResponse

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

type KeyEncryptionKeyInfo

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

type ListCompleteResult

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

type ListCustomPager added in v0.20240628.1153531

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

type ListOperationOptions

type ListOperationOptions struct {
	SkipToken *string
	TakeToken *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders

func (o ListOperationOptions) ToHeaders() *client.Headers

func (ListOperationOptions) ToOData

func (o ListOperationOptions) ToOData() *odata.Query

func (ListOperationOptions) ToQuery

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ReplicationProtectionIntent
}

type NewProtectionProfile

type NewProtectionProfile struct {
	AppConsistentFrequencyInMinutes   *int64               `json:"appConsistentFrequencyInMinutes,omitempty"`
	CrashConsistentFrequencyInMinutes *int64               `json:"crashConsistentFrequencyInMinutes,omitempty"`
	MultiVMSyncStatus                 SetMultiVMSyncStatus `json:"multiVmSyncStatus"`
	PolicyName                        string               `json:"policyName"`
	RecoveryPointHistory              *int64               `json:"recoveryPointHistory,omitempty"`

	ResourceType string `json:"resourceType"`
}

func (NewProtectionProfile) MarshalJSON

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

func (NewProtectionProfile) ProtectionProfileCustomDetails added in v0.20240920.1135249

func (s NewProtectionProfile) ProtectionProfileCustomDetails() BaseProtectionProfileCustomDetailsImpl

type NewRecoveryVirtualNetwork

type NewRecoveryVirtualNetwork struct {
	RecoveryVirtualNetworkName              *string `json:"recoveryVirtualNetworkName,omitempty"`
	RecoveryVirtualNetworkResourceGroupName *string `json:"recoveryVirtualNetworkResourceGroupName,omitempty"`

	ResourceType string `json:"resourceType"`
}

func (NewRecoveryVirtualNetwork) MarshalJSON

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

func (NewRecoveryVirtualNetwork) RecoveryVirtualNetworkCustomDetails added in v0.20240920.1135249

func (s NewRecoveryVirtualNetwork) RecoveryVirtualNetworkCustomDetails() BaseRecoveryVirtualNetworkCustomDetailsImpl

type ProtectionProfileCustomDetails

type ProtectionProfileCustomDetails interface {
	ProtectionProfileCustomDetails() BaseProtectionProfileCustomDetailsImpl
}

func UnmarshalProtectionProfileCustomDetailsImplementation added in v0.20240920.1135249

func UnmarshalProtectionProfileCustomDetailsImplementation(input []byte) (ProtectionProfileCustomDetails, error)

type RawCreateProtectionIntentProviderSpecificDetailsImpl

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

RawCreateProtectionIntentProviderSpecificDetailsImpl 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 (RawCreateProtectionIntentProviderSpecificDetailsImpl) CreateProtectionIntentProviderSpecificDetails added in v0.20240920.1135249

type RawProtectionProfileCustomDetailsImpl

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

RawProtectionProfileCustomDetailsImpl 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 (RawProtectionProfileCustomDetailsImpl) ProtectionProfileCustomDetails added in v0.20240920.1135249

type RawRecoveryAvailabilitySetCustomDetailsImpl

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

RawRecoveryAvailabilitySetCustomDetailsImpl 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 (RawRecoveryAvailabilitySetCustomDetailsImpl) RecoveryAvailabilitySetCustomDetails added in v0.20240920.1135249

type RawRecoveryProximityPlacementGroupCustomDetailsImpl

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

RawRecoveryProximityPlacementGroupCustomDetailsImpl 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 (RawRecoveryProximityPlacementGroupCustomDetailsImpl) RecoveryProximityPlacementGroupCustomDetails added in v0.20240920.1135249

type RawRecoveryResourceGroupCustomDetailsImpl

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

RawRecoveryResourceGroupCustomDetailsImpl 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 (RawRecoveryResourceGroupCustomDetailsImpl) RecoveryResourceGroupCustomDetails added in v0.20240920.1135249

type RawRecoveryVirtualNetworkCustomDetailsImpl

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

RawRecoveryVirtualNetworkCustomDetailsImpl 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 (RawRecoveryVirtualNetworkCustomDetailsImpl) RecoveryVirtualNetworkCustomDetails added in v0.20240920.1135249

type RawReplicationProtectionIntentProviderSpecificSettingsImpl

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

RawReplicationProtectionIntentProviderSpecificSettingsImpl 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 (RawReplicationProtectionIntentProviderSpecificSettingsImpl) ReplicationProtectionIntentProviderSpecificSettings added in v0.20240920.1135249

type RawStorageAccountCustomDetailsImpl

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

RawStorageAccountCustomDetailsImpl 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 (RawStorageAccountCustomDetailsImpl) StorageAccountCustomDetails added in v0.20240920.1135249

type RecoveryAvailabilitySetCustomDetails

type RecoveryAvailabilitySetCustomDetails interface {
	RecoveryAvailabilitySetCustomDetails() BaseRecoveryAvailabilitySetCustomDetailsImpl
}

func UnmarshalRecoveryAvailabilitySetCustomDetailsImplementation added in v0.20240920.1135249

func UnmarshalRecoveryAvailabilitySetCustomDetailsImplementation(input []byte) (RecoveryAvailabilitySetCustomDetails, error)

type RecoveryProximityPlacementGroupCustomDetails

type RecoveryProximityPlacementGroupCustomDetails interface {
	RecoveryProximityPlacementGroupCustomDetails() BaseRecoveryProximityPlacementGroupCustomDetailsImpl
}

func UnmarshalRecoveryProximityPlacementGroupCustomDetailsImplementation added in v0.20240920.1135249

func UnmarshalRecoveryProximityPlacementGroupCustomDetailsImplementation(input []byte) (RecoveryProximityPlacementGroupCustomDetails, error)

type RecoveryResourceGroupCustomDetails

type RecoveryResourceGroupCustomDetails interface {
	RecoveryResourceGroupCustomDetails() BaseRecoveryResourceGroupCustomDetailsImpl
}

func UnmarshalRecoveryResourceGroupCustomDetailsImplementation added in v0.20240920.1135249

func UnmarshalRecoveryResourceGroupCustomDetailsImplementation(input []byte) (RecoveryResourceGroupCustomDetails, error)

type RecoveryVirtualNetworkCustomDetails

type RecoveryVirtualNetworkCustomDetails interface {
	RecoveryVirtualNetworkCustomDetails() BaseRecoveryVirtualNetworkCustomDetailsImpl
}

func UnmarshalRecoveryVirtualNetworkCustomDetailsImplementation added in v0.20240920.1135249

func UnmarshalRecoveryVirtualNetworkCustomDetailsImplementation(input []byte) (RecoveryVirtualNetworkCustomDetails, error)

type ReplicationProtectionIntent

type ReplicationProtectionIntent struct {
	Id         *string                                `json:"id,omitempty"`
	Location   *string                                `json:"location,omitempty"`
	Name       *string                                `json:"name,omitempty"`
	Properties *ReplicationProtectionIntentProperties `json:"properties,omitempty"`
	Type       *string                                `json:"type,omitempty"`
}

type ReplicationProtectionIntentId

type ReplicationProtectionIntentId struct {
	SubscriptionId                  string
	ResourceGroupName               string
	VaultName                       string
	ReplicationProtectionIntentName string
}

ReplicationProtectionIntentId is a struct representing the Resource ID for a Replication Protection Intent

func NewReplicationProtectionIntentID

func NewReplicationProtectionIntentID(subscriptionId string, resourceGroupName string, vaultName string, replicationProtectionIntentName string) ReplicationProtectionIntentId

NewReplicationProtectionIntentID returns a new ReplicationProtectionIntentId struct

func ParseReplicationProtectionIntentID

func ParseReplicationProtectionIntentID(input string) (*ReplicationProtectionIntentId, error)

ParseReplicationProtectionIntentID parses 'input' into a ReplicationProtectionIntentId

func ParseReplicationProtectionIntentIDInsensitively

func ParseReplicationProtectionIntentIDInsensitively(input string) (*ReplicationProtectionIntentId, error)

ParseReplicationProtectionIntentIDInsensitively parses 'input' case-insensitively into a ReplicationProtectionIntentId note: this method should only be used for API response data and not user input

func (*ReplicationProtectionIntentId) FromParseResult

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

func (ReplicationProtectionIntentId) ID

ID returns the formatted Replication Protection Intent ID

func (ReplicationProtectionIntentId) Segments

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

func (ReplicationProtectionIntentId) String

String returns a human-readable description of this Replication Protection Intent ID

type ReplicationProtectionIntentOperationPredicate

type ReplicationProtectionIntentOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ReplicationProtectionIntentOperationPredicate) Matches

type ReplicationProtectionIntentProperties

type ReplicationProtectionIntentProperties struct {
	CreationTimeUTC         *string                                             `json:"creationTimeUTC,omitempty"`
	FriendlyName            *string                                             `json:"friendlyName,omitempty"`
	IsActive                *bool                                               `json:"isActive,omitempty"`
	JobId                   *string                                             `json:"jobId,omitempty"`
	JobState                *string                                             `json:"jobState,omitempty"`
	ProviderSpecificDetails ReplicationProtectionIntentProviderSpecificSettings `json:"providerSpecificDetails"`
}

func (*ReplicationProtectionIntentProperties) UnmarshalJSON

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

type ReplicationProtectionIntentProviderSpecificSettings

type ReplicationProtectionIntentProviderSpecificSettings interface {
	ReplicationProtectionIntentProviderSpecificSettings() BaseReplicationProtectionIntentProviderSpecificSettingsImpl
}

func UnmarshalReplicationProtectionIntentProviderSpecificSettingsImplementation added in v0.20240920.1135249

func UnmarshalReplicationProtectionIntentProviderSpecificSettingsImplementation(input []byte) (ReplicationProtectionIntentProviderSpecificSettings, error)

type ReplicationProtectionIntentsClient

type ReplicationProtectionIntentsClient struct {
	Client *resourcemanager.Client
}

func NewReplicationProtectionIntentsClientWithBaseURI

func NewReplicationProtectionIntentsClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationProtectionIntentsClient, error)

func (ReplicationProtectionIntentsClient) Create

Create ...

func (ReplicationProtectionIntentsClient) Get

Get ...

func (ReplicationProtectionIntentsClient) List

List ...

func (ReplicationProtectionIntentsClient) ListComplete

ListComplete retrieves all the results into a single object

func (ReplicationProtectionIntentsClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type SetMultiVMSyncStatus

type SetMultiVMSyncStatus string
const (
	SetMultiVMSyncStatusDisable SetMultiVMSyncStatus = "Disable"
	SetMultiVMSyncStatusEnable  SetMultiVMSyncStatus = "Enable"
)

func (*SetMultiVMSyncStatus) UnmarshalJSON

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

type StorageAccountCustomDetails

type StorageAccountCustomDetails interface {
	StorageAccountCustomDetails() BaseStorageAccountCustomDetailsImpl
}

func UnmarshalStorageAccountCustomDetailsImplementation added in v0.20240920.1135249

func UnmarshalStorageAccountCustomDetailsImplementation(input []byte) (StorageAccountCustomDetails, error)

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