Documentation ¶
Index ¶
- func PossibleValuesForColumnDataTypeHintEnum() []string
- func PossibleValuesForColumnTypeEnum() []string
- func PossibleValuesForProvisioningStateEnum() []string
- func PossibleValuesForSourceEnum() []string
- func PossibleValuesForTablePlanEnum() []string
- func PossibleValuesForTableSubTypeEnum() []string
- func PossibleValuesForTableTypeEnum() []string
- func ValidateTableID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CancelSearchOperationResponse
- type Column
- type ColumnDataTypeHintEnum
- type ColumnTypeEnum
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByWorkspaceOperationResponse
- type MigrateOperationResponse
- type ProvisioningStateEnum
- type RestoredLogs
- type ResultStatistics
- type Schema
- type SearchResults
- type SourceEnum
- type Table
- type TableId
- type TablePlanEnum
- type TableProperties
- type TableSubTypeEnum
- type TableTypeEnum
- type TablesClient
- func (c TablesClient) CancelSearch(ctx context.Context, id TableId) (result CancelSearchOperationResponse, err error)
- func (c TablesClient) CreateOrUpdate(ctx context.Context, id TableId, input Table) (result CreateOrUpdateOperationResponse, err error)
- func (c TablesClient) CreateOrUpdateThenPoll(ctx context.Context, id TableId, input Table) error
- func (c TablesClient) Delete(ctx context.Context, id TableId) (result DeleteOperationResponse, err error)
- func (c TablesClient) DeleteThenPoll(ctx context.Context, id TableId) error
- 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) Migrate(ctx context.Context, id TableId) (result MigrateOperationResponse, err error)
- func (c TablesClient) Update(ctx context.Context, id TableId, input Table) (result UpdateOperationResponse, err error)
- func (c TablesClient) UpdateThenPoll(ctx context.Context, id TableId, input Table) error
- type TablesListResult
- type UpdateOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForColumnDataTypeHintEnum ¶
func PossibleValuesForColumnDataTypeHintEnum() []string
func PossibleValuesForColumnTypeEnum ¶
func PossibleValuesForColumnTypeEnum() []string
func PossibleValuesForProvisioningStateEnum ¶
func PossibleValuesForProvisioningStateEnum() []string
func PossibleValuesForSourceEnum ¶
func PossibleValuesForSourceEnum() []string
func PossibleValuesForTablePlanEnum ¶
func PossibleValuesForTablePlanEnum() []string
func PossibleValuesForTableSubTypeEnum ¶
func PossibleValuesForTableSubTypeEnum() []string
func PossibleValuesForTableTypeEnum ¶
func PossibleValuesForTableTypeEnum() []string
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 Column ¶
type Column struct { DataTypeHint *ColumnDataTypeHintEnum `json:"dataTypeHint,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` IsDefaultDisplay *bool `json:"isDefaultDisplay,omitempty"` IsHidden *bool `json:"isHidden,omitempty"` Name *string `json:"name,omitempty"` Type *ColumnTypeEnum `json:"type,omitempty"` }
type ColumnDataTypeHintEnum ¶
type ColumnDataTypeHintEnum string
const ( ColumnDataTypeHintEnumArmPath ColumnDataTypeHintEnum = "armPath" ColumnDataTypeHintEnumGuid ColumnDataTypeHintEnum = "guid" ColumnDataTypeHintEnumIP ColumnDataTypeHintEnum = "ip" ColumnDataTypeHintEnumUri ColumnDataTypeHintEnum = "uri" )
type ColumnTypeEnum ¶
type ColumnTypeEnum string
const ( ColumnTypeEnumBoolean ColumnTypeEnum = "boolean" ColumnTypeEnumDateTime ColumnTypeEnum = "dateTime" ColumnTypeEnumDynamic ColumnTypeEnum = "dynamic" ColumnTypeEnumGuid ColumnTypeEnum = "guid" ColumnTypeEnumInt ColumnTypeEnum = "int" ColumnTypeEnumLong ColumnTypeEnum = "long" ColumnTypeEnumReal ColumnTypeEnum = "real" ColumnTypeEnumString ColumnTypeEnum = "string" )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type ListByWorkspaceOperationResponse ¶
type ListByWorkspaceOperationResponse struct { HttpResponse *http.Response Model *TablesListResult }
type ProvisioningStateEnum ¶
type ProvisioningStateEnum string
const ( ProvisioningStateEnumDeleting ProvisioningStateEnum = "Deleting" ProvisioningStateEnumInProgress ProvisioningStateEnum = "InProgress" ProvisioningStateEnumSucceeded ProvisioningStateEnum = "Succeeded" ProvisioningStateEnumUpdating ProvisioningStateEnum = "Updating" )
type RestoredLogs ¶
type RestoredLogs struct { AzureAsyncOperationId *string `json:"azureAsyncOperationId,omitempty"` EndRestoreTime *string `json:"endRestoreTime,omitempty"` SourceTable *string `json:"sourceTable,omitempty"` StartRestoreTime *string `json:"startRestoreTime,omitempty"` }
func (*RestoredLogs) GetEndRestoreTimeAsTime ¶
func (o *RestoredLogs) GetEndRestoreTimeAsTime() (*time.Time, error)
func (*RestoredLogs) GetStartRestoreTimeAsTime ¶
func (o *RestoredLogs) GetStartRestoreTimeAsTime() (*time.Time, error)
func (*RestoredLogs) SetEndRestoreTimeAsTime ¶
func (o *RestoredLogs) SetEndRestoreTimeAsTime(input time.Time)
func (*RestoredLogs) SetStartRestoreTimeAsTime ¶
func (o *RestoredLogs) SetStartRestoreTimeAsTime(input time.Time)
type ResultStatistics ¶
type Schema ¶
type Schema struct { Categories *[]string `json:"categories,omitempty"` Columns *[]Column `json:"columns,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Labels *[]string `json:"labels,omitempty"` Name *string `json:"name,omitempty"` Solutions *[]string `json:"solutions,omitempty"` Source *SourceEnum `json:"source,omitempty"` StandardColumns *[]Column `json:"standardColumns,omitempty"` TableSubType *TableSubTypeEnum `json:"tableSubType,omitempty"` TableType *TableTypeEnum `json:"tableType,omitempty"` }
type SearchResults ¶
type SearchResults struct { AzureAsyncOperationId *string `json:"azureAsyncOperationId,omitempty"` Description *string `json:"description,omitempty"` EndSearchTime *string `json:"endSearchTime,omitempty"` Limit *int64 `json:"limit,omitempty"` Query *string `json:"query,omitempty"` SourceTable *string `json:"sourceTable,omitempty"` StartSearchTime *string `json:"startSearchTime,omitempty"` }
func (*SearchResults) GetEndSearchTimeAsTime ¶
func (o *SearchResults) GetEndSearchTimeAsTime() (*time.Time, error)
func (*SearchResults) GetStartSearchTimeAsTime ¶
func (o *SearchResults) GetStartSearchTimeAsTime() (*time.Time, error)
func (*SearchResults) SetEndSearchTimeAsTime ¶
func (o *SearchResults) SetEndSearchTimeAsTime(input time.Time)
func (*SearchResults) SetStartSearchTimeAsTime ¶
func (o *SearchResults) SetStartSearchTimeAsTime(input time.Time)
type SourceEnum ¶
type SourceEnum string
const ( SourceEnumCustomer SourceEnum = "customer" SourceEnumMicrosoft SourceEnum = "microsoft" )
type Table ¶
type Table struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TableProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,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) Segments ¶
func (id TableId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Table ID
type TablePlanEnum ¶
type TablePlanEnum string
const ( TablePlanEnumAnalytics TablePlanEnum = "Analytics" TablePlanEnumBasic TablePlanEnum = "Basic" )
type TableProperties ¶
type TableProperties struct { ArchiveRetentionInDays *int64 `json:"archiveRetentionInDays,omitempty"` LastPlanModifiedDate *string `json:"lastPlanModifiedDate,omitempty"` Plan *TablePlanEnum `json:"plan,omitempty"` ProvisioningState *ProvisioningStateEnum `json:"provisioningState,omitempty"` RestoredLogs *RestoredLogs `json:"restoredLogs,omitempty"` ResultStatistics *ResultStatistics `json:"resultStatistics,omitempty"` RetentionInDays *int64 `json:"retentionInDays,omitempty"` RetentionInDaysAsDefault *bool `json:"retentionInDaysAsDefault,omitempty"` Schema *Schema `json:"schema,omitempty"` SearchResults *SearchResults `json:"searchResults,omitempty"` TotalRetentionInDays *int64 `json:"totalRetentionInDays,omitempty"` TotalRetentionInDaysAsDefault *bool `json:"totalRetentionInDaysAsDefault,omitempty"` }
type TableSubTypeEnum ¶
type TableSubTypeEnum string
const ( TableSubTypeEnumAny TableSubTypeEnum = "Any" TableSubTypeEnumClassic TableSubTypeEnum = "Classic" TableSubTypeEnumDataCollectionRuleBased TableSubTypeEnum = "DataCollectionRuleBased" )
type TableTypeEnum ¶
type TableTypeEnum string
const ( TableTypeEnumCustomLog TableTypeEnum = "CustomLog" TableTypeEnumMicrosoft TableTypeEnum = "Microsoft" TableTypeEnumRestoredLogs TableTypeEnum = "RestoredLogs" TableTypeEnumSearchResults TableTypeEnum = "SearchResults" )
type TablesClient ¶
func NewTablesClientWithBaseURI ¶
func NewTablesClientWithBaseURI(endpoint string) TablesClient
func (TablesClient) CancelSearch ¶
func (c TablesClient) CancelSearch(ctx context.Context, id TableId) (result CancelSearchOperationResponse, err error)
CancelSearch ...
func (TablesClient) CreateOrUpdate ¶
func (c TablesClient) CreateOrUpdate(ctx context.Context, id TableId, input Table) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TablesClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (TablesClient) Delete ¶
func (c TablesClient) Delete(ctx context.Context, id TableId) (result DeleteOperationResponse, err error)
Delete ...
func (TablesClient) DeleteThenPoll ¶
func (c TablesClient) DeleteThenPoll(ctx context.Context, id TableId) error
DeleteThenPoll performs Delete then polls until it's completed
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) Migrate ¶
func (c TablesClient) Migrate(ctx context.Context, id TableId) (result MigrateOperationResponse, err error)
Migrate ...
func (TablesClient) Update ¶
func (c TablesClient) Update(ctx context.Context, id TableId, input Table) (result UpdateOperationResponse, err error)
Update ...
func (TablesClient) UpdateThenPoll ¶
UpdateThenPoll performs Update then polls until it's completed
type TablesListResult ¶
type TablesListResult struct {
Value *[]Table `json:"value,omitempty"`
}
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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) 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
Source Files ¶
- client.go
- constants.go
- id_table.go
- id_workspace.go
- method_cancelsearch_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyworkspace_autorest.go
- method_migrate_autorest.go
- method_update_autorest.go
- model_column.go
- model_restoredlogs.go
- model_resultstatistics.go
- model_schema.go
- model_searchresults.go
- model_table.go
- model_tableproperties.go
- model_tableslistresult.go
- version.go