sharesubscription

package
v0.20231107.1174058 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MPL-2.0 Imports: 13 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/datashare/2021-08-01/sharesubscription Documentation

The sharesubscription SDK allows for interaction with the Azure Resource Manager Service datashare (API Version 2021-08-01).

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/datashare/2021-08-01/sharesubscription"

Client Initialization

client := sharesubscription.NewShareSubscriptionClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ShareSubscriptionClient.CancelSynchronization

ctx := context.TODO()
id := sharesubscription.NewShareSubscriptionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareSubscriptionValue")

payload := sharesubscription.ShareSubscriptionSynchronization{
	// ...
}


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

Example Usage: ShareSubscriptionClient.ConsumerSourceDataSetsListByShareSubscription

ctx := context.TODO()
id := sharesubscription.NewShareSubscriptionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareSubscriptionValue")

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

Example Usage: ShareSubscriptionClient.Create

ctx := context.TODO()
id := sharesubscription.NewShareSubscriptionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareSubscriptionValue")

payload := sharesubscription.ShareSubscription{
	// ...
}


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

Example Usage: ShareSubscriptionClient.Delete

ctx := context.TODO()
id := sharesubscription.NewShareSubscriptionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareSubscriptionValue")

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

Example Usage: ShareSubscriptionClient.Get

ctx := context.TODO()
id := sharesubscription.NewShareSubscriptionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareSubscriptionValue")

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: ShareSubscriptionClient.ListByAccount

ctx := context.TODO()
id := sharesubscription.NewAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

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

Example Usage: ShareSubscriptionClient.ListSourceShareSynchronizationSettings

ctx := context.TODO()
id := sharesubscription.NewShareSubscriptionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareSubscriptionValue")

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

Example Usage: ShareSubscriptionClient.ListSynchronizationDetails

ctx := context.TODO()
id := sharesubscription.NewShareSubscriptionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareSubscriptionValue")

payload := sharesubscription.ShareSubscriptionSynchronization{
	// ...
}


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

Example Usage: ShareSubscriptionClient.ListSynchronizations

ctx := context.TODO()
id := sharesubscription.NewShareSubscriptionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareSubscriptionValue")

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

Example Usage: ShareSubscriptionClient.Synchronize

ctx := context.TODO()
id := sharesubscription.NewShareSubscriptionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "shareSubscriptionValue")

payload := sharesubscription.Synchronize{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForDataSetType

func PossibleValuesForDataSetType() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForRecurrenceInterval

func PossibleValuesForRecurrenceInterval() []string

func PossibleValuesForShareKind

func PossibleValuesForShareKind() []string

func PossibleValuesForShareSubscriptionStatus

func PossibleValuesForShareSubscriptionStatus() []string

func PossibleValuesForSourceShareSynchronizationSettingKind

func PossibleValuesForSourceShareSynchronizationSettingKind() []string

func PossibleValuesForStatus

func PossibleValuesForStatus() []string

func PossibleValuesForSynchronizationMode

func PossibleValuesForSynchronizationMode() []string

func ValidateAccountID

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

ValidateAccountID checks that 'input' can be parsed as a Account ID

func ValidateShareSubscriptionID

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

ValidateShareSubscriptionID checks that 'input' can be parsed as a Share Subscription ID

Types

type AccountId

type AccountId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
}

AccountId is a struct representing the Resource ID for a Account

func NewAccountID

func NewAccountID(subscriptionId string, resourceGroupName string, accountName string) AccountId

NewAccountID returns a new AccountId struct

func ParseAccountID

func ParseAccountID(input string) (*AccountId, error)

ParseAccountID parses 'input' into a AccountId

func ParseAccountIDInsensitively

func ParseAccountIDInsensitively(input string) (*AccountId, error)

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

func (AccountId) ID

func (id AccountId) ID() string

ID returns the formatted Account ID

func (AccountId) Segments

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

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

func (AccountId) String

func (id AccountId) String() string

String returns a human-readable description of this Account ID

type CancelSynchronizationOperationResponse

type CancelSynchronizationOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ConsumerSourceDataSet

type ConsumerSourceDataSet struct {
	Id         *string                          `json:"id,omitempty"`
	Name       *string                          `json:"name,omitempty"`
	Properties *ConsumerSourceDataSetProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData           `json:"systemData,omitempty"`
	Type       *string                          `json:"type,omitempty"`
}

