Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForReplicationLinkType() []string + func PossibleValuesForReplicationRole() []string + func PossibleValuesForReplicationState() []string + func ValidateReplicationLinkID(input interface{}, key string) (warnings []string, errors []error) + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ReplicationLink + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type FailoverAllowDataLossOperationResponse struct + HttpResponse *http.Response + Model *ReplicationLink + OData *odata.OData + Poller pollers.Poller + type FailoverOperationResponse struct + HttpResponse *http.Response + Model *ReplicationLink + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model *ReplicationLink + OData *odata.OData + type ListByDatabaseCompleteResult struct + Items []ReplicationLink + LatestHttpResponse *http.Response + type ListByDatabaseCustomPager struct + NextLink *odata.Link + func (p *ListByDatabaseCustomPager) NextPageLink() *odata.Link + type ListByDatabaseOperationResponse struct + HttpResponse *http.Response + Model *[]ReplicationLink + OData *odata.OData + type ListByServerCompleteResult struct + Items []ReplicationLink + LatestHttpResponse *http.Response + type ListByServerCustomPager struct + NextLink *odata.Link + func (p *ListByServerCustomPager) NextPageLink() *odata.Link + type ListByServerOperationResponse struct + HttpResponse *http.Response + Model *[]ReplicationLink + OData *odata.OData + type ReplicationLink struct + Id *string + Name *string + Properties *ReplicationLinkProperties + Type *string + type ReplicationLinkId struct + DatabaseName string + LinkId string + ResourceGroupName string + ServerName string + SubscriptionId string + func NewReplicationLinkID(subscriptionId string, resourceGroupName string, serverName string, ...) ReplicationLinkId + func ParseReplicationLinkID(input string) (*ReplicationLinkId, error) + func ParseReplicationLinkIDInsensitively(input string) (*ReplicationLinkId, error) + func (id *ReplicationLinkId) FromParseResult(input resourceids.ParseResult) error + func (id ReplicationLinkId) ID() string + func (id ReplicationLinkId) Segments() []resourceids.Segment + func (id ReplicationLinkId) String() string + type ReplicationLinkOperationPredicate struct + Id *string + Name *string + Type *string + func (p ReplicationLinkOperationPredicate) Matches(input ReplicationLink) bool + type ReplicationLinkProperties struct + IsTerminationAllowed *bool + LinkType *ReplicationLinkType + PartnerDatabase *string + PartnerDatabaseId *string + PartnerLocation *string + PartnerRole *ReplicationRole + PartnerServer *string + PercentComplete *int64 + ReplicationMode *string + ReplicationState *ReplicationState + Role *ReplicationRole + StartTime *string + func (o *ReplicationLinkProperties) GetStartTimeAsTime() (*time.Time, error) + func (o *ReplicationLinkProperties) SetStartTimeAsTime(input time.Time) + type ReplicationLinkType string + const ReplicationLinkTypeGEO + const ReplicationLinkTypeNAMED + const ReplicationLinkTypeSTANDBY + func (s *ReplicationLinkType) UnmarshalJSON(bytes []byte) error + type ReplicationLinkUpdate struct + Id *string + Name *string + Properties *ReplicationLinkUpdateProperties + Type *string + type ReplicationLinkUpdateProperties struct + LinkType *ReplicationLinkType + type ReplicationLinksClient struct + Client *resourcemanager.Client + func NewReplicationLinksClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationLinksClient, error) + func (c ReplicationLinksClient) CreateOrUpdate(ctx context.Context, id ReplicationLinkId, input ReplicationLink) (result CreateOrUpdateOperationResponse, err error) + func (c ReplicationLinksClient) CreateOrUpdateThenPoll(ctx context.Context, id ReplicationLinkId, input ReplicationLink) error + func (c ReplicationLinksClient) Delete(ctx context.Context, id ReplicationLinkId) (result DeleteOperationResponse, err error) + func (c ReplicationLinksClient) DeleteThenPoll(ctx context.Context, id ReplicationLinkId) error + func (c ReplicationLinksClient) Failover(ctx context.Context, id ReplicationLinkId) (result FailoverOperationResponse, err error) + func (c ReplicationLinksClient) FailoverAllowDataLoss(ctx context.Context, id ReplicationLinkId) (result FailoverAllowDataLossOperationResponse, err error) + func (c ReplicationLinksClient) FailoverAllowDataLossThenPoll(ctx context.Context, id ReplicationLinkId) error + func (c ReplicationLinksClient) FailoverThenPoll(ctx context.Context, id ReplicationLinkId) error + func (c ReplicationLinksClient) Get(ctx context.Context, id ReplicationLinkId) (result GetOperationResponse, err error) + func (c ReplicationLinksClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error) + func (c ReplicationLinksClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error) + func (c ReplicationLinksClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListByDatabaseCompleteResult, err error) + func (c ReplicationLinksClient) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error) + func (c ReplicationLinksClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error) + func (c ReplicationLinksClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result ListByServerCompleteResult, err error) + func (c ReplicationLinksClient) Update(ctx context.Context, id ReplicationLinkId, input ReplicationLinkUpdate) (result UpdateOperationResponse, err error) + func (c ReplicationLinksClient) UpdateThenPoll(ctx context.Context, id ReplicationLinkId, input ReplicationLinkUpdate) error + type ReplicationRole string + const ReplicationRoleCopy + const ReplicationRoleNonReadableSecondary + const ReplicationRolePrimary + const ReplicationRoleSecondary + const ReplicationRoleSource + func (s *ReplicationRole) UnmarshalJSON(bytes []byte) error + type ReplicationState string + const ReplicationStateCATCHUP + const ReplicationStatePENDING + const ReplicationStateSEEDING + const ReplicationStateSUSPENDED + func (s *ReplicationState) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *ReplicationLink + OData *odata.OData + Poller pollers.Poller