dataconnectors

package
v0.20231218.1170952 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: MPL-2.0 Imports: 12 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/securityinsights/2022-10-01-preview/dataconnectors Documentation

The dataconnectors SDK allows for interaction with the Azure Resource Manager Service securityinsights (API Version 2022-10-01-preview).

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/securityinsights/2022-10-01-preview/dataconnectors"

Client Initialization

client := dataconnectors.NewDataConnectorsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DataConnectorsClient.CreateOrUpdate

ctx := context.TODO()
id := dataconnectors.NewDataConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "dataConnectorIdValue")

payload := dataconnectors.DataConnector{
	// ...
}


read, err := client.CreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DataConnectorsClient.Delete

ctx := context.TODO()
id := dataconnectors.NewDataConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "dataConnectorIdValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DataConnectorsClient.Get

ctx := context.TODO()
id := dataconnectors.NewDataConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "dataConnectorIdValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DataConnectorsClient.List

ctx := context.TODO()
id := dataconnectors.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAvailabilityStatus

func PossibleValuesForAvailabilityStatus() []int64

func PossibleValuesForConnectivityType

func PossibleValuesForConnectivityType() []string

func PossibleValuesForDataConnectorKind

func PossibleValuesForDataConnectorKind() []string

func PossibleValuesForDataTypeState

func PossibleValuesForDataTypeState() []string

func PossibleValuesForPermissionProviderScope

func PossibleValuesForPermissionProviderScope() []string

func PossibleValuesForPollingFrequency

func PossibleValuesForPollingFrequency() []string

func PossibleValuesForProviderName

func PossibleValuesForProviderName() []string

func PossibleValuesForSettingType

func PossibleValuesForSettingType() []string

func ValidateDataConnectorID

func ValidateDataConnectorID(input interface{}, key string) (warnings []string, errors []error)

ValidateDataConnectorID checks that 'input' can be parsed as a Data Connector ID

func ValidateWorkspaceID

func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)

ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID

Types

type AADDataConnector

