Documentation ¶
Index ¶
- func PossibleValuesForSyncDirection() []string
- func PossibleValuesForSyncMemberDbType() []string
- func PossibleValuesForSyncMemberState() []string
- func ValidateSyncGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSyncMemberID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListBySyncGroupCompleteResult
- type ListBySyncGroupOperationResponse
- type ListMemberSchemasCompleteResult
- type ListMemberSchemasOperationResponse
- type RefreshMemberSchemaOperationResponse
- type SyncDirection
- type SyncFullSchemaProperties
- type SyncFullSchemaPropertiesOperationPredicate
- type SyncFullSchemaTable
- type SyncFullSchemaTableColumn
- type SyncGroupId
- type SyncMember
- type SyncMemberDbType
- type SyncMemberId
- type SyncMemberOperationPredicate
- type SyncMemberProperties
- type SyncMemberState
- type SyncMembersClient
- func (c SyncMembersClient) CreateOrUpdate(ctx context.Context, id SyncMemberId, input SyncMember) (result CreateOrUpdateOperationResponse, err error)
- func (c SyncMembersClient) CreateOrUpdateThenPoll(ctx context.Context, id SyncMemberId, input SyncMember) error
- func (c SyncMembersClient) Delete(ctx context.Context, id SyncMemberId) (result DeleteOperationResponse, err error)
- func (c SyncMembersClient) DeleteThenPoll(ctx context.Context, id SyncMemberId) error
- func (c SyncMembersClient) Get(ctx context.Context, id SyncMemberId) (result GetOperationResponse, err error)
- func (c SyncMembersClient) ListBySyncGroup(ctx context.Context, id SyncGroupId) (result ListBySyncGroupOperationResponse, err error)
- func (c SyncMembersClient) ListBySyncGroupComplete(ctx context.Context, id SyncGroupId) (ListBySyncGroupCompleteResult, error)
- func (c SyncMembersClient) ListBySyncGroupCompleteMatchingPredicate(ctx context.Context, id SyncGroupId, predicate SyncMemberOperationPredicate) (result ListBySyncGroupCompleteResult, err error)
- func (c SyncMembersClient) ListMemberSchemas(ctx context.Context, id SyncMemberId) (result ListMemberSchemasOperationResponse, err error)
- func (c SyncMembersClient) ListMemberSchemasComplete(ctx context.Context, id SyncMemberId) (ListMemberSchemasCompleteResult, error)
- func (c SyncMembersClient) ListMemberSchemasCompleteMatchingPredicate(ctx context.Context, id SyncMemberId, ...) (result ListMemberSchemasCompleteResult, err error)
- func (c SyncMembersClient) RefreshMemberSchema(ctx context.Context, id SyncMemberId) (result RefreshMemberSchemaOperationResponse, err error)
- func (c SyncMembersClient) RefreshMemberSchemaThenPoll(ctx context.Context, id SyncMemberId) error
- func (c SyncMembersClient) Update(ctx context.Context, id SyncMemberId, input SyncMember) (result UpdateOperationResponse, err error)
- func (c SyncMembersClient) UpdateThenPoll(ctx context.Context, id SyncMemberId, input SyncMember) error
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSyncDirection ¶
func PossibleValuesForSyncDirection() []string
func PossibleValuesForSyncMemberDbType ¶
func PossibleValuesForSyncMemberDbType() []string
func PossibleValuesForSyncMemberState ¶
func PossibleValuesForSyncMemberState() []string
func ValidateSyncGroupID ¶
ValidateSyncGroupID checks that 'input' can be parsed as a Sync Group ID
func ValidateSyncMemberID ¶
ValidateSyncMemberID checks that 'input' can be parsed as a Sync Member ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SyncMember }
type ListBySyncGroupCompleteResult ¶
type ListBySyncGroupCompleteResult struct { LatestHttpResponse *http.Response Items []SyncMember }
type ListBySyncGroupOperationResponse ¶
type ListBySyncGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SyncMember }
type ListMemberSchemasCompleteResult ¶
type ListMemberSchemasCompleteResult struct { LatestHttpResponse *http.Response Items []SyncFullSchemaProperties }
type ListMemberSchemasOperationResponse ¶
type ListMemberSchemasOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SyncFullSchemaProperties }
type SyncDirection ¶
type SyncDirection string
const ( SyncDirectionBidirectional SyncDirection = "Bidirectional" SyncDirectionOneWayHubToMember SyncDirection = "OneWayHubToMember" SyncDirectionOneWayMemberToHub SyncDirection = "OneWayMemberToHub" )
func (*SyncDirection) UnmarshalJSON ¶
func (s *SyncDirection) UnmarshalJSON(bytes []byte) error
type SyncFullSchemaProperties ¶
type SyncFullSchemaProperties struct { LastUpdateTime *string `json:"lastUpdateTime,omitempty"` Tables *[]SyncFullSchemaTable `json:"tables,omitempty"` }
func (*SyncFullSchemaProperties) GetLastUpdateTimeAsTime ¶
func (o *SyncFullSchemaProperties) GetLastUpdateTimeAsTime() (*time.Time, error)
func (*SyncFullSchemaProperties) SetLastUpdateTimeAsTime ¶
func (o *SyncFullSchemaProperties) SetLastUpdateTimeAsTime(input time.Time)
type SyncFullSchemaPropertiesOperationPredicate ¶
type SyncFullSchemaPropertiesOperationPredicate struct {
LastUpdateTime *string
}
func (SyncFullSchemaPropertiesOperationPredicate) Matches ¶
func (p SyncFullSchemaPropertiesOperationPredicate) Matches(input SyncFullSchemaProperties) bool
type SyncFullSchemaTable ¶
type SyncFullSchemaTable struct { Columns *[]SyncFullSchemaTableColumn `json:"columns,omitempty"` ErrorId *string `json:"errorId,omitempty"` HasError *bool `json:"hasError,omitempty"` Name *string `json:"name,omitempty"` QuotedName *string `json:"quotedName,omitempty"` }
type SyncFullSchemaTableColumn ¶
type SyncFullSchemaTableColumn struct { DataSize *string `json:"dataSize,omitempty"` DataType *string `json:"dataType,omitempty"` ErrorId *string `json:"errorId,omitempty"` HasError *bool `json:"hasError,omitempty"` IsPrimaryKey *bool `json:"isPrimaryKey,omitempty"` Name *string `json:"name,omitempty"` QuotedName *string `json:"quotedName,omitempty"` }
type SyncGroupId ¶
type SyncGroupId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string SyncGroupName string }
SyncGroupId is a struct representing the Resource ID for a Sync Group
func NewSyncGroupID ¶
func NewSyncGroupID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, syncGroupName string) SyncGroupId
NewSyncGroupID returns a new SyncGroupId struct
func ParseSyncGroupID ¶
func ParseSyncGroupID(input string) (*SyncGroupId, error)
ParseSyncGroupID parses 'input' into a SyncGroupId
func ParseSyncGroupIDInsensitively ¶
func ParseSyncGroupIDInsensitively(input string) (*SyncGroupId, error)
ParseSyncGroupIDInsensitively parses 'input' case-insensitively into a SyncGroupId note: this method should only be used for API response data and not user input
func (*SyncGroupId) FromParseResult ¶
func (id *SyncGroupId) FromParseResult(input resourceids.ParseResult) error
func (SyncGroupId) Segments ¶
func (id SyncGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sync Group ID
func (SyncGroupId) String ¶
func (id SyncGroupId) String() string
String returns a human-readable description of this Sync Group ID
type SyncMember ¶
type SyncMember struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SyncMemberProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SyncMemberDbType ¶
type SyncMemberDbType string
const ( SyncMemberDbTypeAzureSqlDatabase SyncMemberDbType = "AzureSqlDatabase" SyncMemberDbTypeSqlServerDatabase SyncMemberDbType = "SqlServerDatabase" )
func (*SyncMemberDbType) UnmarshalJSON ¶
func (s *SyncMemberDbType) UnmarshalJSON(bytes []byte) error
type SyncMemberId ¶
type SyncMemberId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string SyncGroupName string SyncMemberName string }
SyncMemberId is a struct representing the Resource ID for a Sync Member
func NewSyncMemberID ¶
func NewSyncMemberID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, syncGroupName string, syncMemberName string) SyncMemberId
NewSyncMemberID returns a new SyncMemberId struct
func ParseSyncMemberID ¶
func ParseSyncMemberID(input string) (*SyncMemberId, error)
ParseSyncMemberID parses 'input' into a SyncMemberId
func ParseSyncMemberIDInsensitively ¶
func ParseSyncMemberIDInsensitively(input string) (*SyncMemberId, error)
ParseSyncMemberIDInsensitively parses 'input' case-insensitively into a SyncMemberId note: this method should only be used for API response data and not user input
func (*SyncMemberId) FromParseResult ¶
func (id *SyncMemberId) FromParseResult(input resourceids.ParseResult) error
func (SyncMemberId) Segments ¶
func (id SyncMemberId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sync Member ID
func (SyncMemberId) String ¶
func (id SyncMemberId) String() string
String returns a human-readable description of this Sync Member ID
type SyncMemberOperationPredicate ¶
func (SyncMemberOperationPredicate) Matches ¶
func (p SyncMemberOperationPredicate) Matches(input SyncMember) bool
type SyncMemberProperties ¶
type SyncMemberProperties struct { DatabaseName *string `json:"databaseName,omitempty"` DatabaseType *SyncMemberDbType `json:"databaseType,omitempty"` Password *string `json:"password,omitempty"` PrivateEndpointName *string `json:"privateEndpointName,omitempty"` ServerName *string `json:"serverName,omitempty"` SqlServerDatabaseId *string `json:"sqlServerDatabaseId,omitempty"` SyncAgentId *string `json:"syncAgentId,omitempty"` SyncDirection *SyncDirection `json:"syncDirection,omitempty"` SyncMemberAzureDatabaseResourceId *string `json:"syncMemberAzureDatabaseResourceId,omitempty"` SyncState *SyncMemberState `json:"syncState,omitempty"` UsePrivateLinkConnection *bool `json:"usePrivateLinkConnection,omitempty"` UserName *string `json:"userName,omitempty"` }
type SyncMemberState ¶
type SyncMemberState string
const ( SyncMemberStateDeProvisionFailed SyncMemberState = "DeProvisionFailed" SyncMemberStateDeProvisioned SyncMemberState = "DeProvisioned" SyncMemberStateDeProvisioning SyncMemberState = "DeProvisioning" SyncMemberStateDisabledBackupRestore SyncMemberState = "DisabledBackupRestore" SyncMemberStateDisabledTombstoneCleanup SyncMemberState = "DisabledTombstoneCleanup" SyncMemberStateProvisionFailed SyncMemberState = "ProvisionFailed" SyncMemberStateProvisioned SyncMemberState = "Provisioned" SyncMemberStateProvisioning SyncMemberState = "Provisioning" SyncMemberStateReprovisionFailed SyncMemberState = "ReprovisionFailed" SyncMemberStateReprovisioning SyncMemberState = "Reprovisioning" SyncMemberStateSyncCancelled SyncMemberState = "SyncCancelled" SyncMemberStateSyncCancelling SyncMemberState = "SyncCancelling" SyncMemberStateSyncFailed SyncMemberState = "SyncFailed" SyncMemberStateSyncInProgress SyncMemberState = "SyncInProgress" SyncMemberStateSyncSucceeded SyncMemberState = "SyncSucceeded" SyncMemberStateSyncSucceededWithWarnings SyncMemberState = "SyncSucceededWithWarnings" SyncMemberStateUnProvisioned SyncMemberState = "UnProvisioned" SyncMemberStateUnReprovisioned SyncMemberState = "UnReprovisioned" )
func (*SyncMemberState) UnmarshalJSON ¶
func (s *SyncMemberState) UnmarshalJSON(bytes []byte) error
type SyncMembersClient ¶
type SyncMembersClient struct {
Client *resourcemanager.Client
}
func NewSyncMembersClientWithBaseURI ¶
func NewSyncMembersClientWithBaseURI(sdkApi sdkEnv.Api) (*SyncMembersClient, error)
func (SyncMembersClient) CreateOrUpdate ¶
func (c SyncMembersClient) CreateOrUpdate(ctx context.Context, id SyncMemberId, input SyncMember) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SyncMembersClient) CreateOrUpdateThenPoll ¶
func (c SyncMembersClient) CreateOrUpdateThenPoll(ctx context.Context, id SyncMemberId, input SyncMember) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (SyncMembersClient) Delete ¶
func (c SyncMembersClient) Delete(ctx context.Context, id SyncMemberId) (result DeleteOperationResponse, err error)
Delete ...
func (SyncMembersClient) DeleteThenPoll ¶
func (c SyncMembersClient) DeleteThenPoll(ctx context.Context, id SyncMemberId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SyncMembersClient) Get ¶
func (c SyncMembersClient) Get(ctx context.Context, id SyncMemberId) (result GetOperationResponse, err error)
Get ...
func (SyncMembersClient) ListBySyncGroup ¶
func (c SyncMembersClient) ListBySyncGroup(ctx context.Context, id SyncGroupId) (result ListBySyncGroupOperationResponse, err error)
ListBySyncGroup ...
func (SyncMembersClient) ListBySyncGroupComplete ¶
func (c SyncMembersClient) ListBySyncGroupComplete(ctx context.Context, id SyncGroupId) (ListBySyncGroupCompleteResult, error)
ListBySyncGroupComplete retrieves all the results into a single object
func (SyncMembersClient) ListBySyncGroupCompleteMatchingPredicate ¶
func (c SyncMembersClient) ListBySyncGroupCompleteMatchingPredicate(ctx context.Context, id SyncGroupId, predicate SyncMemberOperationPredicate) (result ListBySyncGroupCompleteResult, err error)
ListBySyncGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SyncMembersClient) ListMemberSchemas ¶
func (c SyncMembersClient) ListMemberSchemas(ctx context.Context, id SyncMemberId) (result ListMemberSchemasOperationResponse, err error)
ListMemberSchemas ...
func (SyncMembersClient) ListMemberSchemasComplete ¶
func (c SyncMembersClient) ListMemberSchemasComplete(ctx context.Context, id SyncMemberId) (ListMemberSchemasCompleteResult, error)
ListMemberSchemasComplete retrieves all the results into a single object
func (SyncMembersClient) ListMemberSchemasCompleteMatchingPredicate ¶
func (c SyncMembersClient) ListMemberSchemasCompleteMatchingPredicate(ctx context.Context, id SyncMemberId, predicate SyncFullSchemaPropertiesOperationPredicate) (result ListMemberSchemasCompleteResult, err error)
ListMemberSchemasCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SyncMembersClient) RefreshMemberSchema ¶
func (c SyncMembersClient) RefreshMemberSchema(ctx context.Context, id SyncMemberId) (result RefreshMemberSchemaOperationResponse, err error)
RefreshMemberSchema ...
func (SyncMembersClient) RefreshMemberSchemaThenPoll ¶
func (c SyncMembersClient) RefreshMemberSchemaThenPoll(ctx context.Context, id SyncMemberId) error
RefreshMemberSchemaThenPoll performs RefreshMemberSchema then polls until it's completed
func (SyncMembersClient) Update ¶
func (c SyncMembersClient) Update(ctx context.Context, id SyncMemberId, input SyncMember) (result UpdateOperationResponse, err error)
Update ...
func (SyncMembersClient) UpdateThenPoll ¶
func (c SyncMembersClient) UpdateThenPoll(ctx context.Context, id SyncMemberId, input SyncMember) error
UpdateThenPoll performs Update then polls until it's completed
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_syncgroup.go
- id_syncmember.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbysyncgroup.go
- method_listmemberschemas.go
- method_refreshmemberschema.go
- method_update.go
- model_syncfullschemaproperties.go
- model_syncfullschematable.go
- model_syncfullschematablecolumn.go
- model_syncmember.go
- model_syncmemberproperties.go
- predicates.go
- version.go