Documentation ¶
Index ¶
- func PossibleValuesForColumnDataType() []string
- func PossibleValuesForTableTemporalType() []string
- func ValidateSchemaTableID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTableColumnID(input interface{}, key string) (warnings []string, errors []error)
- type ColumnDataType
- type DatabaseColumn
- type DatabaseColumnOperationPredicate
- type DatabaseColumnProperties
- type GetOperationResponse
- type ListByDatabaseCompleteResult
- type ListByDatabaseCustomPager
- type ListByDatabaseOperationOptions
- type ListByDatabaseOperationResponse
- type ListByTableCompleteResult
- type ListByTableCustomPager
- type ListByTableOperationOptions
- type ListByTableOperationResponse
- type ManagedDatabaseColumnsClient
- func (c ManagedDatabaseColumnsClient) Get(ctx context.Context, id TableColumnId) (result GetOperationResponse, err error)
- func (c ManagedDatabaseColumnsClient) ListByDatabase(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result ListByDatabaseOperationResponse, err error)
- func (c ManagedDatabaseColumnsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (ListByDatabaseCompleteResult, error)
- func (c ManagedDatabaseColumnsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- func (c ManagedDatabaseColumnsClient) ListByTable(ctx context.Context, id SchemaTableId, options ListByTableOperationOptions) (result ListByTableOperationResponse, err error)
- func (c ManagedDatabaseColumnsClient) ListByTableComplete(ctx context.Context, id SchemaTableId, options ListByTableOperationOptions) (ListByTableCompleteResult, error)
- func (c ManagedDatabaseColumnsClient) ListByTableCompleteMatchingPredicate(ctx context.Context, id SchemaTableId, options ListByTableOperationOptions, ...) (result ListByTableCompleteResult, err error)
- type SchemaTableId
- type TableColumnId
- type TableTemporalType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForColumnDataType ¶
func PossibleValuesForColumnDataType() []string
func PossibleValuesForTableTemporalType ¶
func PossibleValuesForTableTemporalType() []string
func ValidateSchemaTableID ¶
ValidateSchemaTableID checks that 'input' can be parsed as a Schema Table ID
func ValidateTableColumnID ¶
ValidateTableColumnID checks that 'input' can be parsed as a Table Column 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 DatabaseColumn ¶
type DatabaseColumn struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatabaseColumnProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseColumnOperationPredicate ¶
func (DatabaseColumnOperationPredicate) Matches ¶
func (p DatabaseColumnOperationPredicate) Matches(input DatabaseColumn) bool
type DatabaseColumnProperties ¶
type DatabaseColumnProperties struct { ColumnType *ColumnDataType `json:"columnType,omitempty"` IsComputed *bool `json:"isComputed,omitempty"` MemoryOptimized *bool `json:"memoryOptimized,omitempty"` TemporalType *TableTemporalType `json:"temporalType,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseColumn }
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct { LatestHttpResponse *http.Response Items []DatabaseColumn }
type ListByDatabaseCustomPager ¶
func (*ListByDatabaseCustomPager) NextPageLink ¶
func (p *ListByDatabaseCustomPager) NextPageLink() *odata.Link
type ListByDatabaseOperationOptions ¶
type ListByDatabaseOperationOptions struct { Column *[]string OrderBy *[]string Schema *[]string Table *[]string }
func DefaultListByDatabaseOperationOptions ¶
func DefaultListByDatabaseOperationOptions() ListByDatabaseOperationOptions
func (ListByDatabaseOperationOptions) ToHeaders ¶
func (o ListByDatabaseOperationOptions) ToHeaders() *client.Headers
func (ListByDatabaseOperationOptions) ToOData ¶
func (o ListByDatabaseOperationOptions) ToOData() *odata.Query
func (ListByDatabaseOperationOptions) ToQuery ¶
func (o ListByDatabaseOperationOptions) ToQuery() *client.QueryParams
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatabaseColumn }
type ListByTableCompleteResult ¶
type ListByTableCompleteResult struct { LatestHttpResponse *http.Response Items []DatabaseColumn }
type ListByTableCustomPager ¶
func (*ListByTableCustomPager) NextPageLink ¶
func (p *ListByTableCustomPager) NextPageLink() *odata.Link
type ListByTableOperationOptions ¶
type ListByTableOperationOptions struct {
Filter *string
}
func DefaultListByTableOperationOptions ¶
func DefaultListByTableOperationOptions() ListByTableOperationOptions
func (ListByTableOperationOptions) ToHeaders ¶
func (o ListByTableOperationOptions) ToHeaders() *client.Headers
func (ListByTableOperationOptions) ToOData ¶
func (o ListByTableOperationOptions) ToOData() *odata.Query
func (ListByTableOperationOptions) ToQuery ¶
func (o ListByTableOperationOptions) ToQuery() *client.QueryParams
type ListByTableOperationResponse ¶
type ListByTableOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatabaseColumn }
type ManagedDatabaseColumnsClient ¶
type ManagedDatabaseColumnsClient struct {
Client *resourcemanager.Client
}
func NewManagedDatabaseColumnsClientWithBaseURI ¶
func NewManagedDatabaseColumnsClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedDatabaseColumnsClient, error)
func (ManagedDatabaseColumnsClient) Get ¶
func (c ManagedDatabaseColumnsClient) Get(ctx context.Context, id TableColumnId) (result GetOperationResponse, err error)
Get ...
func (ManagedDatabaseColumnsClient) ListByDatabase ¶
func (c ManagedDatabaseColumnsClient) ListByDatabase(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, options ListByDatabaseOperationOptions) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (ManagedDatabaseColumnsClient) ListByDatabaseComplete ¶
func (c ManagedDatabaseColumnsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, options ListByDatabaseOperationOptions) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (ManagedDatabaseColumnsClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c ManagedDatabaseColumnsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlManagedInstanceDatabaseId, options ListByDatabaseOperationOptions, predicate DatabaseColumnOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedDatabaseColumnsClient) ListByTable ¶
func (c ManagedDatabaseColumnsClient) ListByTable(ctx context.Context, id SchemaTableId, options ListByTableOperationOptions) (result ListByTableOperationResponse, err error)
ListByTable ...
func (ManagedDatabaseColumnsClient) ListByTableComplete ¶
func (c ManagedDatabaseColumnsClient) ListByTableComplete(ctx context.Context, id SchemaTableId, options ListByTableOperationOptions) (ListByTableCompleteResult, error)
ListByTableComplete retrieves all the results into a single object
func (ManagedDatabaseColumnsClient) ListByTableCompleteMatchingPredicate ¶
func (c ManagedDatabaseColumnsClient) ListByTableCompleteMatchingPredicate(ctx context.Context, id SchemaTableId, options ListByTableOperationOptions, predicate DatabaseColumnOperationPredicate) (result ListByTableCompleteResult, err error)
ListByTableCompleteMatchingPredicate 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 ¶
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 TableColumnId ¶
type TableColumnId struct { SubscriptionId string ResourceGroupName string ManagedInstanceName string DatabaseName string SchemaName string TableName string ColumnName string }
TableColumnId is a struct representing the Resource ID for a Table Column
func NewTableColumnID ¶
func NewTableColumnID(subscriptionId string, resourceGroupName string, managedInstanceName string, databaseName string, schemaName string, tableName string, columnName string) TableColumnId
NewTableColumnID returns a new TableColumnId struct
func ParseTableColumnID ¶
func ParseTableColumnID(input string) (*TableColumnId, error)
ParseTableColumnID parses 'input' into a TableColumnId
func ParseTableColumnIDInsensitively ¶
func ParseTableColumnIDInsensitively(input string) (*TableColumnId, error)
ParseTableColumnIDInsensitively parses 'input' case-insensitively into a TableColumnId note: this method should only be used for API response data and not user input
func (*TableColumnId) FromParseResult ¶
func (id *TableColumnId) FromParseResult(input resourceids.ParseResult) error
func (TableColumnId) ID ¶
func (id TableColumnId) ID() string
ID returns the formatted Table Column ID
func (TableColumnId) Segments ¶
func (id TableColumnId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Table Column ID
func (TableColumnId) String ¶
func (id TableColumnId) String() string
String returns a human-readable description of this Table Column 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