Documentation ¶
Index ¶
- func PossibleValuesForCallerRole() []string
- func PossibleValuesForDatabasePrincipalRole() []string
- func PossibleValuesForDatabasePrincipalType() []string
- func PossibleValuesForDatabaseShareOrigin() []string
- func PossibleValuesForKind() []string
- func PossibleValuesForPrincipalsModificationKind() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForReason() []string
- func PossibleValuesForType() []string
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type AddPrincipalsOperationResponse
- type CallerRole
- type CheckNameAvailabilityOperationResponse
- type CheckNameRequest
- type CheckNameResult
- type ClusterId
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type Database
- type DatabaseId
- type DatabaseInviteFollowerOperationResponse
- type DatabaseInviteFollowerRequest
- type DatabaseInviteFollowerResult
- type DatabaseOperationPredicate
- type DatabasePrincipal
- type DatabasePrincipalListRequest
- type DatabasePrincipalListResult
- type DatabasePrincipalRole
- type DatabasePrincipalType
- type DatabaseShareOrigin
- type DatabaseStatistics
- type DatabasesClient
- func (c DatabasesClient) AddPrincipals(ctx context.Context, id DatabaseId, input DatabasePrincipalListRequest) (result AddPrincipalsOperationResponse, err error)
- func (c DatabasesClient) CheckNameAvailability(ctx context.Context, id ClusterId, input CheckNameRequest) (result CheckNameAvailabilityOperationResponse, err error)
- func (c DatabasesClient) CreateOrUpdate(ctx context.Context, id DatabaseId, input Database, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c DatabasesClient) CreateOrUpdateThenPoll(ctx context.Context, id DatabaseId, input Database, ...) error
- func (c DatabasesClient) DatabaseInviteFollower(ctx context.Context, id DatabaseId, input DatabaseInviteFollowerRequest) (result DatabaseInviteFollowerOperationResponse, err error)
- func (c DatabasesClient) Delete(ctx context.Context, id DatabaseId) (result DeleteOperationResponse, err error)
- func (c DatabasesClient) DeleteThenPoll(ctx context.Context, id DatabaseId) error
- func (c DatabasesClient) Get(ctx context.Context, id DatabaseId) (result GetOperationResponse, err error)
- func (c DatabasesClient) ListByCluster(ctx context.Context, id ClusterId, options ListByClusterOperationOptions) (resp ListByClusterOperationResponse, err error)
- func (c DatabasesClient) ListByClusterComplete(ctx context.Context, id ClusterId, options ListByClusterOperationOptions) (ListByClusterCompleteResult, error)
- func (c DatabasesClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id ClusterId, options ListByClusterOperationOptions, ...) (resp ListByClusterCompleteResult, err error)
- func (c DatabasesClient) ListPrincipals(ctx context.Context, id DatabaseId) (result ListPrincipalsOperationResponse, err error)
- func (c DatabasesClient) RemovePrincipals(ctx context.Context, id DatabaseId, input DatabasePrincipalListRequest) (result RemovePrincipalsOperationResponse, err error)
- func (c DatabasesClient) Update(ctx context.Context, id DatabaseId, input Database, ...) (result UpdateOperationResponse, err error)
- func (c DatabasesClient) UpdateThenPoll(ctx context.Context, id DatabaseId, input Database, ...) error
- type DeleteOperationResponse
- type GetOperationResponse
- type KeyVaultProperties
- type Kind
- type ListByClusterCompleteResult
- type ListByClusterOperationOptions
- type ListByClusterOperationResponse
- type ListPrincipalsOperationResponse
- type PrincipalsModificationKind
- type ProvisioningState
- type RawDatabaseImpl
- type ReadOnlyFollowingDatabase
- type ReadOnlyFollowingDatabaseProperties
- type ReadWriteDatabase
- type ReadWriteDatabaseProperties
- type Reason
- type RemovePrincipalsOperationResponse
- type SuspensionDetails
- type TableLevelSharingProperties
- type Type
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCallerRole ¶
func PossibleValuesForCallerRole() []string
func PossibleValuesForDatabasePrincipalRole ¶
func PossibleValuesForDatabasePrincipalRole() []string
func PossibleValuesForDatabasePrincipalType ¶
func PossibleValuesForDatabasePrincipalType() []string
func PossibleValuesForDatabaseShareOrigin ¶
func PossibleValuesForDatabaseShareOrigin() []string
func PossibleValuesForKind ¶
func PossibleValuesForKind() []string
func PossibleValuesForPrincipalsModificationKind ¶
func PossibleValuesForPrincipalsModificationKind() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForReason ¶
func PossibleValuesForReason() []string
func PossibleValuesForType ¶
func PossibleValuesForType() []string
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
func ValidateDatabaseID ¶
ValidateDatabaseID checks that 'input' can be parsed as a Database ID
Types ¶
type AddPrincipalsOperationResponse ¶
type AddPrincipalsOperationResponse struct { HttpResponse *http.Response Model *DatabasePrincipalListResult }
type CallerRole ¶
type CallerRole string
const ( CallerRoleAdmin CallerRole = "Admin" CallerRoleNone CallerRole = "None" )
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response Model *CheckNameResult }
type CheckNameRequest ¶
type CheckNameResult ¶
type ClusterId ¶
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
CallerRole *CallerRole
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DatabaseId ¶
type DatabaseId struct { SubscriptionId string ResourceGroupName string ClusterName string DatabaseName string }
DatabaseId is a struct representing the Resource ID for a Database
func NewDatabaseID ¶
func NewDatabaseID(subscriptionId string, resourceGroupName string, clusterName 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) 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 DatabaseInviteFollowerOperationResponse ¶
type DatabaseInviteFollowerOperationResponse struct { HttpResponse *http.Response Model *DatabaseInviteFollowerResult }
type DatabaseInviteFollowerRequest ¶
type DatabaseInviteFollowerRequest struct { InviteeEmail string `json:"inviteeEmail"` TableLevelSharingProperties *TableLevelSharingProperties `json:"tableLevelSharingProperties,omitempty"` }
type DatabaseInviteFollowerResult ¶
type DatabaseInviteFollowerResult struct {
GeneratedInvitation *string `json:"generatedInvitation,omitempty"`
}
type DatabaseOperationPredicate ¶
type DatabaseOperationPredicate struct { }
func (DatabaseOperationPredicate) Matches ¶
func (p DatabaseOperationPredicate) Matches(input Database) bool
type DatabasePrincipal ¶
type DatabasePrincipal struct { AppId *string `json:"appId,omitempty"` Email *string `json:"email,omitempty"` Fqn *string `json:"fqn,omitempty"` Name string `json:"name"` Role DatabasePrincipalRole `json:"role"` TenantName *string `json:"tenantName,omitempty"` Type DatabasePrincipalType `json:"type"` }
type DatabasePrincipalListRequest ¶
type DatabasePrincipalListRequest struct {
Value *[]DatabasePrincipal `json:"value,omitempty"`
}
type DatabasePrincipalListResult ¶
type DatabasePrincipalListResult struct {
Value *[]DatabasePrincipal `json:"value,omitempty"`
}
type DatabasePrincipalRole ¶
type DatabasePrincipalRole string
const ( DatabasePrincipalRoleAdmin DatabasePrincipalRole = "Admin" DatabasePrincipalRoleIngestor DatabasePrincipalRole = "Ingestor" DatabasePrincipalRoleMonitor DatabasePrincipalRole = "Monitor" DatabasePrincipalRoleUnrestrictedViewer DatabasePrincipalRole = "UnrestrictedViewer" DatabasePrincipalRoleUser DatabasePrincipalRole = "User" DatabasePrincipalRoleViewer DatabasePrincipalRole = "Viewer" )
type DatabasePrincipalType ¶
type DatabasePrincipalType string
const ( DatabasePrincipalTypeApp DatabasePrincipalType = "App" DatabasePrincipalTypeGroup DatabasePrincipalType = "Group" DatabasePrincipalTypeUser DatabasePrincipalType = "User" )
type DatabaseStatistics ¶
type DatabaseStatistics struct {
Size *float64 `json:"size,omitempty"`
}
type DatabasesClient ¶
func NewDatabasesClientWithBaseURI ¶
func NewDatabasesClientWithBaseURI(endpoint string) DatabasesClient
func (DatabasesClient) AddPrincipals ¶
func (c DatabasesClient) AddPrincipals(ctx context.Context, id DatabaseId, input DatabasePrincipalListRequest) (result AddPrincipalsOperationResponse, err error)
AddPrincipals ...
func (DatabasesClient) CheckNameAvailability ¶
func (c DatabasesClient) CheckNameAvailability(ctx context.Context, id ClusterId, input CheckNameRequest) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (DatabasesClient) CreateOrUpdate ¶
func (c DatabasesClient) CreateOrUpdate(ctx context.Context, id DatabaseId, input Database, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DatabasesClient) CreateOrUpdateThenPoll ¶
func (c DatabasesClient) CreateOrUpdateThenPoll(ctx context.Context, id DatabaseId, input Database, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DatabasesClient) DatabaseInviteFollower ¶
func (c DatabasesClient) DatabaseInviteFollower(ctx context.Context, id DatabaseId, input DatabaseInviteFollowerRequest) (result DatabaseInviteFollowerOperationResponse, err error)
DatabaseInviteFollower ...
func (DatabasesClient) Delete ¶
func (c DatabasesClient) Delete(ctx context.Context, id DatabaseId) (result DeleteOperationResponse, err error)
Delete ...
func (DatabasesClient) DeleteThenPoll ¶
func (c DatabasesClient) DeleteThenPoll(ctx context.Context, id DatabaseId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DatabasesClient) Get ¶
func (c DatabasesClient) Get(ctx context.Context, id DatabaseId) (result GetOperationResponse, err error)
Get ...
func (DatabasesClient) ListByCluster ¶
func (c DatabasesClient) ListByCluster(ctx context.Context, id ClusterId, options ListByClusterOperationOptions) (resp ListByClusterOperationResponse, err error)
ListByCluster ...
func (DatabasesClient) ListByClusterComplete ¶
func (c DatabasesClient) ListByClusterComplete(ctx context.Context, id ClusterId, options ListByClusterOperationOptions) (ListByClusterCompleteResult, error)
ListByClusterComplete retrieves all of the results into a single object
func (DatabasesClient) ListByClusterCompleteMatchingPredicate ¶
func (c DatabasesClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id ClusterId, options ListByClusterOperationOptions, predicate DatabaseOperationPredicate) (resp ListByClusterCompleteResult, err error)
ListByClusterCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DatabasesClient) ListPrincipals ¶
func (c DatabasesClient) ListPrincipals(ctx context.Context, id DatabaseId) (result ListPrincipalsOperationResponse, err error)
ListPrincipals ...
func (DatabasesClient) RemovePrincipals ¶
func (c DatabasesClient) RemovePrincipals(ctx context.Context, id DatabaseId, input DatabasePrincipalListRequest) (result RemovePrincipalsOperationResponse, err error)
RemovePrincipals ...
func (DatabasesClient) Update ¶
func (c DatabasesClient) Update(ctx context.Context, id DatabaseId, input Database, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
func (DatabasesClient) UpdateThenPoll ¶
func (c DatabasesClient) UpdateThenPoll(ctx context.Context, id DatabaseId, input Database, options UpdateOperationOptions) error
UpdateThenPoll performs Update then polls until it's completed
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type KeyVaultProperties ¶
type ListByClusterCompleteResult ¶
type ListByClusterCompleteResult struct {
Items []Database
}
type ListByClusterOperationOptions ¶
type ListByClusterOperationOptions struct {
Top *int64
}
func DefaultListByClusterOperationOptions ¶
func DefaultListByClusterOperationOptions() ListByClusterOperationOptions
type ListByClusterOperationResponse ¶
type ListByClusterOperationResponse struct { HttpResponse *http.Response Model *[]Database // contains filtered or unexported fields }
func (ListByClusterOperationResponse) HasMore ¶
func (r ListByClusterOperationResponse) HasMore() bool
func (ListByClusterOperationResponse) LoadMore ¶
func (r ListByClusterOperationResponse) LoadMore(ctx context.Context) (resp ListByClusterOperationResponse, err error)
type ListPrincipalsOperationResponse ¶
type ListPrincipalsOperationResponse struct { HttpResponse *http.Response Model *DatabasePrincipalListResult }
type PrincipalsModificationKind ¶
type PrincipalsModificationKind string
const ( PrincipalsModificationKindNone PrincipalsModificationKind = "None" PrincipalsModificationKindReplace PrincipalsModificationKind = "Replace" PrincipalsModificationKindUnion PrincipalsModificationKind = "Union" )
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
type RawDatabaseImpl ¶ added in v0.20230807.1063129
RawModeOfTransitImpl 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 ReadOnlyFollowingDatabase ¶
type ReadOnlyFollowingDatabase struct { Properties *ReadOnlyFollowingDatabaseProperties `json:"properties,omitempty"` // Fields inherited from Database Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (ReadOnlyFollowingDatabase) MarshalJSON ¶
func (s ReadOnlyFollowingDatabase) MarshalJSON() ([]byte, error)
type ReadOnlyFollowingDatabaseProperties ¶
type ReadOnlyFollowingDatabaseProperties struct { AttachedDatabaseConfigurationName *string `json:"attachedDatabaseConfigurationName,omitempty"` HotCachePeriod *string `json:"hotCachePeriod,omitempty"` LeaderClusterResourceId *string `json:"leaderClusterResourceId,omitempty"` OriginalDatabaseName *string `json:"originalDatabaseName,omitempty"` PrincipalsModificationKind *PrincipalsModificationKind `json:"principalsModificationKind,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SoftDeletePeriod *string `json:"softDeletePeriod,omitempty"` Statistics *DatabaseStatistics `json:"statistics,omitempty"` SuspensionDetails *SuspensionDetails `json:"suspensionDetails,omitempty"` TableLevelSharingProperties *TableLevelSharingProperties `json:"tableLevelSharingProperties,omitempty"` }
type ReadWriteDatabase ¶
type ReadWriteDatabase struct { Properties *ReadWriteDatabaseProperties `json:"properties,omitempty"` // Fields inherited from Database Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (ReadWriteDatabase) MarshalJSON ¶
func (s ReadWriteDatabase) MarshalJSON() ([]byte, error)
type ReadWriteDatabaseProperties ¶
type ReadWriteDatabaseProperties struct { HotCachePeriod *string `json:"hotCachePeriod,omitempty"` IsFollowed *bool `json:"isFollowed,omitempty"` KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SoftDeletePeriod *string `json:"softDeletePeriod,omitempty"` Statistics *DatabaseStatistics `json:"statistics,omitempty"` SuspensionDetails *SuspensionDetails `json:"suspensionDetails,omitempty"` }
type RemovePrincipalsOperationResponse ¶
type RemovePrincipalsOperationResponse struct { HttpResponse *http.Response Model *DatabasePrincipalListResult }
type SuspensionDetails ¶
type SuspensionDetails struct {
SuspensionStartDate *string `json:"suspensionStartDate,omitempty"`
}
func (*SuspensionDetails) GetSuspensionStartDateAsTime ¶
func (o *SuspensionDetails) GetSuspensionStartDateAsTime() (*time.Time, error)
func (*SuspensionDetails) SetSuspensionStartDateAsTime ¶
func (o *SuspensionDetails) SetSuspensionStartDateAsTime(input time.Time)
type TableLevelSharingProperties ¶
type TableLevelSharingProperties struct { ExternalTablesToExclude *[]string `json:"externalTablesToExclude,omitempty"` ExternalTablesToInclude *[]string `json:"externalTablesToInclude,omitempty"` FunctionsToExclude *[]string `json:"functionsToExclude,omitempty"` FunctionsToInclude *[]string `json:"functionsToInclude,omitempty"` MaterializedViewsToExclude *[]string `json:"materializedViewsToExclude,omitempty"` MaterializedViewsToInclude *[]string `json:"materializedViewsToInclude,omitempty"` TablesToExclude *[]string `json:"tablesToExclude,omitempty"` TablesToInclude *[]string `json:"tablesToInclude,omitempty"` }
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
CallerRole *CallerRole
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_cluster.go
- id_database.go
- method_addprincipals_autorest.go
- method_checknameavailability_autorest.go
- method_createorupdate_autorest.go
- method_databaseinvitefollower_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbycluster_autorest.go
- method_listprincipals_autorest.go
- method_removeprincipals_autorest.go
- method_update_autorest.go
- model_checknamerequest.go
- model_checknameresult.go
- model_database.go
- model_databaseinvitefollowerrequest.go
- model_databaseinvitefollowerresult.go
- model_databaseprincipal.go
- model_databaseprincipallistrequest.go
- model_databaseprincipallistresult.go
- model_databasestatistics.go
- model_keyvaultproperties.go
- model_readonlyfollowingdatabase.go
- model_readonlyfollowingdatabaseproperties.go
- model_readwritedatabase.go
- model_readwritedatabaseproperties.go
- model_suspensiondetails.go
- model_tablelevelsharingproperties.go
- predicates.go
- version.go