dataconnectors

package
v0.20241209.1115630 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

README

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

The dataconnectors SDK allows for interaction with Azure Resource Manager securityinsights (API Version 2023-12-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/2023-12-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", "workspaceName", "dataConnectorId")

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", "workspaceName", "dataConnectorId")

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", "workspaceName", "dataConnectorId")

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", "workspaceName")

// 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 PossibleValuesForMtpProvider

func PossibleValuesForMtpProvider() []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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (AADDataConnector) DataConnector

func (s AADDataConnector) DataConnector() BaseDataConnectorImpl

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (AATPDataConnector) DataConnector

func (s AATPDataConnector) DataConnector() BaseDataConnectorImpl

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (ASCDataConnector) DataConnector

func (s ASCDataConnector) DataConnector() BaseDataConnectorImpl

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (AwsCloudTrailDataConnector) DataConnector

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (AwsS3DataConnector) DataConnector

func (s AwsS3DataConnector) DataConnector() BaseDataConnectorImpl

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 BaseDataConnectorImpl

type BaseDataConnectorImpl struct {
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (BaseDataConnectorImpl) DataConnector

func (s BaseDataConnectorImpl) DataConnector() BaseDataConnectorImpl

type CodelessApiPollingDataConnector

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

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (CodelessApiPollingDataConnector) DataConnector

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (CodelessUiDataConnector) DataConnector

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"
)

func (*ConnectivityType) UnmarshalJSON

func (s *ConnectivityType) UnmarshalJSON(bytes []byte) error

type ConnectorInstructionModelBase

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

type CreateOrUpdateOperationResponse

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

type CustomsPermission

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

type DCRConfiguration

type DCRConfiguration struct {
	DataCollectionEndpoint        string `json:"dataCollectionEndpoint"`
	DataCollectionRuleImmutableId string `json:"dataCollectionRuleImmutableId"`
	StreamName                    string `json:"streamName"`
}

type DataConnector

type DataConnector interface {
	DataConnector() BaseDataConnectorImpl
}

func UnmarshalDataConnectorImplementation

func UnmarshalDataConnectorImplementation(input []byte) (DataConnector, error)

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

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"
	DataConnectorKindGCP                                       DataConnectorKind = "GCP"
	DataConnectorKindGenericUI                                 DataConnectorKind = "GenericUI"
	DataConnectorKindIOT                                       DataConnectorKind = "IOT"
	DataConnectorKindMicrosoftCloudAppSecurity                 DataConnectorKind = "MicrosoftCloudAppSecurity"
	DataConnectorKindMicrosoftDefenderAdvancedThreatProtection DataConnectorKind = "MicrosoftDefenderAdvancedThreatProtection"
	DataConnectorKindMicrosoftPurviewInformationProtection     DataConnectorKind = "MicrosoftPurviewInformationProtection"
	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"
)

func (*DataConnectorKind) UnmarshalJSON

func (s *DataConnectorKind) UnmarshalJSON(bytes []byte) error

type DataConnectorOperationPredicate

type DataConnectorOperationPredicate struct {
}

func (DataConnectorOperationPredicate) Matches

type DataConnectorsClient

type DataConnectorsClient struct {
	Client *resourcemanager.Client
}

func NewDataConnectorsClientWithBaseURI

func NewDataConnectorsClientWithBaseURI(sdkApi sdkEnv.Api) (*DataConnectorsClient, error)

func (DataConnectorsClient) CreateOrUpdate

CreateOrUpdate ...

func (DataConnectorsClient) Delete

Delete ...

func (DataConnectorsClient) Get

Get ...

func (DataConnectorsClient) List

List ...

func (DataConnectorsClient) ListComplete

ListComplete retrieves all the results into a single object

func (DataConnectorsClient) ListCompleteMatchingPredicate

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

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type DataTypeState

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

func (*DataTypeState) UnmarshalJSON

func (s *DataTypeState) UnmarshalJSON(bytes []byte) error

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type Dynamics365DataConnector

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

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (Dynamics365DataConnector) DataConnector

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 GCPAuthProperties

type GCPAuthProperties struct {
	ProjectNumber              string `json:"projectNumber"`
	ServiceAccountEmail        string `json:"serviceAccountEmail"`
	WorkloadIdentityProviderId string `json:"workloadIdentityProviderId"`
}

type GCPDataConnector

