syncgroups

package
v0.20230918.1102428 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/sql/2022-11-01-preview/syncgroups Documentation

The syncgroups SDK allows for interaction with the Azure Resource Manager Service sql (API Version 2022-11-01-preview).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/sql/2022-11-01-preview/syncgroups"

Client Initialization

client := syncgroups.NewSyncGroupsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: SyncGroupsClient.CancelSync

ctx := context.TODO()
id := syncgroups.NewSyncGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue", "syncGroupValue")

read, err := client.CancelSync(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: SyncGroupsClient.CreateOrUpdate

ctx := context.TODO()
id := syncgroups.NewSyncGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue", "syncGroupValue")

payload := syncgroups.SyncGroup{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: SyncGroupsClient.Delete

ctx := context.TODO()
id := syncgroups.NewSyncGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue", "syncGroupValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: SyncGroupsClient.Get

ctx := context.TODO()
id := syncgroups.NewSyncGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue", "syncGroupValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: SyncGroupsClient.ListByDatabase

ctx := context.TODO()
id := syncgroups.NewDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue")

// alternatively `client.ListByDatabase(ctx, id)` can be used to do batched pagination
items, err := client.ListByDatabaseComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: SyncGroupsClient.ListHubSchemas

ctx := context.TODO()
id := syncgroups.NewSyncGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue", "syncGroupValue")

// alternatively `client.ListHubSchemas(ctx, id)` can be used to do batched pagination
items, err := client.ListHubSchemasComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: SyncGroupsClient.ListLogs

ctx := context.TODO()
id := syncgroups.NewSyncGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue", "syncGroupValue")

// alternatively `client.ListLogs(ctx, id, syncgroups.DefaultListLogsOperationOptions())` can be used to do batched pagination
items, err := client.ListLogsComplete(ctx, id, syncgroups.DefaultListLogsOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: SyncGroupsClient.ListSyncDatabaseIds

ctx := context.TODO()
id := syncgroups.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")

// alternatively `client.ListSyncDatabaseIds(ctx, id)` can be used to do batched pagination
items, err := client.ListSyncDatabaseIdsComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: SyncGroupsClient.RefreshHubSchema

ctx := context.TODO()
id := syncgroups.NewSyncGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue", "syncGroupValue")

if err := client.RefreshHubSchemaThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: SyncGroupsClient.TriggerSync

ctx := context.TODO()
id := syncgroups.NewSyncGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue", "syncGroupValue")

read, err := client.TriggerSync(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: SyncGroupsClient.Update

ctx := context.TODO()
id := syncgroups.NewSyncGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue", "syncGroupValue")

payload := syncgroups.SyncGroup{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForSyncConflictResolutionPolicy

func PossibleValuesForSyncConflictResolutionPolicy() []string

func PossibleValuesForSyncGroupLogType

func PossibleValuesForSyncGroupLogType() []string

func PossibleValuesForSyncGroupState

func PossibleValuesForSyncGroupState() []string

func PossibleValuesForSyncGroupsType

func PossibleValuesForSyncGroupsType() []string

func ValidateDatabaseID

func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error)

ValidateDatabaseID checks that 'input' can be parsed as a Database ID

func ValidateLocationID

func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)

ValidateLocationID checks that 'input' can be parsed as a Location ID

func ValidateSyncGroupID

func ValidateSyncGroupID(input interface{}, key string) (warnings []string, errors []error)

ValidateSyncGroupID checks that 'input' can be parsed as a Sync Group ID

Types

type CancelSyncOperationResponse

type CancelSyncOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DatabaseId

type DatabaseId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServerName        string
	DatabaseName      string
}

DatabaseId is a struct representing the Resource ID for a Database

func NewDatabaseID

func NewDatabaseID(subscriptionId string, resourceGroupName string, serverName string, databaseName string) DatabaseId

NewDatabaseID returns a new DatabaseId struct

func ParseDatabaseID

func ParseDatabaseID(input string) (*DatabaseId, error)

ParseDatabaseID parses 'input' into a DatabaseId

func ParseDatabaseIDInsensitively

func ParseDatabaseIDInsensitively(input string) (*DatabaseId, error)

ParseDatabaseIDInsensitively parses 'input' case-insensitively into a DatabaseId note: this method should only be used for API response data and not user input

func (DatabaseId) ID

func (id DatabaseId) ID() string

ID returns the formatted Database ID

func (DatabaseId) Segments

func (id DatabaseId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Database ID

func (DatabaseId) String

func (id DatabaseId) String() string

String returns a human-readable description of this Database ID

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SyncGroup
}

type ListByDatabaseCompleteResult

type ListByDatabaseCompleteResult struct {
	Items []SyncGroup
}

type ListByDatabaseOperationResponse

type ListByDatabaseOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]SyncGroup
}

