disasterrecoveryconfigs

package
v2.85.6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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
	ResourceGroup  string
	NamespaceName  string
	Name           string
}

func NewDisasterRecoveryConfigID

func NewDisasterRecoveryConfigID(subscriptionId, resourceGroup, namespaceName, name string) DisasterRecoveryConfigId

func ParseDisasterRecoveryConfigID

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

ParseDisasterRecoveryConfigID parses a DisasterRecoveryConfig ID into an DisasterRecoveryConfigId struct

func ParseDisasterRecoveryConfigIDInsensitively

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

ParseDisasterRecoveryConfigIDInsensitively parses an DisasterRecoveryConfig ID into an DisasterRecoveryConfigId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseDisasterRecoveryConfigID method should be used instead for validation etc.

func (DisasterRecoveryConfigId) ID

func (DisasterRecoveryConfigId) String

func (id DisasterRecoveryConfigId) String() string

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
	ResourceGroup  string
	Name           string
}

func NewNamespaceID

func NewNamespaceID(subscriptionId, resourceGroup, name string) NamespaceId

func ParseNamespaceID

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

ParseNamespaceID parses a Namespace ID into an NamespaceId struct

func ParseNamespaceIDInsensitively

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

ParseNamespaceIDInsensitively parses an Namespace ID into an NamespaceId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseNamespaceID method should be used instead for validation etc.

func (NamespaceId) ID

func (id NamespaceId) ID() string

func (NamespaceId) String

func (id NamespaceId) String() string

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