Documentation ¶
Index ¶
- func PossibleValuesForTableTemporalType() []string
- func ValidateDatabaseSchemaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSchemaTableID(input interface{}, key string) (warnings []string, errors []error)
- type DatabaseSchemaId
- type DatabaseTable
- type DatabaseTableOperationPredicate
- type DatabaseTableProperties
- type GetOperationResponse
- type ListBySchemaCompleteResult
- type ListBySchemaOperationOptions
- type ListBySchemaOperationResponse
- type ManagedDatabaseTablesClient
- func (c ManagedDatabaseTablesClient) Get(ctx context.Context, id SchemaTableId) (result GetOperationResponse, err error)
- func (c ManagedDatabaseTablesClient) ListBySchema(ctx context.Context, id DatabaseSchemaId, options ListBySchemaOperationOptions) (result ListBySchemaOperationResponse, err error)
- func (c ManagedDatabaseTablesClient) ListBySchemaComplete(ctx context.Context, id DatabaseSchemaId, options ListBySchemaOperationOptions) (ListBySchemaCompleteResult, error)
- func (c ManagedDatabaseTablesClient) ListBySchemaCompleteMatchingPredicate(ctx context.Context, id DatabaseSchemaId, options ListBySchemaOperationOptions, ...) (result ListBySchemaCompleteResult, err error)
- type SchemaTableId
- type TableTemporalType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForTableTemporalType ¶
func PossibleValuesForTableTemporalType() []string
func ValidateDatabaseSchemaID ¶
ValidateDatabaseSchemaID checks that 'input' can be parsed as a Database Schema ID
func ValidateSchemaTableID ¶
ValidateSchemaTableID checks that 'input' can be parsed as a Schema Table ID
Types ¶
type DatabaseSchemaId ¶
type DatabaseSchemaId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string DatabaseName string SchemaName string }
DatabaseSchemaId is a struct representing the Resource ID for a Database Schema
func NewDatabaseSchemaID ¶
func NewDatabaseSchemaID(subscriptionId string, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string) DatabaseSchemaId
NewDatabaseSchemaID returns a new DatabaseSchemaId struct
func ParseDatabaseSchemaID ¶
func ParseDatabaseSchemaID(input string) (*DatabaseSchemaId, error)
ParseDatabaseSchemaID parses 'input' into a DatabaseSchemaId
func ParseDatabaseSchemaIDInsensitively ¶
func ParseDatabaseSchemaIDInsensitively(input string) (*DatabaseSchemaId, error)
ParseDatabaseSchemaIDInsensitively parses 'input' case-insensitively into a DatabaseSchemaId note: this method should only be used for API response data and not user input
func (*DatabaseSchemaId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DatabaseSchemaId) FromParseResult(input resourceids.ParseResult) error
func (DatabaseSchemaId) ID ¶
func (id DatabaseSchemaId) ID() string
ID returns the formatted Database Schema ID
func (DatabaseSchemaId) Segments ¶
func (id DatabaseSchemaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Database Schema ID
func (DatabaseSchemaId) String ¶
func (id DatabaseSchemaId) String() string
String returns a human-readable description of this Database Schema ID
type DatabaseTable ¶
type DatabaseTable struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseTableProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseTableOperationPredicate ¶
func (DatabaseTableOperationPredicate) Matches ¶
func (p DatabaseTableOperationPredicate) Matches(input DatabaseTable) bool
type DatabaseTableProperties ¶
type DatabaseTableProperties struct { MemoryOptimized *bool `json:"memoryOptimized,omitempty"` TemporalType *TableTemporalType `json:"temporalType,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseTable }
type ListBySchemaCompleteResult ¶
type ListBySchemaCompleteResult struct { LatestHttpResponse *http.Response Items []DatabaseTable }
type ListBySchemaOperationOptions ¶
type ListBySchemaOperationOptions struct {
Filter *string
}
func DefaultListBySchemaOperationOptions ¶
func DefaultListBySchemaOperationOptions() ListBySchemaOperationOptions
func (ListBySchemaOperationOptions) ToHeaders ¶
func (o ListBySchemaOperationOptions) ToHeaders() *client.Headers
func (ListBySchemaOperationOptions) ToOData ¶
func (o ListBySchemaOperationOptions) ToOData() *odata.Query
func (ListBySchemaOperationOptions) ToQuery ¶
func (o ListBySchemaOperationOptions) ToQuery() *client.QueryParams
type ListBySchemaOperationResponse ¶
type ListBySchemaOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatabaseTable }
type ManagedDatabaseTablesClient ¶
type ManagedDatabaseTablesClient struct {
Client *resourcemanager.Client
}
func NewManagedDatabaseTablesClientWithBaseURI ¶
func NewManagedDatabaseTablesClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedDatabaseTablesClient, error)
func (ManagedDatabaseTablesClient) Get ¶
func (c ManagedDatabaseTablesClient) Get(ctx context.Context, id SchemaTableId) (result GetOperationResponse, err error)
Get ...
func (ManagedDatabaseTablesClient) ListBySchema ¶
func (c ManagedDatabaseTablesClient) ListBySchema(ctx context.Context, id DatabaseSchemaId, options ListBySchemaOperationOptions) (result ListBySchemaOperationResponse, err error)
ListBySchema ...
func (ManagedDatabaseTablesClient) ListBySchemaComplete ¶
func (c ManagedDatabaseTablesClient) ListBySchemaComplete(ctx context.Context, id DatabaseSchemaId, options ListBySchemaOperationOptions) (ListBySchemaCompleteResult, error)
ListBySchemaComplete retrieves all the results into a single object
func (ManagedDatabaseTablesClient) ListBySchemaCompleteMatchingPredicate ¶
func (c ManagedDatabaseTablesClient) ListBySchemaCompleteMatchingPredicate(ctx context.Context, id DatabaseSchemaId, options ListBySchemaOperationOptions, predicate DatabaseTableOperationPredicate) (result ListBySchemaCompleteResult, err error)
ListBySchemaCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SchemaTableId ¶
type SchemaTableId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string DatabaseName string SchemaName string TableName string }
SchemaTableId is a struct representing the Resource ID for a Schema Table
func NewSchemaTableID ¶
func NewSchemaTableID(subscriptionId string, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string) SchemaTableId
NewSchemaTableID returns a new SchemaTableId struct
func ParseSchemaTableID ¶
func ParseSchemaTableID(input string) (*SchemaTableId, error)
ParseSchemaTableID parses 'input' into a SchemaTableId
func ParseSchemaTableIDInsensitively ¶
func ParseSchemaTableIDInsensitively(input string) (*SchemaTableId, error)
ParseSchemaTableIDInsensitively parses 'input' case-insensitively into a SchemaTableId note: this method should only be used for API response data and not user input
func (*SchemaTableId) FromParseResult ¶ added in v0.20231127.1171502
func (id *SchemaTableId) FromParseResult(input resourceids.ParseResult) error
func (SchemaTableId) ID ¶
func (id SchemaTableId) ID() string
ID returns the formatted Schema Table ID
func (SchemaTableId) Segments ¶
func (id SchemaTableId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Schema Table ID
func (SchemaTableId) String ¶
func (id SchemaTableId) String() string
String returns a human-readable description of this Schema Table ID
type TableTemporalType ¶
type TableTemporalType string
const ( TableTemporalTypeHistoryTable TableTemporalType = "HistoryTable" TableTemporalTypeNonTemporalTable TableTemporalType = "NonTemporalTable" TableTemporalTypeSystemVersionedTemporalTable TableTemporalType = "SystemVersionedTemporalTable" )
func (*TableTemporalType) UnmarshalJSON ¶
func (s *TableTemporalType) UnmarshalJSON(bytes []byte) error