type ConsumerSourceDataSetOperationPredicate

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

func (ConsumerSourceDataSetOperationPredicate) Matches

type ConsumerSourceDataSetProperties

type ConsumerSourceDataSetProperties struct {
	DataSetId       *string      `json:"dataSetId,omitempty"`
	DataSetLocation *string      `json:"dataSetLocation,omitempty"`
	DataSetName     *string      `json:"dataSetName,omitempty"`
	DataSetPath     *string      `json:"dataSetPath,omitempty"`
	DataSetType     *DataSetType `json:"dataSetType,omitempty"`
}

type ConsumerSourceDataSetsListByShareSubscriptionCompleteResult

type ConsumerSourceDataSetsListByShareSubscriptionCompleteResult struct {
	Items []ConsumerSourceDataSet
}

type ConsumerSourceDataSetsListByShareSubscriptionOperationResponse

type ConsumerSourceDataSetsListByShareSubscriptionOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ConsumerSourceDataSet
	// contains filtered or unexported fields
}

func (ConsumerSourceDataSetsListByShareSubscriptionOperationResponse) HasMore

func (ConsumerSourceDataSetsListByShareSubscriptionOperationResponse) LoadMore

type CreateOperationResponse

type CreateOperationResponse struct {
	HttpResponse *http.Response
	Model        *ShareSubscription
}

type DataSetType

type DataSetType string
const (
	DataSetTypeAdlsGenOneFile               DataSetType = "AdlsGen1File"
	DataSetTypeAdlsGenOneFolder             DataSetType = "AdlsGen1Folder"
	DataSetTypeAdlsGenTwoFile               DataSetType = "AdlsGen2File"
	DataSetTypeAdlsGenTwoFileSystem         DataSetType = "AdlsGen2FileSystem"
	DataSetTypeAdlsGenTwoFolder             DataSetType = "AdlsGen2Folder"
	DataSetTypeBlob                         DataSetType = "Blob"
	DataSetTypeBlobFolder                   DataSetType = "BlobFolder"
	DataSetTypeContainer                    DataSetType = "Container"
	DataSetTypeKustoCluster                 DataSetType = "KustoCluster"
	DataSetTypeKustoDatabase                DataSetType = "KustoDatabase"
	DataSetTypeKustoTable                   DataSetType = "KustoTable"
	DataSetTypeSqlDBTable                   DataSetType = "SqlDBTable"
	DataSetTypeSqlDWTable                   DataSetType = "SqlDWTable"
	DataSetTypeSynapseWorkspaceSqlPoolTable DataSetType = "SynapseWorkspaceSqlPoolTable"
)

type DataShareErrorInfo

type DataShareErrorInfo struct {
	Code    string                `json:"code"`
	Details *[]DataShareErrorInfo `json:"details,omitempty"`
	Message string                `json:"message"`
	Target  *string               `json:"target,omitempty"`
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *ShareSubscription
}

type ListByAccountCompleteResult

type ListByAccountCompleteResult struct {
	Items []ShareSubscription
}

type ListByAccountOperationOptions

type ListByAccountOperationOptions struct {
	Filter  *string
	Orderby *string
}

func DefaultListByAccountOperationOptions

func DefaultListByAccountOperationOptions() ListByAccountOperationOptions

type ListByAccountOperationResponse

type ListByAccountOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ShareSubscription
	// contains filtered or unexported fields
}

func (ListByAccountOperationResponse) HasMore

func (ListByAccountOperationResponse) LoadMore

type ListSourceShareSynchronizationSettingsCompleteResult

type ListSourceShareSynchronizationSettingsCompleteResult struct {
	Items []SourceShareSynchronizationSetting
}

type ListSourceShareSynchronizationSettingsOperationResponse

type ListSourceShareSynchronizationSettingsOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]SourceShareSynchronizationSetting
	// contains filtered or unexported fields
}

func (ListSourceShareSynchronizationSettingsOperationResponse) HasMore

func (ListSourceShareSynchronizationSettingsOperationResponse) LoadMore

type ListSynchronizationDetailsCompleteResult

type ListSynchronizationDetailsCompleteResult struct {
	Items []SynchronizationDetails
}

type ListSynchronizationDetailsOperationOptions

type ListSynchronizationDetailsOperationOptions struct {
	Filter  *string
	Orderby *string
}