type GCPDataConnector struct {
	Properties *GCPDataConnectorProperties `json:"properties,omitempty"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (GCPDataConnector) DataConnector

func (s GCPDataConnector) DataConnector() BaseDataConnectorImpl

func (GCPDataConnector) MarshalJSON

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

type GCPDataConnectorProperties

type GCPDataConnectorProperties struct {
	Auth                    GCPAuthProperties    `json:"auth"`
	ConnectorDefinitionName string               `json:"connectorDefinitionName"`
	DcrConfig               *DCRConfiguration    `json:"dcrConfig,omitempty"`
	Request                 GCPRequestProperties `json:"request"`
}

type GCPRequestProperties

type GCPRequestProperties struct {
	ProjectId         string   `json:"projectId"`
	SubscriptionNames []string `json:"subscriptionNames"`
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (IoTDataConnector) DataConnector

func (s IoTDataConnector) DataConnector() BaseDataConnectorImpl

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

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DataConnector
}

type ListCustomPager

type ListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListCustomPager) NextPageLink() *odata.Link

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataConnector
}

type MCASDataConnector

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

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (MCASDataConnector) DataConnector

func (s MCASDataConnector) DataConnector() BaseDataConnectorImpl

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (MDATPDataConnector) DataConnector

func (s MDATPDataConnector) DataConnector() BaseDataConnectorImpl

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (MSTIDataConnector) DataConnector

func (s MSTIDataConnector) DataConnector() BaseDataConnectorImpl

func (MSTIDataConnector) MarshalJSON

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

type MSTIDataConnectorDataTypes

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

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (MTPDataConnector) DataConnector

func (s MTPDataConnector) DataConnector() BaseDataConnectorImpl

func (MTPDataConnector) MarshalJSON

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

type MTPDataConnectorDataTypes

type MTPDataConnectorDataTypes struct {
	Alerts    *DataConnectorDataTypeCommon `json:"alerts,omitempty"`
	Incidents DataConnectorDataTypeCommon  `json:"incidents"`
}

type MTPDataConnectorProperties

type MTPDataConnectorProperties struct {
	DataTypes         MTPDataConnectorDataTypes `json:"dataTypes"`
	FilteredProviders *MtpFilteredProviders     `json:"filteredProviders,omitempty"`
	TenantId          string                    `json:"tenantId"`
}

type MicrosoftPurviewInformationProtectionConnectorDataTypes

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

type MicrosoftPurviewInformationProtectionDataConnector

type MicrosoftPurviewInformationProtectionDataConnector struct {
	Properties *MicrosoftPurviewInformationProtectionDataConnectorProperties `json:"properties,omitempty"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (MicrosoftPurviewInformationProtectionDataConnector) DataConnector

func (MicrosoftPurviewInformationProtectionDataConnector) MarshalJSON

type MicrosoftPurviewInformationProtectionDataConnectorProperties

type MicrosoftPurviewInformationProtectionDataConnectorProperties struct {
	DataTypes MicrosoftPurviewInformationProtectionConnectorDataTypes `json:"dataTypes"`
	TenantId  string                                                  `json:"tenantId"`
}

type MtpFilteredProviders

type MtpFilteredProviders struct {
	Alerts []MtpProvider `json:"alerts"`
}

type MtpProvider

type MtpProvider string
const (
	MtpProviderMicrosoftDefenderForCloudApps MtpProvider = "microsoftDefenderForCloudApps"
	MtpProviderMicrosoftDefenderForIdentity  MtpProvider = "microsoftDefenderForIdentity"
)

func (*MtpProvider) UnmarshalJSON

func (s *MtpProvider) UnmarshalJSON(bytes []byte) error

type Office365ProjectConnectorDataTypes

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

type Office365ProjectDataConnector

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

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (Office365ProjectDataConnector) DataConnector

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (OfficeATPDataConnector) DataConnector

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (OfficeDataConnector) DataConnector

func (s OfficeDataConnector) DataConnector() BaseDataConnectorImpl

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (OfficeIRMDataConnector) DataConnector

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (OfficePowerBIDataConnector) DataConnector

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"
)

func (*PermissionProviderScope) UnmarshalJSON

func (s *PermissionProviderScope) UnmarshalJSON(bytes []byte) error

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"
)

func (*PollingFrequency) UnmarshalJSON

func (s *PollingFrequency) UnmarshalJSON(bytes []byte) error

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"
)

func (*ProviderName) UnmarshalJSON

func (s *ProviderName) UnmarshalJSON(bytes []byte) error

type RawDataConnectorImpl

type RawDataConnectorImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

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).

func (RawDataConnectorImpl) DataConnector

func (s RawDataConnectorImpl) DataConnector() BaseDataConnectorImpl

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"
)

func (*SettingType) UnmarshalJSON

func (s *SettingType) UnmarshalJSON(bytes []byte) error

type TIDataConnector

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

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (TIDataConnector) DataConnector

func (s TIDataConnector) DataConnector() BaseDataConnectorImpl

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"`

	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Kind       DataConnectorKind      `json:"kind"`
	Name       *string                `json:"name,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

func (TiTaxiiDataConnector) DataConnector

func (s TiTaxiiDataConnector) DataConnector() BaseDataConnectorImpl

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

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