disasterrecoveryconfigs

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForProvisioningStateDR

func PossibleValuesForProvisioningStateDR() []string

func PossibleValuesForRoleDisasterRecovery

func PossibleValuesForRoleDisasterRecovery() []string

func ValidateDisasterRecoveryConfigID

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

ValidateDisasterRecoveryConfigID checks that 'input' can be parsed as a Disaster Recovery Config ID

func ValidateNamespaceID

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

ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID

Types

type ArmDisasterRecovery

type ArmDisasterRecovery struct {
	Id         *string                        `json:"id,omitempty"`
	Name       *string                        `json:"name,omitempty"`
	Properties *ArmDisasterRecoveryProperties `json:"properties,omitempty"`
	Type       *string                        `json:"type,omitempty"`
}

type ArmDisasterRecoveryPredicate

type ArmDisasterRecoveryPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (ArmDisasterRecoveryPredicate) Matches

type ArmDisasterRecoveryProperties

type ArmDisasterRecoveryProperties struct {
	AlternateName                     *string               `json:"alternateName,omitempty"`
	PartnerNamespace                  *string               `json:"partnerNamespace,omitempty"`
	PendingReplicationOperationsCount *int64                `json:"pendingReplicationOperationsCount,omitempty"`
	ProvisioningState                 *ProvisioningStateDR  `json:"provisioningState,omitempty"`
	Role                              *RoleDisasterRecovery `json:"role,omitempty"`
}

type BreakPairingResponse

type BreakPairingResponse struct {
	HttpResponse *http.Response
}

type CreateOrUpdateResponse

type CreateOrUpdateResponse struct {
	HttpResponse *http.Response
	Model        *ArmDisasterRecovery
}

type DeleteResponse

type DeleteResponse struct {
	HttpResponse *http.Response
}

type DisasterRecoveryConfigId

type DisasterRecoveryConfigId struct {
	SubscriptionId    string
	ResourceGroupName string
	NamespaceName     string
	Alias             string
}

DisasterRecoveryConfigId is a struct representing the Resource ID for a Disaster Recovery Config

func NewDisasterRecoveryConfigID

func NewDisasterRecoveryConfigID(subscriptionId string, resourceGroupName string, namespaceName string, alias string) DisasterRecoveryConfigId

NewDisasterRecoveryConfigID returns a new DisasterRecoveryConfigId struct

func ParseDisasterRecoveryConfigID

func ParseDisasterRecoveryConfigID(input string) (*DisasterRecoveryConfigId, error)

ParseDisasterRecoveryConfigID parses 'input' into a DisasterRecoveryConfigId

func ParseDisasterRecoveryConfigIDInsensitively

func ParseDisasterRecoveryConfigIDInsensitively(input string) (*DisasterRecoveryConfigId, error)

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

func (DisasterRecoveryConfigId) ID

ID returns the formatted Disaster Recovery Config ID

func (DisasterRecoveryConfigId) Segments

Segments returns a slice of Resource ID Segments which comprise this Disaster Recovery Config ID

func (DisasterRecoveryConfigId) String

func (id DisasterRecoveryConfigId) String() string

String returns a human-readable description of this Disaster Recovery Config ID

type DisasterRecoveryConfigsClient

type DisasterRecoveryConfigsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewDisasterRecoveryConfigsClientWithBaseURI

func NewDisasterRecoveryConfigsClientWithBaseURI(endpoint string) DisasterRecoveryConfigsClient

func (DisasterRecoveryConfigsClient) BreakPairing

BreakPairing ...

func (DisasterRecoveryConfigsClient) CreateOrUpdate

CreateOrUpdate ...

func (DisasterRecoveryConfigsClient) Delete

Delete ...

func (DisasterRecoveryConfigsClient) FailOver

FailOver ...

func (DisasterRecoveryConfigsClient) Get

Get ...

func (DisasterRecoveryConfigsClient) List

List ...

func (DisasterRecoveryConfigsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (DisasterRecoveryConfigsClient) ListCompleteMatchingPredicate

func (c DisasterRecoveryConfigsClient) ListCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate ArmDisasterRecoveryPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type FailOverResponse

type FailOverResponse struct {
	HttpResponse *http.Response
}

type GetResponse

type GetResponse struct {
	HttpResponse *http.Response
	Model        *ArmDisasterRecovery
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []ArmDisasterRecovery
}

type ListResponse

type ListResponse struct {
	HttpResponse *http.Response
	Model        *[]ArmDisasterRecovery
	// contains filtered or unexported fields
}

func (ListResponse) HasMore

func (r ListResponse) HasMore() bool

func (ListResponse) LoadMore

func (r ListResponse) LoadMore(ctx context.Context) (resp ListResponse, err error)

type NamespaceId

type NamespaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	NamespaceName     string
}

NamespaceId is a struct representing the Resource ID for a Namespace

func NewNamespaceID

func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId

NewNamespaceID returns a new NamespaceId struct

func ParseNamespaceID

func ParseNamespaceID(input string) (*NamespaceId, error)

ParseNamespaceID parses 'input' into a NamespaceId

func ParseNamespaceIDInsensitively

func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)

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

func (NamespaceId) ID

func (id NamespaceId) ID() string

ID returns the formatted Namespace ID

func (NamespaceId) Segments

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

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

func (NamespaceId) String

func (id NamespaceId) String() string

String returns a human-readable description of this Namespace ID

type ProvisioningStateDR

type ProvisioningStateDR string
const (
	ProvisioningStateDRAccepted  ProvisioningStateDR = "Accepted"
	ProvisioningStateDRFailed    ProvisioningStateDR = "Failed"
	ProvisioningStateDRSucceeded ProvisioningStateDR = "Succeeded"
)

type RoleDisasterRecovery

type RoleDisasterRecovery string
const (
	RoleDisasterRecoveryPrimary               RoleDisasterRecovery = "Primary"
	RoleDisasterRecoveryPrimaryNotReplicating RoleDisasterRecovery = "PrimaryNotReplicating"
	RoleDisasterRecoverySecondary             RoleDisasterRecovery = "Secondary"
)

Jump to

Keyboard shortcuts

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