func DefaultListSynchronizationDetailsOperationOptions

func DefaultListSynchronizationDetailsOperationOptions() ListSynchronizationDetailsOperationOptions

type ListSynchronizationDetailsOperationResponse

type ListSynchronizationDetailsOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]SynchronizationDetails
	// contains filtered or unexported fields
}

func (ListSynchronizationDetailsOperationResponse) HasMore

func (ListSynchronizationDetailsOperationResponse) LoadMore

type ListSynchronizationsCompleteResult

type ListSynchronizationsCompleteResult struct {
	Items []ShareSubscriptionSynchronization
}

type ListSynchronizationsOperationOptions

type ListSynchronizationsOperationOptions struct {
	Filter  *string
	Orderby *string
}

func DefaultListSynchronizationsOperationOptions

func DefaultListSynchronizationsOperationOptions() ListSynchronizationsOperationOptions

type ListSynchronizationsOperationResponse

type ListSynchronizationsOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ShareSubscriptionSynchronization
	// contains filtered or unexported fields
}

func (ListSynchronizationsOperationResponse) HasMore

func (ListSynchronizationsOperationResponse) LoadMore

type OperationResponse

type OperationResponse struct {
	EndTime   *string             `json:"endTime,omitempty"`
	Error     *DataShareErrorInfo `json:"error,omitempty"`
	StartTime *string             `json:"startTime,omitempty"`
	Status    Status              `json:"status"`
}

func (*OperationResponse) GetEndTimeAsTime

func (o *OperationResponse) GetEndTimeAsTime() (*time.Time, error)

func (*OperationResponse) GetStartTimeAsTime

func (o *OperationResponse) GetStartTimeAsTime() (*time.Time, error)

func (*OperationResponse) SetEndTimeAsTime

func (o *OperationResponse) SetEndTimeAsTime(input time.Time)

func (*OperationResponse) SetStartTimeAsTime

func (o *OperationResponse) SetStartTimeAsTime(input time.Time)

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCreating  ProvisioningState = "Creating"
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateMoving    ProvisioningState = "Moving"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)

type RawSourceShareSynchronizationSettingImpl added in v0.20230807.1063129

type RawSourceShareSynchronizationSettingImpl struct {
	Type   string
	Values map[string]interface{}
}

RawSourceShareSynchronizationSettingImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RecurrenceInterval

type RecurrenceInterval string
const (
	RecurrenceIntervalDay  RecurrenceInterval = "Day"
	RecurrenceIntervalHour RecurrenceInterval = "Hour"
)

type ScheduledSourceShareSynchronizationSettingProperties

type ScheduledSourceShareSynchronizationSettingProperties struct {
	RecurrenceInterval  *RecurrenceInterval `json:"recurrenceInterval,omitempty"`
	SynchronizationTime *string             `json:"synchronizationTime,omitempty"`
}

func (*ScheduledSourceShareSynchronizationSettingProperties) GetSynchronizationTimeAsTime

func (o *ScheduledSourceShareSynchronizationSettingProperties) GetSynchronizationTimeAsTime() (*time.Time, error)

func (*ScheduledSourceShareSynchronizationSettingProperties) SetSynchronizationTimeAsTime

func (o *ScheduledSourceShareSynchronizationSettingProperties) SetSynchronizationTimeAsTime(input time.Time)

type ScheduledSourceSynchronizationSetting

type ScheduledSourceSynchronizationSetting struct {
	Properties *ScheduledSourceShareSynchronizationSettingProperties `json:"properties,omitempty"`
}

func (ScheduledSourceSynchronizationSetting) MarshalJSON

func (s ScheduledSourceSynchronizationSetting) MarshalJSON() ([]byte, error)

type ShareKind

type ShareKind string
const (
	ShareKindCopyBased ShareKind = "CopyBased"
	ShareKindInPlace   ShareKind = "InPlace"
)

type ShareSubscription

type ShareSubscription struct {
	Id         *string                     `json:"id,omitempty"`
	Name       *string                     `json:"name,omitempty"`
	Properties ShareSubscriptionProperties `json:"properties"`
	SystemData *systemdata.SystemData      `json:"systemData,omitempty"`
	Type       *string                     `json:"type,omitempty"`
}

type ShareSubscriptionClient

type ShareSubscriptionClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewShareSubscriptionClientWithBaseURI

