Documentation ¶
Index ¶
- type ArmDisasterRecovery
- type ArmDisasterRecoveryPredicate
- type ArmDisasterRecoveryProperties
- type BreakPairingResponse
- type CreateOrUpdateResponse
- type DeleteResponse
- type DisasterRecoveryConfigId
- type DisasterRecoveryConfigsClient
- func (c DisasterRecoveryConfigsClient) BreakPairing(ctx context.Context, id DisasterRecoveryConfigId) (result BreakPairingResponse, err error)
- func (c DisasterRecoveryConfigsClient) CreateOrUpdate(ctx context.Context, id DisasterRecoveryConfigId, input ArmDisasterRecovery) (result CreateOrUpdateResponse, err error)
- func (c DisasterRecoveryConfigsClient) Delete(ctx context.Context, id DisasterRecoveryConfigId) (result DeleteResponse, err error)
- func (c DisasterRecoveryConfigsClient) FailOver(ctx context.Context, id DisasterRecoveryConfigId) (result FailOverResponse, err error)
- func (c DisasterRecoveryConfigsClient) Get(ctx context.Context, id DisasterRecoveryConfigId) (result GetResponse, err error)
- func (c DisasterRecoveryConfigsClient) List(ctx context.Context, id NamespaceId) (resp ListResponse, err error)
- func (c DisasterRecoveryConfigsClient) ListComplete(ctx context.Context, id NamespaceId) (ListCompleteResult, error)
- func (c DisasterRecoveryConfigsClient) ListCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate ArmDisasterRecoveryPredicate) (resp ListCompleteResult, err error)
- type FailOverResponse
- type GetResponse
- type ListCompleteResult
- type ListResponse
- type NamespaceId
- type ProvisioningStateDR
- type RoleDisasterRecovery
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 ¶
func (ArmDisasterRecoveryPredicate) Matches ¶
func (p ArmDisasterRecoveryPredicate) Matches(input ArmDisasterRecovery) bool
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 CreateOrUpdateResponse ¶
type CreateOrUpdateResponse struct { HttpResponse *http.Response Model *ArmDisasterRecovery }
type DeleteResponse ¶
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 (id DisasterRecoveryConfigId) ID() string
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 ¶
func (c DisasterRecoveryConfigsClient) BreakPairing(ctx context.Context, id DisasterRecoveryConfigId) (result BreakPairingResponse, err error)
BreakPairing ...
func (DisasterRecoveryConfigsClient) CreateOrUpdate ¶
func (c DisasterRecoveryConfigsClient) CreateOrUpdate(ctx context.Context, id DisasterRecoveryConfigId, input ArmDisasterRecovery) (result CreateOrUpdateResponse, err error)
CreateOrUpdate ...
func (DisasterRecoveryConfigsClient) Delete ¶
func (c DisasterRecoveryConfigsClient) Delete(ctx context.Context, id DisasterRecoveryConfigId) (result DeleteResponse, err error)
Delete ...
func (DisasterRecoveryConfigsClient) FailOver ¶
func (c DisasterRecoveryConfigsClient) FailOver(ctx context.Context, id DisasterRecoveryConfigId) (result FailOverResponse, err error)
FailOver ...
func (DisasterRecoveryConfigsClient) Get ¶
func (c DisasterRecoveryConfigsClient) Get(ctx context.Context, id DisasterRecoveryConfigId) (result GetResponse, err error)
Get ...
func (DisasterRecoveryConfigsClient) List ¶
func (c DisasterRecoveryConfigsClient) List(ctx context.Context, id NamespaceId) (resp ListResponse, err error)
List ...
func (DisasterRecoveryConfigsClient) ListComplete ¶
func (c DisasterRecoveryConfigsClient) ListComplete(ctx context.Context, id NamespaceId) (ListCompleteResult, error)
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 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 ¶
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" )
Source Files ¶
- client.go
- constants.go
- id_disasterrecoveryconfig.go
- id_namespace.go
- method_breakpairing_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_failover_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_armdisasterrecovery.go
- model_armdisasterrecoveryproperties.go
- predicates.go
- version.go