type ListHubSchemasCompleteResult

type ListHubSchemasCompleteResult struct {
	Items []SyncFullSchemaProperties
}

type ListHubSchemasOperationResponse

type ListHubSchemasOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]SyncFullSchemaProperties
}

type ListLogsCompleteResult

type ListLogsCompleteResult struct {
	Items []SyncGroupLogProperties
}

type ListLogsOperationOptions

type ListLogsOperationOptions struct {
	ContinuationToken *string
	EndTime           *string
	StartTime         *string
	Type              *SyncGroupsType
}

func DefaultListLogsOperationOptions

func DefaultListLogsOperationOptions() ListLogsOperationOptions

func (ListLogsOperationOptions) ToHeaders

func (o ListLogsOperationOptions) ToHeaders() *client.Headers

func (ListLogsOperationOptions) ToOData

func (o ListLogsOperationOptions) ToOData() *odata.Query

func (ListLogsOperationOptions) ToQuery

type ListLogsOperationResponse

type ListLogsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]SyncGroupLogProperties
}

type ListSyncDatabaseIdsCompleteResult

type ListSyncDatabaseIdsCompleteResult struct {
	Items []SyncDatabaseIdProperties
}

type ListSyncDatabaseIdsOperationResponse

type ListSyncDatabaseIdsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]SyncDatabaseIdProperties
}

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

