Documentation ¶
Index ¶
- func PossibleValuesForEndpointType() []string
- func PossibleValuesForMirrorState() []string
- func PossibleValuesForRelationshipStatus() []string
- func PossibleValuesForReplicationSchedule() []string
- func ValidateVolumeID(input interface{}, key string) (warnings []string, errors []error)
- type AuthorizeRequest
- type BreakReplicationRequest
- type EndpointType
- type ListReplications
- type MirrorState
- type ReestablishReplicationRequest
- type RelationshipStatus
- type Replication
- type ReplicationSchedule
- type ReplicationStatus
- type VolumeId
- type VolumesAuthorizeReplicationOperationResponse
- type VolumesBreakReplicationOperationResponse
- type VolumesDeleteReplicationOperationResponse
- type VolumesListReplicationsOperationResponse
- type VolumesReInitializeReplicationOperationResponse
- type VolumesReestablishReplicationOperationResponse
- type VolumesReplicationClient
- func (c VolumesReplicationClient) VolumesAuthorizeReplication(ctx context.Context, id VolumeId, input AuthorizeRequest) (result VolumesAuthorizeReplicationOperationResponse, err error)
- func (c VolumesReplicationClient) VolumesAuthorizeReplicationThenPoll(ctx context.Context, id VolumeId, input AuthorizeRequest) error
- func (c VolumesReplicationClient) VolumesBreakReplication(ctx context.Context, id VolumeId, input BreakReplicationRequest) (result VolumesBreakReplicationOperationResponse, err error)
- func (c VolumesReplicationClient) VolumesBreakReplicationThenPoll(ctx context.Context, id VolumeId, input BreakReplicationRequest) error
- func (c VolumesReplicationClient) VolumesDeleteReplication(ctx context.Context, id VolumeId) (result VolumesDeleteReplicationOperationResponse, err error)
- func (c VolumesReplicationClient) VolumesDeleteReplicationThenPoll(ctx context.Context, id VolumeId) error
- func (c VolumesReplicationClient) VolumesListReplications(ctx context.Context, id VolumeId) (result VolumesListReplicationsOperationResponse, err error)
- func (c VolumesReplicationClient) VolumesReInitializeReplication(ctx context.Context, id VolumeId) (result VolumesReInitializeReplicationOperationResponse, err error)
- func (c VolumesReplicationClient) VolumesReInitializeReplicationThenPoll(ctx context.Context, id VolumeId) error
- func (c VolumesReplicationClient) VolumesReestablishReplication(ctx context.Context, id VolumeId, input ReestablishReplicationRequest) (result VolumesReestablishReplicationOperationResponse, err error)
- func (c VolumesReplicationClient) VolumesReestablishReplicationThenPoll(ctx context.Context, id VolumeId, input ReestablishReplicationRequest) error
- func (c VolumesReplicationClient) VolumesReplicationStatus(ctx context.Context, id VolumeId) (result VolumesReplicationStatusOperationResponse, err error)
- func (c VolumesReplicationClient) VolumesResyncReplication(ctx context.Context, id VolumeId) (result VolumesResyncReplicationOperationResponse, err error)
- func (c VolumesReplicationClient) VolumesResyncReplicationThenPoll(ctx context.Context, id VolumeId) error
- type VolumesReplicationStatusOperationResponse
- type VolumesResyncReplicationOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEndpointType ¶
func PossibleValuesForEndpointType() []string
func PossibleValuesForMirrorState ¶
func PossibleValuesForMirrorState() []string
func PossibleValuesForRelationshipStatus ¶
func PossibleValuesForRelationshipStatus() []string
func PossibleValuesForReplicationSchedule ¶
func PossibleValuesForReplicationSchedule() []string
func ValidateVolumeID ¶
ValidateVolumeID checks that 'input' can be parsed as a Volume ID
Types ¶
type AuthorizeRequest ¶
type AuthorizeRequest struct {
RemoteVolumeResourceId *string `json:"remoteVolumeResourceId,omitempty"`
}
type BreakReplicationRequest ¶
type BreakReplicationRequest struct {
ForceBreakReplication *bool `json:"forceBreakReplication,omitempty"`
}
type EndpointType ¶
type EndpointType string
const ( EndpointTypeDst EndpointType = "dst" EndpointTypeSrc EndpointType = "src" )
type ListReplications ¶
type ListReplications struct {
Value *[]Replication `json:"value,omitempty"`
}
type MirrorState ¶
type MirrorState string
const ( MirrorStateBroken MirrorState = "Broken" MirrorStateMirrored MirrorState = "Mirrored" MirrorStateUninitialized MirrorState = "Uninitialized" )
type ReestablishReplicationRequest ¶
type ReestablishReplicationRequest struct {
SourceVolumeId *string `json:"sourceVolumeId,omitempty"`
}
type RelationshipStatus ¶
type RelationshipStatus string
const ( RelationshipStatusIdle RelationshipStatus = "Idle" RelationshipStatusTransferring RelationshipStatus = "Transferring" )
type Replication ¶
type Replication struct { EndpointType *EndpointType `json:"endpointType,omitempty"` RemoteVolumeRegion *string `json:"remoteVolumeRegion,omitempty"` RemoteVolumeResourceId string `json:"remoteVolumeResourceId"` ReplicationSchedule *ReplicationSchedule `json:"replicationSchedule,omitempty"` }
type ReplicationSchedule ¶
type ReplicationSchedule string
const ( ReplicationScheduleDaily ReplicationSchedule = "daily" ReplicationScheduleHourly ReplicationSchedule = "hourly" ReplicationScheduleOneZerominutely ReplicationSchedule = "_10minutely" )
type ReplicationStatus ¶
type ReplicationStatus struct { ErrorMessage *string `json:"errorMessage,omitempty"` Healthy *bool `json:"healthy,omitempty"` MirrorState *MirrorState `json:"mirrorState,omitempty"` RelationshipStatus *RelationshipStatus `json:"relationshipStatus,omitempty"` TotalProgress *string `json:"totalProgress,omitempty"` }
type VolumeId ¶
type VolumeId struct { SubscriptionId string ResourceGroupName string AccountName string PoolName string VolumeName string }
VolumeId is a struct representing the Resource ID for a Volume
func NewVolumeID ¶
func NewVolumeID(subscriptionId string, resourceGroupName string, accountName string, poolName string, volumeName string) VolumeId
NewVolumeID returns a new VolumeId struct
func ParseVolumeID ¶
ParseVolumeID parses 'input' into a VolumeId
func ParseVolumeIDInsensitively ¶
ParseVolumeIDInsensitively parses 'input' case-insensitively into a VolumeId note: this method should only be used for API response data and not user input
func (VolumeId) Segments ¶
func (id VolumeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Volume ID
type VolumesAuthorizeReplicationOperationResponse ¶
type VolumesAuthorizeReplicationOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type VolumesBreakReplicationOperationResponse ¶
type VolumesBreakReplicationOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type VolumesDeleteReplicationOperationResponse ¶
type VolumesDeleteReplicationOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type VolumesListReplicationsOperationResponse ¶
type VolumesListReplicationsOperationResponse struct { HttpResponse *http.Response Model *ListReplications }
type VolumesReInitializeReplicationOperationResponse ¶
type VolumesReInitializeReplicationOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type VolumesReestablishReplicationOperationResponse ¶
type VolumesReestablishReplicationOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type VolumesReplicationClient ¶
type VolumesReplicationClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewVolumesReplicationClientWithBaseURI ¶
func NewVolumesReplicationClientWithBaseURI(endpoint string) VolumesReplicationClient
func (VolumesReplicationClient) VolumesAuthorizeReplication ¶
func (c VolumesReplicationClient) VolumesAuthorizeReplication(ctx context.Context, id VolumeId, input AuthorizeRequest) (result VolumesAuthorizeReplicationOperationResponse, err error)
VolumesAuthorizeReplication ...
func (VolumesReplicationClient) VolumesAuthorizeReplicationThenPoll ¶
func (c VolumesReplicationClient) VolumesAuthorizeReplicationThenPoll(ctx context.Context, id VolumeId, input AuthorizeRequest) error
VolumesAuthorizeReplicationThenPoll performs VolumesAuthorizeReplication then polls until it's completed
func (VolumesReplicationClient) VolumesBreakReplication ¶
func (c VolumesReplicationClient) VolumesBreakReplication(ctx context.Context, id VolumeId, input BreakReplicationRequest) (result VolumesBreakReplicationOperationResponse, err error)
VolumesBreakReplication ...
func (VolumesReplicationClient) VolumesBreakReplicationThenPoll ¶
func (c VolumesReplicationClient) VolumesBreakReplicationThenPoll(ctx context.Context, id VolumeId, input BreakReplicationRequest) error
VolumesBreakReplicationThenPoll performs VolumesBreakReplication then polls until it's completed
func (VolumesReplicationClient) VolumesDeleteReplication ¶
func (c VolumesReplicationClient) VolumesDeleteReplication(ctx context.Context, id VolumeId) (result VolumesDeleteReplicationOperationResponse, err error)
VolumesDeleteReplication ...
func (VolumesReplicationClient) VolumesDeleteReplicationThenPoll ¶
func (c VolumesReplicationClient) VolumesDeleteReplicationThenPoll(ctx context.Context, id VolumeId) error
VolumesDeleteReplicationThenPoll performs VolumesDeleteReplication then polls until it's completed
func (VolumesReplicationClient) VolumesListReplications ¶
func (c VolumesReplicationClient) VolumesListReplications(ctx context.Context, id VolumeId) (result VolumesListReplicationsOperationResponse, err error)
VolumesListReplications ...
func (VolumesReplicationClient) VolumesReInitializeReplication ¶
func (c VolumesReplicationClient) VolumesReInitializeReplication(ctx context.Context, id VolumeId) (result VolumesReInitializeReplicationOperationResponse, err error)
VolumesReInitializeReplication ...
func (VolumesReplicationClient) VolumesReInitializeReplicationThenPoll ¶
func (c VolumesReplicationClient) VolumesReInitializeReplicationThenPoll(ctx context.Context, id VolumeId) error
VolumesReInitializeReplicationThenPoll performs VolumesReInitializeReplication then polls until it's completed
func (VolumesReplicationClient) VolumesReestablishReplication ¶
func (c VolumesReplicationClient) VolumesReestablishReplication(ctx context.Context, id VolumeId, input ReestablishReplicationRequest) (result VolumesReestablishReplicationOperationResponse, err error)
VolumesReestablishReplication ...
func (VolumesReplicationClient) VolumesReestablishReplicationThenPoll ¶
func (c VolumesReplicationClient) VolumesReestablishReplicationThenPoll(ctx context.Context, id VolumeId, input ReestablishReplicationRequest) error
VolumesReestablishReplicationThenPoll performs VolumesReestablishReplication then polls until it's completed
func (VolumesReplicationClient) VolumesReplicationStatus ¶
func (c VolumesReplicationClient) VolumesReplicationStatus(ctx context.Context, id VolumeId) (result VolumesReplicationStatusOperationResponse, err error)
VolumesReplicationStatus ...
func (VolumesReplicationClient) VolumesResyncReplication ¶
func (c VolumesReplicationClient) VolumesResyncReplication(ctx context.Context, id VolumeId) (result VolumesResyncReplicationOperationResponse, err error)
VolumesResyncReplication ...
func (VolumesReplicationClient) VolumesResyncReplicationThenPoll ¶
func (c VolumesReplicationClient) VolumesResyncReplicationThenPoll(ctx context.Context, id VolumeId) error
VolumesResyncReplicationThenPoll performs VolumesResyncReplication then polls until it's completed
type VolumesReplicationStatusOperationResponse ¶
type VolumesReplicationStatusOperationResponse struct { HttpResponse *http.Response Model *ReplicationStatus }
type VolumesResyncReplicationOperationResponse ¶
type VolumesResyncReplicationOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_volume.go
- method_volumesauthorizereplication_autorest.go
- method_volumesbreakreplication_autorest.go
- method_volumesdeletereplication_autorest.go
- method_volumeslistreplications_autorest.go
- method_volumesreestablishreplication_autorest.go
- method_volumesreinitializereplication_autorest.go
- method_volumesreplicationstatus_autorest.go
- method_volumesresyncreplication_autorest.go
- model_authorizerequest.go
- model_breakreplicationrequest.go
- model_listreplications.go
- model_reestablishreplicationrequest.go
- model_replication.go
- model_replicationstatus.go
- version.go