README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/synapse/2021-06-01/sqlpoolssqlpoolcolumns
Documentation
The sqlpoolssqlpoolcolumns
SDK allows for interaction with the Azure Resource Manager Service synapse
(API Version 2021-06-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/synapse/2021-06-01/sqlpoolssqlpoolcolumns"
Client Initialization
client := sqlpoolssqlpoolcolumns.NewSqlPoolsSqlPoolColumnsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: SqlPoolsSqlPoolColumnsClient.SqlPoolColumnsGet
ctx := context.TODO()
id := sqlpoolssqlpoolcolumns.NewColumnID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "sqlPoolValue", "schemaValue", "tableValue", "columnValue")
read, err := client.SqlPoolColumnsGet(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForColumnDataType ¶
func PossibleValuesForColumnDataType() []string
func ValidateColumnID ¶
ValidateColumnID checks that 'input' can be parsed as a 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 ColumnId ¶
type ColumnId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string SchemaName string TableName string ColumnName string }
ColumnId is a struct representing the Resource ID for a Column
func NewColumnID ¶
func NewColumnID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string, schemaName string, tableName string, columnName string) ColumnId
NewColumnID returns a new ColumnId struct
func ParseColumnID ¶
ParseColumnID parses 'input' into a ColumnId
func ParseColumnIDInsensitively ¶
ParseColumnIDInsensitively parses 'input' case-insensitively into a ColumnId note: this method should only be used for API response data and not user input
func (*ColumnId) FromParseResult ¶
func (id *ColumnId) FromParseResult(input resourceids.ParseResult) error
func (ColumnId) Segments ¶
func (id ColumnId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Column 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 SqlPoolColumnProperties ¶
type SqlPoolColumnProperties struct { ColumnType *ColumnDataType `json:"columnType,omitempty"` IsComputed *bool `json:"isComputed,omitempty"` }
type SqlPoolColumnsGetOperationResponse ¶
type SqlPoolColumnsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SqlPoolColumn }
type SqlPoolsSqlPoolColumnsClient ¶
type SqlPoolsSqlPoolColumnsClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsSqlPoolColumnsClientWithBaseURI ¶
func NewSqlPoolsSqlPoolColumnsClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsSqlPoolColumnsClient, error)
func (SqlPoolsSqlPoolColumnsClient) SqlPoolColumnsGet ¶
func (c SqlPoolsSqlPoolColumnsClient) SqlPoolColumnsGet(ctx context.Context, id ColumnId) (result SqlPoolColumnsGetOperationResponse, err error)
SqlPoolColumnsGet ...