azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security Index | Files | Directories

package security

import "github.com/Azure/azure-sdk-for-go/services/preview/security/mgmt/v3.0/security"

Package security implements the Azure ARM Security service API version .

API spec for Microsoft.Security (Azure Security Center) resource provider

Index

Package Files

adaptiveapplicationcontrols.go advancedthreatprotection.go alerts.go allowedconnections.go autoprovisioningsettings.go client.go complianceresults.go compliances.go contacts.go discoveredsecuritysolutions.go externalsecuritysolutions.go informationprotectionpolicies.go iotsecuritysolution.go iotsecuritysolutions.go iotsecuritysolutionsanalytics.go iotsecuritysolutionsanalyticsaggregatedalert.go iotsecuritysolutionsanalyticsaggregatedalerts.go iotsecuritysolutionsanalyticsrecommendation.go iotsecuritysolutionsanalyticsrecommendations.go iotsecuritysolutionsresourcegroup.go jitnetworkaccesspolicies.go locations.go models.go operations.go pricings.go regulatorycomplianceassessments.go regulatorycompliancecontrols.go regulatorycompliancestandards.go servervulnerabilityassessment.go settings.go tasks.go topology.go version.go workspacesettings.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Security
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type AadConnectivityState Uses

type AadConnectivityState string

AadConnectivityState enumerates the values for aad connectivity state.

const (
    // Connected ...
    Connected AadConnectivityState = "Connected"
    // Discovered ...
    Discovered AadConnectivityState = "Discovered"
    // NotLicensed ...
    NotLicensed AadConnectivityState = "NotLicensed"
)

func PossibleAadConnectivityStateValues Uses

func PossibleAadConnectivityStateValues() []AadConnectivityState

PossibleAadConnectivityStateValues returns an array of possible values for the AadConnectivityState const type.

type AadConnectivityState1 Uses

type AadConnectivityState1 struct {
    // ConnectivityState - Possible values include: 'Discovered', 'NotLicensed', 'Connected'
    ConnectivityState AadConnectivityState `json:"connectivityState,omitempty"`
}

AadConnectivityState1 describes an Azure resource with kind

type AadExternalSecuritySolution Uses

type AadExternalSecuritySolution struct {
    Properties *AadSolutionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Location where the resource is stored
    Location *string `json:"location,omitempty"`
    // Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD'
    Kind KindEnum `json:"kind,omitempty"`
}

AadExternalSecuritySolution represents an AAD identity protection solution which sends logs to an OMS workspace.

func (AadExternalSecuritySolution) AsAadExternalSecuritySolution Uses

func (aess AadExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)

AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.

func (AadExternalSecuritySolution) AsAtaExternalSecuritySolution Uses

func (aess AadExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)

AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.

func (AadExternalSecuritySolution) AsBasicExternalSecuritySolution Uses

func (aess AadExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)

AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.

func (AadExternalSecuritySolution) AsCefExternalSecuritySolution Uses

func (aess AadExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)

AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.

func (AadExternalSecuritySolution) AsExternalSecuritySolution Uses

func (aess AadExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)

AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.

func (AadExternalSecuritySolution) MarshalJSON Uses

func (aess AadExternalSecuritySolution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AadExternalSecuritySolution.

type AadSolutionProperties Uses

type AadSolutionProperties struct {
    DeviceVendor *string             `json:"deviceVendor,omitempty"`
    DeviceType   *string             `json:"deviceType,omitempty"`
    Workspace    *ConnectedWorkspace `json:"workspace,omitempty"`
    // ConnectivityState - Possible values include: 'Discovered', 'NotLicensed', 'Connected'
    ConnectivityState AadConnectivityState `json:"connectivityState,omitempty"`
}

AadSolutionProperties ...

type Action Uses

type Action string

Action enumerates the values for action.

const (
    // Add ...
    Add Action = "Add"
    // Recommended ...
    Recommended Action = "Recommended"
    // Remove ...
    Remove Action = "Remove"
)

func PossibleActionValues Uses

func PossibleActionValues() []Action

PossibleActionValues returns an array of possible values for the Action const type.

type AdaptiveApplicationControlsClient Uses

type AdaptiveApplicationControlsClient struct {
    BaseClient
}

AdaptiveApplicationControlsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAdaptiveApplicationControlsClient Uses

func NewAdaptiveApplicationControlsClient(subscriptionID string, ascLocation string) AdaptiveApplicationControlsClient

NewAdaptiveApplicationControlsClient creates an instance of the AdaptiveApplicationControlsClient client.

func NewAdaptiveApplicationControlsClientWithBaseURI Uses

func NewAdaptiveApplicationControlsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AdaptiveApplicationControlsClient

NewAdaptiveApplicationControlsClientWithBaseURI creates an instance of the AdaptiveApplicationControlsClient client.

func (AdaptiveApplicationControlsClient) Get Uses

func (client AdaptiveApplicationControlsClient) Get(ctx context.Context, groupName string) (result AppWhitelistingGroup, err error)

Get gets an application control VM/server group. Parameters: groupName - name of an application control VM/server group

func (AdaptiveApplicationControlsClient) GetPreparer Uses

func (client AdaptiveApplicationControlsClient) GetPreparer(ctx context.Context, groupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AdaptiveApplicationControlsClient) GetResponder Uses

func (client AdaptiveApplicationControlsClient) GetResponder(resp *http.Response) (result AppWhitelistingGroup, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AdaptiveApplicationControlsClient) GetSender Uses

func (client AdaptiveApplicationControlsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AdaptiveApplicationControlsClient) List Uses

func (client AdaptiveApplicationControlsClient) List(ctx context.Context, includePathRecommendations *bool, summary *bool) (result AppWhitelistingGroups, err error)

List gets a list of application control VM/server groups for the subscription. Parameters: includePathRecommendations - include the policy rules summary - return output in a summarized form

func (AdaptiveApplicationControlsClient) ListPreparer Uses

func (client AdaptiveApplicationControlsClient) ListPreparer(ctx context.Context, includePathRecommendations *bool, summary *bool) (*http.Request, error)

ListPreparer prepares the List request.

func (AdaptiveApplicationControlsClient) ListResponder Uses

func (client AdaptiveApplicationControlsClient) ListResponder(resp *http.Response) (result AppWhitelistingGroups, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AdaptiveApplicationControlsClient) ListSender Uses

func (client AdaptiveApplicationControlsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AdaptiveApplicationControlsClient) Put Uses

func (client AdaptiveApplicationControlsClient) Put(ctx context.Context, groupName string, body AppWhitelistingPutGroupData) (result AppWhitelistingGroup, err error)

Put update an application control VM/server group Parameters: groupName - name of an application control VM/server group body - the updated VM/server group data

func (AdaptiveApplicationControlsClient) PutPreparer Uses

func (client AdaptiveApplicationControlsClient) PutPreparer(ctx context.Context, groupName string, body AppWhitelistingPutGroupData) (*http.Request, error)

PutPreparer prepares the Put request.

func (AdaptiveApplicationControlsClient) PutResponder Uses

func (client AdaptiveApplicationControlsClient) PutResponder(resp *http.Response) (result AppWhitelistingGroup, err error)

PutResponder handles the response to the Put request. The method always closes the http.Response Body.

func (AdaptiveApplicationControlsClient) PutSender Uses

func (client AdaptiveApplicationControlsClient) PutSender(req *http.Request) (*http.Response, error)

PutSender sends the Put request. The method will close the http.Response Body if it receives an error.

type AdvancedThreatProtectionClient Uses

type AdvancedThreatProtectionClient struct {
    BaseClient
}

AdvancedThreatProtectionClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAdvancedThreatProtectionClient Uses

func NewAdvancedThreatProtectionClient(subscriptionID string, ascLocation string) AdvancedThreatProtectionClient

NewAdvancedThreatProtectionClient creates an instance of the AdvancedThreatProtectionClient client.

func NewAdvancedThreatProtectionClientWithBaseURI Uses

func NewAdvancedThreatProtectionClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AdvancedThreatProtectionClient

NewAdvancedThreatProtectionClientWithBaseURI creates an instance of the AdvancedThreatProtectionClient client.

func (AdvancedThreatProtectionClient) Create Uses

func (client AdvancedThreatProtectionClient) Create(ctx context.Context, resourceID string, advancedThreatProtectionSetting AdvancedThreatProtectionSetting) (result AdvancedThreatProtectionSetting, err error)

Create creates or updates the Advanced Threat Protection settings on a specified resource. Parameters: resourceID - the identifier of the resource. advancedThreatProtectionSetting - advanced Threat Protection Settings

func (AdvancedThreatProtectionClient) CreatePreparer Uses

func (client AdvancedThreatProtectionClient) CreatePreparer(ctx context.Context, resourceID string, advancedThreatProtectionSetting AdvancedThreatProtectionSetting) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AdvancedThreatProtectionClient) CreateResponder Uses