func NewShareSubscriptionClientWithBaseURI(endpoint string) ShareSubscriptionClient

func (ShareSubscriptionClient) CancelSynchronization

CancelSynchronization ...

func (ShareSubscriptionClient) CancelSynchronizationThenPoll

func (c ShareSubscriptionClient) CancelSynchronizationThenPoll(ctx context.Context, id ShareSubscriptionId, input ShareSubscriptionSynchronization) error

CancelSynchronizationThenPoll performs CancelSynchronization then polls until it's completed

func (ShareSubscriptionClient) ConsumerSourceDataSetsListByShareSubscription

func (c ShareSubscriptionClient) ConsumerSourceDataSetsListByShareSubscription(ctx context.Context, id ShareSubscriptionId) (resp ConsumerSourceDataSetsListByShareSubscriptionOperationResponse, err error)

ConsumerSourceDataSetsListByShareSubscription ...

func (ShareSubscriptionClient) ConsumerSourceDataSetsListByShareSubscriptionComplete

func (c ShareSubscriptionClient) ConsumerSourceDataSetsListByShareSubscriptionComplete(ctx context.Context, id ShareSubscriptionId) (ConsumerSourceDataSetsListByShareSubscriptionCompleteResult, error)

ConsumerSourceDataSetsListByShareSubscriptionComplete retrieves all of the results into a single object

func (ShareSubscriptionClient) ConsumerSourceDataSetsListByShareSubscriptionCompleteMatchingPredicate

func (c ShareSubscriptionClient) ConsumerSourceDataSetsListByShareSubscriptionCompleteMatchingPredicate(ctx context.Context, id ShareSubscriptionId, predicate ConsumerSourceDataSetOperationPredicate) (resp ConsumerSourceDataSetsListByShareSubscriptionCompleteResult, err error)

ConsumerSourceDataSetsListByShareSubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ShareSubscriptionClient) Create

Create ...

func (ShareSubscriptionClient) Delete

Delete ...

func (ShareSubscriptionClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (ShareSubscriptionClient) Get

Get ...

func (ShareSubscriptionClient) ListByAccount

ListByAccount ...

func (ShareSubscriptionClient) ListByAccountComplete

ListByAccountComplete retrieves all of the results into a single object

func (ShareSubscriptionClient) ListByAccountCompleteMatchingPredicate

func (c ShareSubscriptionClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, options ListByAccountOperationOptions, predicate ShareSubscriptionOperationPredicate) (resp ListByAccountCompleteResult, err error)

ListByAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ShareSubscriptionClient) ListSourceShareSynchronizationSettings

ListSourceShareSynchronizationSettings ...

func (ShareSubscriptionClient) ListSourceShareSynchronizationSettingsComplete

ListSourceShareSynchronizationSettingsComplete retrieves all of the results into a single object

func (ShareSubscriptionClient) ListSourceShareSynchronizationSettingsCompleteMatchingPredicate

func (c ShareSubscriptionClient) ListSourceShareSynchronizationSettingsCompleteMatchingPredicate(ctx context.Context, id ShareSubscriptionId, predicate SourceShareSynchronizationSettingOperationPredicate) (resp ListSourceShareSynchronizationSettingsCompleteResult, err error)

ListSourceShareSynchronizationSettingsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ShareSubscriptionClient) ListSynchronizationDetails

ListSynchronizationDetails ...

func (ShareSubscriptionClient) ListSynchronizationDetailsComplete

ListSynchronizationDetailsComplete retrieves all of the results into a single object

func (ShareSubscriptionClient) ListSynchronizationDetailsCompleteMatchingPredicate

ListSynchronizationDetailsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ShareSubscriptionClient) ListSynchronizations

ListSynchronizations ...

func (ShareSubscriptionClient) ListSynchronizationsComplete

ListSynchronizationsComplete retrieves all of the results into a single object

func (ShareSubscriptionClient) ListSynchronizationsCompleteMatchingPredicate

ListSynchronizationsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ShareSubscriptionClient) Synchronize

Synchronize ...

func (ShareSubscriptionClient) SynchronizeThenPoll

func (c ShareSubscriptionClient) SynchronizeThenPoll(ctx context.Context, id ShareSubscriptionId, input Synchronize) error

SynchronizeThenPoll performs Synchronize then polls until it's completed

type ShareSubscriptionId

