Documentation ¶
Index ¶
- func ValidateSchemaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTableID(input interface{}, key string) (warnings []string, errors []error)
- 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 ListBySchemaOperationOptions
- type ListBySchemaOperationResponse
- type Resource
- type ResourceOperationPredicate
- type SchemaId
- type TableId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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 ResourceOperationPredicate) (result ListBySchemaCompleteResult, err error)
ListBySchemaCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type ListBySchemaCompleteResult ¶
type ListBySchemaCompleteResult struct {
Items []Resource
}
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 ResourceOperationPredicate ¶
func (ResourceOperationPredicate) Matches ¶
func (p ResourceOperationPredicate) Matches(input Resource) bool
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) 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) Segments ¶
func (id TableId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Table ID