type AADDataConnector struct {
	Properties *AADDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (AADDataConnector) MarshalJSON

func (s AADDataConnector) MarshalJSON() ([]byte, error)

type AADDataConnectorProperties

type AADDataConnectorProperties struct {
	DataTypes *AlertsDataTypeOfDataConnector `json:"dataTypes,omitempty"`
	TenantId  string                         `json:"tenantId"`
}

type AATPDataConnector

type AATPDataConnector struct {
	Properties *AATPDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (AATPDataConnector) MarshalJSON

func (s AATPDataConnector) MarshalJSON() ([]byte, error)

type AATPDataConnectorProperties

type AATPDataConnectorProperties struct {
	DataTypes *AlertsDataTypeOfDataConnector `json:"dataTypes,omitempty"`
	TenantId  string                         `json:"tenantId"`
}

type ASCDataConnector

type ASCDataConnector struct {
	Properties *ASCDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (ASCDataConnector) MarshalJSON

func (s ASCDataConnector) MarshalJSON() ([]byte, error)

type ASCDataConnectorProperties

type ASCDataConnectorProperties struct {
	DataTypes      *AlertsDataTypeOfDataConnector `json:"dataTypes,omitempty"`
	SubscriptionId *string                        `json:"subscriptionId,omitempty"`
}

type AlertsDataTypeOfDataConnector

type AlertsDataTypeOfDataConnector struct {
	Alerts DataConnectorDataTypeCommon `json:"alerts"`
}

type ApiPollingParameters

type ApiPollingParameters struct {
	ConnectorUiConfig *CodelessUiConnectorConfigProperties      `json:"connectorUiConfig,omitempty"`
	PollingConfig     *CodelessConnectorPollingConfigProperties `json:"pollingConfig,omitempty"`
}

type Availability

type Availability struct {
	IsPreview *bool               `json:"isPreview,omitempty"`
	Status    *AvailabilityStatus `json:"status,omitempty"`
}

type AvailabilityStatus

type AvailabilityStatus int64
const (
	AvailabilityStatusOne AvailabilityStatus = 1
)

type AwsCloudTrailDataConnector

type AwsCloudTrailDataConnector struct {
	Properties *AwsCloudTrailDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (AwsCloudTrailDataConnector) MarshalJSON

func (s AwsCloudTrailDataConnector) MarshalJSON() ([]byte, error)

type AwsCloudTrailDataConnectorDataTypes

type AwsCloudTrailDataConnectorDataTypes struct {
	Logs DataConnectorDataTypeCommon `json:"logs"`
}

type AwsCloudTrailDataConnectorProperties

type AwsCloudTrailDataConnectorProperties struct {
	AwsRoleArn *string                             `json:"awsRoleArn,omitempty"`
	DataTypes  AwsCloudTrailDataConnectorDataTypes `json:"dataTypes"`
}

type AwsS3DataConnector

type AwsS3DataConnector struct {
	Properties *AwsS3DataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (AwsS3DataConnector) MarshalJSON

func (s AwsS3DataConnector) MarshalJSON() ([]byte, error)

type AwsS3DataConnectorDataTypes

type AwsS3DataConnectorDataTypes struct {
	Logs DataConnectorDataTypeCommon `json:"logs"`
}

type AwsS3DataConnectorProperties

type AwsS3DataConnectorProperties struct {
	DataTypes        AwsS3DataConnectorDataTypes `json:"dataTypes"`
	DestinationTable string                      `json:"destinationTable"`
	RoleArn          string                      `json:"roleArn"`
	SqsUrls          []string                    `json:"sqsUrls"`
}

type CodelessApiPollingDataConnector

type CodelessApiPollingDataConnector struct {
	Properties *ApiPollingParameters `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (CodelessApiPollingDataConnector) MarshalJSON

func (s CodelessApiPollingDataConnector) MarshalJSON() ([]byte, error)

type CodelessConnectorPollingAuthProperties

type CodelessConnectorPollingAuthProperties struct {
	ApiKeyIdentifier                     *string      `json:"apiKeyIdentifier,omitempty"`
	ApiKeyName                           *string      `json:"apiKeyName,omitempty"`
	AuthType                             string       `json:"authType"`
	AuthorizationEndpoint                *string      `json:"authorizationEndpoint,omitempty"`
	AuthorizationEndpointQueryParameters *interface{} `json:"authorizationEndpointQueryParameters,omitempty"`
	FlowName                             *string      `json:"flowName,omitempty"`
	IsApiKeyInPostPayload                *string      `json:"isApiKeyInPostPayload,omitempty"`
	IsClientSecretInHeader               *bool        `json:"isClientSecretInHeader,omitempty"`
	RedirectionEndpoint                  *string      `json:"redirectionEndpoint,omitempty"`
	Scope                                *string      `json:"scope,omitempty"`
	TokenEndpoint                        *string      `json:"tokenEndpoint,omitempty"`
	TokenEndpointHeaders                 *interface{} `json:"tokenEndpointHeaders,omitempty"`
	TokenEndpointQueryParameters         *interface{} `json:"tokenEndpointQueryParameters,omitempty"`
}

type CodelessConnectorPollingConfigProperties

type CodelessConnectorPollingConfigProperties struct {
	Auth     CodelessConnectorPollingAuthProperties      `json:"auth"`
	IsActive *bool                                       `json:"isActive,omitempty"`
	Paging   *CodelessConnectorPollingPagingProperties   `json:"paging,omitempty"`
	Request  CodelessConnectorPollingRequestProperties   `json:"request"`
	Response *CodelessConnectorPollingResponseProperties `json:"response,omitempty"`
}

type CodelessConnectorPollingPagingProperties

type CodelessConnectorPollingPagingProperties struct {
	NextPageParaName                       *string `json:"nextPageParaName,omitempty"`
	NextPageTokenJsonPath                  *string `json:"nextPageTokenJsonPath,omitempty"`
	PageCountAttributePath                 *string `json:"pageCountAttributePath,omitempty"`
	PageSize                               *int64  `json:"pageSize,omitempty"`
	PageSizeParaName                       *string `json:"pageSizeParaName,omitempty"`
	PageTimeStampAttributePath             *string `json:"pageTimeStampAttributePath,omitempty"`
	PageTotalCountAttributePath            *string `json:"pageTotalCountAttributePath,omitempty"`
	PagingType                             string  `json:"pagingType"`
	SearchTheLatestTimeStampFromEventsList *string `json:"searchTheLatestTimeStampFromEventsList,omitempty"`
}

type CodelessConnectorPollingRequestProperties

type CodelessConnectorPollingRequestProperties struct {
	ApiEndpoint             string       `json:"apiEndpoint"`
	EndTimeAttributeName    *string      `json:"endTimeAttributeName,omitempty"`
	HTTPMethod              string       `json:"httpMethod"`
	Headers                 *interface{} `json:"headers,omitempty"`
	QueryParameters         *interface{} `json:"queryParameters,omitempty"`
	QueryParametersTemplate *string      `json:"queryParametersTemplate,omitempty"`
	QueryTimeFormat         string       `json:"queryTimeFormat"`
	QueryWindowInMin        int64        `json:"queryWindowInMin"`
	RateLimitQps            *int64       `json:"rateLimitQps,omitempty"`
	RetryCount              *int64       `json:"retryCount,omitempty"`
	StartTimeAttributeName  *string      `json:"startTimeAttributeName,omitempty"`
	TimeoutInSeconds        *int64       `json:"timeoutInSeconds,omitempty"`
}

type CodelessConnectorPollingResponseProperties

type CodelessConnectorPollingResponseProperties struct {
	EventsJsonPaths       []string `json:"eventsJsonPaths"`
	IsGzipCompressed      *bool    `json:"isGzipCompressed,omitempty"`
	SuccessStatusJsonPath *string  `json:"successStatusJsonPath,omitempty"`
	SuccessStatusValue    *string  `json:"successStatusValue,omitempty"`
}

type CodelessParameters

type CodelessParameters struct {
	ConnectorUiConfig *CodelessUiConnectorConfigProperties `json:"connectorUiConfig,omitempty"`
}

type CodelessUiConnectorConfigProperties

type CodelessUiConnectorConfigProperties struct {
	Availability          Availability               `json:"availability"`
	ConnectivityCriteria  []ConnectivityCriteria     `json:"connectivityCriteria"`
	CustomImage           *string                    `json:"customImage,omitempty"`
	DataTypes             []LastDataReceivedDataType `json:"dataTypes"`
	DescriptionMarkdown   string                     `json:"descriptionMarkdown"`
	GraphQueries          []GraphQueries             `json:"graphQueries"`
	GraphQueriesTableName string                     `json:"graphQueriesTableName"`
	InstructionSteps      []InstructionSteps         `json:"instructionSteps"`
	Permissions           Permissions                `json:"permissions"`
	Publisher             string                     `json:"publisher"`
	SampleQueries         []SampleQueries            `json:"sampleQueries"`
	Title                 string                     `json:"title"`
}

type CodelessUiDataConnector

type CodelessUiDataConnector struct {
	Properties *CodelessParameters `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (CodelessUiDataConnector) MarshalJSON

func (s CodelessUiDataConnector) MarshalJSON() ([]byte, error)

type ConnectivityCriteria

type ConnectivityCriteria struct {
	Type  *ConnectivityType `json:"type,omitempty"`
	Value *[]string         `json:"value,omitempty"`
}

type ConnectivityType

type ConnectivityType string
const (
	ConnectivityTypeIsConnectedQuery ConnectivityType = "IsConnectedQuery"
)

type ConnectorInstructionModelBase

type ConnectorInstructionModelBase struct {
	Parameters *interface{} `json:"parameters,omitempty"`
	Type       SettingType  `json:"type"`
}

type CreateOrUpdateOperationResponse added in v0.20230906.1160501

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *DataConnector
}

type CustomsPermission

type CustomsPermission struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
}

type DataConnector

type DataConnector interface {
}

type DataConnectorDataTypeCommon

type DataConnectorDataTypeCommon struct {
	State DataTypeState `json:"state"`
}

type DataConnectorId

type DataConnectorId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
	DataConnectorId   string
}

DataConnectorId is a struct representing the Resource ID for a Data Connector

func NewDataConnectorID

func NewDataConnectorID(subscriptionId string, resourceGroupName string, workspaceName string, dataConnectorId string) DataConnectorId

NewDataConnectorID returns a new DataConnectorId struct

func ParseDataConnectorID

func ParseDataConnectorID(input string) (*DataConnectorId, error)

ParseDataConnectorID parses 'input' into a DataConnectorId

func ParseDataConnectorIDInsensitively

func ParseDataConnectorIDInsensitively(input string) (*DataConnectorId, error)

ParseDataConnectorIDInsensitively parses 'input' case-insensitively into a DataConnectorId note: this method should only be used for API response data and not user input

func (*DataConnectorId) FromParseResult added in v0.20231127.1171502

func (id *DataConnectorId) FromParseResult(input resourceids.ParseResult) error

func (DataConnectorId) ID

func (id DataConnectorId) ID() string

ID returns the formatted Data Connector ID

func (DataConnectorId) Segments

func (id DataConnectorId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Data Connector ID

func (DataConnectorId) String

func (id DataConnectorId) String() string

String returns a human-readable description of this Data Connector ID

type DataConnectorKind

type DataConnectorKind string
const (
	DataConnectorKindAPIPolling                                DataConnectorKind = "APIPolling"
	DataConnectorKindAmazonWebServicesCloudTrail               DataConnectorKind = "AmazonWebServicesCloudTrail"
	DataConnectorKindAmazonWebServicesSThree                   DataConnectorKind = "AmazonWebServicesS3"
	DataConnectorKindAzureActiveDirectory                      DataConnectorKind = "AzureActiveDirectory"
	DataConnectorKindAzureAdvancedThreatProtection             DataConnectorKind = "AzureAdvancedThreatProtection"
	DataConnectorKindAzureSecurityCenter                       DataConnectorKind = "AzureSecurityCenter"
	DataConnectorKindDynamicsThreeSixFive                      DataConnectorKind = "Dynamics365"
	DataConnectorKindGenericUI                                 DataConnectorKind = "GenericUI"
	DataConnectorKindIOT                                       DataConnectorKind = "IOT"
	DataConnectorKindMicrosoftCloudAppSecurity                 DataConnectorKind = "MicrosoftCloudAppSecurity"
	DataConnectorKindMicrosoftDefenderAdvancedThreatProtection DataConnectorKind = "MicrosoftDefenderAdvancedThreatProtection"
	DataConnectorKindMicrosoftThreatIntelligence               DataConnectorKind = "MicrosoftThreatIntelligence"
	DataConnectorKindMicrosoftThreatProtection                 DataConnectorKind = "MicrosoftThreatProtection"
	DataConnectorKindOfficeATP                                 DataConnectorKind = "OfficeATP"
	DataConnectorKindOfficeIRM                                 DataConnectorKind = "OfficeIRM"
	DataConnectorKindOfficePowerBI                             DataConnectorKind = "OfficePowerBI"
	DataConnectorKindOfficeThreeSixFive                        DataConnectorKind = "Office365"
	DataConnectorKindOfficeThreeSixFiveProject                 DataConnectorKind = "Office365Project"
	DataConnectorKindThreatIntelligence                        DataConnectorKind = "ThreatIntelligence"
	DataConnectorKindThreatIntelligenceTaxii                   DataConnectorKind = "ThreatIntelligenceTaxii"
)

type DataConnectorOperationPredicate

type DataConnectorOperationPredicate struct {
}

func (DataConnectorOperationPredicate) Matches

type DataConnectorsClient

type DataConnectorsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewDataConnectorsClientWithBaseURI

func NewDataConnectorsClientWithBaseURI(endpoint string) DataConnectorsClient

func (DataConnectorsClient) CreateOrUpdate added in v0.20230906.1160501

CreateOrUpdate ...

func (DataConnectorsClient) Delete added in v0.20230906.1160501

Delete ...

func (DataConnectorsClient) Get added in v0.20230906.1160501

Get ...

func (DataConnectorsClient) List added in v0.20230906.1160501

List ...

func (DataConnectorsClient) ListComplete added in v0.20230906.1160501

ListComplete retrieves all of the results into a single object

func (DataConnectorsClient) ListCompleteMatchingPredicate added in v0.20230906.1160501

func (c DataConnectorsClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate DataConnectorOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type DataTypeState

type DataTypeState string
const (
	DataTypeStateDisabled DataTypeState = "Disabled"
	DataTypeStateEnabled  DataTypeState = "Enabled"
)

type DeleteOperationResponse added in v0.20230906.1160501

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type Dynamics365DataConnector

type Dynamics365DataConnector struct {
	Properties *Dynamics365DataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (Dynamics365DataConnector) MarshalJSON

func (s Dynamics365DataConnector) MarshalJSON() ([]byte, error)

type Dynamics365DataConnectorDataTypes

type Dynamics365DataConnectorDataTypes struct {
	Dynamics365CdsActivities DataConnectorDataTypeCommon `json:"dynamics365CdsActivities"`
}

type Dynamics365DataConnectorProperties

type Dynamics365DataConnectorProperties struct {
	DataTypes Dynamics365DataConnectorDataTypes `json:"dataTypes"`
	TenantId  string                            `json:"tenantId"`
}

type GetOperationResponse added in v0.20230906.1160501

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *DataConnector
}

type GraphQueries

type GraphQueries struct {
	BaseQuery  *string `json:"baseQuery,omitempty"`
	Legend     *string `json:"legend,omitempty"`
	MetricName *string `json:"metricName,omitempty"`
}

type InstructionSteps

type InstructionSteps struct {
	Description  *string                          `json:"description,omitempty"`
	Instructions *[]ConnectorInstructionModelBase `json:"instructions,omitempty"`
	Title        *string                          `json:"title,omitempty"`
}

type IoTDataConnector

type IoTDataConnector struct {
	Properties *IoTDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (IoTDataConnector) MarshalJSON

func (s IoTDataConnector) MarshalJSON() ([]byte, error)

type IoTDataConnectorProperties

type IoTDataConnectorProperties struct {
	DataTypes      *AlertsDataTypeOfDataConnector `json:"dataTypes,omitempty"`
	SubscriptionId *string                        `json:"subscriptionId,omitempty"`
}

type LastDataReceivedDataType

type LastDataReceivedDataType struct {
	LastDataReceivedQuery *string `json:"lastDataReceivedQuery,omitempty"`
	Name                  *string `json:"name,omitempty"`
}

type ListCompleteResult added in v0.20230906.1160501

type ListCompleteResult struct {
	Items []DataConnector
}

type ListOperationResponse added in v0.20230906.1160501

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]DataConnector
	// contains filtered or unexported fields
}

func (ListOperationResponse) HasMore added in v0.20230906.1160501

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore added in v0.20230906.1160501

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

type MCASDataConnector

type MCASDataConnector struct {
	Properties *MCASDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (MCASDataConnector) MarshalJSON

func (s MCASDataConnector) MarshalJSON() ([]byte, error)

type MCASDataConnectorDataTypes

type MCASDataConnectorDataTypes struct {
	Alerts        DataConnectorDataTypeCommon  `json:"alerts"`
	DiscoveryLogs *DataConnectorDataTypeCommon `json:"discoveryLogs,omitempty"`
}

type MCASDataConnectorProperties

type MCASDataConnectorProperties struct {
	DataTypes MCASDataConnectorDataTypes `json:"dataTypes"`
	TenantId  string                     `json:"tenantId"`
}

type MDATPDataConnector

type MDATPDataConnector struct {
	Properties *MDATPDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (MDATPDataConnector) MarshalJSON

func (s MDATPDataConnector) MarshalJSON() ([]byte, error)

type MDATPDataConnectorProperties

type MDATPDataConnectorProperties struct {
	DataTypes *AlertsDataTypeOfDataConnector `json:"dataTypes,omitempty"`
	TenantId  string                         `json:"tenantId"`
}

type MSTIDataConnector

type MSTIDataConnector struct {
	Properties *MSTIDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (MSTIDataConnector) MarshalJSON

func (s MSTIDataConnector) MarshalJSON() ([]byte, error)

type MSTIDataConnectorDataTypes

type MSTIDataConnectorDataTypes struct {
	BingSafetyPhishingURL       MSTIDataConnectorDataTypesBingSafetyPhishingURL       `json:"bingSafetyPhishingURL"`
	MicrosoftEmergingThreatFeed MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeed `json:"microsoftEmergingThreatFeed"`
}

type MSTIDataConnectorDataTypesBingSafetyPhishingURL

type MSTIDataConnectorDataTypesBingSafetyPhishingURL struct {
	LookbackPeriod string         `json:"lookbackPeriod"`
	State          *DataTypeState `json:"state,omitempty"`
}

type MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeed

type MSTIDataConnectorDataTypesMicrosoftEmergingThreatFeed struct {
	LookbackPeriod string         `json:"lookbackPeriod"`
	State          *DataTypeState `json:"state,omitempty"`
}

type MSTIDataConnectorProperties

type MSTIDataConnectorProperties struct {
	DataTypes MSTIDataConnectorDataTypes `json:"dataTypes"`
	TenantId  string                     `json:"tenantId"`
}

type MTPDataConnector

type MTPDataConnector struct {
	Properties *MTPDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (MTPDataConnector) MarshalJSON

func (s MTPDataConnector) MarshalJSON() ([]byte, error)

type MTPDataConnectorDataTypes

type MTPDataConnectorDataTypes struct {
	Incidents DataConnectorDataTypeCommon `json:"incidents"`
}

type MTPDataConnectorProperties

type MTPDataConnectorProperties struct {
	DataTypes MTPDataConnectorDataTypes `json:"dataTypes"`
	TenantId  string                    `json:"tenantId"`
}

type Office365ProjectConnectorDataTypes

type Office365ProjectConnectorDataTypes struct {
	Logs DataConnectorDataTypeCommon `json:"logs"`
}

type Office365ProjectDataConnector

type Office365ProjectDataConnector struct {
	Properties *Office365ProjectDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (Office365ProjectDataConnector) MarshalJSON

func (s Office365ProjectDataConnector) MarshalJSON() ([]byte, error)

type Office365ProjectDataConnectorProperties

type Office365ProjectDataConnectorProperties struct {
	DataTypes Office365ProjectConnectorDataTypes `json:"dataTypes"`
	TenantId  string                             `json:"tenantId"`
}

type OfficeATPDataConnector

type OfficeATPDataConnector struct {
	Properties *OfficeATPDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (OfficeATPDataConnector) MarshalJSON

func (s OfficeATPDataConnector) MarshalJSON() ([]byte, error)

type OfficeATPDataConnectorProperties

type OfficeATPDataConnectorProperties struct {
	DataTypes *AlertsDataTypeOfDataConnector `json:"dataTypes,omitempty"`
	TenantId  string                         `json:"tenantId"`
}

type OfficeDataConnector

type OfficeDataConnector struct {
	Properties *OfficeDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (OfficeDataConnector) MarshalJSON

func (s OfficeDataConnector) MarshalJSON() ([]byte, error)

type OfficeDataConnectorDataTypes

type OfficeDataConnectorDataTypes struct {
	Exchange   DataConnectorDataTypeCommon `json:"exchange"`
	SharePoint DataConnectorDataTypeCommon `json:"sharePoint"`
	Teams      DataConnectorDataTypeCommon `json:"teams"`
}

type OfficeDataConnectorProperties

type OfficeDataConnectorProperties struct {
	DataTypes OfficeDataConnectorDataTypes `json:"dataTypes"`
	TenantId  string                       `json:"tenantId"`
}

type OfficeIRMDataConnector

type OfficeIRMDataConnector struct {
	Properties *OfficeIRMDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (OfficeIRMDataConnector) MarshalJSON

func (s OfficeIRMDataConnector) MarshalJSON() ([]byte, error)

type OfficeIRMDataConnectorProperties

type OfficeIRMDataConnectorProperties struct {
	DataTypes *AlertsDataTypeOfDataConnector `json:"dataTypes,omitempty"`
	TenantId  string                         `json:"tenantId"`
}

type OfficePowerBIConnectorDataTypes

type OfficePowerBIConnectorDataTypes struct {
	Logs DataConnectorDataTypeCommon `json:"logs"`
}

type OfficePowerBIDataConnector

type OfficePowerBIDataConnector struct {
	Properties *OfficePowerBIDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (OfficePowerBIDataConnector) MarshalJSON

func (s OfficePowerBIDataConnector) MarshalJSON() ([]byte, error)

type OfficePowerBIDataConnectorProperties

type OfficePowerBIDataConnectorProperties struct {
	DataTypes OfficePowerBIConnectorDataTypes `json:"dataTypes"`
	TenantId  string                          `json:"tenantId"`
}

type PermissionProviderScope

type PermissionProviderScope string
const (
	PermissionProviderScopeResourceGroup PermissionProviderScope = "ResourceGroup"
	PermissionProviderScopeSubscription  PermissionProviderScope = "Subscription"
	PermissionProviderScopeWorkspace     PermissionProviderScope = "Workspace"
)

type Permissions

type Permissions struct {
	Customs          *[]CustomsPermission `json:"customs,omitempty"`
	ResourceProvider *[]ResourceProvider  `json:"resourceProvider,omitempty"`
}

type PollingFrequency

type PollingFrequency string
const (
	PollingFrequencyOnceADay    PollingFrequency = "OnceADay"
	PollingFrequencyOnceAMinute PollingFrequency = "OnceAMinute"
	PollingFrequencyOnceAnHour  PollingFrequency = "OnceAnHour"
)

type ProviderName

type ProviderName string
const (
	ProviderNameMicrosoftPointAuthorizationPolicyAssignments           ProviderName = "Microsoft.Authorization/policyAssignments"
	ProviderNameMicrosoftPointOperationalInsightsSolutions             ProviderName = "Microsoft.OperationalInsights/solutions"
	ProviderNameMicrosoftPointOperationalInsightsWorkspaces            ProviderName = "Microsoft.OperationalInsights/workspaces"
	ProviderNameMicrosoftPointOperationalInsightsWorkspacesDatasources ProviderName = "Microsoft.OperationalInsights/workspaces/datasources"
	ProviderNameMicrosoftPointOperationalInsightsWorkspacesSharedKeys  ProviderName = "Microsoft.OperationalInsights/workspaces/sharedKeys"
	ProviderNameMicrosoftPointaadiamDiagnosticSettings                 ProviderName = "microsoft.aadiam/diagnosticSettings"
)

type RawDataConnectorImpl added in v0.20230807.1063129

type RawDataConnectorImpl struct {
	Type   string
	Values map[string]interface{}
}

RawDataConnectorImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RequiredPermissions

type RequiredPermissions struct {
	Action *bool `json:"action,omitempty"`
	Delete *bool `json:"delete,omitempty"`
	Read   *bool `json:"read,omitempty"`
	Write  *bool `json:"write,omitempty"`
}

type ResourceProvider

type ResourceProvider struct {
	PermissionsDisplayText *string                  `json:"permissionsDisplayText,omitempty"`
	Provider               *ProviderName            `json:"provider,omitempty"`
	ProviderDisplayName    *string                  `json:"providerDisplayName,omitempty"`
	RequiredPermissions    *RequiredPermissions     `json:"requiredPermissions,omitempty"`
	Scope                  *PermissionProviderScope `json:"scope,omitempty"`
}

type SampleQueries

type SampleQueries struct {
	Description *string `json:"description,omitempty"`
	Query       *string `json:"query,omitempty"`
}

type SettingType

type SettingType string
const (
	SettingTypeCopyableLabel         SettingType = "CopyableLabel"
	SettingTypeInfoMessage           SettingType = "InfoMessage"
	SettingTypeInstructionStepsGroup SettingType = "InstructionStepsGroup"
)

type TIDataConnector

type TIDataConnector struct {
	Properties *TIDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (TIDataConnector) MarshalJSON

func (s TIDataConnector) MarshalJSON() ([]byte, error)

type TIDataConnectorDataTypes

type TIDataConnectorDataTypes struct {
	Indicators DataConnectorDataTypeCommon `json:"indicators"`
}

type TIDataConnectorProperties

type TIDataConnectorProperties struct {
	DataTypes         TIDataConnectorDataTypes `json:"dataTypes"`
	TenantId          string                   `json:"tenantId"`
	TipLookbackPeriod *string                  `json:"tipLookbackPeriod,omitempty"`
}

func (*TIDataConnectorProperties) GetTipLookbackPeriodAsTime

func (o *TIDataConnectorProperties) GetTipLookbackPeriodAsTime() (*time.Time, error)

func (*TIDataConnectorProperties) SetTipLookbackPeriodAsTime

func (o *TIDataConnectorProperties) SetTipLookbackPeriodAsTime(input time.Time)

type TiTaxiiDataConnector

type TiTaxiiDataConnector struct {
	Properties *TiTaxiiDataConnectorProperties `json:"properties,omitempty"`

	// Fields inherited from DataConnector
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (TiTaxiiDataConnector) MarshalJSON

func (s TiTaxiiDataConnector) MarshalJSON() ([]byte, error)

type TiTaxiiDataConnectorDataTypes

type TiTaxiiDataConnectorDataTypes struct {
	TaxiiClient DataConnectorDataTypeCommon `json:"taxiiClient"`
}

type TiTaxiiDataConnectorProperties

type TiTaxiiDataConnectorProperties struct {
	CollectionId        *string                       `json:"collectionId,omitempty"`
	DataTypes           TiTaxiiDataConnectorDataTypes `json:"dataTypes"`
	FriendlyName        *string                       `json:"friendlyName,omitempty"`
	Password            *string                       `json:"password,omitempty"`
	PollingFrequency    PollingFrequency              `json:"pollingFrequency"`
	TaxiiLookbackPeriod *string                       `json:"taxiiLookbackPeriod,omitempty"`
	TaxiiServer         *string                       `json:"taxiiServer,omitempty"`
	TenantId            string                        `json:"tenantId"`
	UserName            *string                       `json:"userName,omitempty"`
	WorkspaceId         *string                       `json:"workspaceId,omitempty"`
}

func (*TiTaxiiDataConnectorProperties) GetTaxiiLookbackPeriodAsTime

func (o *TiTaxiiDataConnectorProperties) GetTaxiiLookbackPeriodAsTime() (*time.Time, error)

func (*TiTaxiiDataConnectorProperties) SetTaxiiLookbackPeriodAsTime

func (o *TiTaxiiDataConnectorProperties) SetTaxiiLookbackPeriodAsTime(input time.Time)

type WorkspaceId

type WorkspaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
}

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 added in v0.20231127.1171502

func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error

func (WorkspaceId) ID

func (id WorkspaceId) ID() string

ID returns the formatted Workspace ID

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL