securityconnectors

package
v0.20241017.1093842 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-10-01-preview/securityconnectors Documentation

The securityconnectors SDK allows for interaction with Azure Resource Manager security (API Version 2023-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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/security/2023-10-01-preview/securityconnectors"

Client Initialization

client := securityconnectors.NewSecurityConnectorsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: SecurityConnectorsClient.CreateOrUpdate

ctx := context.TODO()
id := securityconnectors.NewSecurityConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityConnectorName")

payload := securityconnectors.SecurityConnector{
	// ...
}


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: SecurityConnectorsClient.Delete

ctx := context.TODO()
id := securityconnectors.NewSecurityConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityConnectorName")

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: SecurityConnectorsClient.Get

ctx := context.TODO()
id := securityconnectors.NewSecurityConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityConnectorName")

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: SecurityConnectorsClient.List

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

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

Example Usage: SecurityConnectorsClient.ListByResourceGroup

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

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

Example Usage: SecurityConnectorsClient.Update

ctx := context.TODO()
id := securityconnectors.NewSecurityConnectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "securityConnectorName")

payload := securityconnectors.SecurityConnector{
	// ...
}


read, err := client.Update(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 PossibleValuesForCloudName

func PossibleValuesForCloudName() []string

func PossibleValuesForEnvironmentType

func PossibleValuesForEnvironmentType() []string

func PossibleValuesForOfferingType

func PossibleValuesForOfferingType() []string

func PossibleValuesForOrganizationMembershipType

func PossibleValuesForOrganizationMembershipType() []string

func PossibleValuesForScanningMode

func PossibleValuesForScanningMode() []string

func PossibleValuesForSubPlan

func PossibleValuesForSubPlan() []string

func PossibleValuesForType

func PossibleValuesForType() []string

func ValidateSecurityConnectorID

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

ValidateSecurityConnectorID checks that 'input' can be parsed as a Security Connector ID

Types

type AwsEnvironmentData

type AwsEnvironmentData struct {
	AccountName        *string               `json:"accountName,omitempty"`
	OrganizationalData AwsOrganizationalData `json:"organizationalData"`
	Regions            *[]string             `json:"regions,omitempty"`
	ScanInterval       *int64                `json:"scanInterval,omitempty"`

	EnvironmentType EnvironmentType `json:"environmentType"`
}

func (AwsEnvironmentData) EnvironmentData added in v0.20240920.1135249

func (s AwsEnvironmentData) EnvironmentData() BaseEnvironmentDataImpl

func (AwsEnvironmentData) MarshalJSON

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

func (*AwsEnvironmentData) UnmarshalJSON

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

type AwsOrganizationalData

type AwsOrganizationalData interface {
	AwsOrganizationalData() BaseAwsOrganizationalDataImpl
}

func UnmarshalAwsOrganizationalDataImplementation added in v0.20240920.1135249

func UnmarshalAwsOrganizationalDataImplementation(input []byte) (AwsOrganizationalData, error)

type AwsOrganizationalDataMaster

type AwsOrganizationalDataMaster struct {
	ExcludedAccountIds *[]string `json:"excludedAccountIds,omitempty"`
	StacksetName       *string   `json:"stacksetName,omitempty"`

	OrganizationMembershipType OrganizationMembershipType `json:"organizationMembershipType"`
}

func (AwsOrganizationalDataMaster) AwsOrganizationalData added in v0.20240920.1135249

func (AwsOrganizationalDataMaster) MarshalJSON

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

type AwsOrganizationalDataMember

type AwsOrganizationalDataMember struct {
	ParentHierarchyId *string `json:"parentHierarchyId,omitempty"`

	OrganizationMembershipType OrganizationMembershipType `json:"organizationMembershipType"`
}

func (AwsOrganizationalDataMember) AwsOrganizationalData added in v0.20240920.1135249

func (AwsOrganizationalDataMember) MarshalJSON

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

type AzureDevOpsScopeEnvironmentData

type AzureDevOpsScopeEnvironmentData struct {
	EnvironmentType EnvironmentType `json:"environmentType"`
}

func (AzureDevOpsScopeEnvironmentData) EnvironmentData added in v0.20240920.1135249

func (AzureDevOpsScopeEnvironmentData) MarshalJSON

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

type BaseAwsOrganizationalDataImpl added in v0.20240920.1135249

type BaseAwsOrganizationalDataImpl struct {
	OrganizationMembershipType OrganizationMembershipType `json:"organizationMembershipType"`
}

func (BaseAwsOrganizationalDataImpl) AwsOrganizationalData added in v0.20240920.1135249

type BaseCloudOfferingImpl added in v0.20240920.1135249

type BaseCloudOfferingImpl struct {
	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (BaseCloudOfferingImpl) CloudOffering added in v0.20240920.1135249

func (s BaseCloudOfferingImpl) CloudOffering() BaseCloudOfferingImpl

type BaseEnvironmentDataImpl added in v0.20240920.1135249

type BaseEnvironmentDataImpl struct {
	EnvironmentType EnvironmentType `json:"environmentType"`
}

func (BaseEnvironmentDataImpl) EnvironmentData added in v0.20240920.1135249

type BaseGcpOrganizationalDataImpl added in v0.20240920.1135249

type BaseGcpOrganizationalDataImpl struct {
	OrganizationMembershipType OrganizationMembershipType `json:"organizationMembershipType"`
}

func (BaseGcpOrganizationalDataImpl) GcpOrganizationalData added in v0.20240920.1135249

type CloudName

type CloudName string
const (
	CloudNameAWS         CloudName = "AWS"
	CloudNameAzure       CloudName = "Azure"
	CloudNameAzureDevOps CloudName = "AzureDevOps"
	CloudNameGCP         CloudName = "GCP"
	CloudNameGitLab      CloudName = "GitLab"
	CloudNameGithub      CloudName = "Github"
)

func (*CloudName) UnmarshalJSON

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

type CloudOffering

type CloudOffering interface {
	CloudOffering() BaseCloudOfferingImpl
}

func UnmarshalCloudOfferingImplementation added in v0.20240920.1135249

func UnmarshalCloudOfferingImplementation(input []byte) (CloudOffering, error)

type CreateOrUpdateOperationResponse

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

type CspmMonitorAwsOffering

type CspmMonitorAwsOffering struct {
	NativeCloudConnection *CspmMonitorAwsOfferingNativeCloudConnection `json:"nativeCloudConnection,omitempty"`

	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (CspmMonitorAwsOffering) CloudOffering added in v0.20240920.1135249

func (CspmMonitorAwsOffering) MarshalJSON

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

type CspmMonitorAwsOfferingNativeCloudConnection

type CspmMonitorAwsOfferingNativeCloudConnection struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

type CspmMonitorAzureDevOpsOffering

type CspmMonitorAzureDevOpsOffering struct {
	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (CspmMonitorAzureDevOpsOffering) CloudOffering added in v0.20240920.1135249

func (CspmMonitorAzureDevOpsOffering) MarshalJSON

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

type CspmMonitorGcpOffering

type CspmMonitorGcpOffering struct {
	NativeCloudConnection *CspmMonitorGcpOfferingNativeCloudConnection `json:"nativeCloudConnection,omitempty"`

	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (CspmMonitorGcpOffering) CloudOffering added in v0.20240920.1135249

func (CspmMonitorGcpOffering) MarshalJSON

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

type CspmMonitorGcpOfferingNativeCloudConnection

type CspmMonitorGcpOfferingNativeCloudConnection struct {
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId *string `json:"workloadIdentityProviderId,omitempty"`
}

type CspmMonitorGitLabOffering

type CspmMonitorGitLabOffering struct {
	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (CspmMonitorGitLabOffering) CloudOffering added in v0.20240920.1135249

func (CspmMonitorGitLabOffering) MarshalJSON

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

type CspmMonitorGithubOffering

type CspmMonitorGithubOffering struct {
	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (CspmMonitorGithubOffering) CloudOffering added in v0.20240920.1135249

func (CspmMonitorGithubOffering) MarshalJSON

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

type DefenderCspmAwsOffering

type DefenderCspmAwsOffering struct {
	Ciem                               *DefenderCspmAwsOfferingCiem                               `json:"ciem,omitempty"`
	DataSensitivityDiscovery           *DefenderCspmAwsOfferingDataSensitivityDiscovery           `json:"dataSensitivityDiscovery,omitempty"`
	DatabasesDspm                      *DefenderCspmAwsOfferingDatabasesDspm                      `json:"databasesDspm,omitempty"`
	MdcContainersAgentlessDiscoveryK8s *DefenderCspmAwsOfferingMdcContainersAgentlessDiscoveryK8s `json:"mdcContainersAgentlessDiscoveryK8s,omitempty"`
	MdcContainersImageAssessment       *DefenderCspmAwsOfferingMdcContainersImageAssessment       `json:"mdcContainersImageAssessment,omitempty"`
	VMScanners                         *DefenderCspmAwsOfferingVMScanners                         `json:"vmScanners,omitempty"`

	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (DefenderCspmAwsOffering) CloudOffering added in v0.20240920.1135249

func (DefenderCspmAwsOffering) MarshalJSON

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

type DefenderCspmAwsOfferingCiem

type DefenderCspmAwsOfferingCiem struct {
	CiemDiscovery *DefenderCspmAwsOfferingCiemCiemDiscovery `json:"ciemDiscovery,omitempty"`
	CiemOidc      *DefenderCspmAwsOfferingCiemCiemOidc      `json:"ciemOidc,omitempty"`
}

type DefenderCspmAwsOfferingCiemCiemDiscovery

type DefenderCspmAwsOfferingCiemCiemDiscovery struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

type DefenderCspmAwsOfferingCiemCiemOidc

type DefenderCspmAwsOfferingCiemCiemOidc struct {
	AzureActiveDirectoryAppName *string `json:"azureActiveDirectoryAppName,omitempty"`
	CloudRoleArn                *string `json:"cloudRoleArn,omitempty"`
}

type DefenderCspmAwsOfferingDataSensitivityDiscovery

type DefenderCspmAwsOfferingDataSensitivityDiscovery struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
	Enabled      *bool   `json:"enabled,omitempty"`
}

type DefenderCspmAwsOfferingDatabasesDspm

type DefenderCspmAwsOfferingDatabasesDspm struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
	Enabled      *bool   `json:"enabled,omitempty"`
}

type DefenderCspmAwsOfferingMdcContainersAgentlessDiscoveryK8s

type DefenderCspmAwsOfferingMdcContainersAgentlessDiscoveryK8s struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
	Enabled      *bool   `json:"enabled,omitempty"`
}

type DefenderCspmAwsOfferingMdcContainersImageAssessment

type DefenderCspmAwsOfferingMdcContainersImageAssessment struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
	Enabled      *bool   `json:"enabled,omitempty"`
}

type DefenderCspmAwsOfferingVMScanners

type DefenderCspmAwsOfferingVMScanners struct {
	Configuration *DefenderCspmAwsOfferingVMScannersConfiguration `json:"configuration,omitempty"`
	Enabled       *bool                                           `json:"enabled,omitempty"`
}

type DefenderCspmAwsOfferingVMScannersConfiguration

type DefenderCspmAwsOfferingVMScannersConfiguration struct {
	CloudRoleArn  *string            `json:"cloudRoleArn,omitempty"`
	ExclusionTags *map[string]string `json:"exclusionTags,omitempty"`
	ScanningMode  *ScanningMode      `json:"scanningMode,omitempty"`
}

type DefenderCspmGcpOffering

type DefenderCspmGcpOffering struct {
	CiemDiscovery                      *DefenderCspmGcpOfferingCiemDiscovery                      `json:"ciemDiscovery,omitempty"`
	DataSensitivityDiscovery           *DefenderCspmGcpOfferingDataSensitivityDiscovery           `json:"dataSensitivityDiscovery,omitempty"`
	MdcContainersAgentlessDiscoveryK8s *DefenderCspmGcpOfferingMdcContainersAgentlessDiscoveryK8s `json:"mdcContainersAgentlessDiscoveryK8s,omitempty"`
	MdcContainersImageAssessment       *DefenderCspmGcpOfferingMdcContainersImageAssessment       `json:"mdcContainersImageAssessment,omitempty"`
	VMScanners                         *DefenderCspmGcpOfferingVMScanners                         `json:"vmScanners,omitempty"`

	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (DefenderCspmGcpOffering) CloudOffering added in v0.20240920.1135249

func (DefenderCspmGcpOffering) MarshalJSON

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

type DefenderCspmGcpOfferingCiemDiscovery

type DefenderCspmGcpOfferingCiemDiscovery struct {
	AzureActiveDirectoryAppName *string `json:"azureActiveDirectoryAppName,omitempty"`
	ServiceAccountEmailAddress  *string `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId  *string `json:"workloadIdentityProviderId,omitempty"`
}

type DefenderCspmGcpOfferingDataSensitivityDiscovery

type DefenderCspmGcpOfferingDataSensitivityDiscovery struct {
	Enabled                    *bool   `json:"enabled,omitempty"`
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId *string `json:"workloadIdentityProviderId,omitempty"`
}

type DefenderCspmGcpOfferingMdcContainersAgentlessDiscoveryK8s

type DefenderCspmGcpOfferingMdcContainersAgentlessDiscoveryK8s struct {
	Enabled                    *bool   `json:"enabled,omitempty"`
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId *string `json:"workloadIdentityProviderId,omitempty"`
}

type DefenderCspmGcpOfferingMdcContainersImageAssessment

type DefenderCspmGcpOfferingMdcContainersImageAssessment struct {
	Enabled                    *bool   `json:"enabled,omitempty"`
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId *string `json:"workloadIdentityProviderId,omitempty"`
}

type DefenderCspmGcpOfferingVMScanners

type DefenderCspmGcpOfferingVMScanners struct {
	Configuration *DefenderCspmGcpOfferingVMScannersConfiguration `json:"configuration,omitempty"`
	Enabled       *bool                                           `json:"enabled,omitempty"`
}

type DefenderCspmGcpOfferingVMScannersConfiguration

type DefenderCspmGcpOfferingVMScannersConfiguration struct {
	ExclusionTags *map[string]string `json:"exclusionTags,omitempty"`
	ScanningMode  *ScanningMode      `json:"scanningMode,omitempty"`
}

type DefenderFoDatabasesAwsOffering

type DefenderFoDatabasesAwsOffering struct {
	ArcAutoProvisioning *DefenderFoDatabasesAwsOfferingArcAutoProvisioning `json:"arcAutoProvisioning,omitempty"`
	DatabasesDspm       *DefenderFoDatabasesAwsOfferingDatabasesDspm       `json:"databasesDspm,omitempty"`
	Rds                 *DefenderFoDatabasesAwsOfferingRds                 `json:"rds,omitempty"`

	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (DefenderFoDatabasesAwsOffering) CloudOffering added in v0.20240920.1135249

func (DefenderFoDatabasesAwsOffering) MarshalJSON

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

type DefenderFoDatabasesAwsOfferingArcAutoProvisioning

type DefenderFoDatabasesAwsOfferingArcAutoProvisioning struct {
	CloudRoleArn  *string                                                         `json:"cloudRoleArn,omitempty"`
	Configuration *DefenderFoDatabasesAwsOfferingArcAutoProvisioningConfiguration `json:"configuration,omitempty"`
	Enabled       *bool                                                           `json:"enabled,omitempty"`
}

type DefenderFoDatabasesAwsOfferingArcAutoProvisioningConfiguration

type DefenderFoDatabasesAwsOfferingArcAutoProvisioningConfiguration struct {
	PrivateLinkScope *string `json:"privateLinkScope,omitempty"`
	Proxy            *string `json:"proxy,omitempty"`
}

type DefenderFoDatabasesAwsOfferingDatabasesDspm

type DefenderFoDatabasesAwsOfferingDatabasesDspm struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
	Enabled      *bool   `json:"enabled,omitempty"`
}

type DefenderFoDatabasesAwsOfferingRds

type DefenderFoDatabasesAwsOfferingRds struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
	Enabled      *bool   `json:"enabled,omitempty"`
}

type DefenderForContainersAwsOffering

type DefenderForContainersAwsOffering struct {
	AutoProvisioning                       *bool                                                                 `json:"autoProvisioning,omitempty"`
	CloudWatchToKinesis                    *DefenderForContainersAwsOfferingCloudWatchToKinesis                  `json:"cloudWatchToKinesis,omitempty"`
	ContainerVulnerabilityAssessment       *DefenderForContainersAwsOfferingContainerVulnerabilityAssessment     `json:"containerVulnerabilityAssessment,omitempty"`
	ContainerVulnerabilityAssessmentTask   *DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask `json:"containerVulnerabilityAssessmentTask,omitempty"`
	EnableContainerVulnerabilityAssessment *bool                                                                 `json:"enableContainerVulnerabilityAssessment,omitempty"`
	KinesisToS3                            *DefenderForContainersAwsOfferingKinesisToS3                          `json:"kinesisToS3,omitempty"`
	KubeAuditRetentionTime                 *int64                                                                `json:"kubeAuditRetentionTime,omitempty"`
	KubernetesScubaReader                  *DefenderForContainersAwsOfferingKubernetesScubaReader                `json:"kubernetesScubaReader,omitempty"`
	KubernetesService                      *DefenderForContainersAwsOfferingKubernetesService                    `json:"kubernetesService,omitempty"`
	MdcContainersAgentlessDiscoveryK8s     *DefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8s   `json:"mdcContainersAgentlessDiscoveryK8s,omitempty"`
	MdcContainersImageAssessment           *DefenderForContainersAwsOfferingMdcContainersImageAssessment         `json:"mdcContainersImageAssessment,omitempty"`
	ScubaExternalId                        *string                                                               `json:"scubaExternalId,omitempty"`

	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (DefenderForContainersAwsOffering) CloudOffering added in v0.20240920.1135249

func (DefenderForContainersAwsOffering) MarshalJSON

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

type DefenderForContainersAwsOfferingCloudWatchToKinesis

type DefenderForContainersAwsOfferingCloudWatchToKinesis struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

type DefenderForContainersAwsOfferingContainerVulnerabilityAssessment

type DefenderForContainersAwsOfferingContainerVulnerabilityAssessment struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

type DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask

type DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

type DefenderForContainersAwsOfferingKinesisToS3

type DefenderForContainersAwsOfferingKinesisToS3 struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

type DefenderForContainersAwsOfferingKubernetesScubaReader

type DefenderForContainersAwsOfferingKubernetesScubaReader struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

type DefenderForContainersAwsOfferingKubernetesService

type DefenderForContainersAwsOfferingKubernetesService struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

type DefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8s

type DefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8s struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
	Enabled      *bool   `json:"enabled,omitempty"`
}

type DefenderForContainersAwsOfferingMdcContainersImageAssessment

type DefenderForContainersAwsOfferingMdcContainersImageAssessment struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
	Enabled      *bool   `json:"enabled,omitempty"`
}

type DefenderForContainersGcpOffering

type DefenderForContainersGcpOffering struct {
	AuditLogsAutoProvisioningFlag      *bool                                                               `json:"auditLogsAutoProvisioningFlag,omitempty"`
	DataPipelineNativeCloudConnection  *DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection  `json:"dataPipelineNativeCloudConnection,omitempty"`
	DefenderAgentAutoProvisioningFlag  *bool                                                               `json:"defenderAgentAutoProvisioningFlag,omitempty"`
	MdcContainersAgentlessDiscoveryK8s *DefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8s `json:"mdcContainersAgentlessDiscoveryK8s,omitempty"`
	MdcContainersImageAssessment       *DefenderForContainersGcpOfferingMdcContainersImageAssessment       `json:"mdcContainersImageAssessment,omitempty"`
	NativeCloudConnection              *DefenderForContainersGcpOfferingNativeCloudConnection              `json:"nativeCloudConnection,omitempty"`
	PolicyAgentAutoProvisioningFlag    *bool                                                               `json:"policyAgentAutoProvisioningFlag,omitempty"`

	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (DefenderForContainersGcpOffering) CloudOffering added in v0.20240920.1135249

func (DefenderForContainersGcpOffering) MarshalJSON

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

type DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection

type DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection struct {
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId *string `json:"workloadIdentityProviderId,omitempty"`
}

type DefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8s

type DefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8s struct {
	Enabled                    *bool   `json:"enabled,omitempty"`
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId *string `json:"workloadIdentityProviderId,omitempty"`
}

type DefenderForContainersGcpOfferingMdcContainersImageAssessment

type DefenderForContainersGcpOfferingMdcContainersImageAssessment struct {
	Enabled                    *bool   `json:"enabled,omitempty"`
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId *string `json:"workloadIdentityProviderId,omitempty"`
}

type DefenderForContainersGcpOfferingNativeCloudConnection

type DefenderForContainersGcpOfferingNativeCloudConnection struct {
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId *string `json:"workloadIdentityProviderId,omitempty"`
}

type DefenderForDatabasesGcpOffering

type DefenderForDatabasesGcpOffering struct {
	ArcAutoProvisioning                     *DefenderForDatabasesGcpOfferingArcAutoProvisioning                     `json:"arcAutoProvisioning,omitempty"`
	DefenderForDatabasesArcAutoProvisioning *DefenderForDatabasesGcpOfferingDefenderForDatabasesArcAutoProvisioning `json:"defenderForDatabasesArcAutoProvisioning,omitempty"`

	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (DefenderForDatabasesGcpOffering) CloudOffering added in v0.20240920.1135249

func (DefenderForDatabasesGcpOffering) MarshalJSON

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

type DefenderForDatabasesGcpOfferingArcAutoProvisioning

type DefenderForDatabasesGcpOfferingArcAutoProvisioning struct {
	Configuration *DefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration `json:"configuration,omitempty"`
	Enabled       *bool                                                            `json:"enabled,omitempty"`
}

type DefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration

type DefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration struct {
	PrivateLinkScope *string `json:"privateLinkScope,omitempty"`
	Proxy            *string `json:"proxy,omitempty"`
}

type DefenderForDatabasesGcpOfferingDefenderForDatabasesArcAutoProvisioning

type DefenderForDatabasesGcpOfferingDefenderForDatabasesArcAutoProvisioning struct {
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId *string `json:"workloadIdentityProviderId,omitempty"`
}

type DefenderForDevOpsAzureDevOpsOffering

type DefenderForDevOpsAzureDevOpsOffering struct {
	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (DefenderForDevOpsAzureDevOpsOffering) CloudOffering added in v0.20240920.1135249

func (DefenderForDevOpsAzureDevOpsOffering) MarshalJSON

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

type DefenderForDevOpsGitLabOffering

type DefenderForDevOpsGitLabOffering struct {
	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (DefenderForDevOpsGitLabOffering) CloudOffering added in v0.20240920.1135249

func (DefenderForDevOpsGitLabOffering) MarshalJSON

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

type DefenderForDevOpsGithubOffering

type DefenderForDevOpsGithubOffering struct {
	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (DefenderForDevOpsGithubOffering) CloudOffering added in v0.20240920.1135249

func (DefenderForDevOpsGithubOffering) MarshalJSON

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

type DefenderForServersAwsOffering

type DefenderForServersAwsOffering struct {
	ArcAutoProvisioning *DefenderForServersAwsOfferingArcAutoProvisioning `json:"arcAutoProvisioning,omitempty"`
	DefenderForServers  *DefenderForServersAwsOfferingDefenderForServers  `json:"defenderForServers,omitempty"`
	MdeAutoProvisioning *DefenderForServersAwsOfferingMdeAutoProvisioning `json:"mdeAutoProvisioning,omitempty"`
	SubPlan             *DefenderForServersAwsOfferingSubPlan             `json:"subPlan,omitempty"`
	VMScanners          *DefenderForServersAwsOfferingVMScanners          `json:"vmScanners,omitempty"`
	VaAutoProvisioning  *DefenderForServersAwsOfferingVaAutoProvisioning  `json:"vaAutoProvisioning,omitempty"`

	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (DefenderForServersAwsOffering) CloudOffering added in v0.20240920.1135249

func (DefenderForServersAwsOffering) MarshalJSON

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

type DefenderForServersAwsOfferingArcAutoProvisioning

type DefenderForServersAwsOfferingArcAutoProvisioning struct {
	CloudRoleArn  *string                                                        `json:"cloudRoleArn,omitempty"`
	Configuration *DefenderForServersAwsOfferingArcAutoProvisioningConfiguration `json:"configuration,omitempty"`
	Enabled       *bool                                                          `json:"enabled,omitempty"`
}

type DefenderForServersAwsOfferingArcAutoProvisioningConfiguration

type DefenderForServersAwsOfferingArcAutoProvisioningConfiguration struct {
	PrivateLinkScope *string `json:"privateLinkScope,omitempty"`
	Proxy            *string `json:"proxy,omitempty"`
}

type DefenderForServersAwsOfferingDefenderForServers

type DefenderForServersAwsOfferingDefenderForServers struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

type DefenderForServersAwsOfferingMdeAutoProvisioning

type DefenderForServersAwsOfferingMdeAutoProvisioning struct {
	Configuration *interface{} `json:"configuration,omitempty"`
	Enabled       *bool        `json:"enabled,omitempty"`
}

type DefenderForServersAwsOfferingSubPlan

type DefenderForServersAwsOfferingSubPlan struct {
	Type *SubPlan `json:"type,omitempty"`
}

type DefenderForServersAwsOfferingVMScanners

type DefenderForServersAwsOfferingVMScanners struct {
	Configuration *DefenderForServersAwsOfferingVMScannersConfiguration `json:"configuration,omitempty"`
	Enabled       *bool                                                 `json:"enabled,omitempty"`
}

type DefenderForServersAwsOfferingVMScannersConfiguration

type DefenderForServersAwsOfferingVMScannersConfiguration struct {
	CloudRoleArn  *string            `json:"cloudRoleArn,omitempty"`
	ExclusionTags *map[string]string `json:"exclusionTags,omitempty"`
	ScanningMode  *ScanningMode      `json:"scanningMode,omitempty"`
}

type DefenderForServersAwsOfferingVaAutoProvisioning

type DefenderForServersAwsOfferingVaAutoProvisioning struct {
	Configuration *DefenderForServersAwsOfferingVaAutoProvisioningConfiguration `json:"configuration,omitempty"`
	Enabled       *bool                                                         `json:"enabled,omitempty"`
}

type DefenderForServersAwsOfferingVaAutoProvisioningConfiguration

type DefenderForServersAwsOfferingVaAutoProvisioningConfiguration struct {
	Type *Type `json:"type,omitempty"`
}

type DefenderForServersGcpOffering

type DefenderForServersGcpOffering struct {
	ArcAutoProvisioning *DefenderForServersGcpOfferingArcAutoProvisioning `json:"arcAutoProvisioning,omitempty"`
	DefenderForServers  *DefenderForServersGcpOfferingDefenderForServers  `json:"defenderForServers,omitempty"`
	MdeAutoProvisioning *DefenderForServersGcpOfferingMdeAutoProvisioning `json:"mdeAutoProvisioning,omitempty"`
	SubPlan             *DefenderForServersGcpOfferingSubPlan             `json:"subPlan,omitempty"`
	VMScanners          *DefenderForServersGcpOfferingVMScanners          `json:"vmScanners,omitempty"`
	VaAutoProvisioning  *DefenderForServersGcpOfferingVaAutoProvisioning  `json:"vaAutoProvisioning,omitempty"`

	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (DefenderForServersGcpOffering) CloudOffering added in v0.20240920.1135249

func (DefenderForServersGcpOffering) MarshalJSON

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

type DefenderForServersGcpOfferingArcAutoProvisioning

type DefenderForServersGcpOfferingArcAutoProvisioning struct {
	Configuration *DefenderForServersGcpOfferingArcAutoProvisioningConfiguration `json:"configuration,omitempty"`
	Enabled       *bool                                                          `json:"enabled,omitempty"`
}

type DefenderForServersGcpOfferingArcAutoProvisioningConfiguration

type DefenderForServersGcpOfferingArcAutoProvisioningConfiguration struct {
	PrivateLinkScope *string `json:"privateLinkScope,omitempty"`
	Proxy            *string `json:"proxy,omitempty"`
}

type DefenderForServersGcpOfferingDefenderForServers

type DefenderForServersGcpOfferingDefenderForServers struct {
	ServiceAccountEmailAddress *string `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId *string `json:"workloadIdentityProviderId,omitempty"`
}

type DefenderForServersGcpOfferingMdeAutoProvisioning

type DefenderForServersGcpOfferingMdeAutoProvisioning struct {
	Configuration *interface{} `json:"configuration,omitempty"`
	Enabled       *bool        `json:"enabled,omitempty"`
}

type DefenderForServersGcpOfferingSubPlan

type DefenderForServersGcpOfferingSubPlan struct {
	Type *SubPlan `json:"type,omitempty"`
}

type DefenderForServersGcpOfferingVMScanners

type DefenderForServersGcpOfferingVMScanners struct {
	Configuration *DefenderForServersGcpOfferingVMScannersConfiguration `json:"configuration,omitempty"`
	Enabled       *bool                                                 `json:"enabled,omitempty"`
}

type DefenderForServersGcpOfferingVMScannersConfiguration

type DefenderForServersGcpOfferingVMScannersConfiguration struct {
	ExclusionTags *map[string]string `json:"exclusionTags,omitempty"`
	ScanningMode  *ScanningMode      `json:"scanningMode,omitempty"`
}

type DefenderForServersGcpOfferingVaAutoProvisioning

type DefenderForServersGcpOfferingVaAutoProvisioning struct {
	Configuration *DefenderForServersGcpOfferingVaAutoProvisioningConfiguration `json:"configuration,omitempty"`
	Enabled       *bool                                                         `json:"enabled,omitempty"`
}

type DefenderForServersGcpOfferingVaAutoProvisioningConfiguration

type DefenderForServersGcpOfferingVaAutoProvisioningConfiguration struct {
	Type *Type `json:"type,omitempty"`
}

type DeleteOperationResponse

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

type EnvironmentData

type EnvironmentData interface {
	EnvironmentData() BaseEnvironmentDataImpl
}

func UnmarshalEnvironmentDataImplementation added in v0.20240920.1135249

func UnmarshalEnvironmentDataImplementation(input []byte) (EnvironmentData, error)

type EnvironmentType

type EnvironmentType string
const (
	EnvironmentTypeAwsAccount       EnvironmentType = "AwsAccount"
	EnvironmentTypeAzureDevOpsScope EnvironmentType = "AzureDevOpsScope"
	EnvironmentTypeGcpProject       EnvironmentType = "GcpProject"
	EnvironmentTypeGithubScope      EnvironmentType = "GithubScope"
	EnvironmentTypeGitlabScope      EnvironmentType = "GitlabScope"
)

func (*EnvironmentType) UnmarshalJSON

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

type GcpOrganizationalData

type GcpOrganizationalData interface {
	GcpOrganizationalData() BaseGcpOrganizationalDataImpl
}

func UnmarshalGcpOrganizationalDataImplementation added in v0.20240920.1135249

func UnmarshalGcpOrganizationalDataImplementation(input []byte) (GcpOrganizationalData, error)

type GcpOrganizationalDataMember

type GcpOrganizationalDataMember struct {
	ManagementProjectNumber *string `json:"managementProjectNumber,omitempty"`
	ParentHierarchyId       *string `json:"parentHierarchyId,omitempty"`

	OrganizationMembershipType OrganizationMembershipType `json:"organizationMembershipType"`
}

func (GcpOrganizationalDataMember) GcpOrganizationalData added in v0.20240920.1135249

func (GcpOrganizationalDataMember) MarshalJSON

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

type GcpOrganizationalDataOrganization

type GcpOrganizationalDataOrganization struct {
	ExcludedProjectNumbers     *[]string `json:"excludedProjectNumbers,omitempty"`
	OrganizationName           *string   `json:"organizationName,omitempty"`
	ServiceAccountEmailAddress *string   `json:"serviceAccountEmailAddress,omitempty"`
	WorkloadIdentityProviderId *string   `json:"workloadIdentityProviderId,omitempty"`

	OrganizationMembershipType OrganizationMembershipType `json:"organizationMembershipType"`
}

func (GcpOrganizationalDataOrganization) GcpOrganizationalData added in v0.20240920.1135249

func (GcpOrganizationalDataOrganization) MarshalJSON

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

type GcpProjectDetails

type GcpProjectDetails struct {
	ProjectId              *string `json:"projectId,omitempty"`
	ProjectName            *string `json:"projectName,omitempty"`
	ProjectNumber          *string `json:"projectNumber,omitempty"`
	WorkloadIdentityPoolId *string `json:"workloadIdentityPoolId,omitempty"`
}

type GcpProjectEnvironmentData

type GcpProjectEnvironmentData struct {
	OrganizationalData GcpOrganizationalData `json:"organizationalData"`
	ProjectDetails     *GcpProjectDetails    `json:"projectDetails,omitempty"`
	ScanInterval       *int64                `json:"scanInterval,omitempty"`

	EnvironmentType EnvironmentType `json:"environmentType"`
}

func (GcpProjectEnvironmentData) EnvironmentData added in v0.20240920.1135249

func (GcpProjectEnvironmentData) MarshalJSON

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

func (*GcpProjectEnvironmentData) UnmarshalJSON

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

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SecurityConnector
}

type GithubScopeEnvironmentData

type GithubScopeEnvironmentData struct {
	EnvironmentType EnvironmentType `json:"environmentType"`
}

func (GithubScopeEnvironmentData) EnvironmentData added in v0.20240920.1135249

func (GithubScopeEnvironmentData) MarshalJSON

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

type GitlabScopeEnvironmentData

type GitlabScopeEnvironmentData struct {
	EnvironmentType EnvironmentType `json:"environmentType"`
}

func (GitlabScopeEnvironmentData) EnvironmentData added in v0.20240920.1135249

func (GitlabScopeEnvironmentData) MarshalJSON

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

type InformationProtectionAwsOffering

type InformationProtectionAwsOffering struct {
	InformationProtection *InformationProtectionAwsOfferingInformationProtection `json:"informationProtection,omitempty"`

	Description  *string      `json:"description,omitempty"`
	OfferingType OfferingType `json:"offeringType"`
}

func (InformationProtectionAwsOffering) CloudOffering added in v0.20240920.1135249

func (InformationProtectionAwsOffering) MarshalJSON

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

type InformationProtectionAwsOfferingInformationProtection

type InformationProtectionAwsOfferingInformationProtection struct {
	CloudRoleArn *string `json:"cloudRoleArn,omitempty"`
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []SecurityConnector
}

type ListByResourceGroupCustomPager added in v0.20240628.1153531

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

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]SecurityConnector
}

type ListCompleteResult

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

type ListCustomPager added in v0.20240628.1153531

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        *[]SecurityConnector
}

type OfferingType

type OfferingType string
const (
	OfferingTypeCspmMonitorAws               OfferingType = "CspmMonitorAws"
	OfferingTypeCspmMonitorAzureDevOps       OfferingType = "CspmMonitorAzureDevOps"
	OfferingTypeCspmMonitorGcp               OfferingType = "CspmMonitorGcp"
	OfferingTypeCspmMonitorGitLab            OfferingType = "CspmMonitorGitLab"
	OfferingTypeCspmMonitorGithub            OfferingType = "CspmMonitorGithub"
	OfferingTypeDefenderCspmAws              OfferingType = "DefenderCspmAws"
	OfferingTypeDefenderCspmGcp              OfferingType = "DefenderCspmGcp"
	OfferingTypeDefenderForContainersAws     OfferingType = "DefenderForContainersAws"
	OfferingTypeDefenderForContainersGcp     OfferingType = "DefenderForContainersGcp"
	OfferingTypeDefenderForDatabasesAws      OfferingType = "DefenderForDatabasesAws"
	OfferingTypeDefenderForDatabasesGcp      OfferingType = "DefenderForDatabasesGcp"
	OfferingTypeDefenderForDevOpsAzureDevOps OfferingType = "DefenderForDevOpsAzureDevOps"
	OfferingTypeDefenderForDevOpsGitLab      OfferingType = "DefenderForDevOpsGitLab"
	OfferingTypeDefenderForDevOpsGithub      OfferingType = "DefenderForDevOpsGithub"
	OfferingTypeDefenderForServersAws        OfferingType = "DefenderForServersAws"
	OfferingTypeDefenderForServersGcp        OfferingType = "DefenderForServersGcp"
	OfferingTypeInformationProtectionAws     OfferingType = "InformationProtectionAws"
)

func (*OfferingType) UnmarshalJSON

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

type OrganizationMembershipType

type OrganizationMembershipType string
const (
	OrganizationMembershipTypeMember       OrganizationMembershipType = "Member"
	OrganizationMembershipTypeOrganization OrganizationMembershipType = "Organization"
)

func (*OrganizationMembershipType) UnmarshalJSON

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

type RawAwsOrganizationalDataImpl

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

RawAwsOrganizationalDataImpl 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 (RawAwsOrganizationalDataImpl) AwsOrganizationalData added in v0.20240920.1135249

type RawCloudOfferingImpl

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

RawCloudOfferingImpl 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 (RawCloudOfferingImpl) CloudOffering added in v0.20240920.1135249

func (s RawCloudOfferingImpl) CloudOffering() BaseCloudOfferingImpl

type RawEnvironmentDataImpl

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

RawEnvironmentDataImpl 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 (RawEnvironmentDataImpl) EnvironmentData added in v0.20240920.1135249

func (s RawEnvironmentDataImpl) EnvironmentData() BaseEnvironmentDataImpl

type RawGcpOrganizationalDataImpl

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

RawGcpOrganizationalDataImpl 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 (RawGcpOrganizationalDataImpl) GcpOrganizationalData added in v0.20240920.1135249

type ScanningMode

type ScanningMode string
const (
	ScanningModeDefault ScanningMode = "Default"
)

func (*ScanningMode) UnmarshalJSON

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

type SecurityConnector

type SecurityConnector struct {
	Etag       *string                      `json:"etag,omitempty"`
	Id         *string                      `json:"id,omitempty"`
	Kind       *string                      `json:"kind,omitempty"`
	Location   *string                      `json:"location,omitempty"`
	Name       *string                      `json:"name,omitempty"`
	Properties *SecurityConnectorProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData       `json:"systemData,omitempty"`
	Tags       *map[string]string           `json:"tags,omitempty"`
	Type       *string                      `json:"type,omitempty"`
}

type SecurityConnectorId

type SecurityConnectorId struct {
	SubscriptionId        string
	ResourceGroupName     string
	SecurityConnectorName string
}

SecurityConnectorId is a struct representing the Resource ID for a Security Connector

func NewSecurityConnectorID

func NewSecurityConnectorID(subscriptionId string, resourceGroupName string, securityConnectorName string) SecurityConnectorId

NewSecurityConnectorID returns a new SecurityConnectorId struct

func ParseSecurityConnectorID

func ParseSecurityConnectorID(input string) (*SecurityConnectorId, error)

ParseSecurityConnectorID parses 'input' into a SecurityConnectorId

func ParseSecurityConnectorIDInsensitively

func ParseSecurityConnectorIDInsensitively(input string) (*SecurityConnectorId, error)

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

func (*SecurityConnectorId) FromParseResult

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

func (SecurityConnectorId) ID

func (id SecurityConnectorId) ID() string

ID returns the formatted Security Connector ID

func (SecurityConnectorId) Segments

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

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

func (SecurityConnectorId) String

func (id SecurityConnectorId) String() string

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

type SecurityConnectorOperationPredicate

type SecurityConnectorOperationPredicate struct {
	Etag     *string
	Id       *string
	Kind     *string
	Location *string
	Name     *string
	Type     *string
}

func (SecurityConnectorOperationPredicate) Matches

type SecurityConnectorProperties

type SecurityConnectorProperties struct {
	EnvironmentData                 EnvironmentData  `json:"environmentData"`
	EnvironmentName                 *CloudName       `json:"environmentName,omitempty"`
	HierarchyIdentifier             *string          `json:"hierarchyIdentifier,omitempty"`
	HierarchyIdentifierTrialEndDate *string          `json:"hierarchyIdentifierTrialEndDate,omitempty"`
	Offerings                       *[]CloudOffering `json:"offerings,omitempty"`
}

func (*SecurityConnectorProperties) GetHierarchyIdentifierTrialEndDateAsTime

func (o *SecurityConnectorProperties) GetHierarchyIdentifierTrialEndDateAsTime() (*time.Time, error)

func (*SecurityConnectorProperties) SetHierarchyIdentifierTrialEndDateAsTime

func (o *SecurityConnectorProperties) SetHierarchyIdentifierTrialEndDateAsTime(input time.Time)

func (*SecurityConnectorProperties) UnmarshalJSON

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

type SecurityConnectorsClient

type SecurityConnectorsClient struct {
	Client *resourcemanager.Client
}

func NewSecurityConnectorsClientWithBaseURI

func NewSecurityConnectorsClientWithBaseURI(sdkApi sdkEnv.Api) (*SecurityConnectorsClient, error)

func (SecurityConnectorsClient) CreateOrUpdate

CreateOrUpdate ...

func (SecurityConnectorsClient) Delete

Delete ...

func (SecurityConnectorsClient) Get

Get ...

func (SecurityConnectorsClient) List

List ...

func (SecurityConnectorsClient) ListByResourceGroup

ListByResourceGroup ...

func (SecurityConnectorsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (SecurityConnectorsClient) ListByResourceGroupCompleteMatchingPredicate

func (c SecurityConnectorsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate SecurityConnectorOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (SecurityConnectorsClient) ListComplete

ListComplete retrieves all the results into a single object

func (SecurityConnectorsClient) ListCompleteMatchingPredicate

func (c SecurityConnectorsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SecurityConnectorOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (SecurityConnectorsClient) Update

Update ...

type SubPlan

type SubPlan string
const (
	SubPlanPOne SubPlan = "P1"
	SubPlanPTwo SubPlan = "P2"
)

func (*SubPlan) UnmarshalJSON

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

type Type

type Type string
const (
	TypeQualys Type = "Qualys"
	TypeTVM    Type = "TVM"
)

func (*Type) UnmarshalJSON

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

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SecurityConnector
}

Source Files

Jump to

Keyboard shortcuts

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