Documentation ¶
Index ¶
- func PossibleValuesForReplicationRole() []string
- func PossibleValuesForReplicationState() []string
- func ValidateReplicationLinkID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSqlPoolID(input interface{}, key string) (warnings []string, errors []error)
- type ReplicationLink
- type ReplicationLinkId
- type ReplicationLinkOperationPredicate
- type ReplicationLinkProperties
- type ReplicationRole
- type ReplicationState
- type SqlPoolId
- type SqlPoolReplicationLinksGetByNameOperationResponse
- type SqlPoolReplicationLinksListCompleteResult
- type SqlPoolReplicationLinksListOperationResponse
- type SqlPoolsReplicationLinksClient
- func (c SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksGetByName(ctx context.Context, id ReplicationLinkId) (result SqlPoolReplicationLinksGetByNameOperationResponse, err error)
- func (c SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksList(ctx context.Context, id SqlPoolId) (result SqlPoolReplicationLinksListOperationResponse, err error)
- func (c SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksListComplete(ctx context.Context, id SqlPoolId) (SqlPoolReplicationLinksListCompleteResult, error)
- func (c SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksListCompleteMatchingPredicate(ctx context.Context, id SqlPoolId, predicate ReplicationLinkOperationPredicate) (result SqlPoolReplicationLinksListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForReplicationRole ¶
func PossibleValuesForReplicationRole() []string
func PossibleValuesForReplicationState ¶
func PossibleValuesForReplicationState() []string
func ValidateReplicationLinkID ¶
ValidateReplicationLinkID checks that 'input' can be parsed as a Replication Link ID
func ValidateSqlPoolID ¶
ValidateSqlPoolID checks that 'input' can be parsed as a Sql Pool ID
Types ¶
type ReplicationLink ¶
type ReplicationLink struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ReplicationLinkProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ReplicationLinkId ¶
type ReplicationLinkId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string LinkId string }
ReplicationLinkId is a struct representing the Resource ID for a Replication Link
func NewReplicationLinkID ¶
func NewReplicationLinkID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string, linkId string) ReplicationLinkId
NewReplicationLinkID returns a new ReplicationLinkId struct
func ParseReplicationLinkID ¶
func ParseReplicationLinkID(input string) (*ReplicationLinkId, error)
ParseReplicationLinkID parses 'input' into a ReplicationLinkId
func ParseReplicationLinkIDInsensitively ¶
func ParseReplicationLinkIDInsensitively(input string) (*ReplicationLinkId, error)
ParseReplicationLinkIDInsensitively parses 'input' case-insensitively into a ReplicationLinkId note: this method should only be used for API response data and not user input
func (*ReplicationLinkId) FromParseResult ¶
func (id *ReplicationLinkId) FromParseResult(input resourceids.ParseResult) error
func (ReplicationLinkId) ID ¶
func (id ReplicationLinkId) ID() string
ID returns the formatted Replication Link ID
func (ReplicationLinkId) Segments ¶
func (id ReplicationLinkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Link ID
func (ReplicationLinkId) String ¶
func (id ReplicationLinkId) String() string
String returns a human-readable description of this Replication Link ID
type ReplicationLinkOperationPredicate ¶
type ReplicationLinkOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ReplicationLinkOperationPredicate) Matches ¶
func (p ReplicationLinkOperationPredicate) Matches(input ReplicationLink) bool
type ReplicationLinkProperties ¶
type ReplicationLinkProperties struct { IsTerminationAllowed *bool `json:"isTerminationAllowed,omitempty"` PartnerDatabase *string `json:"partnerDatabase,omitempty"` PartnerLocation *string `json:"partnerLocation,omitempty"` PartnerRole *ReplicationRole `json:"partnerRole,omitempty"` PartnerServer *string `json:"partnerServer,omitempty"` PercentComplete *int64 `json:"percentComplete,omitempty"` ReplicationMode *string `json:"replicationMode,omitempty"` ReplicationState *ReplicationState `json:"replicationState,omitempty"` Role *ReplicationRole `json:"role,omitempty"` StartTime *string `json:"startTime,omitempty"` }
func (*ReplicationLinkProperties) GetStartTimeAsTime ¶
func (o *ReplicationLinkProperties) GetStartTimeAsTime() (*time.Time, error)
func (*ReplicationLinkProperties) SetStartTimeAsTime ¶
func (o *ReplicationLinkProperties) SetStartTimeAsTime(input time.Time)
type ReplicationRole ¶
type ReplicationRole string
const ( ReplicationRoleCopy ReplicationRole = "Copy" ReplicationRoleNonReadableSecondary ReplicationRole = "NonReadableSecondary" ReplicationRolePrimary ReplicationRole = "Primary" ReplicationRoleSecondary ReplicationRole = "Secondary" ReplicationRoleSource ReplicationRole = "Source" )
func (*ReplicationRole) UnmarshalJSON ¶
func (s *ReplicationRole) UnmarshalJSON(bytes []byte) error
type ReplicationState ¶
type ReplicationState string
const ( ReplicationStateCATCHUP ReplicationState = "CATCH_UP" ReplicationStatePENDING ReplicationState = "PENDING" ReplicationStateSEEDING ReplicationState = "SEEDING" ReplicationStateSUSPENDED ReplicationState = "SUSPENDED" )
func (*ReplicationState) UnmarshalJSON ¶
func (s *ReplicationState) UnmarshalJSON(bytes []byte) error
type SqlPoolId ¶
type SqlPoolId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string }
SqlPoolId is a struct representing the Resource ID for a Sql Pool
func NewSqlPoolID ¶
func NewSqlPoolID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string) SqlPoolId
NewSqlPoolID returns a new SqlPoolId struct
func ParseSqlPoolID ¶
ParseSqlPoolID parses 'input' into a SqlPoolId
func ParseSqlPoolIDInsensitively ¶
ParseSqlPoolIDInsensitively parses 'input' case-insensitively into a SqlPoolId note: this method should only be used for API response data and not user input
func (*SqlPoolId) FromParseResult ¶
func (id *SqlPoolId) FromParseResult(input resourceids.ParseResult) error
func (SqlPoolId) Segments ¶
func (id SqlPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sql Pool ID
type SqlPoolReplicationLinksGetByNameOperationResponse ¶
type SqlPoolReplicationLinksGetByNameOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ReplicationLink }
type SqlPoolReplicationLinksListCompleteResult ¶
type SqlPoolReplicationLinksListCompleteResult struct { LatestHttpResponse *http.Response Items []ReplicationLink }
type SqlPoolReplicationLinksListOperationResponse ¶
type SqlPoolReplicationLinksListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ReplicationLink }
type SqlPoolsReplicationLinksClient ¶
type SqlPoolsReplicationLinksClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsReplicationLinksClientWithBaseURI ¶
func NewSqlPoolsReplicationLinksClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsReplicationLinksClient, error)
func (SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksGetByName ¶
func (c SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksGetByName(ctx context.Context, id ReplicationLinkId) (result SqlPoolReplicationLinksGetByNameOperationResponse, err error)
SqlPoolReplicationLinksGetByName ...
func (SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksList ¶
func (c SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksList(ctx context.Context, id SqlPoolId) (result SqlPoolReplicationLinksListOperationResponse, err error)
SqlPoolReplicationLinksList ...
func (SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksListComplete ¶
func (c SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksListComplete(ctx context.Context, id SqlPoolId) (SqlPoolReplicationLinksListCompleteResult, error)
SqlPoolReplicationLinksListComplete retrieves all the results into a single object
func (SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksListCompleteMatchingPredicate ¶
func (c SqlPoolsReplicationLinksClient) SqlPoolReplicationLinksListCompleteMatchingPredicate(ctx context.Context, id SqlPoolId, predicate ReplicationLinkOperationPredicate) (result SqlPoolReplicationLinksListCompleteResult, err error)
SqlPoolReplicationLinksListCompleteMatchingPredicate retrieves all the results and then applies the predicate