Documentation ¶
Index ¶
- func ValidateTableID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListByWorkspaceOperationResponse
- type Table
- type TableId
- type TableProperties
- type TablesClient
- func (c TablesClient) Get(ctx context.Context, id TableId) (result GetOperationResponse, err error)
- func (c TablesClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
- func (c TablesClient) Update(ctx context.Context, id TableId, input Table) (result UpdateOperationResponse, err error)
- type TablesListResult
- type UpdateOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateTableID ¶
ValidateTableID checks that 'input' can be parsed as a Table ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type GetOperationResponse ¶
type ListByWorkspaceOperationResponse ¶
type ListByWorkspaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TablesListResult }
type Table ¶
type Table struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TableProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TableId ¶
type TableId struct { SubscriptionId string ResourceGroupName string WorkspaceName string TableName string }
TableId is a struct representing the Resource ID for a Table
func NewTableID ¶
func NewTableID(subscriptionId string, resourceGroupName string, workspaceName 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 TableProperties ¶
type TableProperties struct {
RetentionInDays *int64 `json:"retentionInDays,omitempty"`
}
type TablesClient ¶
type TablesClient struct {
Client *resourcemanager.Client
}
func NewTablesClientWithBaseURI ¶
func NewTablesClientWithBaseURI(sdkApi sdkEnv.Api) (*TablesClient, error)
func (TablesClient) Get ¶
func (c TablesClient) Get(ctx context.Context, id TableId) (result GetOperationResponse, err error)
Get ...
func (TablesClient) ListByWorkspace ¶
func (c TablesClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
ListByWorkspace ...
func (TablesClient) Update ¶
func (c TablesClient) Update(ctx context.Context, id TableId, input Table) (result UpdateOperationResponse, err error)
Update ...
type TablesListResult ¶
type TablesListResult struct {
Value *[]Table `json:"value,omitempty"`
}
type UpdateOperationResponse ¶
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID