Documentation ¶
Index ¶
- func PossibleValuesForDataSourceKind() []string
- func ValidateDataSourceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DataSource
- type DataSourceId
- type DataSourceKind
- type DataSourceOperationPredicate
- type DataSourcesClient
- func (c DataSourcesClient) CreateOrUpdate(ctx context.Context, id DataSourceId, input DataSource) (result CreateOrUpdateOperationResponse, err error)
- func (c DataSourcesClient) Delete(ctx context.Context, id DataSourceId) (result DeleteOperationResponse, err error)
- func (c DataSourcesClient) Get(ctx context.Context, id DataSourceId) (result GetOperationResponse, err error)
- func (c DataSourcesClient) ListByWorkspace(ctx context.Context, id WorkspaceId, options ListByWorkspaceOperationOptions) (result ListByWorkspaceOperationResponse, err error)
- func (c DataSourcesClient) ListByWorkspaceComplete(ctx context.Context, id WorkspaceId, options ListByWorkspaceOperationOptions) (ListByWorkspaceCompleteResult, error)
- func (c DataSourcesClient) ListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListByWorkspaceOperationOptions, ...) (result ListByWorkspaceCompleteResult, err error)
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByWorkspaceCompleteResult
- type ListByWorkspaceOperationOptions
- type ListByWorkspaceOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDataSourceKind ¶
func PossibleValuesForDataSourceKind() []string
func ValidateDataSourceID ¶
ValidateDataSourceID checks that 'input' can be parsed as a Data Source ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataSource }
type DataSource ¶
type DataSourceId ¶
type DataSourceId struct { SubscriptionId string ResourceGroupName string WorkspaceName string DataSourceName string }
DataSourceId is a struct representing the Resource ID for a Data Source
func NewDataSourceID ¶
func NewDataSourceID(subscriptionId string, resourceGroupName string, workspaceName string, dataSourceName string) DataSourceId
NewDataSourceID returns a new DataSourceId struct
func ParseDataSourceID ¶
func ParseDataSourceID(input string) (*DataSourceId, error)
ParseDataSourceID parses 'input' into a DataSourceId
func ParseDataSourceIDInsensitively ¶
func ParseDataSourceIDInsensitively(input string) (*DataSourceId, error)
ParseDataSourceIDInsensitively parses 'input' case-insensitively into a DataSourceId note: this method should only be used for API response data and not user input
func (*DataSourceId) FromParseResult ¶
func (id *DataSourceId) FromParseResult(input resourceids.ParseResult) error
func (DataSourceId) Segments ¶
func (id DataSourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Source ID
func (DataSourceId) String ¶
func (id DataSourceId) String() string
String returns a human-readable description of this Data Source ID
type DataSourceKind ¶
type DataSourceKind string
const ( DataSourceKindApplicationInsights DataSourceKind = "ApplicationInsights" DataSourceKindAzureActivityLog DataSourceKind = "AzureActivityLog" DataSourceKindAzureAuditLog DataSourceKind = "AzureAuditLog" DataSourceKindChangeTrackingContentLocation DataSourceKind = "ChangeTrackingContentLocation" DataSourceKindChangeTrackingCustomPath DataSourceKind = "ChangeTrackingCustomPath" DataSourceKindChangeTrackingDataTypeConfiguration DataSourceKind = "ChangeTrackingDataTypeConfiguration" DataSourceKindChangeTrackingDefaultRegistry DataSourceKind = "ChangeTrackingDefaultRegistry" DataSourceKindChangeTrackingLinuxPath DataSourceKind = "ChangeTrackingLinuxPath" DataSourceKindChangeTrackingPath DataSourceKind = "ChangeTrackingPath" DataSourceKindChangeTrackingRegistry DataSourceKind = "ChangeTrackingRegistry" DataSourceKindChangeTrackingServices DataSourceKind = "ChangeTrackingServices" DataSourceKindCustomLog DataSourceKind = "CustomLog" DataSourceKindCustomLogCollection DataSourceKind = "CustomLogCollection" DataSourceKindDnsAnalytics DataSourceKind = "DnsAnalytics" DataSourceKindGenericDataSource DataSourceKind = "GenericDataSource" DataSourceKindIISLogs DataSourceKind = "IISLogs" DataSourceKindImportComputerGroup DataSourceKind = "ImportComputerGroup" DataSourceKindItsm DataSourceKind = "Itsm" DataSourceKindLinuxChangeTrackingPath DataSourceKind = "LinuxChangeTrackingPath" DataSourceKindLinuxPerformanceCollection DataSourceKind = "LinuxPerformanceCollection" DataSourceKindLinuxPerformanceObject DataSourceKind = "LinuxPerformanceObject" DataSourceKindLinuxSyslog DataSourceKind = "LinuxSyslog" DataSourceKindLinuxSyslogCollection DataSourceKind = "LinuxSyslogCollection" DataSourceKindNetworkMonitoring DataSourceKind = "NetworkMonitoring" DataSourceKindOfficeThreeSixFive DataSourceKind = "Office365" DataSourceKindSecurityCenterSecurityWindowsBaselineConfiguration DataSourceKind = "SecurityCenterSecurityWindowsBaselineConfiguration" DataSourceKindSecurityEventCollectionConfiguration DataSourceKind = "SecurityEventCollectionConfiguration" DataSourceKindSecurityInsightsSecurityEventCollectionConfiguration DataSourceKind = "SecurityInsightsSecurityEventCollectionConfiguration" DataSourceKindSecurityWindowsBaselineConfiguration DataSourceKind = "SecurityWindowsBaselineConfiguration" DataSourceKindSqlDataClassification DataSourceKind = "SqlDataClassification" DataSourceKindWindowsEvent DataSourceKind = "WindowsEvent" DataSourceKindWindowsPerformanceCounter DataSourceKind = "WindowsPerformanceCounter" DataSourceKindWindowsTelemetry DataSourceKind = "WindowsTelemetry" )
func (*DataSourceKind) UnmarshalJSON ¶
func (s *DataSourceKind) UnmarshalJSON(bytes []byte) error
type DataSourceOperationPredicate ¶
type DataSourceOperationPredicate struct { Etag *string Id *string Name *string Properties *interface{} Type *string }
func (DataSourceOperationPredicate) Matches ¶
func (p DataSourceOperationPredicate) Matches(input DataSource) bool
type DataSourcesClient ¶
type DataSourcesClient struct {
Client *resourcemanager.Client
}
func NewDataSourcesClientWithBaseURI ¶
func NewDataSourcesClientWithBaseURI(sdkApi sdkEnv.Api) (*DataSourcesClient, error)
func (DataSourcesClient) CreateOrUpdate ¶
func (c DataSourcesClient) CreateOrUpdate(ctx context.Context, id DataSourceId, input DataSource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DataSourcesClient) Delete ¶
func (c DataSourcesClient) Delete(ctx context.Context, id DataSourceId) (result DeleteOperationResponse, err error)
Delete ...
func (DataSourcesClient) Get ¶
func (c DataSourcesClient) Get(ctx context.Context, id DataSourceId) (result GetOperationResponse, err error)
Get ...
func (DataSourcesClient) ListByWorkspace ¶
func (c DataSourcesClient) ListByWorkspace(ctx context.Context, id WorkspaceId, options ListByWorkspaceOperationOptions) (result ListByWorkspaceOperationResponse, err error)
ListByWorkspace ...
func (DataSourcesClient) ListByWorkspaceComplete ¶
func (c DataSourcesClient) ListByWorkspaceComplete(ctx context.Context, id WorkspaceId, options ListByWorkspaceOperationOptions) (ListByWorkspaceCompleteResult, error)
ListByWorkspaceComplete retrieves all the results into a single object
func (DataSourcesClient) ListByWorkspaceCompleteMatchingPredicate ¶
func (c DataSourcesClient) ListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListByWorkspaceOperationOptions, predicate DataSourceOperationPredicate) (result ListByWorkspaceCompleteResult, err error)
ListByWorkspaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataSource }
type ListByWorkspaceCompleteResult ¶
type ListByWorkspaceCompleteResult struct { LatestHttpResponse *http.Response Items []DataSource }
type ListByWorkspaceOperationOptions ¶
type ListByWorkspaceOperationOptions struct {
Filter *string
}
func DefaultListByWorkspaceOperationOptions ¶
func DefaultListByWorkspaceOperationOptions() ListByWorkspaceOperationOptions
func (ListByWorkspaceOperationOptions) ToHeaders ¶
func (o ListByWorkspaceOperationOptions) ToHeaders() *client.Headers
func (ListByWorkspaceOperationOptions) ToOData ¶
func (o ListByWorkspaceOperationOptions) ToOData() *odata.Query
func (ListByWorkspaceOperationOptions) ToQuery ¶
func (o ListByWorkspaceOperationOptions) ToQuery() *client.QueryParams
type ListByWorkspaceOperationResponse ¶
type ListByWorkspaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DataSource }
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