func (client AdvancedThreatProtectionClient) CreateResponder(resp *http.Response) (result AdvancedThreatProtectionSetting, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (AdvancedThreatProtectionClient) CreateSender Uses

func (client AdvancedThreatProtectionClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (AdvancedThreatProtectionClient) Get Uses

func (client AdvancedThreatProtectionClient) Get(ctx context.Context, resourceID string) (result AdvancedThreatProtectionSetting, err error)

Get gets the Advanced Threat Protection settings for the specified resource. Parameters: resourceID - the identifier of the resource.

func (AdvancedThreatProtectionClient) GetPreparer Uses

func (client AdvancedThreatProtectionClient) GetPreparer(ctx context.Context, resourceID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AdvancedThreatProtectionClient) GetResponder Uses

func (client AdvancedThreatProtectionClient) GetResponder(resp *http.Response) (result AdvancedThreatProtectionSetting, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AdvancedThreatProtectionClient) GetSender Uses

func (client AdvancedThreatProtectionClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type AdvancedThreatProtectionProperties Uses

type AdvancedThreatProtectionProperties struct {
    // IsEnabled - Indicates whether Advanced Threat Protection is enabled.
    IsEnabled *bool `json:"isEnabled,omitempty"`
}

AdvancedThreatProtectionProperties the Advanced Threat Protection settings.

type AdvancedThreatProtectionSetting Uses

type AdvancedThreatProtectionSetting struct {
    autorest.Response                   `json:"-"`
    *AdvancedThreatProtectionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

AdvancedThreatProtectionSetting the Advanced Threat Protection resource.

func (AdvancedThreatProtectionSetting) MarshalJSON Uses

func (atps AdvancedThreatProtectionSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdvancedThreatProtectionSetting.

func (*AdvancedThreatProtectionSetting) UnmarshalJSON Uses

func (atps *AdvancedThreatProtectionSetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AdvancedThreatProtectionSetting struct.

type Alert Uses

type Alert struct {
    autorest.Response `json:"-"`
    *AlertProperties  `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

Alert security alert

func (Alert) MarshalJSON Uses

func (a Alert) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Alert.

func (*Alert) UnmarshalJSON Uses

func (a *Alert) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Alert struct.

type AlertConfidenceReason Uses

type AlertConfidenceReason struct {
    // Type - READ-ONLY; Type of confidence factor
    Type *string `json:"type,omitempty"`
    // Reason - READ-ONLY; description of the confidence reason
    Reason *string `json:"reason,omitempty"`
}

AlertConfidenceReason factors that increase our confidence that the alert is a true positive

type AlertEntity Uses

type AlertEntity struct {
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    // Type - READ-ONLY; Type of entity
    Type *string `json:"type,omitempty"`
}

AlertEntity changing set of properties depending on the entity type.

func (AlertEntity) MarshalJSON Uses

func (ae AlertEntity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertEntity.

func (*AlertEntity) UnmarshalJSON Uses

func (ae *AlertEntity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertEntity struct.

type AlertList Uses

type AlertList struct {
    autorest.Response `json:"-"`
    Value             *[]Alert `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

AlertList list of security alerts

func (AlertList) IsEmpty Uses

func (al AlertList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AlertListIterator Uses

type AlertListIterator struct {
    // contains filtered or unexported fields
}

AlertListIterator provides access to a complete listing of Alert values.

func NewAlertListIterator Uses

func NewAlertListIterator(page AlertListPage) AlertListIterator

Creates a new instance of the AlertListIterator type.

func (*AlertListIterator) Next Uses

func (iter *AlertListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AlertListIterator) NextWithContext Uses

func (iter *AlertListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AlertListIterator) NotDone Uses

func (iter AlertListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AlertListIterator) Response Uses

func (iter AlertListIterator) Response() AlertList

Response returns the raw server response from the last page request.

func (AlertListIterator) Value Uses

func (iter AlertListIterator) Value() Alert

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AlertListPage Uses

type AlertListPage struct {
    // contains filtered or unexported fields
}

AlertListPage contains a page of Alert values.

func NewAlertListPage Uses

func NewAlertListPage(getNextPage func(context.Context, AlertList) (AlertList, error)) AlertListPage

Creates a new instance of the AlertListPage type.

func (*AlertListPage) Next Uses

func (page *AlertListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AlertListPage) NextWithContext Uses

func (page *AlertListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AlertListPage) NotDone Uses

func (page AlertListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AlertListPage) Response Uses

func (page AlertListPage) Response() AlertList

Response returns the raw server response from the last page request.

func (AlertListPage) Values Uses

func (page AlertListPage) Values() []Alert

Values returns the slice of values for the current page or nil if there are no values.

type AlertNotifications Uses

type AlertNotifications string

AlertNotifications enumerates the values for alert notifications.

const (
    // Off Don't get notifications on new alerts
    Off AlertNotifications = "Off"
    // On Get notifications on new alerts
    On  AlertNotifications = "On"
)

func PossibleAlertNotificationsValues Uses

func PossibleAlertNotificationsValues() []AlertNotifications

PossibleAlertNotificationsValues returns an array of possible values for the AlertNotifications const type.

type AlertProperties Uses

type AlertProperties struct {
    // State - READ-ONLY; State of the alert (Active, Dismissed etc.)
    State *string `json:"state,omitempty"`
    // ReportedTimeUtc - READ-ONLY; The time the incident was reported to Microsoft.Security in UTC
    ReportedTimeUtc *date.Time `json:"reportedTimeUtc,omitempty"`
    // VendorName - READ-ONLY; Name of the vendor that discovered the incident
    VendorName *string `json:"vendorName,omitempty"`
    // AlertName - READ-ONLY; Name of the alert type
    AlertName *string `json:"alertName,omitempty"`
    // AlertDisplayName - READ-ONLY; Display name of the alert type
    AlertDisplayName *string `json:"alertDisplayName,omitempty"`
    // DetectedTimeUtc - READ-ONLY; The time the incident was detected by the vendor
    DetectedTimeUtc *date.Time `json:"detectedTimeUtc,omitempty"`
    // Description - READ-ONLY; Description of the incident and what it means
    Description *string `json:"description,omitempty"`
    // RemediationSteps - READ-ONLY; Recommended steps to reradiate the incident
    RemediationSteps *string `json:"remediationSteps,omitempty"`
    // ActionTaken - READ-ONLY; The action that was taken as a response to the alert (Active, Blocked etc.)
    ActionTaken *string `json:"actionTaken,omitempty"`
    // ReportedSeverity - READ-ONLY; Estimated severity of this alert. Possible values include: 'Informational', 'Low', 'Medium', 'High'
    ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"`
    // CompromisedEntity - READ-ONLY; The entity that the incident happened on
    CompromisedEntity *string `json:"compromisedEntity,omitempty"`
    // AssociatedResource - READ-ONLY; Azure resource ID of the associated resource
    AssociatedResource *string                `json:"associatedResource,omitempty"`
    ExtendedProperties map[string]interface{} `json:"extendedProperties"`
    // SystemSource - READ-ONLY; The type of the alerted resource (Azure, Non-Azure)
    SystemSource *string `json:"systemSource,omitempty"`
    // CanBeInvestigated - READ-ONLY; Whether this alert can be investigated with Azure Security Center
    CanBeInvestigated *bool `json:"canBeInvestigated,omitempty"`
    // IsIncident - READ-ONLY; Whether this alert is for incident type or not (otherwise - single alert)
    IsIncident *bool `json:"isIncident,omitempty"`
    // Entities - objects that are related to this alerts
    Entities *[]AlertEntity `json:"entities,omitempty"`
    // ConfidenceScore - READ-ONLY; level of confidence we have on the alert
    ConfidenceScore *float64 `json:"confidenceScore,omitempty"`
    // ConfidenceReasons - reasons the alert got the confidenceScore value
    ConfidenceReasons *[]AlertConfidenceReason `json:"confidenceReasons,omitempty"`
    // SubscriptionID - READ-ONLY; Azure subscription ID of the resource that had the security alert or the subscription ID of the workspace that this resource reports to
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // InstanceID - READ-ONLY; Instance ID of the alert.
    InstanceID *string `json:"instanceId,omitempty"`
    // WorkspaceArmID - READ-ONLY; Azure resource ID of the workspace that the alert was reported to.
    WorkspaceArmID *string `json:"workspaceArmId,omitempty"`
    // CorrelationKey - READ-ONLY; Alerts with the same CorrelationKey will be grouped together in Ibiza.
    CorrelationKey *string `json:"correlationKey,omitempty"`
}

AlertProperties describes security alert properties.

func (AlertProperties) MarshalJSON Uses

func (ap AlertProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertProperties.

type AlertsClient Uses

type AlertsClient struct {
    BaseClient
}

AlertsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAlertsClient Uses

func NewAlertsClient(subscriptionID string, ascLocation string) AlertsClient

NewAlertsClient creates an instance of the AlertsClient client.

func NewAlertsClientWithBaseURI Uses

func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AlertsClient

NewAlertsClientWithBaseURI creates an instance of the AlertsClient client.

func (AlertsClient) GetResourceGroupLevelAlerts Uses

func (client AlertsClient) GetResourceGroupLevelAlerts(ctx context.Context, alertName string, resourceGroupName string) (result Alert, err error)

GetResourceGroupLevelAlerts get an alert that is associated a resource group or a resource in a resource group Parameters: alertName - name of the alert object resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (AlertsClient) GetResourceGroupLevelAlertsPreparer Uses

func (client AlertsClient) GetResourceGroupLevelAlertsPreparer(ctx context.Context, alertName string, resourceGroupName string) (*http.Request, error)

GetResourceGroupLevelAlertsPreparer prepares the GetResourceGroupLevelAlerts request.

func (AlertsClient) GetResourceGroupLevelAlertsResponder Uses

func (client AlertsClient) GetResourceGroupLevelAlertsResponder(resp *http.Response) (result Alert, err error)

GetResourceGroupLevelAlertsResponder handles the response to the GetResourceGroupLevelAlerts request. The method always closes the http.Response Body.

func (AlertsClient) GetResourceGroupLevelAlertsSender Uses

func (client AlertsClient) GetResourceGroupLevelAlertsSender(req *http.Request) (*http.Response, error)

GetResourceGroupLevelAlertsSender sends the GetResourceGroupLevelAlerts request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) GetSubscriptionLevelAlert Uses

func (client AlertsClient) GetSubscriptionLevelAlert(ctx context.Context, alertName string) (result Alert, err error)

GetSubscriptionLevelAlert get an alert that is associated with a subscription Parameters: alertName - name of the alert object

func (AlertsClient) GetSubscriptionLevelAlertPreparer Uses

func (client AlertsClient) GetSubscriptionLevelAlertPreparer(ctx context.Context, alertName string) (*http.Request, error)

GetSubscriptionLevelAlertPreparer prepares the GetSubscriptionLevelAlert request.

func (AlertsClient) GetSubscriptionLevelAlertResponder Uses

func (client AlertsClient) GetSubscriptionLevelAlertResponder(resp *http.Response) (result Alert, err error)

GetSubscriptionLevelAlertResponder handles the response to the GetSubscriptionLevelAlert request. The method always closes the http.Response Body.

func (AlertsClient) GetSubscriptionLevelAlertSender Uses

func (client AlertsClient) GetSubscriptionLevelAlertSender(req *http.Request) (*http.Response, error)

GetSubscriptionLevelAlertSender sends the GetSubscriptionLevelAlert request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) List Uses

func (client AlertsClient) List(ctx context.Context, filter string, selectParameter string, expand string) (result AlertListPage, err error)

List list all the alerts that are associated with the subscription Parameters: filter - oData filter. Optional. selectParameter - oData select. Optional. expand - oData expand. Optional.

func (AlertsClient) ListByResourceGroup Uses

func (client AlertsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string) (result AlertListPage, err error)

ListByResourceGroup list all the alerts that are associated with the resource group Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. filter - oData filter. Optional. selectParameter - oData select. Optional. expand - oData expand. Optional.

func (AlertsClient) ListByResourceGroupComplete Uses

func (client AlertsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string) (result AlertListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (AlertsClient) ListByResourceGroupPreparer Uses

func (client AlertsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AlertsClient) ListByResourceGroupResponder Uses

func (client AlertsClient) ListByResourceGroupResponder(resp *http.Response) (result AlertList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (AlertsClient) ListByResourceGroupSender Uses

func (client AlertsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) ListComplete Uses

func (client AlertsClient) ListComplete(ctx context.Context, filter string, selectParameter string, expand string) (result AlertListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AlertsClient) ListPreparer Uses

func (client AlertsClient) ListPreparer(ctx context.Context, filter string, selectParameter string, expand string) (*http.Request, error)

ListPreparer prepares the List request.

func (AlertsClient) ListResourceGroupLevelAlertsByRegion Uses

func (client AlertsClient) ListResourceGroupLevelAlertsByRegion(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string) (result AlertListPage, err error)

ListResourceGroupLevelAlertsByRegion list all the alerts that are associated with the resource group that are stored in a specific location Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. filter - oData filter. Optional. selectParameter - oData select. Optional. expand - oData expand. Optional.

func (AlertsClient) ListResourceGroupLevelAlertsByRegionComplete Uses

func (client AlertsClient) ListResourceGroupLevelAlertsByRegionComplete(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string) (result AlertListIterator, err error)

ListResourceGroupLevelAlertsByRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (AlertsClient) ListResourceGroupLevelAlertsByRegionPreparer Uses

func (client AlertsClient) ListResourceGroupLevelAlertsByRegionPreparer(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string) (*http.Request, error)

ListResourceGroupLevelAlertsByRegionPreparer prepares the ListResourceGroupLevelAlertsByRegion request.

func (AlertsClient) ListResourceGroupLevelAlertsByRegionResponder Uses

func (client AlertsClient) ListResourceGroupLevelAlertsByRegionResponder(resp *http.Response) (result AlertList, err error)

ListResourceGroupLevelAlertsByRegionResponder handles the response to the ListResourceGroupLevelAlertsByRegion request. The method always closes the http.Response Body.

func (AlertsClient) ListResourceGroupLevelAlertsByRegionSender Uses

func (client AlertsClient) ListResourceGroupLevelAlertsByRegionSender(req *http.Request) (*http.Response, error)

ListResourceGroupLevelAlertsByRegionSender sends the ListResourceGroupLevelAlertsByRegion request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) ListResponder Uses

func (client AlertsClient) ListResponder(resp *http.Response) (result AlertList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AlertsClient) ListSender Uses

func (client AlertsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) ListSubscriptionLevelAlertsByRegion Uses

func (client AlertsClient) ListSubscriptionLevelAlertsByRegion(ctx context.Context, filter string, selectParameter string, expand string) (result AlertListPage, err error)

ListSubscriptionLevelAlertsByRegion list all the alerts that are associated with the subscription that are stored in a specific location Parameters: filter - oData filter. Optional. selectParameter - oData select. Optional. expand - oData expand. Optional.

func (AlertsClient) ListSubscriptionLevelAlertsByRegionComplete Uses

func (client AlertsClient) ListSubscriptionLevelAlertsByRegionComplete(ctx context.Context, filter string, selectParameter string, expand string) (result AlertListIterator, err error)

ListSubscriptionLevelAlertsByRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (AlertsClient) ListSubscriptionLevelAlertsByRegionPreparer Uses

func (client AlertsClient) ListSubscriptionLevelAlertsByRegionPreparer(ctx context.Context, filter string, selectParameter string, expand string) (*http.Request, error)

ListSubscriptionLevelAlertsByRegionPreparer prepares the ListSubscriptionLevelAlertsByRegion request.

func (AlertsClient) ListSubscriptionLevelAlertsByRegionResponder Uses

func (client AlertsClient) ListSubscriptionLevelAlertsByRegionResponder(resp *http.Response) (result AlertList, err error)

ListSubscriptionLevelAlertsByRegionResponder handles the response to the ListSubscriptionLevelAlertsByRegion request. The method always closes the http.Response Body.

func (AlertsClient) ListSubscriptionLevelAlertsByRegionSender Uses

func (client AlertsClient) ListSubscriptionLevelAlertsByRegionSender(req *http.Request) (*http.Response, error)

ListSubscriptionLevelAlertsByRegionSender sends the ListSubscriptionLevelAlertsByRegion request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) UpdateResourceGroupLevelAlertState Uses

func (client AlertsClient) UpdateResourceGroupLevelAlertState(ctx context.Context, alertName string, alertUpdateActionType string, resourceGroupName string) (result autorest.Response, err error)

UpdateResourceGroupLevelAlertState update the alert's state Parameters: alertName - name of the alert object alertUpdateActionType - type of the action to do on the alert resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (AlertsClient) UpdateResourceGroupLevelAlertStatePreparer Uses

func (client AlertsClient) UpdateResourceGroupLevelAlertStatePreparer(ctx context.Context, alertName string, alertUpdateActionType string, resourceGroupName string) (*http.Request, error)

UpdateResourceGroupLevelAlertStatePreparer prepares the UpdateResourceGroupLevelAlertState request.

func (AlertsClient) UpdateResourceGroupLevelAlertStateResponder Uses

func (client AlertsClient) UpdateResourceGroupLevelAlertStateResponder(resp *http.Response) (result autorest.Response, err error)

UpdateResourceGroupLevelAlertStateResponder handles the response to the UpdateResourceGroupLevelAlertState request. The method always closes the http.Response Body.

func (AlertsClient) UpdateResourceGroupLevelAlertStateSender Uses

func (client AlertsClient) UpdateResourceGroupLevelAlertStateSender(req *http.Request) (*http.Response, error)

UpdateResourceGroupLevelAlertStateSender sends the UpdateResourceGroupLevelAlertState request. The method will close the http.Response Body if it receives an error.

func (AlertsClient) UpdateSubscriptionLevelAlertState Uses

func (client AlertsClient) UpdateSubscriptionLevelAlertState(ctx context.Context, alertName string, alertUpdateActionType string) (result autorest.Response, err error)

UpdateSubscriptionLevelAlertState update the alert's state Parameters: alertName - name of the alert object alertUpdateActionType - type of the action to do on the alert

func (AlertsClient) UpdateSubscriptionLevelAlertStatePreparer Uses

func (client AlertsClient) UpdateSubscriptionLevelAlertStatePreparer(ctx context.Context, alertName string, alertUpdateActionType string) (*http.Request, error)

UpdateSubscriptionLevelAlertStatePreparer prepares the UpdateSubscriptionLevelAlertState request.

func (AlertsClient) UpdateSubscriptionLevelAlertStateResponder Uses

func (client AlertsClient) UpdateSubscriptionLevelAlertStateResponder(resp *http.Response) (result autorest.Response, err error)

UpdateSubscriptionLevelAlertStateResponder handles the response to the UpdateSubscriptionLevelAlertState request. The method always closes the http.Response Body.

func (AlertsClient) UpdateSubscriptionLevelAlertStateSender Uses

func (client AlertsClient) UpdateSubscriptionLevelAlertStateSender(req *http.Request) (*http.Response, error)

UpdateSubscriptionLevelAlertStateSender sends the UpdateSubscriptionLevelAlertState request. The method will close the http.Response Body if it receives an error.

type AlertsToAdmins Uses

type AlertsToAdmins string

AlertsToAdmins enumerates the values for alerts to admins.

const (
    // AlertsToAdminsOff Don't send notification on new alerts to the subscription's admins
    AlertsToAdminsOff AlertsToAdmins = "Off"
    // AlertsToAdminsOn Send notification on new alerts to the subscription's admins
    AlertsToAdminsOn AlertsToAdmins = "On"
)

func PossibleAlertsToAdminsValues Uses

func PossibleAlertsToAdminsValues() []AlertsToAdmins

PossibleAlertsToAdminsValues returns an array of possible values for the AlertsToAdmins const type.

type AllowedConnectionsClient Uses

type AllowedConnectionsClient struct {
    BaseClient
}

AllowedConnectionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAllowedConnectionsClient Uses

func NewAllowedConnectionsClient(subscriptionID string, ascLocation string) AllowedConnectionsClient

NewAllowedConnectionsClient creates an instance of the AllowedConnectionsClient client.

func NewAllowedConnectionsClientWithBaseURI Uses

func NewAllowedConnectionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AllowedConnectionsClient

NewAllowedConnectionsClientWithBaseURI creates an instance of the AllowedConnectionsClient client.

func (AllowedConnectionsClient) Get Uses

func (client AllowedConnectionsClient) Get(ctx context.Context, resourceGroupName string, connectionType ConnectionType) (result AllowedConnectionsResource, err error)

Get gets the list of all possible traffic between resources for the subscription and location, based on connection type. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. connectionType - the type of allowed connections (Internal, External)

func (AllowedConnectionsClient) GetPreparer Uses

func (client AllowedConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, connectionType ConnectionType) (*http.Request, error)

GetPreparer prepares the Get request.

func (AllowedConnectionsClient) GetResponder Uses

func (client AllowedConnectionsClient) GetResponder(resp *http.Response) (result AllowedConnectionsResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AllowedConnectionsClient) GetSender Uses

func (client AllowedConnectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AllowedConnectionsClient) List Uses

func (client AllowedConnectionsClient) List(ctx context.Context) (result AllowedConnectionsListPage, err error)

List gets the list of all possible traffic between resources for the subscription

func (AllowedConnectionsClient) ListByHomeRegion Uses

func (client AllowedConnectionsClient) ListByHomeRegion(ctx context.Context) (result AllowedConnectionsListPage, err error)

ListByHomeRegion gets the list of all possible traffic between resources for the subscription and location.

func (AllowedConnectionsClient) ListByHomeRegionComplete Uses

func (client AllowedConnectionsClient) ListByHomeRegionComplete(ctx context.Context) (result AllowedConnectionsListIterator, err error)

ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (AllowedConnectionsClient) ListByHomeRegionPreparer Uses

func (client AllowedConnectionsClient) ListByHomeRegionPreparer(ctx context.Context) (*http.Request, error)

ListByHomeRegionPreparer prepares the ListByHomeRegion request.

func (AllowedConnectionsClient) ListByHomeRegionResponder Uses

func (client AllowedConnectionsClient) ListByHomeRegionResponder(resp *http.Response) (result AllowedConnectionsList, err error)

ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.

func (AllowedConnectionsClient) ListByHomeRegionSender Uses

func (client AllowedConnectionsClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)

ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.

func (AllowedConnectionsClient) ListComplete Uses

func (client AllowedConnectionsClient) ListComplete(ctx context.Context) (result AllowedConnectionsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AllowedConnectionsClient) ListPreparer Uses

func (client AllowedConnectionsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (AllowedConnectionsClient) ListResponder Uses

func (client AllowedConnectionsClient) ListResponder(resp *http.Response) (result AllowedConnectionsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AllowedConnectionsClient) ListSender Uses

func (client AllowedConnectionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type AllowedConnectionsList Uses

type AllowedConnectionsList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY
    Value *[]AllowedConnectionsResource `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

AllowedConnectionsList list of all possible traffic between Azure resources

func (AllowedConnectionsList) IsEmpty Uses

func (ACL AllowedConnectionsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AllowedConnectionsListIterator Uses

type AllowedConnectionsListIterator struct {
    // contains filtered or unexported fields
}

AllowedConnectionsListIterator provides access to a complete listing of AllowedConnectionsResource values.

func NewAllowedConnectionsListIterator Uses

func NewAllowedConnectionsListIterator(page AllowedConnectionsListPage) AllowedConnectionsListIterator

Creates a new instance of the AllowedConnectionsListIterator type.

func (*AllowedConnectionsListIterator) Next Uses

func (iter *AllowedConnectionsListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AllowedConnectionsListIterator) NextWithContext Uses

func (iter *AllowedConnectionsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AllowedConnectionsListIterator) NotDone Uses

func (iter AllowedConnectionsListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AllowedConnectionsListIterator) Response Uses

func (iter AllowedConnectionsListIterator) Response() AllowedConnectionsList

Response returns the raw server response from the last page request.

func (AllowedConnectionsListIterator) Value Uses

func (iter AllowedConnectionsListIterator) Value() AllowedConnectionsResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AllowedConnectionsListPage Uses

type AllowedConnectionsListPage struct {
    ACL AllowedConnectionsList
    // contains filtered or unexported fields
}

AllowedConnectionsListPage contains a page of AllowedConnectionsResource values.

func NewAllowedConnectionsListPage Uses

func NewAllowedConnectionsListPage(getNextPage func(context.Context, AllowedConnectionsList) (AllowedConnectionsList, error)) AllowedConnectionsListPage

Creates a new instance of the AllowedConnectionsListPage type.

func (*AllowedConnectionsListPage) Next Uses

func (page *AllowedConnectionsListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AllowedConnectionsListPage) NextWithContext Uses

func (page *AllowedConnectionsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AllowedConnectionsListPage) NotDone Uses

func (page AllowedConnectionsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AllowedConnectionsListPage) Response Uses

func (page AllowedConnectionsListPage) Response() AllowedConnectionsList

Response returns the raw server response from the last page request.

func (AllowedConnectionsListPage) Values Uses

func (page AllowedConnectionsListPage) Values() []AllowedConnectionsResource

Values returns the slice of values for the current page or nil if there are no values.

type AllowedConnectionsResource Uses

type AllowedConnectionsResource struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Location where the resource is stored
    Location *string `json:"location,omitempty"`
    // AllowedConnectionsResourceProperties - READ-ONLY
    *AllowedConnectionsResourceProperties `json:"properties,omitempty"`
}

AllowedConnectionsResource the resource whose properties describes the allowed traffic between Azure resources

func (AllowedConnectionsResource) MarshalJSON Uses

func (acr AllowedConnectionsResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AllowedConnectionsResource.

func (*AllowedConnectionsResource) UnmarshalJSON Uses

func (acr *AllowedConnectionsResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AllowedConnectionsResource struct.

type AllowedConnectionsResourceProperties Uses

type AllowedConnectionsResourceProperties struct {
    // CalculatedDateTime - READ-ONLY; The UTC time on which the allowed connections resource was calculated
    CalculatedDateTime *date.Time `json:"calculatedDateTime,omitempty"`
    // ConnectableResources - READ-ONLY; List of connectable resources
    ConnectableResources *[]ConnectableResource `json:"connectableResources,omitempty"`
}

AllowedConnectionsResourceProperties describes the allowed traffic between Azure resources

type AppWhitelistingGroup Uses

type AppWhitelistingGroup struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Location where the resource is stored
    Location                  *string `json:"location,omitempty"`
    *AppWhitelistingGroupData `json:"properties,omitempty"`
}

AppWhitelistingGroup ...

func (AppWhitelistingGroup) MarshalJSON Uses

func (awg AppWhitelistingGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AppWhitelistingGroup.

func (*AppWhitelistingGroup) UnmarshalJSON Uses

func (awg *AppWhitelistingGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AppWhitelistingGroup struct.

type AppWhitelistingGroupData Uses

type AppWhitelistingGroupData struct {
    // EnforcementMode - Possible values include: 'Audit', 'Enforce'
    EnforcementMode EnforcementMode `json:"enforcementMode,omitempty"`
    // ConfigurationStatus - Possible values include: 'ConfigurationStatus2Configured', 'ConfigurationStatus2NotConfigured', 'ConfigurationStatus2InProgress', 'ConfigurationStatus2Failed', 'ConfigurationStatus2NoStatus'
    ConfigurationStatus ConfigurationStatus2 `json:"configurationStatus,omitempty"`
    // RecommendationStatus - Possible values include: 'RecommendationStatusRecommended', 'RecommendationStatusNotRecommended', 'RecommendationStatusNotAvailable', 'RecommendationStatusNoStatus'
    RecommendationStatus RecommendationStatus           `json:"recommendationStatus,omitempty"`
    Issues               *[]AppWhitelistingIssueSummary `json:"issues,omitempty"`
    // SourceSystem - Possible values include: 'AzureAppLocker', 'AzureAuditD', 'NonAzureAppLocker', 'NonAzureAuditD', 'None'
    SourceSystem        SourceSystem          `json:"sourceSystem,omitempty"`
    VMRecommendations   *[]VMRecommendation   `json:"vmRecommendations,omitempty"`
    PathRecommendations *[]PathRecommendation `json:"pathRecommendations,omitempty"`
}

AppWhitelistingGroupData represents a VM/server group and set of rules that are Recommended by Azure Security Center to be allowed

type AppWhitelistingGroups Uses

type AppWhitelistingGroups struct {
    autorest.Response `json:"-"`
    Value             *[]AppWhitelistingGroup `json:"value,omitempty"`
}

AppWhitelistingGroups represents a list of VM/server groups and set of rules that are Recommended by Azure Security Center to be allowed

type AppWhitelistingIssueSummary Uses

type AppWhitelistingIssueSummary struct {
    // Issue - Possible values include: 'ViolationsAudited', 'ViolationsBlocked', 'MsiAndScriptViolationsAudited', 'MsiAndScriptViolationsBlocked', 'ExecutableViolationsAudited', 'RulesViolatedManually'
    Issue Issue `json:"issue,omitempty"`
    // NumberOfVms - The number of machines in the VM/server group that have this alert
    NumberOfVms *float64 `json:"numberOfVms,omitempty"`
}

AppWhitelistingIssueSummary represents a summary of the alerts of the VM/server group

type AppWhitelistingPutGroupData Uses

type AppWhitelistingPutGroupData struct {
    // EnforcementMode - Possible values include: 'EnforcementMode1Audit', 'EnforcementMode1Enforce'
    EnforcementMode     EnforcementMode1      `json:"enforcementMode,omitempty"`
    VMRecommendations   *[]VMRecommendation   `json:"vmRecommendations,omitempty"`
    PathRecommendations *[]PathRecommendation `json:"pathRecommendations,omitempty"`
}

AppWhitelistingPutGroupData the altered data of the recommended VM/server group policy

type AscLocation Uses

type AscLocation struct {
    autorest.Response `json:"-"`
    Properties        interface{} `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

AscLocation the ASC location of the subscription is in the "name" field

type AscLocationList Uses

type AscLocationList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY
    Value *[]AscLocation `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

AscLocationList list of locations where ASC saves your data

func (AscLocationList) IsEmpty Uses

func (all AscLocationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AscLocationListIterator Uses

type AscLocationListIterator struct {
    // contains filtered or unexported fields
}

AscLocationListIterator provides access to a complete listing of AscLocation values.

func NewAscLocationListIterator Uses

func NewAscLocationListIterator(page AscLocationListPage) AscLocationListIterator

Creates a new instance of the AscLocationListIterator type.

func (*AscLocationListIterator) Next Uses

func (iter *AscLocationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AscLocationListIterator) NextWithContext Uses

func (iter *AscLocationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AscLocationListIterator) NotDone Uses

func (iter AscLocationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AscLocationListIterator) Response Uses

func (iter AscLocationListIterator) Response() AscLocationList

Response returns the raw server response from the last page request.

func (AscLocationListIterator) Value Uses

func (iter AscLocationListIterator) Value() AscLocation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AscLocationListPage Uses

type AscLocationListPage struct {
    // contains filtered or unexported fields
}

AscLocationListPage contains a page of AscLocation values.

func NewAscLocationListPage Uses

func NewAscLocationListPage(getNextPage func(context.Context, AscLocationList) (AscLocationList, error)) AscLocationListPage

Creates a new instance of the AscLocationListPage type.

func (*AscLocationListPage) Next Uses

func (page *AscLocationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AscLocationListPage) NextWithContext Uses

func (page *AscLocationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AscLocationListPage) NotDone Uses

func (page AscLocationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AscLocationListPage) Response Uses

func (page AscLocationListPage) Response() AscLocationList

Response returns the raw server response from the last page request.

func (AscLocationListPage) Values Uses

func (page AscLocationListPage) Values() []AscLocation

Values returns the slice of values for the current page or nil if there are no values.

type AtaExternalSecuritySolution Uses

type AtaExternalSecuritySolution struct {
    Properties *AtaSolutionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Location where the resource is stored
    Location *string `json:"location,omitempty"`
    // Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD'
    Kind KindEnum `json:"kind,omitempty"`
}

AtaExternalSecuritySolution represents an ATA security solution which sends logs to an OMS workspace

func (AtaExternalSecuritySolution) AsAadExternalSecuritySolution Uses

func (aess AtaExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)

AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.

func (AtaExternalSecuritySolution) AsAtaExternalSecuritySolution Uses

func (aess AtaExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)

AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.

func (AtaExternalSecuritySolution) AsBasicExternalSecuritySolution Uses

func (aess AtaExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)

AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.

func (AtaExternalSecuritySolution) AsCefExternalSecuritySolution Uses

func (aess AtaExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)

AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.

func (AtaExternalSecuritySolution) AsExternalSecuritySolution Uses

func (aess AtaExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)

AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.

func (AtaExternalSecuritySolution) MarshalJSON Uses

func (aess AtaExternalSecuritySolution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AtaExternalSecuritySolution.

type AtaSolutionProperties Uses

type AtaSolutionProperties struct {
    LastEventReceived *string `json:"lastEventReceived,omitempty"`
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    DeviceVendor         *string                `json:"deviceVendor,omitempty"`
    DeviceType           *string                `json:"deviceType,omitempty"`
    Workspace            *ConnectedWorkspace    `json:"workspace,omitempty"`
}

AtaSolutionProperties ...

func (AtaSolutionProperties) MarshalJSON Uses

func (asp AtaSolutionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AtaSolutionProperties.

func (*AtaSolutionProperties) UnmarshalJSON Uses

func (asp *AtaSolutionProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AtaSolutionProperties struct.

type AutoProvision Uses

type AutoProvision string

AutoProvision enumerates the values for auto provision.

const (
    // AutoProvisionOff Do not install security agent on the VMs automatically
    AutoProvisionOff AutoProvision = "Off"
    // AutoProvisionOn Install missing security agent on VMs automatically
    AutoProvisionOn AutoProvision = "On"
)

func PossibleAutoProvisionValues Uses

func PossibleAutoProvisionValues() []AutoProvision

PossibleAutoProvisionValues returns an array of possible values for the AutoProvision const type.

type AutoProvisioningSetting Uses

type AutoProvisioningSetting struct {
    autorest.Response `json:"-"`
    // AutoProvisioningSettingProperties - Auto provisioning setting data
    *AutoProvisioningSettingProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

AutoProvisioningSetting auto provisioning setting

func (AutoProvisioningSetting) MarshalJSON Uses

func (aps AutoProvisioningSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoProvisioningSetting.

func (*AutoProvisioningSetting) UnmarshalJSON Uses

func (aps *AutoProvisioningSetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AutoProvisioningSetting struct.

type AutoProvisioningSettingList Uses

type AutoProvisioningSettingList struct {
    autorest.Response `json:"-"`
    // Value - List of all the auto provisioning settings
    Value *[]AutoProvisioningSetting `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

AutoProvisioningSettingList list of all the auto provisioning settings response

func (AutoProvisioningSettingList) IsEmpty Uses

func (apsl AutoProvisioningSettingList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AutoProvisioningSettingListIterator Uses

type AutoProvisioningSettingListIterator struct {
    // contains filtered or unexported fields
}

AutoProvisioningSettingListIterator provides access to a complete listing of AutoProvisioningSetting values.

func NewAutoProvisioningSettingListIterator Uses

func NewAutoProvisioningSettingListIterator(page AutoProvisioningSettingListPage) AutoProvisioningSettingListIterator

Creates a new instance of the AutoProvisioningSettingListIterator type.

func (*AutoProvisioningSettingListIterator) Next Uses

func (iter *AutoProvisioningSettingListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AutoProvisioningSettingListIterator) NextWithContext Uses

func (iter *AutoProvisioningSettingListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AutoProvisioningSettingListIterator) NotDone Uses

func (iter AutoProvisioningSettingListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AutoProvisioningSettingListIterator) Response Uses

func (iter AutoProvisioningSettingListIterator) Response() AutoProvisioningSettingList

Response returns the raw server response from the last page request.

func (AutoProvisioningSettingListIterator) Value Uses

func (iter AutoProvisioningSettingListIterator) Value() AutoProvisioningSetting

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AutoProvisioningSettingListPage Uses

type AutoProvisioningSettingListPage struct {
    // contains filtered or unexported fields
}

AutoProvisioningSettingListPage contains a page of AutoProvisioningSetting values.

func NewAutoProvisioningSettingListPage Uses

func NewAutoProvisioningSettingListPage(getNextPage func(context.Context, AutoProvisioningSettingList) (AutoProvisioningSettingList, error)) AutoProvisioningSettingListPage

Creates a new instance of the AutoProvisioningSettingListPage type.

func (*AutoProvisioningSettingListPage) Next Uses

func (page *AutoProvisioningSettingListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AutoProvisioningSettingListPage) NextWithContext Uses

func (page *AutoProvisioningSettingListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AutoProvisioningSettingListPage) NotDone Uses

func (page AutoProvisioningSettingListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AutoProvisioningSettingListPage) Response Uses

func (page AutoProvisioningSettingListPage) Response() AutoProvisioningSettingList

Response returns the raw server response from the last page request.

func (AutoProvisioningSettingListPage) Values Uses

func (page AutoProvisioningSettingListPage) Values() []AutoProvisioningSetting

Values returns the slice of values for the current page or nil if there are no values.

type AutoProvisioningSettingProperties Uses

type AutoProvisioningSettingProperties struct {
    // AutoProvision - Describes what kind of security agent provisioning action to take. Possible values include: 'AutoProvisionOn', 'AutoProvisionOff'
    AutoProvision AutoProvision `json:"autoProvision,omitempty"`
}

AutoProvisioningSettingProperties describes properties of an auto provisioning setting

type AutoProvisioningSettingsClient Uses

type AutoProvisioningSettingsClient struct {
    BaseClient
}

AutoProvisioningSettingsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewAutoProvisioningSettingsClient Uses

func NewAutoProvisioningSettingsClient(subscriptionID string, ascLocation string) AutoProvisioningSettingsClient

NewAutoProvisioningSettingsClient creates an instance of the AutoProvisioningSettingsClient client.

func NewAutoProvisioningSettingsClientWithBaseURI Uses

func NewAutoProvisioningSettingsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AutoProvisioningSettingsClient

NewAutoProvisioningSettingsClientWithBaseURI creates an instance of the AutoProvisioningSettingsClient client.

func (AutoProvisioningSettingsClient) Create Uses

func (client AutoProvisioningSettingsClient) Create(ctx context.Context, settingName string, setting AutoProvisioningSetting) (result AutoProvisioningSetting, err error)

Create details of a specific setting Parameters: settingName - auto provisioning setting key setting - auto provisioning setting key

func (AutoProvisioningSettingsClient) CreatePreparer Uses

func (client AutoProvisioningSettingsClient) CreatePreparer(ctx context.Context, settingName string, setting AutoProvisioningSetting) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AutoProvisioningSettingsClient) CreateResponder Uses

func (client AutoProvisioningSettingsClient) CreateResponder(resp *http.Response) (result AutoProvisioningSetting, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (AutoProvisioningSettingsClient) CreateSender Uses

func (client AutoProvisioningSettingsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (AutoProvisioningSettingsClient) Get Uses

func (client AutoProvisioningSettingsClient) Get(ctx context.Context, settingName string) (result AutoProvisioningSetting, err error)

Get details of a specific setting Parameters: settingName - auto provisioning setting key

func (AutoProvisioningSettingsClient) GetPreparer Uses

func (client AutoProvisioningSettingsClient) GetPreparer(ctx context.Context, settingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AutoProvisioningSettingsClient) GetResponder Uses

func (client AutoProvisioningSettingsClient) GetResponder(resp *http.Response) (result AutoProvisioningSetting, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AutoProvisioningSettingsClient) GetSender Uses

func (client AutoProvisioningSettingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AutoProvisioningSettingsClient) List Uses

func (client AutoProvisioningSettingsClient) List(ctx context.Context) (result AutoProvisioningSettingListPage, err error)

List exposes the auto provisioning settings of the subscriptions

func (AutoProvisioningSettingsClient) ListComplete Uses

func (client AutoProvisioningSettingsClient) ListComplete(ctx context.Context) (result AutoProvisioningSettingListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AutoProvisioningSettingsClient) ListPreparer Uses

func (client AutoProvisioningSettingsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (AutoProvisioningSettingsClient) ListResponder Uses

func (client AutoProvisioningSettingsClient) ListResponder(resp *http.Response) (result AutoProvisioningSettingList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AutoProvisioningSettingsClient) ListSender Uses

func (client AutoProvisioningSettingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
    AscLocation    string
}

BaseClient is the base client for Security.

func New Uses

func New(subscriptionID string, ascLocation string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string, ascLocation string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicExternalSecuritySolution Uses

type BasicExternalSecuritySolution interface {
    AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)
    AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)
    AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)
    AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)
}

BasicExternalSecuritySolution represents a security solution external to Azure Security Center which sends information to an OMS workspace and whose data is displayed by Azure Security Center.

type CefExternalSecuritySolution Uses

type CefExternalSecuritySolution struct {
    Properties *CefSolutionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Location where the resource is stored
    Location *string `json:"location,omitempty"`
    // Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD'
    Kind KindEnum `json:"kind,omitempty"`
}

CefExternalSecuritySolution represents a security solution which sends CEF logs to an OMS workspace

func (CefExternalSecuritySolution) AsAadExternalSecuritySolution Uses

func (cess CefExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)

AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.

func (CefExternalSecuritySolution) AsAtaExternalSecuritySolution Uses

func (cess CefExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)

AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.

func (CefExternalSecuritySolution) AsBasicExternalSecuritySolution Uses

func (cess CefExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)

AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.

func (CefExternalSecuritySolution) AsCefExternalSecuritySolution Uses

func (cess CefExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)

AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.

func (CefExternalSecuritySolution) AsExternalSecuritySolution Uses

func (cess CefExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)

AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.

func (CefExternalSecuritySolution) MarshalJSON Uses

func (cess CefExternalSecuritySolution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CefExternalSecuritySolution.

type CefSolutionProperties Uses

type CefSolutionProperties struct {
    Hostname          *string `json:"hostname,omitempty"`
    Agent             *string `json:"agent,omitempty"`
    LastEventReceived *string `json:"lastEventReceived,omitempty"`
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    DeviceVendor         *string                `json:"deviceVendor,omitempty"`
    DeviceType           *string                `json:"deviceType,omitempty"`
    Workspace            *ConnectedWorkspace    `json:"workspace,omitempty"`
}

CefSolutionProperties ...

func (CefSolutionProperties) MarshalJSON Uses

func (csp CefSolutionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CefSolutionProperties.

func (*CefSolutionProperties) UnmarshalJSON Uses

func (csp *CefSolutionProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CefSolutionProperties struct.

type CloudError Uses

type CloudError struct {
    // CloudErrorBody - Error data
    *CloudErrorBody `json:"error,omitempty"`
}

CloudError error response structure.

func (CloudError) MarshalJSON Uses

func (ce CloudError) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudError.

func (*CloudError) UnmarshalJSON Uses

func (ce *CloudError) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CloudError struct.

type CloudErrorBody Uses

type CloudErrorBody struct {
    // Code - READ-ONLY; An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; A message describing the error, intended to be suitable for display in a user interface.
    Message *string `json:"message,omitempty"`
}

CloudErrorBody error details.

type Compliance Uses

type Compliance struct {
    autorest.Response `json:"-"`
    // ComplianceProperties - Compliance data
    *ComplianceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

Compliance compliance of a scope

func (Compliance) MarshalJSON Uses

func (c Compliance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Compliance.

func (*Compliance) UnmarshalJSON Uses

func (c *Compliance) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Compliance struct.

type ComplianceList Uses

type ComplianceList struct {
    autorest.Response `json:"-"`
    // Value - List of Compliance objects
    Value *[]Compliance `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

ComplianceList list of Compliance objects response

func (ComplianceList) IsEmpty Uses

func (cl ComplianceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ComplianceListIterator Uses

type ComplianceListIterator struct {
    // contains filtered or unexported fields
}

ComplianceListIterator provides access to a complete listing of Compliance values.

func NewComplianceListIterator Uses

func NewComplianceListIterator(page ComplianceListPage) ComplianceListIterator

Creates a new instance of the ComplianceListIterator type.

func (*ComplianceListIterator) Next Uses

func (iter *ComplianceListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ComplianceListIterator) NextWithContext Uses

func (iter *ComplianceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ComplianceListIterator) NotDone Uses

func (iter ComplianceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ComplianceListIterator) Response Uses

func (iter ComplianceListIterator) Response() ComplianceList

Response returns the raw server response from the last page request.

func (ComplianceListIterator) Value Uses

func (iter ComplianceListIterator) Value() Compliance

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ComplianceListPage Uses

type ComplianceListPage struct {
    // contains filtered or unexported fields
}

ComplianceListPage contains a page of Compliance values.

func NewComplianceListPage Uses

func NewComplianceListPage(getNextPage func(context.Context, ComplianceList) (ComplianceList, error)) ComplianceListPage

Creates a new instance of the ComplianceListPage type.

func (*ComplianceListPage) Next Uses

func (page *ComplianceListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ComplianceListPage) NextWithContext Uses

func (page *ComplianceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ComplianceListPage) NotDone Uses

func (page ComplianceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ComplianceListPage) Response Uses

func (page ComplianceListPage) Response() ComplianceList

Response returns the raw server response from the last page request.

func (ComplianceListPage) Values Uses

func (page ComplianceListPage) Values() []Compliance

Values returns the slice of values for the current page or nil if there are no values.

type ComplianceProperties Uses

type ComplianceProperties struct {
    // AssessmentTimestampUtcDate - READ-ONLY; The timestamp when the Compliance calculation was conducted.
    AssessmentTimestampUtcDate *date.Time `json:"assessmentTimestampUtcDate,omitempty"`
    // ResourceCount - READ-ONLY; The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation).
    ResourceCount *int32 `json:"resourceCount,omitempty"`
    // AssessmentResult - READ-ONLY; An array of segment, which is the actually the compliance assessment.
    AssessmentResult *[]ComplianceSegment `json:"assessmentResult,omitempty"`
}

ComplianceProperties the Compliance score (percentage) of a Subscription is a sum of all Resources' Compliances under the given Subscription. A Resource Compliance is defined as the compliant ('healthy') Policy Definitions out of all Policy Definitions applicable to a given resource.

type ComplianceResult Uses

type ComplianceResult struct {
    autorest.Response `json:"-"`
    // ComplianceResultProperties - Compliance result data
    *ComplianceResultProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

ComplianceResult a compliance result

func (ComplianceResult) MarshalJSON Uses

func (cr ComplianceResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComplianceResult.

func (*ComplianceResult) UnmarshalJSON Uses

func (cr *ComplianceResult) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ComplianceResult struct.

type ComplianceResultList Uses

type ComplianceResultList struct {
    autorest.Response `json:"-"`
    // Value - List of compliance results
    Value *[]ComplianceResult `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

ComplianceResultList list of compliance results response

func (ComplianceResultList) IsEmpty Uses

func (crl ComplianceResultList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ComplianceResultListIterator Uses

type ComplianceResultListIterator struct {
    // contains filtered or unexported fields
}

ComplianceResultListIterator provides access to a complete listing of ComplianceResult values.

func NewComplianceResultListIterator Uses

func NewComplianceResultListIterator(page ComplianceResultListPage) ComplianceResultListIterator

Creates a new instance of the ComplianceResultListIterator type.

func (*ComplianceResultListIterator) Next Uses

func (iter *ComplianceResultListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ComplianceResultListIterator) NextWithContext Uses

func (iter *ComplianceResultListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ComplianceResultListIterator) NotDone Uses

func (iter ComplianceResultListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ComplianceResultListIterator) Response Uses

func (iter ComplianceResultListIterator) Response() ComplianceResultList

Response returns the raw server response from the last page request.

func (ComplianceResultListIterator) Value Uses

func (iter ComplianceResultListIterator) Value() ComplianceResult

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ComplianceResultListPage Uses

type ComplianceResultListPage struct {
    // contains filtered or unexported fields
}

ComplianceResultListPage contains a page of ComplianceResult values.

func NewComplianceResultListPage Uses

func NewComplianceResultListPage(getNextPage func(context.Context, ComplianceResultList) (ComplianceResultList, error)) ComplianceResultListPage

Creates a new instance of the ComplianceResultListPage type.

func (*ComplianceResultListPage) Next Uses

func (page *ComplianceResultListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ComplianceResultListPage) NextWithContext Uses

func (page *ComplianceResultListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ComplianceResultListPage) NotDone Uses

func (page ComplianceResultListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ComplianceResultListPage) Response Uses

func (page ComplianceResultListPage) Response() ComplianceResultList

Response returns the raw server response from the last page request.

func (ComplianceResultListPage) Values Uses

func (page ComplianceResultListPage) Values() []ComplianceResult

Values returns the slice of values for the current page or nil if there are no values.

type ComplianceResultProperties Uses

type ComplianceResultProperties struct {
    // ResourceStatus - READ-ONLY; The status of the resource regarding a single assessment. Possible values include: 'Healthy', 'NotApplicable', 'OffByPolicy', 'NotHealthy'
    ResourceStatus ResourceStatus `json:"resourceStatus,omitempty"`
}

ComplianceResultProperties compliance result data

type ComplianceResultsClient Uses

type ComplianceResultsClient struct {
    BaseClient
}

ComplianceResultsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewComplianceResultsClient Uses

func NewComplianceResultsClient(subscriptionID string, ascLocation string) ComplianceResultsClient

NewComplianceResultsClient creates an instance of the ComplianceResultsClient client.

func NewComplianceResultsClientWithBaseURI Uses

func NewComplianceResultsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) ComplianceResultsClient

NewComplianceResultsClientWithBaseURI creates an instance of the ComplianceResultsClient client.

func (ComplianceResultsClient) Get Uses

func (client ComplianceResultsClient) Get(ctx context.Context, resourceID string, complianceResultName string) (result ComplianceResult, err error)

Get security Compliance Result Parameters: resourceID - the identifier of the resource. complianceResultName - name of the desired assessment compliance result

func (ComplianceResultsClient) GetPreparer Uses

func (client ComplianceResultsClient) GetPreparer(ctx context.Context, resourceID string, complianceResultName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ComplianceResultsClient) GetResponder Uses

func (client ComplianceResultsClient) GetResponder(resp *http.Response) (result ComplianceResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ComplianceResultsClient) GetSender Uses

func (client ComplianceResultsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ComplianceResultsClient) List Uses

func (client ComplianceResultsClient) List(ctx context.Context, scope string) (result ComplianceResultListPage, err error)

List security compliance results in the subscription Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

func (ComplianceResultsClient) ListComplete Uses

func (client ComplianceResultsClient) ListComplete(ctx context.Context, scope string) (result ComplianceResultListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ComplianceResultsClient) ListPreparer Uses

func (client ComplianceResultsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)

ListPreparer prepares the List request.

func (ComplianceResultsClient) ListResponder Uses

func (client ComplianceResultsClient) ListResponder(resp *http.Response) (result ComplianceResultList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ComplianceResultsClient) ListSender Uses

func (client ComplianceResultsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ComplianceSegment Uses

type ComplianceSegment struct {
    // SegmentType - READ-ONLY; The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc.
    SegmentType *string `json:"segmentType,omitempty"`
    // Percentage - READ-ONLY; The size (%) of the segment.
    Percentage *float64 `json:"percentage,omitempty"`
}

ComplianceSegment a segment of a compliance assessment.

type CompliancesClient Uses

type CompliancesClient struct {
    BaseClient
}

CompliancesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewCompliancesClient Uses

func NewCompliancesClient(subscriptionID string, ascLocation string) CompliancesClient

NewCompliancesClient creates an instance of the CompliancesClient client.

func NewCompliancesClientWithBaseURI Uses

func NewCompliancesClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) CompliancesClient

NewCompliancesClientWithBaseURI creates an instance of the CompliancesClient client.

func (CompliancesClient) Get Uses

func (client CompliancesClient) Get(ctx context.Context, scope string, complianceName string) (result Compliance, err error)

Get details of a specific Compliance. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). complianceName - name of the Compliance

func (CompliancesClient) GetPreparer Uses

func (client CompliancesClient) GetPreparer(ctx context.Context, scope string, complianceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CompliancesClient) GetResponder Uses

func (client CompliancesClient) GetResponder(resp *http.Response) (result Compliance, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CompliancesClient) GetSender Uses

func (client CompliancesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CompliancesClient) List Uses

func (client CompliancesClient) List(ctx context.Context, scope string) (result ComplianceListPage, err error)

List the Compliance scores of the specific management group. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

func (CompliancesClient) ListComplete Uses

func (client CompliancesClient) ListComplete(ctx context.Context, scope string) (result ComplianceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (CompliancesClient) ListPreparer Uses

func (client CompliancesClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)

ListPreparer prepares the List request.

func (CompliancesClient) ListResponder Uses

func (client CompliancesClient) ListResponder(resp *http.Response) (result ComplianceList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (CompliancesClient) ListSender Uses

func (client CompliancesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ConfigurationStatus Uses

type ConfigurationStatus string

ConfigurationStatus enumerates the values for configuration status.

const (
    // Configured ...
    Configured ConfigurationStatus = "Configured"
    // Failed ...
    Failed ConfigurationStatus = "Failed"
    // InProgress ...
    InProgress ConfigurationStatus = "InProgress"
    // NoStatus ...
    NoStatus ConfigurationStatus = "NoStatus"
    // NotConfigured ...
    NotConfigured ConfigurationStatus = "NotConfigured"
)

func PossibleConfigurationStatusValues Uses

func PossibleConfigurationStatusValues() []ConfigurationStatus

PossibleConfigurationStatusValues returns an array of possible values for the ConfigurationStatus const type.

type ConfigurationStatus1 Uses

type ConfigurationStatus1 string

ConfigurationStatus1 enumerates the values for configuration status 1.

const (
    // ConfigurationStatus1Configured ...
    ConfigurationStatus1Configured ConfigurationStatus1 = "Configured"
    // ConfigurationStatus1Failed ...
    ConfigurationStatus1Failed ConfigurationStatus1 = "Failed"
    // ConfigurationStatus1InProgress ...
    ConfigurationStatus1InProgress ConfigurationStatus1 = "InProgress"
    // ConfigurationStatus1NoStatus ...
    ConfigurationStatus1NoStatus ConfigurationStatus1 = "NoStatus"
    // ConfigurationStatus1NotConfigured ...
    ConfigurationStatus1NotConfigured ConfigurationStatus1 = "NotConfigured"
)

func PossibleConfigurationStatus1Values Uses

func PossibleConfigurationStatus1Values() []ConfigurationStatus1

PossibleConfigurationStatus1Values returns an array of possible values for the ConfigurationStatus1 const type.

type ConfigurationStatus2 Uses

type ConfigurationStatus2 string

ConfigurationStatus2 enumerates the values for configuration status 2.

const (
    // ConfigurationStatus2Configured ...
    ConfigurationStatus2Configured ConfigurationStatus2 = "Configured"
    // ConfigurationStatus2Failed ...
    ConfigurationStatus2Failed ConfigurationStatus2 = "Failed"
    // ConfigurationStatus2InProgress ...
    ConfigurationStatus2InProgress ConfigurationStatus2 = "InProgress"
    // ConfigurationStatus2NoStatus ...
    ConfigurationStatus2NoStatus ConfigurationStatus2 = "NoStatus"
    // ConfigurationStatus2NotConfigured ...
    ConfigurationStatus2NotConfigured ConfigurationStatus2 = "NotConfigured"
)

func PossibleConfigurationStatus2Values Uses

func PossibleConfigurationStatus2Values() []ConfigurationStatus2

PossibleConfigurationStatus2Values returns an array of possible values for the ConfigurationStatus2 const type.

type ConnectableResource Uses

type ConnectableResource struct {
    // ID - READ-ONLY; The Azure resource id
    ID  *string `json:"id,omitempty"`
    // InboundConnectedResources - READ-ONLY; The list of Azure resources that the resource has inbound allowed connection from
    InboundConnectedResources *[]ConnectedResource `json:"inboundConnectedResources,omitempty"`
    // OutboundConnectedResources - READ-ONLY; The list of Azure resources that the resource has outbound allowed connection to
    OutboundConnectedResources *[]ConnectedResource `json:"outboundConnectedResources,omitempty"`
}

ConnectableResource describes the allowed inbound and outbound traffic of an Azure resource

type ConnectedResource Uses

type ConnectedResource struct {
    // ConnectedResourceID - READ-ONLY; The Azure resource id of the connected resource
    ConnectedResourceID *string `json:"connectedResourceId,omitempty"`
    // TCPPorts - READ-ONLY; The allowed tcp ports
    TCPPorts *string `json:"tcpPorts,omitempty"`
    // UDPPorts - READ-ONLY; The allowed udp ports
    UDPPorts *string `json:"udpPorts,omitempty"`
}

ConnectedResource describes properties of a connected resource

type ConnectedWorkspace Uses

type ConnectedWorkspace struct {
    // ID - Azure resource ID of the connected OMS workspace
    ID *string `json:"id,omitempty"`
}

ConnectedWorkspace ...

type ConnectionType Uses

type ConnectionType string

ConnectionType enumerates the values for connection type.

const (
    // External ...
    External ConnectionType = "External"
    // Internal ...
    Internal ConnectionType = "Internal"
)

func PossibleConnectionTypeValues Uses

func PossibleConnectionTypeValues() []ConnectionType

PossibleConnectionTypeValues returns an array of possible values for the ConnectionType const type.

type Contact Uses

type Contact struct {
    autorest.Response `json:"-"`
    // ContactProperties - Security contact data
    *ContactProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

Contact contact details for security issues

func (Contact) MarshalJSON Uses

func (c Contact) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Contact.

func (*Contact) UnmarshalJSON Uses

func (c *Contact) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Contact struct.

type ContactList Uses

type ContactList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of security contacts
    Value *[]Contact `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

ContactList list of security contacts response

func (ContactList) IsEmpty Uses

func (cl ContactList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ContactListIterator Uses

type ContactListIterator struct {
    // contains filtered or unexported fields
}

ContactListIterator provides access to a complete listing of Contact values.

func NewContactListIterator Uses

func NewContactListIterator(page ContactListPage) ContactListIterator

Creates a new instance of the ContactListIterator type.

func (*ContactListIterator) Next Uses

func (iter *ContactListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ContactListIterator) NextWithContext Uses

func (iter *ContactListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ContactListIterator) NotDone Uses

func (iter ContactListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ContactListIterator) Response Uses

func (iter ContactListIterator) Response() ContactList

Response returns the raw server response from the last page request.

func (ContactListIterator) Value Uses

func (iter ContactListIterator) Value() Contact

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ContactListPage Uses

type ContactListPage struct {
    // contains filtered or unexported fields
}

ContactListPage contains a page of Contact values.

func NewContactListPage Uses

func NewContactListPage(getNextPage func(context.Context, ContactList) (ContactList, error)) ContactListPage

Creates a new instance of the ContactListPage type.

func (*ContactListPage) Next Uses

func (page *ContactListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ContactListPage) NextWithContext Uses

func (page *ContactListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ContactListPage) NotDone Uses

func (page ContactListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ContactListPage) Response Uses

func (page ContactListPage) Response() ContactList

Response returns the raw server response from the last page request.

func (ContactListPage) Values Uses

func (page ContactListPage) Values() []Contact

Values returns the slice of values for the current page or nil if there are no values.

type ContactProperties Uses

type ContactProperties struct {
    // Email - The email of this security contact
    Email *string `json:"email,omitempty"`
    // Phone - The phone number of this security contact
    Phone *string `json:"phone,omitempty"`
    // AlertNotifications - Whether to send security alerts notifications to the security contact. Possible values include: 'On', 'Off'
    AlertNotifications AlertNotifications `json:"alertNotifications,omitempty"`
    // AlertsToAdmins - Whether to send security alerts notifications to subscription admins. Possible values include: 'AlertsToAdminsOn', 'AlertsToAdminsOff'
    AlertsToAdmins AlertsToAdmins `json:"alertsToAdmins,omitempty"`
}

ContactProperties describes security contact properties

type ContactsClient Uses

type ContactsClient struct {
    BaseClient
}

ContactsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewContactsClient Uses

func NewContactsClient(subscriptionID string, ascLocation string) ContactsClient

NewContactsClient creates an instance of the ContactsClient client.

func NewContactsClientWithBaseURI Uses

func NewContactsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) ContactsClient

NewContactsClientWithBaseURI creates an instance of the ContactsClient client.

func (ContactsClient) Create Uses

func (client ContactsClient) Create(ctx context.Context, securityContactName string, securityContact Contact) (result Contact, err error)

Create security contact configurations for the subscription Parameters: securityContactName - name of the security contact object securityContact - security contact object

func (ContactsClient) CreatePreparer Uses

func (client ContactsClient) CreatePreparer(ctx context.Context, securityContactName string, securityContact Contact) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ContactsClient) CreateResponder Uses

func (client ContactsClient) CreateResponder(resp *http.Response) (result Contact, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ContactsClient) CreateSender Uses

func (client ContactsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ContactsClient) Delete Uses

func (client ContactsClient) Delete(ctx context.Context, securityContactName string) (result autorest.Response, err error)

Delete security contact configurations for the subscription Parameters: securityContactName - name of the security contact object

func (ContactsClient) DeletePreparer Uses

func (client ContactsClient) DeletePreparer(ctx context.Context, securityContactName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ContactsClient) DeleteResponder Uses

func (client ContactsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ContactsClient) DeleteSender Uses

func (client ContactsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ContactsClient) Get Uses

func (client ContactsClient) Get(ctx context.Context, securityContactName string) (result Contact, err error)

Get security contact configurations for the subscription Parameters: securityContactName - name of the security contact object

func (ContactsClient) GetPreparer Uses

func (client ContactsClient) GetPreparer(ctx context.Context, securityContactName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ContactsClient) GetResponder Uses

func (client ContactsClient) GetResponder(resp *http.Response) (result Contact, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ContactsClient) GetSender Uses

func (client ContactsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ContactsClient) List Uses

func (client ContactsClient) List(ctx context.Context) (result ContactListPage, err error)

List security contact configurations for the subscription

func (ContactsClient) ListComplete Uses

func (client ContactsClient) ListComplete(ctx context.Context) (result ContactListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ContactsClient) ListPreparer Uses

func (client ContactsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ContactsClient) ListResponder Uses

func (client ContactsClient) ListResponder(resp *http.Response) (result ContactList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ContactsClient) ListSender Uses

func (client ContactsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ContactsClient) Update Uses

func (client ContactsClient) Update(ctx context.Context, securityContactName string, securityContact Contact) (result Contact, err error)

Update security contact configurations for the subscription Parameters: securityContactName - name of the security contact object securityContact - security contact object

func (ContactsClient) UpdatePreparer Uses

func (client ContactsClient) UpdatePreparer(ctx context.Context, securityContactName string, securityContact Contact) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ContactsClient) UpdateResponder Uses

func (client ContactsClient) UpdateResponder(resp *http.Response) (result Contact, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ContactsClient) UpdateSender Uses

func (client ContactsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DataExportSetting Uses

type DataExportSetting struct {
    // DataExportSettingProperties - Data export setting data
    *DataExportSettingProperties `json:"properties,omitempty"`
    // Kind - the kind of the settings string (DataExportSetting). Possible values include: 'SettingKindDataExportSetting', 'SettingKindAlertSuppressionSetting'
    Kind SettingKind `json:"kind,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

DataExportSetting represents a data export setting

func (DataExportSetting) MarshalJSON Uses

func (desVar DataExportSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataExportSetting.

func (*DataExportSetting) UnmarshalJSON Uses

func (desVar *DataExportSetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataExportSetting struct.

type DataExportSettingProperties Uses

type DataExportSettingProperties struct {
    // Enabled - Is the data export setting is enabled
    Enabled *bool `json:"enabled,omitempty"`
}

DataExportSettingProperties the data export setting properties

type DataSource Uses

type DataSource string

DataSource enumerates the values for data source.

const (
    // TwinData Devices twin data
    TwinData DataSource = "TwinData"
)

func PossibleDataSourceValues Uses

func PossibleDataSourceValues() []DataSource

PossibleDataSourceValues returns an array of possible values for the DataSource const type.

type DiscoveredSecuritySolution Uses

type DiscoveredSecuritySolution struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Location where the resource is stored
    Location                              *string `json:"location,omitempty"`
    *DiscoveredSecuritySolutionProperties `json:"properties,omitempty"`
}

DiscoveredSecuritySolution ...

func (DiscoveredSecuritySolution) MarshalJSON Uses

func (dss DiscoveredSecuritySolution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiscoveredSecuritySolution.

func (*DiscoveredSecuritySolution) UnmarshalJSON Uses

func (dss *DiscoveredSecuritySolution) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DiscoveredSecuritySolution struct.

type DiscoveredSecuritySolutionList Uses

type DiscoveredSecuritySolutionList struct {
    autorest.Response `json:"-"`
    Value             *[]DiscoveredSecuritySolution `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

DiscoveredSecuritySolutionList ...

func (DiscoveredSecuritySolutionList) IsEmpty Uses

func (dssl DiscoveredSecuritySolutionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DiscoveredSecuritySolutionListIterator Uses

type DiscoveredSecuritySolutionListIterator struct {
    // contains filtered or unexported fields
}

DiscoveredSecuritySolutionListIterator provides access to a complete listing of DiscoveredSecuritySolution values.

func NewDiscoveredSecuritySolutionListIterator Uses

func NewDiscoveredSecuritySolutionListIterator(page DiscoveredSecuritySolutionListPage) DiscoveredSecuritySolutionListIterator

Creates a new instance of the DiscoveredSecuritySolutionListIterator type.

func (*DiscoveredSecuritySolutionListIterator) Next Uses

func (iter *DiscoveredSecuritySolutionListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiscoveredSecuritySolutionListIterator) NextWithContext Uses

func (iter *DiscoveredSecuritySolutionListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DiscoveredSecuritySolutionListIterator) NotDone Uses

func (iter DiscoveredSecuritySolutionListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DiscoveredSecuritySolutionListIterator) Response Uses

func (iter DiscoveredSecuritySolutionListIterator) Response() DiscoveredSecuritySolutionList

Response returns the raw server response from the last page request.

func (DiscoveredSecuritySolutionListIterator) Value Uses

func (iter DiscoveredSecuritySolutionListIterator) Value() DiscoveredSecuritySolution

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DiscoveredSecuritySolutionListPage Uses

type DiscoveredSecuritySolutionListPage struct {
    // contains filtered or unexported fields
}

DiscoveredSecuritySolutionListPage contains a page of DiscoveredSecuritySolution values.

func NewDiscoveredSecuritySolutionListPage Uses

func NewDiscoveredSecuritySolutionListPage(getNextPage func(context.Context, DiscoveredSecuritySolutionList) (DiscoveredSecuritySolutionList, error)) DiscoveredSecuritySolutionListPage

Creates a new instance of the DiscoveredSecuritySolutionListPage type.

func (*DiscoveredSecuritySolutionListPage) Next Uses

func (page *DiscoveredSecuritySolutionListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiscoveredSecuritySolutionListPage) NextWithContext Uses

func (page *DiscoveredSecuritySolutionListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DiscoveredSecuritySolutionListPage) NotDone Uses

func (page DiscoveredSecuritySolutionListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DiscoveredSecuritySolutionListPage) Response Uses

func (page DiscoveredSecuritySolutionListPage) Response() DiscoveredSecuritySolutionList

Response returns the raw server response from the last page request.

func (DiscoveredSecuritySolutionListPage) Values Uses

func (page DiscoveredSecuritySolutionListPage) Values() []DiscoveredSecuritySolution

Values returns the slice of values for the current page or nil if there are no values.

type DiscoveredSecuritySolutionProperties Uses

type DiscoveredSecuritySolutionProperties struct {
    // SecurityFamily - The security family of the discovered solution. Possible values include: 'Waf', 'Ngfw', 'SaasWaf', 'Va'
    SecurityFamily Family `json:"securityFamily,omitempty"`
    // Offer - The security solutions' image offer
    Offer *string `json:"offer,omitempty"`
    // Publisher - The security solutions' image publisher
    Publisher *string `json:"publisher,omitempty"`
    // Sku - The security solutions' image sku
    Sku *string `json:"sku,omitempty"`
}

DiscoveredSecuritySolutionProperties ...

type DiscoveredSecuritySolutionsClient Uses

type DiscoveredSecuritySolutionsClient struct {
    BaseClient
}

DiscoveredSecuritySolutionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewDiscoveredSecuritySolutionsClient Uses

func NewDiscoveredSecuritySolutionsClient(subscriptionID string, ascLocation string) DiscoveredSecuritySolutionsClient

NewDiscoveredSecuritySolutionsClient creates an instance of the DiscoveredSecuritySolutionsClient client.

func NewDiscoveredSecuritySolutionsClientWithBaseURI Uses

func NewDiscoveredSecuritySolutionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) DiscoveredSecuritySolutionsClient

NewDiscoveredSecuritySolutionsClientWithBaseURI creates an instance of the DiscoveredSecuritySolutionsClient client.

func (DiscoveredSecuritySolutionsClient) Get Uses

func (client DiscoveredSecuritySolutionsClient) Get(ctx context.Context, resourceGroupName string, discoveredSecuritySolutionName string) (result DiscoveredSecuritySolution, err error)

Get gets a specific discovered Security Solution. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. discoveredSecuritySolutionName - name of a discovered security solution.

func (DiscoveredSecuritySolutionsClient) GetPreparer Uses

func (client DiscoveredSecuritySolutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, discoveredSecuritySolutionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DiscoveredSecuritySolutionsClient) GetResponder Uses

func (client DiscoveredSecuritySolutionsClient) GetResponder(resp *http.Response) (result DiscoveredSecuritySolution, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DiscoveredSecuritySolutionsClient) GetSender Uses

func (client DiscoveredSecuritySolutionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DiscoveredSecuritySolutionsClient) List Uses

func (client DiscoveredSecuritySolutionsClient) List(ctx context.Context) (result DiscoveredSecuritySolutionListPage, err error)

List gets a list of discovered Security Solutions for the subscription.

func (DiscoveredSecuritySolutionsClient) ListByHomeRegion Uses

func (client DiscoveredSecuritySolutionsClient) ListByHomeRegion(ctx context.Context) (result DiscoveredSecuritySolutionListPage, err error)

ListByHomeRegion gets a list of discovered Security Solutions for the subscription and location.

func (DiscoveredSecuritySolutionsClient) ListByHomeRegionComplete Uses

func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionComplete(ctx context.Context) (result DiscoveredSecuritySolutionListIterator, err error)

ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (DiscoveredSecuritySolutionsClient) ListByHomeRegionPreparer Uses

func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionPreparer(ctx context.Context) (*http.Request, error)

ListByHomeRegionPreparer prepares the ListByHomeRegion request.

func (DiscoveredSecuritySolutionsClient) ListByHomeRegionResponder Uses

func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionResponder(resp *http.Response) (result DiscoveredSecuritySolutionList, err error)

ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.

func (DiscoveredSecuritySolutionsClient) ListByHomeRegionSender Uses

func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)

ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.

func (DiscoveredSecuritySolutionsClient) ListComplete Uses

func (client DiscoveredSecuritySolutionsClient) ListComplete(ctx context.Context) (result DiscoveredSecuritySolutionListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DiscoveredSecuritySolutionsClient) ListPreparer Uses

func (client DiscoveredSecuritySolutionsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DiscoveredSecuritySolutionsClient) ListResponder Uses

func (client DiscoveredSecuritySolutionsClient) ListResponder(resp *http.Response) (result DiscoveredSecuritySolutionList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DiscoveredSecuritySolutionsClient) ListSender Uses

func (client DiscoveredSecuritySolutionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type EnforcementMode Uses

type EnforcementMode string

EnforcementMode enumerates the values for enforcement mode.

const (
    // Audit ...
    Audit EnforcementMode = "Audit"
    // Enforce ...
    Enforce EnforcementMode = "Enforce"
)

func PossibleEnforcementModeValues Uses

func PossibleEnforcementModeValues() []EnforcementMode

PossibleEnforcementModeValues returns an array of possible values for the EnforcementMode const type.

type EnforcementMode1 Uses

type EnforcementMode1 string

EnforcementMode1 enumerates the values for enforcement mode 1.

const (
    // EnforcementMode1Audit ...
    EnforcementMode1Audit EnforcementMode1 = "Audit"
    // EnforcementMode1Enforce ...
    EnforcementMode1Enforce EnforcementMode1 = "Enforce"
)

func PossibleEnforcementMode1Values Uses

func PossibleEnforcementMode1Values() []EnforcementMode1

PossibleEnforcementMode1Values returns an array of possible values for the EnforcementMode1 const type.

type ExportData Uses

type ExportData string

ExportData enumerates the values for export data.

const (
    // RawEvents Agent raw events
    RawEvents ExportData = "RawEvents"
)

func PossibleExportDataValues Uses

func PossibleExportDataValues() []ExportData

PossibleExportDataValues returns an array of possible values for the ExportData const type.

type ExternalSecuritySolution Uses

type ExternalSecuritySolution struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Location where the resource is stored
    Location *string `json:"location,omitempty"`
    // Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD'
    Kind KindEnum `json:"kind,omitempty"`
}

ExternalSecuritySolution represents a security solution external to Azure Security Center which sends information to an OMS workspace and whose data is displayed by Azure Security Center.

func (ExternalSecuritySolution) AsAadExternalSecuritySolution Uses

func (ess ExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)

AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.

func (ExternalSecuritySolution) AsAtaExternalSecuritySolution Uses

func (ess ExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)

AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.

func (ExternalSecuritySolution) AsBasicExternalSecuritySolution Uses

func (ess ExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)

AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.

func (ExternalSecuritySolution) AsCefExternalSecuritySolution Uses

func (ess ExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)

AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.

func (ExternalSecuritySolution) AsExternalSecuritySolution Uses

func (ess ExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)

AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.

func (ExternalSecuritySolution) MarshalJSON Uses

func (ess ExternalSecuritySolution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExternalSecuritySolution.

type ExternalSecuritySolutionKind Uses

type ExternalSecuritySolutionKind string

ExternalSecuritySolutionKind enumerates the values for external security solution kind.

const (
    // AAD ...
    AAD ExternalSecuritySolutionKind = "AAD"
    // ATA ...
    ATA ExternalSecuritySolutionKind = "ATA"
    // CEF ...
    CEF ExternalSecuritySolutionKind = "CEF"
)

func PossibleExternalSecuritySolutionKindValues Uses

func PossibleExternalSecuritySolutionKindValues() []ExternalSecuritySolutionKind

PossibleExternalSecuritySolutionKindValues returns an array of possible values for the ExternalSecuritySolutionKind const type.

type ExternalSecuritySolutionKind1 Uses

type ExternalSecuritySolutionKind1 struct {
    // Kind - The kind of the external solution. Possible values include: 'CEF', 'ATA', 'AAD'
    Kind ExternalSecuritySolutionKind `json:"kind,omitempty"`
}

ExternalSecuritySolutionKind1 describes an Azure resource with kind

type ExternalSecuritySolutionList Uses

type ExternalSecuritySolutionList struct {
    autorest.Response `json:"-"`
    Value             *[]BasicExternalSecuritySolution `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

ExternalSecuritySolutionList ...

func (ExternalSecuritySolutionList) IsEmpty Uses

func (essl ExternalSecuritySolutionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (*ExternalSecuritySolutionList) UnmarshalJSON Uses

func (essl *ExternalSecuritySolutionList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExternalSecuritySolutionList struct.

type ExternalSecuritySolutionListIterator Uses

type ExternalSecuritySolutionListIterator struct {
    // contains filtered or unexported fields
}

ExternalSecuritySolutionListIterator provides access to a complete listing of ExternalSecuritySolution values.

func NewExternalSecuritySolutionListIterator Uses

func NewExternalSecuritySolutionListIterator(page ExternalSecuritySolutionListPage) ExternalSecuritySolutionListIterator

Creates a new instance of the ExternalSecuritySolutionListIterator type.

func (*ExternalSecuritySolutionListIterator) Next Uses

func (iter *ExternalSecuritySolutionListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExternalSecuritySolutionListIterator) NextWithContext Uses

func (iter *ExternalSecuritySolutionListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExternalSecuritySolutionListIterator) NotDone Uses

func (iter ExternalSecuritySolutionListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExternalSecuritySolutionListIterator) Response Uses

func (iter ExternalSecuritySolutionListIterator) Response() ExternalSecuritySolutionList

Response returns the raw server response from the last page request.

func (ExternalSecuritySolutionListIterator) Value Uses

func (iter ExternalSecuritySolutionListIterator) Value() BasicExternalSecuritySolution

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExternalSecuritySolutionListPage Uses

type ExternalSecuritySolutionListPage struct {
    // contains filtered or unexported fields
}

ExternalSecuritySolutionListPage contains a page of BasicExternalSecuritySolution values.

func NewExternalSecuritySolutionListPage Uses

func NewExternalSecuritySolutionListPage(getNextPage func(context.Context, ExternalSecuritySolutionList) (ExternalSecuritySolutionList, error)) ExternalSecuritySolutionListPage

Creates a new instance of the ExternalSecuritySolutionListPage type.

func (*ExternalSecuritySolutionListPage) Next Uses

func (page *ExternalSecuritySolutionListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExternalSecuritySolutionListPage) NextWithContext Uses

func (page *ExternalSecuritySolutionListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExternalSecuritySolutionListPage) NotDone Uses

func (page ExternalSecuritySolutionListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExternalSecuritySolutionListPage) Response Uses

func (page ExternalSecuritySolutionListPage) Response() ExternalSecuritySolutionList

Response returns the raw server response from the last page request.

func (ExternalSecuritySolutionListPage) Values Uses

func (page ExternalSecuritySolutionListPage) Values() []BasicExternalSecuritySolution

Values returns the slice of values for the current page or nil if there are no values.

type ExternalSecuritySolutionModel Uses

type ExternalSecuritySolutionModel struct {
    autorest.Response `json:"-"`
    Value             BasicExternalSecuritySolution `json:"value,omitempty"`
}

ExternalSecuritySolutionModel ...

func (*ExternalSecuritySolutionModel) UnmarshalJSON Uses

func (essm *ExternalSecuritySolutionModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExternalSecuritySolutionModel struct.

type ExternalSecuritySolutionProperties Uses

type ExternalSecuritySolutionProperties struct {
    // AdditionalProperties - Unmatched properties from the message are deserialized this collection
    AdditionalProperties map[string]interface{} `json:""`
    DeviceVendor         *string                `json:"deviceVendor,omitempty"`
    DeviceType           *string                `json:"deviceType,omitempty"`
    Workspace            *ConnectedWorkspace    `json:"workspace,omitempty"`
}

ExternalSecuritySolutionProperties the solution properties (correspond to the solution kind)

func (ExternalSecuritySolutionProperties) MarshalJSON Uses

func (essp ExternalSecuritySolutionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExternalSecuritySolutionProperties.

func (*ExternalSecuritySolutionProperties) UnmarshalJSON Uses

func (essp *ExternalSecuritySolutionProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExternalSecuritySolutionProperties struct.

type ExternalSecuritySolutionsClient Uses

type ExternalSecuritySolutionsClient struct {
    BaseClient
}

ExternalSecuritySolutionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewExternalSecuritySolutionsClient Uses

func NewExternalSecuritySolutionsClient(subscriptionID string, ascLocation string) ExternalSecuritySolutionsClient

NewExternalSecuritySolutionsClient creates an instance of the ExternalSecuritySolutionsClient client.

func NewExternalSecuritySolutionsClientWithBaseURI Uses

func NewExternalSecuritySolutionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) ExternalSecuritySolutionsClient

NewExternalSecuritySolutionsClientWithBaseURI creates an instance of the ExternalSecuritySolutionsClient client.

func (ExternalSecuritySolutionsClient) Get Uses

func (client ExternalSecuritySolutionsClient) Get(ctx context.Context, resourceGroupName string, externalSecuritySolutionsName string) (result ExternalSecuritySolutionModel, err error)

Get gets a specific external Security Solution. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. externalSecuritySolutionsName - name of an external security solution.

func (ExternalSecuritySolutionsClient) GetPreparer Uses

func (client ExternalSecuritySolutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, externalSecuritySolutionsName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExternalSecuritySolutionsClient) GetResponder Uses

func (client ExternalSecuritySolutionsClient) GetResponder(resp *http.Response) (result ExternalSecuritySolutionModel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExternalSecuritySolutionsClient) GetSender Uses

func (client ExternalSecuritySolutionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExternalSecuritySolutionsClient) List Uses

func (client ExternalSecuritySolutionsClient) List(ctx context.Context) (result ExternalSecuritySolutionListPage, err error)

List gets a list of external security solutions for the subscription.

func (ExternalSecuritySolutionsClient) ListByHomeRegion Uses

func (client ExternalSecuritySolutionsClient) ListByHomeRegion(ctx context.Context) (result ExternalSecuritySolutionListPage, err error)

ListByHomeRegion gets a list of external Security Solutions for the subscription and location.

func (ExternalSecuritySolutionsClient) ListByHomeRegionComplete Uses

func (client ExternalSecuritySolutionsClient) ListByHomeRegionComplete(ctx context.Context) (result ExternalSecuritySolutionListIterator, err error)

ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.

func (ExternalSecuritySolutionsClient) ListByHomeRegionPreparer Uses

func (client ExternalSecuritySolutionsClient) ListByHomeRegionPreparer(ctx context.Context) (*http.Request, error)

ListByHomeRegionPreparer prepares the ListByHomeRegion request.

func (ExternalSecuritySolutionsClient) ListByHomeRegionResponder Uses

func (client ExternalSecuritySolutionsClient) ListByHomeRegionResponder(resp *http.Response) (result ExternalSecuritySolutionList, err error)

ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.

func (ExternalSecuritySolutionsClient) ListByHomeRegionSender Uses

func (client ExternalSecuritySolutionsClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)

ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.

func (ExternalSecuritySolutionsClient) ListComplete Uses

func (client ExternalSecuritySolutionsClient) ListComplete(ctx context.Context) (result ExternalSecuritySolutionListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExternalSecuritySolutionsClient) ListPreparer Uses

func (client ExternalSecuritySolutionsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ExternalSecuritySolutionsClient) ListResponder Uses

func (client ExternalSecuritySolutionsClient) ListResponder(resp *http.Response) (result ExternalSecuritySolutionList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExternalSecuritySolutionsClient) ListSender Uses

func (client ExternalSecuritySolutionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Family Uses

type Family string

Family enumerates the values for family.

const (
    // Ngfw ...
    Ngfw Family = "Ngfw"
    // SaasWaf ...
    SaasWaf Family = "SaasWaf"
    // Va ...
    Va  Family = "Va"
    // Waf ...
    Waf Family = "Waf"
)

func PossibleFamilyValues Uses

func PossibleFamilyValues() []Family

PossibleFamilyValues returns an array of possible values for the Family const type.

type FileType Uses

type FileType string

FileType enumerates the values for file type.

const (
    // Dll ...
    Dll FileType = "Dll"
    // Exe ...
    Exe FileType = "Exe"
    // Executable ...
    Executable FileType = "Executable"
    // Msi ...
    Msi FileType = "Msi"
    // Script ...
    Script FileType = "Script"
    // Unknown ...
    Unknown FileType = "Unknown"
)

func PossibleFileTypeValues Uses

func PossibleFileTypeValues() []FileType

PossibleFileTypeValues returns an array of possible values for the FileType const type.

type InformationProtectionKeyword Uses

type InformationProtectionKeyword struct {
    // Pattern - The keyword pattern.
    Pattern *string `json:"pattern,omitempty"`
    // Custom - Indicates whether the keyword is custom or not.
    Custom *bool `json:"custom,omitempty"`
    // CanBeNumeric - Indicates whether the keyword can be applied on numeric types or not.
    CanBeNumeric *bool `json:"canBeNumeric,omitempty"`
    // Excluded - Indicates whether the keyword is excluded or not.
    Excluded *bool `json:"excluded,omitempty"`
}

InformationProtectionKeyword the information type keyword.

type InformationProtectionPoliciesClient Uses

type InformationProtectionPoliciesClient struct {
    BaseClient
}

InformationProtectionPoliciesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewInformationProtectionPoliciesClient Uses

func NewInformationProtectionPoliciesClient(subscriptionID string, ascLocation string) InformationProtectionPoliciesClient

NewInformationProtectionPoliciesClient creates an instance of the InformationProtectionPoliciesClient client.

func NewInformationProtectionPoliciesClientWithBaseURI Uses

func NewInformationProtectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) InformationProtectionPoliciesClient

NewInformationProtectionPoliciesClientWithBaseURI creates an instance of the InformationProtectionPoliciesClient client.

func (InformationProtectionPoliciesClient) CreateOrUpdate Uses

func (client InformationProtectionPoliciesClient) CreateOrUpdate(ctx context.Context, scope string, informationProtectionPolicyName string) (result InformationProtectionPolicy, err error)

CreateOrUpdate details of the information protection policy. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). informationProtectionPolicyName - name of the information protection policy.

func (InformationProtectionPoliciesClient) CreateOrUpdatePreparer Uses

func (client InformationProtectionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, scope string, informationProtectionPolicyName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (InformationProtectionPoliciesClient) CreateOrUpdateResponder Uses

func (client InformationProtectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result InformationProtectionPolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (InformationProtectionPoliciesClient) CreateOrUpdateSender Uses

func (client InformationProtectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (InformationProtectionPoliciesClient) Get Uses

func (client InformationProtectionPoliciesClient) Get(ctx context.Context, scope string, informationProtectionPolicyName string) (result InformationProtectionPolicy, err error)

Get details of the information protection policy. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). informationProtectionPolicyName - name of the information protection policy.

func (InformationProtectionPoliciesClient) GetPreparer Uses

func (client InformationProtectionPoliciesClient) GetPreparer(ctx context.Context, scope string, informationProtectionPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (InformationProtectionPoliciesClient) GetResponder Uses

func (client InformationProtectionPoliciesClient) GetResponder(resp *http.Response) (result InformationProtectionPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (InformationProtectionPoliciesClient) GetSender Uses

func (client InformationProtectionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (InformationProtectionPoliciesClient) List Uses

func (client InformationProtectionPoliciesClient) List(ctx context.Context, scope string) (result InformationProtectionPolicyListPage, err error)

List information protection policies of a specific management group. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

func (InformationProtectionPoliciesClient) ListComplete Uses

func (client InformationProtectionPoliciesClient) ListComplete(ctx context.Context, scope string) (result InformationProtectionPolicyListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (InformationProtectionPoliciesClient) ListPreparer Uses

func (client InformationProtectionPoliciesClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)

ListPreparer prepares the List request.

func (InformationProtectionPoliciesClient) ListResponder Uses

func (client InformationProtectionPoliciesClient) ListResponder(resp *http.Response) (result InformationProtectionPolicyList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (InformationProtectionPoliciesClient) ListSender Uses

func (client InformationProtectionPoliciesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type InformationProtectionPolicy Uses

type InformationProtectionPolicy struct {
    autorest.Response `json:"-"`
    // InformationProtectionPolicyProperties - Information protection policy data
    *InformationProtectionPolicyProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

InformationProtectionPolicy information protection policy.

func (InformationProtectionPolicy) MarshalJSON Uses

func (ipp InformationProtectionPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InformationProtectionPolicy.

func (*InformationProtectionPolicy) UnmarshalJSON Uses

func (ipp *InformationProtectionPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InformationProtectionPolicy struct.

type InformationProtectionPolicyList Uses

type InformationProtectionPolicyList struct {
    autorest.Response `json:"-"`
    // Value - List of information protection policies.
    Value *[]InformationProtectionPolicy `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

InformationProtectionPolicyList information protection policies response.

func (InformationProtectionPolicyList) IsEmpty Uses

func (ippl InformationProtectionPolicyList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InformationProtectionPolicyListIterator Uses

type InformationProtectionPolicyListIterator struct {
    // contains filtered or unexported fields
}

InformationProtectionPolicyListIterator provides access to a complete listing of InformationProtectionPolicy values.

func NewInformationProtectionPolicyListIterator Uses

func NewInformationProtectionPolicyListIterator(page InformationProtectionPolicyListPage) InformationProtectionPolicyListIterator

Creates a new instance of the InformationProtectionPolicyListIterator type.

func (*InformationProtectionPolicyListIterator) Next Uses

func (iter *InformationProtectionPolicyListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InformationProtectionPolicyListIterator) NextWithContext Uses

func (iter *InformationProtectionPolicyListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (InformationProtectionPolicyListIterator) NotDone Uses

func (iter InformationProtectionPolicyListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (InformationProtectionPolicyListIterator) Response Uses

func (iter InformationProtectionPolicyListIterator) Response() InformationProtectionPolicyList

Response returns the raw server response from the last page request.

func (InformationProtectionPolicyListIterator) Value Uses

func (iter InformationProtectionPolicyListIterator) Value() InformationProtectionPolicy

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type InformationProtectionPolicyListPage Uses

type InformationProtectionPolicyListPage struct {
    // contains filtered or unexported fields
}

InformationProtectionPolicyListPage contains a page of InformationProtectionPolicy values.

func NewInformationProtectionPolicyListPage Uses

func NewInformationProtectionPolicyListPage(getNextPage func(context.Context, InformationProtectionPolicyList) (InformationProtectionPolicyList, error)) InformationProtectionPolicyListPage

Creates a new instance of the InformationProtectionPolicyListPage type.

func (*InformationProtectionPolicyListPage) Next Uses

func (page *InformationProtectionPolicyListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InformationProtectionPolicyListPage) NextWithContext Uses

func (page *InformationProtectionPolicyListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (InformationProtectionPolicyListPage) NotDone Uses

func (page InformationProtectionPolicyListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (InformationProtectionPolicyListPage) Response Uses

func (page InformationProtectionPolicyListPage) Response() InformationProtectionPolicyList

Response returns the raw server response from the last page request.

func (InformationProtectionPolicyListPage) Values Uses

func (page InformationProtectionPolicyListPage) Values() []InformationProtectionPolicy

Values returns the slice of values for the current page or nil if there are no values.

type InformationProtectionPolicyProperties Uses

type InformationProtectionPolicyProperties struct {
    // LastModifiedUtc - READ-ONLY; Describes the last UTC time the policy was modified.
    LastModifiedUtc *date.Time `json:"lastModifiedUtc,omitempty"`
    // Labels - Dictionary of sensitivity labels.
    Labels map[string]*SensitivityLabel `json:"labels"`
    // InformationTypes - The sensitivity information types.
    InformationTypes map[string]*InformationType `json:"informationTypes"`
}

InformationProtectionPolicyProperties describes properties of an information protection policy.

func (InformationProtectionPolicyProperties) MarshalJSON Uses

func (ippp InformationProtectionPolicyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InformationProtectionPolicyProperties.

type InformationType Uses

type InformationType struct {
    // DisplayName - The name of the information type.
    DisplayName *string `json:"displayName,omitempty"`
    // Order - The order of the information type.
    Order *float64 `json:"order,omitempty"`
    // RecommendedLabelID - The recommended label id to be associated with this information type.
    RecommendedLabelID *uuid.UUID `json:"recommendedLabelId,omitempty"`
    // Enabled - Indicates whether the information type is enabled or not.
    Enabled *bool `json:"enabled,omitempty"`
    // Custom - Indicates whether the information type is custom or not.
    Custom *bool `json:"custom,omitempty"`
    // Keywords - The information type keywords.
    Keywords *[]InformationProtectionKeyword `json:"keywords,omitempty"`
}

InformationType the information type.

type IoTSecurityAggregatedAlert Uses

type IoTSecurityAggregatedAlert struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // IoTSecurityAggregatedAlertProperties - Security Solution  Aggregated Alert data
    *IoTSecurityAggregatedAlertProperties `json:"properties,omitempty"`
}

IoTSecurityAggregatedAlert security Solution Aggregated Alert information

func (IoTSecurityAggregatedAlert) MarshalJSON Uses

func (itsaa IoTSecurityAggregatedAlert) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecurityAggregatedAlert.

func (*IoTSecurityAggregatedAlert) UnmarshalJSON Uses

func (itsaa *IoTSecurityAggregatedAlert) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IoTSecurityAggregatedAlert struct.

type IoTSecurityAggregatedAlertList Uses

type IoTSecurityAggregatedAlertList struct {
    autorest.Response `json:"-"`
    // Value - List of aggregated alerts data
    Value *[]IoTSecurityAggregatedAlert `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

IoTSecurityAggregatedAlertList list of IoT aggregated security alerts

func (IoTSecurityAggregatedAlertList) IsEmpty Uses

func (itsaal IoTSecurityAggregatedAlertList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type IoTSecurityAggregatedAlertListIterator Uses

type IoTSecurityAggregatedAlertListIterator struct {
    // contains filtered or unexported fields
}

IoTSecurityAggregatedAlertListIterator provides access to a complete listing of IoTSecurityAggregatedAlert values.

func NewIoTSecurityAggregatedAlertListIterator Uses

func NewIoTSecurityAggregatedAlertListIterator(page IoTSecurityAggregatedAlertListPage) IoTSecurityAggregatedAlertListIterator

Creates a new instance of the IoTSecurityAggregatedAlertListIterator type.

func (*IoTSecurityAggregatedAlertListIterator) Next Uses

func (iter *IoTSecurityAggregatedAlertListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecurityAggregatedAlertListIterator) NextWithContext Uses

func (iter *IoTSecurityAggregatedAlertListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (IoTSecurityAggregatedAlertListIterator) NotDone Uses

func (iter IoTSecurityAggregatedAlertListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (IoTSecurityAggregatedAlertListIterator) Response Uses

func (iter IoTSecurityAggregatedAlertListIterator) Response() IoTSecurityAggregatedAlertList

Response returns the raw server response from the last page request.

func (IoTSecurityAggregatedAlertListIterator) Value Uses

func (iter IoTSecurityAggregatedAlertListIterator) Value() IoTSecurityAggregatedAlert

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type IoTSecurityAggregatedAlertListPage Uses

type IoTSecurityAggregatedAlertListPage struct {
    // contains filtered or unexported fields
}

IoTSecurityAggregatedAlertListPage contains a page of IoTSecurityAggregatedAlert values.

func NewIoTSecurityAggregatedAlertListPage Uses

func NewIoTSecurityAggregatedAlertListPage(getNextPage func(context.Context, IoTSecurityAggregatedAlertList) (IoTSecurityAggregatedAlertList, error)) IoTSecurityAggregatedAlertListPage

Creates a new instance of the IoTSecurityAggregatedAlertListPage type.

func (*IoTSecurityAggregatedAlertListPage) Next Uses

func (page *IoTSecurityAggregatedAlertListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecurityAggregatedAlertListPage) NextWithContext Uses

func (page *IoTSecurityAggregatedAlertListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (IoTSecurityAggregatedAlertListPage) NotDone Uses

func (page IoTSecurityAggregatedAlertListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (IoTSecurityAggregatedAlertListPage) Response Uses

func (page IoTSecurityAggregatedAlertListPage) Response() IoTSecurityAggregatedAlertList

Response returns the raw server response from the last page request.

func (IoTSecurityAggregatedAlertListPage) Values Uses

func (page IoTSecurityAggregatedAlertListPage) Values() []IoTSecurityAggregatedAlert

Values returns the slice of values for the current page or nil if there are no values.

type IoTSecurityAggregatedAlertProperties Uses

type IoTSecurityAggregatedAlertProperties struct {
    // AlertType - READ-ONLY; Name of the alert type
    AlertType *string `json:"alertType,omitempty"`
    // AlertDisplayName - READ-ONLY; Display name of the alert type
    AlertDisplayName *string `json:"alertDisplayName,omitempty"`
    // AggregatedDateUtc - READ-ONLY; The date the incidents were detected by the vendor
    AggregatedDateUtc *date.Date `json:"aggregatedDateUtc,omitempty"`
    // VendorName - READ-ONLY; Name of the vendor that discovered the incident
    VendorName *string `json:"vendorName,omitempty"`
    // ReportedSeverity - READ-ONLY; Estimated severity of this alert. Possible values include: 'Informational', 'Low', 'Medium', 'High'
    ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"`
    // RemediationSteps - READ-ONLY; Recommended steps for remediation
    RemediationSteps *string `json:"remediationSteps,omitempty"`
    // Description - READ-ONLY; Description of the incident and what it means
    Description *string `json:"description,omitempty"`
    // Count - READ-ONLY; Occurrence number of the alert within the aggregated date
    Count *int32 `json:"count,omitempty"`
    // EffectedResourceType - READ-ONLY; Azure resource ID of the resource that got the alerts
    EffectedResourceType *string `json:"effectedResourceType,omitempty"`
    // SystemSource - READ-ONLY; The type of the alerted resource (Azure, Non-Azure)
    SystemSource *string `json:"systemSource,omitempty"`
    // ActionTaken - READ-ONLY; The action that was taken as a response to the alert (Active, Blocked etc.)
    ActionTaken *string `json:"actionTaken,omitempty"`
    // LogAnalyticsQuery - READ-ONLY; query in log analytics to get the list of affected devices/alerts
    LogAnalyticsQuery *string `json:"logAnalyticsQuery,omitempty"`
}

IoTSecurityAggregatedAlertProperties security Solution Aggregated Alert data

type IoTSecurityAggregatedRecommendation Uses

type IoTSecurityAggregatedRecommendation struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // IoTSecurityAggregatedRecommendationProperties - Security Solution data
    *IoTSecurityAggregatedRecommendationProperties `json:"properties,omitempty"`
}

IoTSecurityAggregatedRecommendation security Solution Recommendation Information

func (IoTSecurityAggregatedRecommendation) MarshalJSON Uses

func (itsar IoTSecurityAggregatedRecommendation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecurityAggregatedRecommendation.

func (*IoTSecurityAggregatedRecommendation) UnmarshalJSON Uses

func (itsar *IoTSecurityAggregatedRecommendation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IoTSecurityAggregatedRecommendation struct.

type IoTSecurityAggregatedRecommendationList Uses

type IoTSecurityAggregatedRecommendationList struct {
    autorest.Response `json:"-"`
    // Value - List of aggregated alerts data
    Value *[]IoTSecurityAggregatedRecommendation `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

IoTSecurityAggregatedRecommendationList list of IoT aggregated security recommendations

func (IoTSecurityAggregatedRecommendationList) IsEmpty Uses

func (itsarl IoTSecurityAggregatedRecommendationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type IoTSecurityAggregatedRecommendationListIterator Uses

type IoTSecurityAggregatedRecommendationListIterator struct {
    // contains filtered or unexported fields
}

IoTSecurityAggregatedRecommendationListIterator provides access to a complete listing of IoTSecurityAggregatedRecommendation values.

func NewIoTSecurityAggregatedRecommendationListIterator Uses

func NewIoTSecurityAggregatedRecommendationListIterator(page IoTSecurityAggregatedRecommendationListPage) IoTSecurityAggregatedRecommendationListIterator

Creates a new instance of the IoTSecurityAggregatedRecommendationListIterator type.

func (*IoTSecurityAggregatedRecommendationListIterator) Next Uses

func (iter *IoTSecurityAggregatedRecommendationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecurityAggregatedRecommendationListIterator) NextWithContext Uses

func (iter *IoTSecurityAggregatedRecommendationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (IoTSecurityAggregatedRecommendationListIterator) NotDone Uses

func (iter IoTSecurityAggregatedRecommendationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (IoTSecurityAggregatedRecommendationListIterator) Response Uses

func (iter IoTSecurityAggregatedRecommendationListIterator) Response() IoTSecurityAggregatedRecommendationList

Response returns the raw server response from the last page request.

func (IoTSecurityAggregatedRecommendationListIterator) Value Uses

func (iter IoTSecurityAggregatedRecommendationListIterator) Value() IoTSecurityAggregatedRecommendation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type IoTSecurityAggregatedRecommendationListPage Uses

type IoTSecurityAggregatedRecommendationListPage struct {
    // contains filtered or unexported fields
}

IoTSecurityAggregatedRecommendationListPage contains a page of IoTSecurityAggregatedRecommendation values.

func NewIoTSecurityAggregatedRecommendationListPage Uses

func NewIoTSecurityAggregatedRecommendationListPage(getNextPage func(context.Context, IoTSecurityAggregatedRecommendationList) (IoTSecurityAggregatedRecommendationList, error)) IoTSecurityAggregatedRecommendationListPage

Creates a new instance of the IoTSecurityAggregatedRecommendationListPage type.

func (*IoTSecurityAggregatedRecommendationListPage) Next Uses

func (page *IoTSecurityAggregatedRecommendationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecurityAggregatedRecommendationListPage) NextWithContext Uses

func (page *IoTSecurityAggregatedRecommendationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (IoTSecurityAggregatedRecommendationListPage) NotDone Uses

func (page IoTSecurityAggregatedRecommendationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (IoTSecurityAggregatedRecommendationListPage) Response Uses

func (page IoTSecurityAggregatedRecommendationListPage) Response() IoTSecurityAggregatedRecommendationList

Response returns the raw server response from the last page request.

func (IoTSecurityAggregatedRecommendationListPage) Values Uses

func (page IoTSecurityAggregatedRecommendationListPage) Values() []IoTSecurityAggregatedRecommendation

Values returns the slice of values for the current page or nil if there are no values.

type IoTSecurityAggregatedRecommendationProperties Uses

type IoTSecurityAggregatedRecommendationProperties struct {
    // RecommendationName - Name of the recommendation
    RecommendationName *string `json:"recommendationName,omitempty"`
    // RecommendationDisplayName - READ-ONLY; Display name of the recommendation type.
    RecommendationDisplayName *string `json:"recommendationDisplayName,omitempty"`
    // Description - READ-ONLY; Description of the incident and what it means
    Description *string `json:"description,omitempty"`
    // RecommendationTypeID - READ-ONLY; The recommendation-type GUID.
    RecommendationTypeID *string `json:"recommendationTypeId,omitempty"`
    // DetectedBy - READ-ONLY; Name of the vendor that discovered the issue
    DetectedBy *string `json:"detectedBy,omitempty"`
    // RemediationSteps - READ-ONLY; Recommended steps for remediation
    RemediationSteps *string `json:"remediationSteps,omitempty"`
    // ReportedSeverity - READ-ONLY; Estimated severity of this recommendation. Possible values include: 'Informational', 'Low', 'Medium', 'High'
    ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"`
    // HealthyDevices - READ-ONLY; the number of the healthy devices within the solution
    HealthyDevices *int32 `json:"healthyDevices,omitempty"`
    // UnhealthyDeviceCount - READ-ONLY; the number of the unhealthy devices within the solution
    UnhealthyDeviceCount *int32 `json:"unhealthyDeviceCount,omitempty"`
    // LogAnalyticsQuery - READ-ONLY; query in log analytics to get the list of affected devices/alerts
    LogAnalyticsQuery *string `json:"logAnalyticsQuery,omitempty"`
}

IoTSecurityAggregatedRecommendationProperties security Solution Recommendation Information

type IoTSecurityAlertedDevice Uses

type IoTSecurityAlertedDevice struct {
    // DeviceID - READ-ONLY; Name of the alert type
    DeviceID *string `json:"deviceId,omitempty"`
    // AlertsCount - READ-ONLY; the number of alerts raised for this device
    AlertsCount *int32 `json:"alertsCount,omitempty"`
}

IoTSecurityAlertedDevice statistic information about the number of alerts per device during the last period

type IoTSecurityAlertedDevicesList Uses

type IoTSecurityAlertedDevicesList struct {
    // Value - List of aggregated alerts data
    Value *[]IoTSecurityAlertedDevice `json:"value,omitempty"`
}

IoTSecurityAlertedDevicesList list of devices with the count of raised alerts

type IoTSecurityDeviceAlert Uses

type IoTSecurityDeviceAlert struct {
    // AlertDisplayName - READ-ONLY; Display name of the alert
    AlertDisplayName *string `json:"alertDisplayName,omitempty"`
    // ReportedSeverity - READ-ONLY; Estimated severity of this alert. Possible values include: 'Informational', 'Low', 'Medium', 'High'
    ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"`
    // AlertsCount - READ-ONLY; the number of alerts raised for this alert type
    AlertsCount *int32 `json:"alertsCount,omitempty"`
}

IoTSecurityDeviceAlert statistic information about the number of alerts per alert type during the last period

type IoTSecurityDeviceAlertsList Uses

type IoTSecurityDeviceAlertsList struct {
    // Value - List of top alerts data
    Value *[]IoTSecurityDeviceAlert `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

IoTSecurityDeviceAlertsList list of alerts with the count of raised alerts

type IoTSecurityDeviceRecommendation Uses

type IoTSecurityDeviceRecommendation struct {
    // RecommendationDisplayName - READ-ONLY; Display name of the recommendation
    RecommendationDisplayName *string `json:"recommendationDisplayName,omitempty"`
    // ReportedSeverity - READ-ONLY; Estimated severity of this recommendation. Possible values include: 'Informational', 'Low', 'Medium', 'High'
    ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"`
    // DevicesCount - READ-ONLY; the number of device with this recommendation
    DevicesCount *int32 `json:"devicesCount,omitempty"`
}

IoTSecurityDeviceRecommendation statistic information about the number of recommendations per recommendation type

type IoTSecurityDeviceRecommendationsList Uses

type IoTSecurityDeviceRecommendationsList struct {
    // Value - List of aggregated recommendation data
    Value *[]IoTSecurityDeviceRecommendation `json:"value,omitempty"`
}

IoTSecurityDeviceRecommendationsList list of recommendations with the count of devices

type IoTSecuritySolutionAnalyticsModel Uses

type IoTSecuritySolutionAnalyticsModel struct {
    autorest.Response `json:"-"`
    // IoTSecuritySolutionAnalyticsModelProperties - Security Solution  Aggregated Alert data
    *IoTSecuritySolutionAnalyticsModelProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

IoTSecuritySolutionAnalyticsModel security Analytics of a security solution

func (IoTSecuritySolutionAnalyticsModel) MarshalJSON Uses

func (itssam IoTSecuritySolutionAnalyticsModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecuritySolutionAnalyticsModel.

func (*IoTSecuritySolutionAnalyticsModel) UnmarshalJSON Uses

func (itssam *IoTSecuritySolutionAnalyticsModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IoTSecuritySolutionAnalyticsModel struct.

type IoTSecuritySolutionAnalyticsModelList Uses

type IoTSecuritySolutionAnalyticsModelList struct {
    autorest.Response `json:"-"`
    // Value - List of Security Analytics of a security solution
    Value *[]IoTSecuritySolutionAnalyticsModel `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

IoTSecuritySolutionAnalyticsModelList list of Security Analytics of a security solution

type IoTSecuritySolutionAnalyticsModelProperties Uses

type IoTSecuritySolutionAnalyticsModelProperties struct {
    // Metrics - READ-ONLY; Security Analytics of a security solution
    Metrics *IoTSeverityMetrics `json:"metrics,omitempty"`
    // UnhealthyDeviceCount - READ-ONLY; number of unhealthy devices
    UnhealthyDeviceCount *int32 `json:"unhealthyDeviceCount,omitempty"`
    // DevicesMetrics - READ-ONLY; The list of devices metrics by the aggregated date.
    DevicesMetrics *[]IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem `json:"devicesMetrics,omitempty"`
    // TopAlertedDevices - The list of top 3 devices with the most attacked.
    TopAlertedDevices *IoTSecurityAlertedDevicesList `json:"topAlertedDevices,omitempty"`
    // MostPrevalentDeviceAlerts - The list of most prevalent 3 alerts.
    MostPrevalentDeviceAlerts *IoTSecurityDeviceAlertsList `json:"mostPrevalentDeviceAlerts,omitempty"`
    // MostPrevalentDeviceRecommendations - The list of most prevalent 3 recommendations.
    MostPrevalentDeviceRecommendations *IoTSecurityDeviceRecommendationsList `json:"mostPrevalentDeviceRecommendations,omitempty"`
}

IoTSecuritySolutionAnalyticsModelProperties security Analytics of a security solution properties

type IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem Uses

type IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem struct {
    // Date - the date of the metrics
    Date *date.Time `json:"date,omitempty"`
    // DevicesMetrics - devices alerts count by severity.
    DevicesMetrics *IoTSeverityMetrics `json:"devicesMetrics,omitempty"`
}

IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem ...

type IoTSecuritySolutionModel Uses

type IoTSecuritySolutionModel struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // Location - The resource location.
    Location *string `json:"location,omitempty"`
    // IoTSecuritySolutionProperties - Security Solution data
    *IoTSecuritySolutionProperties `json:"properties,omitempty"`
}

IoTSecuritySolutionModel security Solution

func (IoTSecuritySolutionModel) MarshalJSON Uses

func (itssm IoTSecuritySolutionModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IoTSecuritySolutionModel.

func (*IoTSecuritySolutionModel) UnmarshalJSON Uses

func (itssm *IoTSecuritySolutionModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IoTSecuritySolutionModel struct.

type IoTSecuritySolutionProperties Uses

type IoTSecuritySolutionProperties struct {
    // Workspace - Workspace resource ID
    Workspace *string `json:"workspace,omitempty"`
    // DisplayName - Resource display name.
    DisplayName *string `json:"displayName,omitempty"`
    // Status - Security solution status. Possible values include: 'SolutionStatusEnabled', 'SolutionStatusDisabled'
    Status SolutionStatus `json:"status,omitempty"`
    // Export - List of additional export to workspace data options
    Export *[]ExportData `json:"export,omitempty"`
    // DisabledDataSources - Disabled data sources. Disabling these data sources compromises the system.
    DisabledDataSources *[]DataSource `json:"disabledDataSources,omitempty"`
    // IotHubs - IoT Hub resource IDs
    IotHubs              *[]string                       `json:"iotHubs,omitempty"`
    UserDefinedResources *UserDefinedResourcesProperties `json:"userDefinedResources,omitempty"`
    // AutoDiscoveredResources - READ-ONLY; List of resources that were automatically discovered as relevant to the security solution.
    AutoDiscoveredResources      *[]string                                `json:"autoDiscoveredResources,omitempty"`
    RecommendationsConfiguration *[]RecommendationConfigurationProperties `json:"recommendationsConfiguration,omitempty"`
}

IoTSecuritySolutionProperties security Solution setting data

type IoTSecuritySolutionsAnalyticsAggregatedAlertClient Uses

type IoTSecuritySolutionsAnalyticsAggregatedAlertClient struct {
    BaseClient
}

IoTSecuritySolutionsAnalyticsAggregatedAlertClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClient Uses

func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertClient

NewIoTSecuritySolutionsAnalyticsAggregatedAlertClient creates an instance of the IoTSecuritySolutionsAnalyticsAggregatedAlertClient client.

func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI Uses

func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertClient

NewIoTSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI creates an instance of the IoTSecuritySolutionsAnalyticsAggregatedAlertClient client.

func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) Dismiss Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) Dismiss(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (result autorest.Response, err error)

Dismiss security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name aggregatedAlertName - identifier of the aggregated alert

func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissPreparer Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissPreparer(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (*http.Request, error)

DismissPreparer prepares the Dismiss request.

func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissResponder Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissResponder(resp *http.Response) (result autorest.Response, err error)

DismissResponder handles the response to the Dismiss request. The method always closes the http.Response Body.

func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissSender Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissSender(req *http.Request) (*http.Response, error)

DismissSender sends the Dismiss request. The method will close the http.Response Body if it receives an error.

func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) Get Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) Get(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (result IoTSecurityAggregatedAlert, err error)

Get security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name aggregatedAlertName - identifier of the aggregated alert

func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetPreparer Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetResponder Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetResponder(resp *http.Response) (result IoTSecurityAggregatedAlert, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetSender Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type IoTSecuritySolutionsAnalyticsAggregatedAlertsClient Uses

type IoTSecuritySolutionsAnalyticsAggregatedAlertsClient struct {
    BaseClient
}

IoTSecuritySolutionsAnalyticsAggregatedAlertsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClient Uses

func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertsClient

NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClient creates an instance of the IoTSecuritySolutionsAnalyticsAggregatedAlertsClient client.

func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClientWithBaseURI Uses

func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertsClient

NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClientWithBaseURI creates an instance of the IoTSecuritySolutionsAnalyticsAggregatedAlertsClient client.

func (IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) List Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) List(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedAlertListPage, err error)

List security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name top - the number of results to retrieve.

func (IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListComplete Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListComplete(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedAlertListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListPreparer Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListPreparer(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListResponder Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListResponder(resp *http.Response) (result IoTSecurityAggregatedAlertList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListSender Uses

func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type IoTSecuritySolutionsAnalyticsClient Uses

type IoTSecuritySolutionsAnalyticsClient struct {
    BaseClient
}

IoTSecuritySolutionsAnalyticsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIoTSecuritySolutionsAnalyticsClient Uses

func NewIoTSecuritySolutionsAnalyticsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsClient

NewIoTSecuritySolutionsAnalyticsClient creates an instance of the IoTSecuritySolutionsAnalyticsClient client.

func NewIoTSecuritySolutionsAnalyticsClientWithBaseURI Uses

func NewIoTSecuritySolutionsAnalyticsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsClient

NewIoTSecuritySolutionsAnalyticsClientWithBaseURI creates an instance of the IoTSecuritySolutionsAnalyticsClient client.

func (IoTSecuritySolutionsAnalyticsClient) GetAll Uses

func (client IoTSecuritySolutionsAnalyticsClient) GetAll(ctx context.Context, resourceGroupName string, solutionName string) (result IoTSecuritySolutionAnalyticsModelList, err error)

GetAll security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name

func (IoTSecuritySolutionsAnalyticsClient) GetAllPreparer Uses

func (client IoTSecuritySolutionsAnalyticsClient) GetAllPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)

GetAllPreparer prepares the GetAll request.

func (IoTSecuritySolutionsAnalyticsClient) GetAllResponder Uses

func (client IoTSecuritySolutionsAnalyticsClient) GetAllResponder(resp *http.Response) (result IoTSecuritySolutionAnalyticsModelList, err error)

GetAllResponder handles the response to the GetAll request. The method always closes the http.Response Body.

func (IoTSecuritySolutionsAnalyticsClient) GetAllSender Uses

func (client IoTSecuritySolutionsAnalyticsClient) GetAllSender(req *http.Request) (*http.Response, error)

GetAllSender sends the GetAll request. The method will close the http.Response Body if it receives an error.

func (IoTSecuritySolutionsAnalyticsClient) GetDefault Uses

func (client IoTSecuritySolutionsAnalyticsClient) GetDefault(ctx context.Context, resourceGroupName string, solutionName string) (result IoTSecuritySolutionAnalyticsModel, err error)

GetDefault security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name

func (IoTSecuritySolutionsAnalyticsClient) GetDefaultPreparer Uses

func (client IoTSecuritySolutionsAnalyticsClient) GetDefaultPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)

GetDefaultPreparer prepares the GetDefault request.

func (IoTSecuritySolutionsAnalyticsClient) GetDefaultResponder Uses

func (client IoTSecuritySolutionsAnalyticsClient) GetDefaultResponder(resp *http.Response) (result IoTSecuritySolutionAnalyticsModel, err error)

GetDefaultResponder handles the response to the GetDefault request. The method always closes the http.Response Body.

func (IoTSecuritySolutionsAnalyticsClient) GetDefaultSender Uses

func (client IoTSecuritySolutionsAnalyticsClient) GetDefaultSender(req *http.Request) (*http.Response, error)

GetDefaultSender sends the GetDefault request. The method will close the http.Response Body if it receives an error.

type IoTSecuritySolutionsAnalyticsRecommendationClient Uses

type IoTSecuritySolutionsAnalyticsRecommendationClient struct {
    BaseClient
}

IoTSecuritySolutionsAnalyticsRecommendationClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIoTSecuritySolutionsAnalyticsRecommendationClient Uses

func NewIoTSecuritySolutionsAnalyticsRecommendationClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationClient

NewIoTSecuritySolutionsAnalyticsRecommendationClient creates an instance of the IoTSecuritySolutionsAnalyticsRecommendationClient client.

func NewIoTSecuritySolutionsAnalyticsRecommendationClientWithBaseURI Uses

func NewIoTSecuritySolutionsAnalyticsRecommendationClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationClient

NewIoTSecuritySolutionsAnalyticsRecommendationClientWithBaseURI creates an instance of the IoTSecuritySolutionsAnalyticsRecommendationClient client.

func (IoTSecuritySolutionsAnalyticsRecommendationClient) Get Uses

func (client IoTSecuritySolutionsAnalyticsRecommendationClient) Get(ctx context.Context, resourceGroupName string, solutionName string, aggregatedRecommendationName string) (result IoTSecurityAggregatedRecommendation, err error)

Get security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name aggregatedRecommendationName - identifier of the aggregated recommendation

func (IoTSecuritySolutionsAnalyticsRecommendationClient) GetPreparer Uses

func (client IoTSecuritySolutionsAnalyticsRecommendationClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string, aggregatedRecommendationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IoTSecuritySolutionsAnalyticsRecommendationClient) GetResponder Uses

func (client IoTSecuritySolutionsAnalyticsRecommendationClient) GetResponder(resp *http.Response) (result IoTSecurityAggregatedRecommendation, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (IoTSecuritySolutionsAnalyticsRecommendationClient) GetSender Uses

func (client IoTSecuritySolutionsAnalyticsRecommendationClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type IoTSecuritySolutionsAnalyticsRecommendationsClient Uses

type IoTSecuritySolutionsAnalyticsRecommendationsClient struct {
    BaseClient
}

IoTSecuritySolutionsAnalyticsRecommendationsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIoTSecuritySolutionsAnalyticsRecommendationsClient Uses

func NewIoTSecuritySolutionsAnalyticsRecommendationsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationsClient

NewIoTSecuritySolutionsAnalyticsRecommendationsClient creates an instance of the IoTSecuritySolutionsAnalyticsRecommendationsClient client.

func NewIoTSecuritySolutionsAnalyticsRecommendationsClientWithBaseURI Uses

func NewIoTSecuritySolutionsAnalyticsRecommendationsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationsClient

NewIoTSecuritySolutionsAnalyticsRecommendationsClientWithBaseURI creates an instance of the IoTSecuritySolutionsAnalyticsRecommendationsClient client.

func (IoTSecuritySolutionsAnalyticsRecommendationsClient) List Uses

func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) List(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedRecommendationListPage, err error)

List security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name top - the number of results to retrieve.

func (IoTSecuritySolutionsAnalyticsRecommendationsClient) ListComplete Uses

func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListComplete(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedRecommendationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (IoTSecuritySolutionsAnalyticsRecommendationsClient) ListPreparer Uses

func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListPreparer(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (IoTSecuritySolutionsAnalyticsRecommendationsClient) ListResponder Uses

func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListResponder(resp *http.Response) (result IoTSecurityAggregatedRecommendationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (IoTSecuritySolutionsAnalyticsRecommendationsClient) ListSender Uses

func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type IoTSecuritySolutionsClient Uses

type IoTSecuritySolutionsClient struct {
    BaseClient
}

IoTSecuritySolutionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIoTSecuritySolutionsClient Uses

func NewIoTSecuritySolutionsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsClient

NewIoTSecuritySolutionsClient creates an instance of the IoTSecuritySolutionsClient client.

func NewIoTSecuritySolutionsClientWithBaseURI Uses

func NewIoTSecuritySolutionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsClient

NewIoTSecuritySolutionsClientWithBaseURI creates an instance of the IoTSecuritySolutionsClient client.

func (IoTSecuritySolutionsClient) List Uses

func (client IoTSecuritySolutionsClient) List(ctx context.Context, filter string) (result IoTSecuritySolutionsListPage, err error)

List list of security solutions Parameters: filter - filter the Security Solution with OData syntax. supporting filter by iotHubs

func (IoTSecuritySolutionsClient) ListComplete Uses

func (client IoTSecuritySolutionsClient) ListComplete(ctx context.Context, filter string) (result IoTSecuritySolutionsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (IoTSecuritySolutionsClient) ListPreparer Uses

func (client IoTSecuritySolutionsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (IoTSecuritySolutionsClient) ListResponder Uses

func (client IoTSecuritySolutionsClient) ListResponder(resp *http.Response) (result IoTSecuritySolutionsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (IoTSecuritySolutionsClient) ListSender Uses

func (client IoTSecuritySolutionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type IoTSecuritySolutionsList Uses

type IoTSecuritySolutionsList struct {
    autorest.Response `json:"-"`
    // Value - List of security solutions
    Value *[]IoTSecuritySolutionModel `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

IoTSecuritySolutionsList list of iot solutions

func (IoTSecuritySolutionsList) IsEmpty Uses

func (itssl IoTSecuritySolutionsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type IoTSecuritySolutionsListIterator Uses

type IoTSecuritySolutionsListIterator struct {
    // contains filtered or unexported fields
}

IoTSecuritySolutionsListIterator provides access to a complete listing of IoTSecuritySolutionModel values.

func NewIoTSecuritySolutionsListIterator Uses

func NewIoTSecuritySolutionsListIterator(page IoTSecuritySolutionsListPage) IoTSecuritySolutionsListIterator

Creates a new instance of the IoTSecuritySolutionsListIterator type.

func (*IoTSecuritySolutionsListIterator) Next Uses

func (iter *IoTSecuritySolutionsListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecuritySolutionsListIterator) NextWithContext Uses

func (iter *IoTSecuritySolutionsListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (IoTSecuritySolutionsListIterator) NotDone Uses

func (iter IoTSecuritySolutionsListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (IoTSecuritySolutionsListIterator) Response Uses

func (iter IoTSecuritySolutionsListIterator) Response() IoTSecuritySolutionsList

Response returns the raw server response from the last page request.

func (IoTSecuritySolutionsListIterator) Value Uses

func (iter IoTSecuritySolutionsListIterator) Value() IoTSecuritySolutionModel

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type IoTSecuritySolutionsListPage Uses

type IoTSecuritySolutionsListPage struct {
    // contains filtered or unexported fields
}

IoTSecuritySolutionsListPage contains a page of IoTSecuritySolutionModel values.

func NewIoTSecuritySolutionsListPage Uses

func NewIoTSecuritySolutionsListPage(getNextPage func(context.Context, IoTSecuritySolutionsList) (IoTSecuritySolutionsList, error)) IoTSecuritySolutionsListPage

Creates a new instance of the IoTSecuritySolutionsListPage type.

func (*IoTSecuritySolutionsListPage) Next Uses

func (page *IoTSecuritySolutionsListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*IoTSecuritySolutionsListPage) NextWithContext Uses

func (page *IoTSecuritySolutionsListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (IoTSecuritySolutionsListPage) NotDone Uses

func (page IoTSecuritySolutionsListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (IoTSecuritySolutionsListPage) Response Uses

func (page IoTSecuritySolutionsListPage) Response() IoTSecuritySolutionsList

Response returns the raw server response from the last page request.

func (IoTSecuritySolutionsListPage) Values Uses

func (page IoTSecuritySolutionsListPage) Values() []IoTSecuritySolutionModel

Values returns the slice of values for the current page or nil if there are no values.

type IoTSecuritySolutionsResourceGroupClient Uses

type IoTSecuritySolutionsResourceGroupClient struct {
    BaseClient
}

IoTSecuritySolutionsResourceGroupClient is the API spec for Microsoft.Security (Azure Security Center) resource provider

func NewIoTSecuritySolutionsResourceGroupClient Uses

func NewIoTSecuritySolutionsResourceGroupClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsResourceGroupClient

NewIoTSecuritySolutionsResourceGroupClient creates an instance of the IoTSecuritySolutionsResourceGroupClient client.

func NewIoTSecuritySolutionsResourceGroupClientWithBaseURI Uses

func NewIoTSecuritySolutionsResourceGroupClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsResourceGroupClient

NewIoTSecuritySolutionsResourceGroupClientWithBaseURI creates an instance of the IoTSecuritySolutionsResourceGroupClient client.

func (IoTSecuritySolutionsResourceGroupClient) List Uses

func (client IoTSecuritySolutionsResourceGroupClient) List(ctx context.Context, resourceGroupName string, filter string) (result IoTSecuritySolutionsListPage, err error)

List list of security solutions Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. filter - filter the Security Solution with OData syntax. supporting filter by iotHubs

func (IoTSecuritySolutionsResourceGroupClient) ListComplete Uses

func (client IoTSecuritySolutionsResourceGroupClient) ListComplete(ctx context.Context, resourceGroupName string, filter string) (result IoTSecuritySolutionsListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (IoTSecuritySolutionsResourceGroupClient) ListPreparer Uses

func (client IoTSecuritySolutionsResourceGroupClient) ListPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (IoTSecuritySolutionsResourceGroupClient) ListResponder Uses

func (client IoTSecuritySolutionsResourceGroupClient) ListResponder(resp *http.Response) (result IoTSecuritySolutionsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (IoTSecuritySolutionsResourceGroupClient) ListSender Uses

func (client IoTSecuritySolutionsResourceGroupClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type