type ShareSubscriptionId struct {
	SubscriptionId        string
	ResourceGroupName     string
	AccountName           string
	ShareSubscriptionName string
}

ShareSubscriptionId is a struct representing the Resource ID for a Share Subscription

func NewShareSubscriptionID

func NewShareSubscriptionID(subscriptionId string, resourceGroupName string, accountName string, shareSubscriptionName string) ShareSubscriptionId

NewShareSubscriptionID returns a new ShareSubscriptionId struct

func ParseShareSubscriptionID

func ParseShareSubscriptionID(input string) (*ShareSubscriptionId, error)

ParseShareSubscriptionID parses 'input' into a ShareSubscriptionId

func ParseShareSubscriptionIDInsensitively

func ParseShareSubscriptionIDInsensitively(input string) (*ShareSubscriptionId, error)

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

func (ShareSubscriptionId) ID

func (id ShareSubscriptionId) ID() string

ID returns the formatted Share Subscription ID

func (ShareSubscriptionId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Share Subscription ID

func (ShareSubscriptionId) String

func (id ShareSubscriptionId) String() string

String returns a human-readable description of this Share Subscription ID

type ShareSubscriptionOperationPredicate

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

func (ShareSubscriptionOperationPredicate) Matches

type ShareSubscriptionProperties

type ShareSubscriptionProperties struct {
	CreatedAt               *string                  `json:"createdAt,omitempty"`
	ExpirationDate          *string                  `json:"expirationDate,omitempty"`
	InvitationId            string                   `json:"invitationId"`
	ProviderEmail           *string                  `json:"providerEmail,omitempty"`
	ProviderName            *string                  `json:"providerName,omitempty"`
	ProviderTenantName      *string                  `json:"providerTenantName,omitempty"`
	ProvisioningState       *ProvisioningState       `json:"provisioningState,omitempty"`
	ShareDescription        *string                  `json:"shareDescription,omitempty"`
	ShareKind               *ShareKind               `json:"shareKind,omitempty"`
	ShareName               *string                  `json:"shareName,omitempty"`
	ShareSubscriptionStatus *ShareSubscriptionStatus `json:"shareSubscriptionStatus,omitempty"`
	ShareTerms              *string                  `json:"shareTerms,omitempty"`
	SourceShareLocation     string                   `json:"sourceShareLocation"`
	UserEmail               *string                  `json:"userEmail,omitempty"`
	UserName                *string                  `json:"userName,omitempty"`
}

func (*ShareSubscriptionProperties) GetCreatedAtAsTime

func (o *ShareSubscriptionProperties) GetCreatedAtAsTime() (*time.Time, error)

func (*ShareSubscriptionProperties) GetExpirationDateAsTime

func (o *ShareSubscriptionProperties) GetExpirationDateAsTime() (*time.Time, error)

func (*ShareSubscriptionProperties) SetCreatedAtAsTime

func (o *ShareSubscriptionProperties) SetCreatedAtAsTime(input time.Time)

func (*ShareSubscriptionProperties) SetExpirationDateAsTime

func (o *ShareSubscriptionProperties) SetExpirationDateAsTime(input time.Time)

type ShareSubscriptionStatus

type ShareSubscriptionStatus string
const (
	ShareSubscriptionStatusActive        ShareSubscriptionStatus = "Active"
	ShareSubscriptionStatusRevoked       ShareSubscriptionStatus = "Revoked"
	ShareSubscriptionStatusRevoking      ShareSubscriptionStatus = "Revoking"
	ShareSubscriptionStatusSourceDeleted ShareSubscriptionStatus = "SourceDeleted"
)

type ShareSubscriptionSynchronization

type ShareSubscriptionSynchronization struct {
	DurationMs          *int64               `json:"durationMs,omitempty"`
	EndTime             *string              `json:"endTime,omitempty"`
	Message             *string              `json:"message,omitempty"`
	StartTime           *string              `json:"startTime,omitempty"`
	Status              *string              `json:"status,omitempty"`
	SynchronizationId   string               `json:"synchronizationId"`
	SynchronizationMode *SynchronizationMode `json:"synchronizationMode,omitempty"`
}

func (*ShareSubscriptionSynchronization) GetEndTimeAsTime

func (o *ShareSubscriptionSynchronization) GetEndTimeAsTime() (*time.Time, error)

func (*ShareSubscriptionSynchronization) GetStartTimeAsTime

func (o *ShareSubscriptionSynchronization) GetStartTimeAsTime() (*time.Time, error)

func (*ShareSubscriptionSynchronization) SetEndTimeAsTime

func (o *ShareSubscriptionSynchronization) SetEndTimeAsTime(input time.Time)

func (*ShareSubscriptionSynchronization) SetStartTimeAsTime

func (o *ShareSubscriptionSynchronization) SetStartTimeAsTime(input time.Time)

type ShareSubscriptionSynchronizationOperationPredicate

type ShareSubscriptionSynchronizationOperationPredicate struct {
	DurationMs        *int64
	EndTime           *string
	Message           *string
	StartTime         *string
	Status            *string
	SynchronizationId *string
}

func (ShareSubscriptionSynchronizationOperationPredicate) Matches

type SourceShareSynchronizationSetting

type SourceShareSynchronizationSetting interface {
}

type SourceShareSynchronizationSettingKind

type SourceShareSynchronizationSettingKind string
const (
	SourceShareSynchronizationSettingKindScheduleBased SourceShareSynchronizationSettingKind = "ScheduleBased"
)

type SourceShareSynchronizationSettingOperationPredicate

type SourceShareSynchronizationSettingOperationPredicate struct {
}

func (SourceShareSynchronizationSettingOperationPredicate) Matches

type Status

type Status string
const (
	StatusAccepted         Status = "Accepted"
	StatusCanceled         Status = "Canceled"
	StatusFailed           Status = "Failed"
	StatusInProgress       Status = "InProgress"
	StatusSucceeded        Status = "Succeeded"
	StatusTransientFailure Status = "TransientFailure"
)

type SynchronizationDetails

type SynchronizationDetails struct {
	DataSetId    *string      `json:"dataSetId,omitempty"`
	DataSetType  *DataSetType `json:"dataSetType,omitempty"`
	DurationMs   *int64       `json:"durationMs,omitempty"`
	EndTime      *string      `json:"endTime,omitempty"`
	FilesRead    *int64       `json:"filesRead,omitempty"`
	FilesWritten *int64       `json:"filesWritten,omitempty"`
	Message      *string      `json:"message,omitempty"`
	Name         *string      `json:"name,omitempty"`
	RowsCopied   *int64       `json:"rowsCopied,omitempty"`
	RowsRead     *int64       `json:"rowsRead,omitempty"`
	SizeRead     *int64       `json:"sizeRead,omitempty"`
	SizeWritten  *int64       `json:"sizeWritten,omitempty"`
	StartTime    *string      `json:"startTime,omitempty"`
	Status       *string      `json:"status,omitempty"`
	VCore        *int64       `json:"vCore,omitempty"`
}

func (*SynchronizationDetails) GetEndTimeAsTime

func (o *SynchronizationDetails) GetEndTimeAsTime() (*time.Time, error)

func (*SynchronizationDetails) GetStartTimeAsTime

func (o *SynchronizationDetails) GetStartTimeAsTime() (*time.Time, error)

func (*SynchronizationDetails) SetEndTimeAsTime

func (o *SynchronizationDetails) SetEndTimeAsTime(input time.Time)

func (*SynchronizationDetails) SetStartTimeAsTime

func (o *SynchronizationDetails) SetStartTimeAsTime(input time.Time)

type SynchronizationDetailsOperationPredicate

type SynchronizationDetailsOperationPredicate struct {
	DataSetId    *string
	DurationMs   *int64
	EndTime      *string
	FilesRead    *int64
	FilesWritten *int64
	Message      *string
	Name         *string
	RowsCopied   *int64
	RowsRead     *int64
	SizeRead     *int64
	SizeWritten  *int64
	StartTime    *string
	Status       *string
	VCore        *int64
}

func (SynchronizationDetailsOperationPredicate) Matches

type SynchronizationMode

type SynchronizationMode string
const (
	SynchronizationModeFullSync    SynchronizationMode = "FullSync"
	SynchronizationModeIncremental SynchronizationMode = "Incremental"
)

type Synchronize

type Synchronize struct {
	SynchronizationMode *SynchronizationMode `json:"synchronizationMode,omitempty"`
}

type SynchronizeOperationResponse

type SynchronizeOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

Jump to

Keyboard shortcuts

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