func (id LocationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Location ID

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type RefreshHubSchemaOperationResponse

type RefreshHubSchemaOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type Sku

type Sku struct {
	Capacity *int64  `json:"capacity,omitempty"`
	Family   *string `json:"family,omitempty"`
	Name     string  `json:"name"`
	Size     *string `json:"size,omitempty"`
	Tier     *string `json:"tier,omitempty"`
}

type SyncConflictResolutionPolicy

type SyncConflictResolutionPolicy string
const (
	SyncConflictResolutionPolicyHubWin    SyncConflictResolutionPolicy = "HubWin"
	SyncConflictResolutionPolicyMemberWin SyncConflictResolutionPolicy = "MemberWin"
)

func (*SyncConflictResolutionPolicy) UnmarshalJSON

func (s *SyncConflictResolutionPolicy) UnmarshalJSON(bytes []byte) error

type SyncDatabaseIdProperties

type SyncDatabaseIdProperties struct {
	Id *string `json:"id,omitempty"`
}

type SyncDatabaseIdPropertiesOperationPredicate

type SyncDatabaseIdPropertiesOperationPredicate struct {
	Id *string
}

func (SyncDatabaseIdPropertiesOperationPredicate) Matches

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

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 SyncGroup

type SyncGroup struct {
	Id         *string              `json:"id,omitempty"`
	Name       *string              `json:"name,omitempty"`
	Properties *SyncGroupProperties `json:"properties,omitempty"`
	Sku        *Sku                 `json:"sku,omitempty"`
	Type       *string              `json:"type,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) ID

func (id SyncGroupId) ID() string

ID returns the formatted Sync Group ID

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 SyncGroupLogProperties

type SyncGroupLogProperties struct {
	Details         *string           `json:"details,omitempty"`
	OperationStatus *string           `json:"operationStatus,omitempty"`
	Source          *string           `json:"source,omitempty"`
	Timestamp       *string           `json:"timestamp,omitempty"`
	TracingId       *string           `json:"tracingId,omitempty"`
	Type            *SyncGroupLogType `json:"type,omitempty"`
}

func (*SyncGroupLogProperties) GetTimestampAsTime

func (o *SyncGroupLogProperties) GetTimestampAsTime() (*time.Time, error)

func (*SyncGroupLogProperties) SetTimestampAsTime

func (o *SyncGroupLogProperties) SetTimestampAsTime(input time.Time)

type SyncGroupLogPropertiesOperationPredicate

type SyncGroupLogPropertiesOperationPredicate struct {
	Details         *string
	OperationStatus *string
	Source          *string
	Timestamp       *string
	TracingId       *string
}

func (SyncGroupLogPropertiesOperationPredicate) Matches

type SyncGroupLogType

type SyncGroupLogType string
const (
	SyncGroupLogTypeAll     SyncGroupLogType = "All"
	SyncGroupLogTypeError   SyncGroupLogType = "Error"
	SyncGroupLogTypeSuccess SyncGroupLogType = "Success"
	SyncGroupLogTypeWarning SyncGroupLogType = "Warning"
)

func (*SyncGroupLogType) UnmarshalJSON

func (s *SyncGroupLogType) UnmarshalJSON(bytes []byte) error

type SyncGroupOperationPredicate

type SyncGroupOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (SyncGroupOperationPredicate) Matches

func (p SyncGroupOperationPredicate) Matches(input SyncGroup) bool

type SyncGroupProperties

type SyncGroupProperties struct {
	ConflictLoggingRetentionInDays *int64                        `json:"conflictLoggingRetentionInDays,omitempty"`
	ConflictResolutionPolicy       *SyncConflictResolutionPolicy `json:"conflictResolutionPolicy,omitempty"`
	EnableConflictLogging          *bool                         `json:"enableConflictLogging,omitempty"`
	HubDatabasePassword            *string                       `json:"hubDatabasePassword,omitempty"`
	HubDatabaseUserName            *string                       `json:"hubDatabaseUserName,omitempty"`
	Interval                       *int64                        `json:"interval,omitempty"`
	LastSyncTime                   *string                       `json:"lastSyncTime,omitempty"`
	PrivateEndpointName            *string                       `json:"privateEndpointName,omitempty"`
	Schema                         *SyncGroupSchema              `json:"schema,omitempty"`
	SyncDatabaseId                 *string                       `json:"syncDatabaseId,omitempty"`
	SyncState                      *SyncGroupState               `json:"syncState,omitempty"`
	UsePrivateLinkConnection       *bool                         `json:"usePrivateLinkConnection,omitempty"`
}

func (*SyncGroupProperties) GetLastSyncTimeAsTime

func (o *SyncGroupProperties) GetLastSyncTimeAsTime() (*time.Time, error)

func (*SyncGroupProperties) SetLastSyncTimeAsTime

func (o *SyncGroupProperties) SetLastSyncTimeAsTime(input time.Time)

type SyncGroupSchema

type SyncGroupSchema struct {
	MasterSyncMemberName *string                 `json:"masterSyncMemberName,omitempty"`
	Tables               *[]SyncGroupSchemaTable `json:"tables,omitempty"`
}

type SyncGroupSchemaTable

type SyncGroupSchemaTable struct {
	Columns    *[]SyncGroupSchemaTableColumn `json:"columns,omitempty"`
	QuotedName *string                       `json:"quotedName,omitempty"`
}

type SyncGroupSchemaTableColumn

type SyncGroupSchemaTableColumn struct {
	DataSize   *string `json:"dataSize,omitempty"`
	DataType   *string `json:"dataType,omitempty"`
	QuotedName *string `json:"quotedName,omitempty"`
}

type SyncGroupState

type SyncGroupState string
const (
	SyncGroupStateError       SyncGroupState = "Error"
	SyncGroupStateGood        SyncGroupState = "Good"
	SyncGroupStateNotReady    SyncGroupState = "NotReady"
	SyncGroupStateProgressing SyncGroupState = "Progressing"
	SyncGroupStateWarning     SyncGroupState = "Warning"
)

func (*SyncGroupState) UnmarshalJSON

func (s *SyncGroupState) UnmarshalJSON(bytes []byte) error

type SyncGroupsClient

type SyncGroupsClient struct {
	Client *resourcemanager.Client
}

func NewSyncGroupsClientWithBaseURI

func NewSyncGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*SyncGroupsClient, error)

func (SyncGroupsClient) CancelSync

func (c SyncGroupsClient) CancelSync(ctx context.Context, id SyncGroupId) (result CancelSyncOperationResponse, err error)

CancelSync ...

func (SyncGroupsClient) CreateOrUpdate

func (c SyncGroupsClient) CreateOrUpdate(ctx context.Context, id SyncGroupId, input SyncGroup) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (SyncGroupsClient) CreateOrUpdateThenPoll

func (c SyncGroupsClient) CreateOrUpdateThenPoll(ctx context.Context, id SyncGroupId, input SyncGroup) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (SyncGroupsClient) Delete

func (c SyncGroupsClient) Delete(ctx context.Context, id SyncGroupId) (result DeleteOperationResponse, err error)

Delete ...

func (SyncGroupsClient) DeleteThenPoll

func (c SyncGroupsClient) DeleteThenPoll(ctx context.Context, id SyncGroupId) error

DeleteThenPoll performs Delete then polls until it's completed

func (SyncGroupsClient) Get

Get ...

func (SyncGroupsClient) ListByDatabase

func (c SyncGroupsClient) ListByDatabase(ctx context.Context, id DatabaseId) (result ListByDatabaseOperationResponse, err error)

ListByDatabase ...

func (SyncGroupsClient) ListByDatabaseComplete

func (c SyncGroupsClient) ListByDatabaseComplete(ctx context.Context, id DatabaseId) (ListByDatabaseCompleteResult, error)

ListByDatabaseComplete retrieves all the results into a single object

func (SyncGroupsClient) ListByDatabaseCompleteMatchingPredicate

func (c SyncGroupsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id DatabaseId, predicate SyncGroupOperationPredicate) (result ListByDatabaseCompleteResult, err error)

ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (SyncGroupsClient) ListHubSchemas

func (c SyncGroupsClient) ListHubSchemas(ctx context.Context, id SyncGroupId) (result ListHubSchemasOperationResponse, err error)

ListHubSchemas ...

func (SyncGroupsClient) ListHubSchemasComplete

func (c SyncGroupsClient) ListHubSchemasComplete(ctx context.Context, id SyncGroupId) (ListHubSchemasCompleteResult, error)

ListHubSchemasComplete retrieves all the results into a single object

func (SyncGroupsClient) ListHubSchemasCompleteMatchingPredicate

func (c SyncGroupsClient) ListHubSchemasCompleteMatchingPredicate(ctx context.Context, id SyncGroupId, predicate SyncFullSchemaPropertiesOperationPredicate) (result ListHubSchemasCompleteResult, err error)

ListHubSchemasCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (SyncGroupsClient) ListLogs

ListLogs ...

func (SyncGroupsClient) ListLogsComplete

ListLogsComplete retrieves all the results into a single object

func (SyncGroupsClient) ListLogsCompleteMatchingPredicate

func (c SyncGroupsClient) ListLogsCompleteMatchingPredicate(ctx context.Context, id SyncGroupId, options ListLogsOperationOptions, predicate SyncGroupLogPropertiesOperationPredicate) (result ListLogsCompleteResult, err error)

ListLogsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (SyncGroupsClient) ListSyncDatabaseIds

func (c SyncGroupsClient) ListSyncDatabaseIds(ctx context.Context, id LocationId) (result ListSyncDatabaseIdsOperationResponse, err error)

ListSyncDatabaseIds ...

func (SyncGroupsClient) ListSyncDatabaseIdsComplete

func (c SyncGroupsClient) ListSyncDatabaseIdsComplete(ctx context.Context, id LocationId) (ListSyncDatabaseIdsCompleteResult, error)

ListSyncDatabaseIdsComplete retrieves all the results into a single object

func (SyncGroupsClient) ListSyncDatabaseIdsCompleteMatchingPredicate

func (c SyncGroupsClient) ListSyncDatabaseIdsCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate SyncDatabaseIdPropertiesOperationPredicate) (result ListSyncDatabaseIdsCompleteResult, err error)

ListSyncDatabaseIdsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (SyncGroupsClient) RefreshHubSchema

func (c SyncGroupsClient) RefreshHubSchema(ctx context.Context, id SyncGroupId) (result RefreshHubSchemaOperationResponse, err error)

RefreshHubSchema ...

func (SyncGroupsClient) RefreshHubSchemaThenPoll

func (c SyncGroupsClient) RefreshHubSchemaThenPoll(ctx context.Context, id SyncGroupId) error

RefreshHubSchemaThenPoll performs RefreshHubSchema then polls until it's completed

func (SyncGroupsClient) TriggerSync

func (c SyncGroupsClient) TriggerSync(ctx context.Context, id SyncGroupId) (result TriggerSyncOperationResponse, err error)

TriggerSync ...

func (SyncGroupsClient) Update

func (c SyncGroupsClient) Update(ctx context.Context, id SyncGroupId, input SyncGroup) (result UpdateOperationResponse, err error)

Update ...

func (SyncGroupsClient) UpdateThenPoll

func (c SyncGroupsClient) UpdateThenPoll(ctx context.Context, id SyncGroupId, input SyncGroup) error

UpdateThenPoll performs Update then polls until it's completed

type SyncGroupsType

type SyncGroupsType string
const (
	SyncGroupsTypeAll     SyncGroupsType = "All"
	SyncGroupsTypeError   SyncGroupsType = "Error"
	SyncGroupsTypeSuccess SyncGroupsType = "Success"
	SyncGroupsTypeWarning SyncGroupsType = "Warning"
)

func (*SyncGroupsType) UnmarshalJSON

func (s *SyncGroupsType) UnmarshalJSON(bytes []byte) error

type TriggerSyncOperationResponse

type TriggerSyncOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL