Documentation ¶
Index ¶
- func PossibleValuesForColumnDataType() []string
- func ValidateSchemaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTableID(input interface{}, key string) (warnings []string, errors []error)
- type ColumnDataType
- type Resource
- type ResourceOperationPredicate
- type SchemaId
- type SqlPoolColumn
- type SqlPoolColumnOperationPredicate
- type SqlPoolColumnProperties
- type SqlPoolTableColumnsListByTableNameCompleteResult
- type SqlPoolTableColumnsListByTableNameCustomPager
- type SqlPoolTableColumnsListByTableNameOperationOptions
- type SqlPoolTableColumnsListByTableNameOperationResponse
- type SqlPoolTablesListBySchemaCompleteResult
- type SqlPoolTablesListBySchemaCustomPager
- type SqlPoolTablesListBySchemaOperationOptions
- type SqlPoolTablesListBySchemaOperationResponse
- type SqlPoolsTablesClient
- func (c SqlPoolsTablesClient) SqlPoolTableColumnsListByTableName(ctx context.Context, id TableId, ...) (result SqlPoolTableColumnsListByTableNameOperationResponse, err error)
- func (c SqlPoolsTablesClient) SqlPoolTableColumnsListByTableNameComplete(ctx context.Context, id TableId, ...) (SqlPoolTableColumnsListByTableNameCompleteResult, error)
- func (c SqlPoolsTablesClient) SqlPoolTableColumnsListByTableNameCompleteMatchingPredicate(ctx context.Context, id TableId, ...) (result SqlPoolTableColumnsListByTableNameCompleteResult, err error)
- func (c SqlPoolsTablesClient) SqlPoolTablesListBySchema(ctx context.Context, id SchemaId, ...) (result SqlPoolTablesListBySchemaOperationResponse, err error)
- func (c SqlPoolsTablesClient) SqlPoolTablesListBySchemaComplete(ctx context.Context, id SchemaId, ...) (SqlPoolTablesListBySchemaCompleteResult, error)
- func (c SqlPoolsTablesClient) SqlPoolTablesListBySchemaCompleteMatchingPredicate(ctx context.Context, id SchemaId, ...) (result SqlPoolTablesListBySchemaCompleteResult, err error)
- type TableId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForColumnDataType ¶
func PossibleValuesForColumnDataType() []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 ColumnDataType ¶
type ColumnDataType string
const ( ColumnDataTypeBigint ColumnDataType = "bigint" ColumnDataTypeBinary ColumnDataType = "binary" ColumnDataTypeBit ColumnDataType = "bit" ColumnDataTypeChar ColumnDataType = "char" ColumnDataTypeDate ColumnDataType = "date" ColumnDataTypeDatetime ColumnDataType = "datetime" ColumnDataTypeDatetimeTwo ColumnDataType = "datetime2" ColumnDataTypeDatetimeoffset ColumnDataType = "datetimeoffset" ColumnDataTypeDecimal ColumnDataType = "decimal" ColumnDataTypeFloat ColumnDataType = "float" ColumnDataTypeGeography ColumnDataType = "geography" ColumnDataTypeGeometry ColumnDataType = "geometry" ColumnDataTypeHierarchyid ColumnDataType = "hierarchyid" ColumnDataTypeImage ColumnDataType = "image" ColumnDataTypeInt ColumnDataType = "int" ColumnDataTypeMoney ColumnDataType = "money" ColumnDataTypeNchar ColumnDataType = "nchar" ColumnDataTypeNtext ColumnDataType = "ntext" ColumnDataTypeNumeric ColumnDataType = "numeric" ColumnDataTypeNvarchar ColumnDataType = "nvarchar" ColumnDataTypeReal ColumnDataType = "real" ColumnDataTypeSmalldatetime ColumnDataType = "smalldatetime" ColumnDataTypeSmallint ColumnDataType = "smallint" ColumnDataTypeSmallmoney ColumnDataType = "smallmoney" ColumnDataTypeSqlVariant ColumnDataType = "sql_variant" ColumnDataTypeSysname ColumnDataType = "sysname" ColumnDataTypeText ColumnDataType = "text" ColumnDataTypeTime ColumnDataType = "time" ColumnDataTypeTimestamp ColumnDataType = "timestamp" ColumnDataTypeTinyint ColumnDataType = "tinyint" ColumnDataTypeUniqueidentifier ColumnDataType = "uniqueidentifier" ColumnDataTypeVarbinary ColumnDataType = "varbinary" ColumnDataTypeVarchar ColumnDataType = "varchar" ColumnDataTypeXml ColumnDataType = "xml" )
func (*ColumnDataType) UnmarshalJSON ¶
func (s *ColumnDataType) UnmarshalJSON(bytes []byte) error
type ResourceOperationPredicate ¶
func (ResourceOperationPredicate) Matches ¶
func (p ResourceOperationPredicate) Matches(input Resource) bool
type SchemaId ¶
type SchemaId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string SchemaName string }
SchemaId is a struct representing the Resource ID for a Schema
func NewSchemaID ¶
func NewSchemaID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName 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 SqlPoolColumn ¶
type SqlPoolColumn struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SqlPoolColumnProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SqlPoolColumnOperationPredicate ¶
func (SqlPoolColumnOperationPredicate) Matches ¶
func (p SqlPoolColumnOperationPredicate) Matches(input SqlPoolColumn) bool
type SqlPoolColumnProperties ¶
type SqlPoolColumnProperties struct { ColumnType *ColumnDataType `json:"columnType,omitempty"` IsComputed *bool `json:"isComputed,omitempty"` }
type SqlPoolTableColumnsListByTableNameCompleteResult ¶
type SqlPoolTableColumnsListByTableNameCompleteResult struct { LatestHttpResponse *http.Response Items []SqlPoolColumn }
type SqlPoolTableColumnsListByTableNameCustomPager ¶
type SqlPoolTableColumnsListByTableNameCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*SqlPoolTableColumnsListByTableNameCustomPager) NextPageLink ¶
func (p *SqlPoolTableColumnsListByTableNameCustomPager) NextPageLink() *odata.Link
type SqlPoolTableColumnsListByTableNameOperationOptions ¶
type SqlPoolTableColumnsListByTableNameOperationOptions struct {
Filter *string
}
func DefaultSqlPoolTableColumnsListByTableNameOperationOptions ¶
func DefaultSqlPoolTableColumnsListByTableNameOperationOptions() SqlPoolTableColumnsListByTableNameOperationOptions
func (SqlPoolTableColumnsListByTableNameOperationOptions) ToHeaders ¶
func (o SqlPoolTableColumnsListByTableNameOperationOptions) ToHeaders() *client.Headers
func (SqlPoolTableColumnsListByTableNameOperationOptions) ToOData ¶
func (o SqlPoolTableColumnsListByTableNameOperationOptions) ToOData() *odata.Query
func (SqlPoolTableColumnsListByTableNameOperationOptions) ToQuery ¶
func (o SqlPoolTableColumnsListByTableNameOperationOptions) ToQuery() *client.QueryParams
type SqlPoolTableColumnsListByTableNameOperationResponse ¶
type SqlPoolTableColumnsListByTableNameOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SqlPoolColumn }
type SqlPoolTablesListBySchemaCustomPager ¶
func (*SqlPoolTablesListBySchemaCustomPager) NextPageLink ¶
func (p *SqlPoolTablesListBySchemaCustomPager) NextPageLink() *odata.Link
type SqlPoolTablesListBySchemaOperationOptions ¶
type SqlPoolTablesListBySchemaOperationOptions struct {
Filter *string
}
func DefaultSqlPoolTablesListBySchemaOperationOptions ¶
func DefaultSqlPoolTablesListBySchemaOperationOptions() SqlPoolTablesListBySchemaOperationOptions
func (SqlPoolTablesListBySchemaOperationOptions) ToHeaders ¶
func (o SqlPoolTablesListBySchemaOperationOptions) ToHeaders() *client.Headers
func (SqlPoolTablesListBySchemaOperationOptions) ToOData ¶
func (o SqlPoolTablesListBySchemaOperationOptions) ToOData() *odata.Query
func (SqlPoolTablesListBySchemaOperationOptions) ToQuery ¶
func (o SqlPoolTablesListBySchemaOperationOptions) ToQuery() *client.QueryParams
type SqlPoolsTablesClient ¶
type SqlPoolsTablesClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsTablesClientWithBaseURI ¶
func NewSqlPoolsTablesClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsTablesClient, error)
func (SqlPoolsTablesClient) SqlPoolTableColumnsListByTableName ¶
func (c SqlPoolsTablesClient) SqlPoolTableColumnsListByTableName(ctx context.Context, id TableId, options SqlPoolTableColumnsListByTableNameOperationOptions) (result SqlPoolTableColumnsListByTableNameOperationResponse, err error)
SqlPoolTableColumnsListByTableName ...
func (SqlPoolsTablesClient) SqlPoolTableColumnsListByTableNameComplete ¶
func (c SqlPoolsTablesClient) SqlPoolTableColumnsListByTableNameComplete(ctx context.Context, id TableId, options SqlPoolTableColumnsListByTableNameOperationOptions) (SqlPoolTableColumnsListByTableNameCompleteResult, error)
SqlPoolTableColumnsListByTableNameComplete retrieves all the results into a single object
func (SqlPoolsTablesClient) SqlPoolTableColumnsListByTableNameCompleteMatchingPredicate ¶
func (c SqlPoolsTablesClient) SqlPoolTableColumnsListByTableNameCompleteMatchingPredicate(ctx context.Context, id TableId, options SqlPoolTableColumnsListByTableNameOperationOptions, predicate SqlPoolColumnOperationPredicate) (result SqlPoolTableColumnsListByTableNameCompleteResult, err error)
SqlPoolTableColumnsListByTableNameCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SqlPoolsTablesClient) SqlPoolTablesListBySchema ¶
func (c SqlPoolsTablesClient) SqlPoolTablesListBySchema(ctx context.Context, id SchemaId, options SqlPoolTablesListBySchemaOperationOptions) (result SqlPoolTablesListBySchemaOperationResponse, err error)
SqlPoolTablesListBySchema ...
func (SqlPoolsTablesClient) SqlPoolTablesListBySchemaComplete ¶
func (c SqlPoolsTablesClient) SqlPoolTablesListBySchemaComplete(ctx context.Context, id SchemaId, options SqlPoolTablesListBySchemaOperationOptions) (SqlPoolTablesListBySchemaCompleteResult, error)
SqlPoolTablesListBySchemaComplete retrieves all the results into a single object
func (SqlPoolsTablesClient) SqlPoolTablesListBySchemaCompleteMatchingPredicate ¶
func (c SqlPoolsTablesClient) SqlPoolTablesListBySchemaCompleteMatchingPredicate(ctx context.Context, id SchemaId, options SqlPoolTablesListBySchemaOperationOptions, predicate ResourceOperationPredicate) (result SqlPoolTablesListBySchemaCompleteResult, err error)
SqlPoolTablesListBySchemaCompleteMatchingPredicate retrieves all the results and then applies the predicate
type TableId ¶
type TableId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string SchemaName string TableName string }
TableId is a struct representing the Resource ID for a Table
func NewTableID ¶
func NewTableID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName 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