checkdataconnectorrequirements

package
v0.20240112.1112256 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MPL-2.0 Imports: 8 Imported by: 1

README

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

The checkdataconnectorrequirements 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/checkdataconnectorrequirements"

Client Initialization

client := checkdataconnectorrequirements.NewCheckDataConnectorRequirementsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: CheckDataConnectorRequirementsClient.DataConnectorsCheckRequirementsPost

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

payload := checkdataconnectorrequirements.DataConnectorsCheckRequirements{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForDataConnectorAuthorizationState

func PossibleValuesForDataConnectorAuthorizationState() []string

func PossibleValuesForDataConnectorKind

func PossibleValuesForDataConnectorKind() []string

func PossibleValuesForDataConnectorLicenseState

func PossibleValuesForDataConnectorLicenseState() []string

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 AADCheckRequirements

type AADCheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (AADCheckRequirements) MarshalJSON

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

type AATPCheckRequirements

type AATPCheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (AATPCheckRequirements) MarshalJSON

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

type ASCCheckRequirements

type ASCCheckRequirements struct {
	Properties *ASCCheckRequirementsProperties `json:"properties,omitempty"`
}

func (ASCCheckRequirements) MarshalJSON

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

type ASCCheckRequirementsProperties

type ASCCheckRequirementsProperties struct {
	SubscriptionId *string `json:"subscriptionId,omitempty"`
}

type AwsCloudTrailCheckRequirements

type AwsCloudTrailCheckRequirements struct {
}

func (AwsCloudTrailCheckRequirements) MarshalJSON

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

type AwsS3CheckRequirements

type AwsS3CheckRequirements struct {
}

func (AwsS3CheckRequirements) MarshalJSON

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

type CheckDataConnectorRequirementsClient

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

func NewCheckDataConnectorRequirementsClientWithBaseURI

func NewCheckDataConnectorRequirementsClientWithBaseURI(endpoint string) CheckDataConnectorRequirementsClient

func (CheckDataConnectorRequirementsClient) DataConnectorsCheckRequirementsPost

DataConnectorsCheckRequirementsPost ...

type DataConnectorAuthorizationState

type DataConnectorAuthorizationState string
const (
	DataConnectorAuthorizationStateInvalid DataConnectorAuthorizationState = "Invalid"
	DataConnectorAuthorizationStateValid   DataConnectorAuthorizationState = "Valid"
)

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 DataConnectorLicenseState

type DataConnectorLicenseState string
const (
	DataConnectorLicenseStateInvalid DataConnectorLicenseState = "Invalid"
	DataConnectorLicenseStateUnknown DataConnectorLicenseState = "Unknown"
	DataConnectorLicenseStateValid   DataConnectorLicenseState = "Valid"
)

type DataConnectorRequirementsState

type DataConnectorRequirementsState struct {
	AuthorizationState *DataConnectorAuthorizationState `json:"authorizationState,omitempty"`
	LicenseState       *DataConnectorLicenseState       `json:"licenseState,omitempty"`
}

type DataConnectorTenantId

type DataConnectorTenantId struct {
	TenantId string `json:"tenantId"`
}

type DataConnectorsCheckRequirements

type DataConnectorsCheckRequirements interface {
}

type DataConnectorsCheckRequirementsPostOperationResponse

type DataConnectorsCheckRequirementsPostOperationResponse struct {
	HttpResponse *http.Response
	Model        *DataConnectorRequirementsState
}

type Dynamics365CheckRequirements

type Dynamics365CheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (Dynamics365CheckRequirements) MarshalJSON

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

type IoTCheckRequirements

type IoTCheckRequirements struct {
	Properties *IoTCheckRequirementsProperties `json:"properties,omitempty"`
}

func (IoTCheckRequirements) MarshalJSON

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

type IoTCheckRequirementsProperties

type IoTCheckRequirementsProperties struct {
	SubscriptionId *string `json:"subscriptionId,omitempty"`
}

type MCASCheckRequirements

type MCASCheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (MCASCheckRequirements) MarshalJSON

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

type MDATPCheckRequirements

type MDATPCheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (MDATPCheckRequirements) MarshalJSON

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

type MSTICheckRequirements

type MSTICheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (MSTICheckRequirements) MarshalJSON

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

type MtpCheckRequirements

type MtpCheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (MtpCheckRequirements) MarshalJSON

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

type Office365ProjectCheckRequirements

type Office365ProjectCheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (Office365ProjectCheckRequirements) MarshalJSON

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

type OfficeATPCheckRequirements

type OfficeATPCheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (OfficeATPCheckRequirements) MarshalJSON

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

type OfficeIRMCheckRequirements

type OfficeIRMCheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (OfficeIRMCheckRequirements) MarshalJSON

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

type OfficePowerBICheckRequirements

type OfficePowerBICheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (OfficePowerBICheckRequirements) MarshalJSON

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

type RawDataConnectorsCheckRequirementsImpl added in v0.20230807.1063129

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

RawDataConnectorsCheckRequirementsImpl 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 TICheckRequirements

type TICheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (TICheckRequirements) MarshalJSON

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

type TiTaxiiCheckRequirements

type TiTaxiiCheckRequirements struct {
	Properties *DataConnectorTenantId `json:"properties,omitempty"`
}

func (TiTaxiiCheckRequirements) MarshalJSON

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

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

Jump to

Keyboard shortcuts

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