Documentation ¶
Index ¶
- func PossibleValuesForTableTemporalType() []string
- func ValidateSchemaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTableID(input interface{}, key string) (warnings []string, errors []error)
- type DatabaseTable
- type DatabaseTableOperationPredicate
- type DatabaseTableProperties
- type DatabaseTablesClient
- func (c DatabaseTablesClient) Get(ctx context.Context, id TableId) (result GetOperationResponse, err error)
- func (c DatabaseTablesClient) ListBySchema(ctx context.Context, id SchemaId, options ListBySchemaOperationOptions) (result ListBySchemaOperationResponse, err error)
- func (c DatabaseTablesClient) ListBySchemaComplete(ctx context.Context, id SchemaId, options ListBySchemaOperationOptions) (ListBySchemaCompleteResult, error)
- func (c DatabaseTablesClient) ListBySchemaCompleteMatchingPredicate(ctx context.Context, id SchemaId, options ListBySchemaOperationOptions, ...) (result ListBySchemaCompleteResult, err error)
- type GetOperationResponse
- type ListBySchemaCompleteResult
- type ListBySchemaCustomPager
- type ListBySchemaOperationOptions
- type ListBySchemaOperationResponse
- type SchemaId
- type TableId
- type TableTemporalType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForTableTemporalType ¶
func PossibleValuesForTableTemporalType() []string
func ValidateSchemaID ¶
ValidateSchemaID checks that 'input' can be parsed as a Schema ID
func ValidateTableID ¶
ValidateTableID checks that 'input' can be parsed as a Table ID
Types ¶
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 DatabaseTablesClient ¶
type DatabaseTablesClient struct {
Client *resourcemanager.Client
}
func NewDatabaseTablesClientWithBaseURI ¶
func NewDatabaseTablesClientWithBaseURI(sdkApi sdkEnv.Api) (*DatabaseTablesClient, error)
func (DatabaseTablesClient) Get ¶
func (c DatabaseTablesClient) Get(ctx context.Context, id TableId) (result GetOperationResponse, err error)
Get ...
func (DatabaseTablesClient) ListBySchema ¶
func (c DatabaseTablesClient) ListBySchema(ctx context.Context, id SchemaId, options ListBySchemaOperationOptions) (result ListBySchemaOperationResponse, err error)
ListBySchema ...
func (DatabaseTablesClient) ListBySchemaComplete ¶
func (c DatabaseTablesClient) ListBySchemaComplete(ctx context.Context, id SchemaId, options ListBySchemaOperationOptions) (ListBySchemaCompleteResult, error)
ListBySchemaComplete retrieves all the results into a single object
func (DatabaseTablesClient) ListBySchemaCompleteMatchingPredicate ¶
func (c DatabaseTablesClient) ListBySchemaCompleteMatchingPredicate(ctx context.Context, id SchemaId, options ListBySchemaOperationOptions, predicate DatabaseTableOperationPredicate) (result ListBySchemaCompleteResult, err error)
ListBySchemaCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseTable }
type ListBySchemaCompleteResult ¶
type ListBySchemaCompleteResult struct { LatestHttpResponse *http.Response Items []DatabaseTable }
type ListBySchemaCustomPager ¶
func (*ListBySchemaCustomPager) NextPageLink ¶
func (p *ListBySchemaCustomPager) NextPageLink() *odata.Link
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 SchemaId ¶
type SchemaId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string SchemaName string }
SchemaId is a struct representing the Resource ID for a Schema
func NewSchemaID ¶
func NewSchemaID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, schemaName string) SchemaId
NewSchemaID returns a new SchemaId struct
func ParseSchemaID ¶
ParseSchemaID parses 'input' into a SchemaId
func ParseSchemaIDInsensitively ¶
ParseSchemaIDInsensitively parses 'input' case-insensitively into a SchemaId note: this method should only be used for API response data and not user input
func (*SchemaId) FromParseResult ¶
func (id *SchemaId) FromParseResult(input resourceids.ParseResult) error
func (SchemaId) Segments ¶
func (id SchemaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Schema ID
type TableId ¶
type TableId struct { SubscriptionId string ResourceGroupName string ServerName string DatabaseName string SchemaName string TableName string }
TableId is a struct representing the Resource ID for a Table
func NewTableID ¶
func NewTableID(subscriptionId string, resourceGroupName string, serverName string, databaseName string, schemaName string, tableName string) TableId
NewTableID returns a new TableId struct
func ParseTableID ¶
ParseTableID parses 'input' into a TableId
func ParseTableIDInsensitively ¶
ParseTableIDInsensitively parses 'input' case-insensitively into a TableId note: this method should only be used for API response data and not user input
func (*TableId) FromParseResult ¶
func (id *TableId) FromParseResult(input resourceids.ParseResult) error
func (TableId) Segments ¶
func (id TableId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this 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