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 adaptivenetworkhardenings.go advancedthreatprotection.go alerts.go allowedconnections.go assessments.go assessmentsmetadata.go automations.go autoprovisioningsettings.go client.go complianceresults.go compliances.go contacts.go devicesecuritygroups.go discoveredsecuritysolutions.go externalsecuritysolutions.go informationprotectionpolicies.go iotsecuritysolution.go iotsecuritysolutionanalytics.go iotsecuritysolutionsanalyticsaggregatedalert.go iotsecuritysolutionsanalyticsrecommendation.go jitnetworkaccesspolicies.go locations.go models.go operations.go pricings.go regulatorycomplianceassessments.go regulatorycompliancecontrols.go regulatorycompliancestandards.go servervulnerabilityassessment.go settings.go subassessments.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 ActionType Uses

type ActionType string

ActionType enumerates the values for action type.

const (
    // ActionTypeAutomationAction ...
    ActionTypeAutomationAction ActionType = "AutomationAction"
    // ActionTypeEventHub ...
    ActionTypeEventHub ActionType = "EventHub"
    // ActionTypeLogicApp ...
    ActionTypeLogicApp ActionType = "LogicApp"
    // ActionTypeWorkspace ...
    ActionTypeWorkspace ActionType = "Workspace"
)

func PossibleActionTypeValues Uses

func PossibleActionTypeValues() []ActionType

PossibleActionTypeValues returns an array of possible values for the ActionType const type.

type ActiveConnectionsNotInAllowedRange Uses

type ActiveConnectionsNotInAllowedRange struct {
    // TimeWindowSize - The time window size in iso8601 format.
    TimeWindowSize *string `json:"timeWindowSize,omitempty"`
    // MinThreshold - The minimum threshold.
    MinThreshold *int32 `json:"minThreshold,omitempty"`
    // MaxThreshold - The maximum threshold.
    MaxThreshold *int32 `json:"maxThreshold,omitempty"`
    // DisplayName - READ-ONLY; The display name of the custom alert.
    DisplayName *string `json:"displayName,omitempty"`
    // Description - READ-ONLY; The description of the custom alert.
    Description *string `json:"description,omitempty"`
    // IsEnabled - Status of the custom alert.
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
    RuleType RuleType `json:"ruleType,omitempty"`
}

ActiveConnectionsNotInAllowedRange number of active connections is not in allowed range.

func (ActiveConnectionsNotInAllowedRange) AsActiveConnectionsNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsAllowlistCustomAlertRule Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsBasicAllowlistCustomAlertRule Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsBasicCustomAlertRule Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsBasicListCustomAlertRule Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsBasicThresholdCustomAlertRule Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsBasicTimeWindowCustomAlertRule Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsConnectionToIPNotAllowed Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsCustomAlertRule Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsDenylistCustomAlertRule Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsFileUploadsNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsListCustomAlertRule Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsLocalUserNotAllowed Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsProcessNotAllowed Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsQueuePurgesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsThresholdCustomAlertRule Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsTimeWindowCustomAlertRule Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsTwinUpdatesNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange Uses

func (acniar ActiveConnectionsNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for ActiveConnectionsNotInAllowedRange.

func (ActiveConnectionsNotInAllowedRange) MarshalJSON Uses

func (acniar ActiveConnectionsNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ActiveConnectionsNotInAllowedRange.

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AdaptiveApplicationControlsClient) Delete Uses

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

Delete delete an application control VM/server group Parameters: groupName - name of an application control VM/server group

func (AdaptiveApplicationControlsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (AdaptiveApplicationControlsClient) DeleteResponder Uses

func (client AdaptiveApplicationControlsClient) 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 (AdaptiveApplicationControlsClient) DeleteSender Uses

func (client AdaptiveApplicationControlsClient) 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 (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 AppWhitelistingGroup) (result AppWhitelistingGroup, err error)

Put update an application control VM/server group Parameters: groupName - name of an application control VM/server group

func (AdaptiveApplicationControlsClient) PutPreparer Uses

func (client AdaptiveApplicationControlsClient) PutPreparer(ctx context.Context, groupName string, body AppWhitelistingGroup) (*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 AdaptiveNetworkHardening Uses

type AdaptiveNetworkHardening struct {
    autorest.Response `json:"-"`
    // AdaptiveNetworkHardeningProperties - Properties of the Adaptive Network Hardening resource
    *AdaptiveNetworkHardeningProperties `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"`
}

AdaptiveNetworkHardening the resource whose properties describes the Adaptive Network Hardening settings for some Azure resource

func (AdaptiveNetworkHardening) MarshalJSON Uses

func (anh AdaptiveNetworkHardening) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdaptiveNetworkHardening.

func (*AdaptiveNetworkHardening) UnmarshalJSON Uses

func (anh *AdaptiveNetworkHardening) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AdaptiveNetworkHardening struct.

type AdaptiveNetworkHardeningEnforceRequest Uses

type AdaptiveNetworkHardeningEnforceRequest struct {
    // Rules - The rules to enforce
    Rules *[]Rule `json:"rules,omitempty"`
    // NetworkSecurityGroups - The Azure resource IDs of the effective network security groups that will be updated with the created security rules from the Adaptive Network Hardening rules
    NetworkSecurityGroups *[]string `json:"networkSecurityGroups,omitempty"`
}

AdaptiveNetworkHardeningEnforceRequest ...

type AdaptiveNetworkHardeningProperties Uses

type AdaptiveNetworkHardeningProperties struct {
    // Rules - The security rules which are recommended to be effective on the VM
    Rules *[]Rule `json:"rules,omitempty"`
    // RulesCalculationTime - The UTC time on which the rules were calculated
    RulesCalculationTime *date.Time `json:"rulesCalculationTime,omitempty"`
    // EffectiveNetworkSecurityGroups - The Network Security Groups effective on the network interfaces of the protected resource
    EffectiveNetworkSecurityGroups *[]EffectiveNetworkSecurityGroups `json:"effectiveNetworkSecurityGroups,omitempty"`
}

AdaptiveNetworkHardeningProperties adaptive Network Hardening resource properties

type AdaptiveNetworkHardeningsClient Uses

type AdaptiveNetworkHardeningsClient struct {
    BaseClient
}

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

func NewAdaptiveNetworkHardeningsClient Uses

func NewAdaptiveNetworkHardeningsClient(subscriptionID string, ascLocation string) AdaptiveNetworkHardeningsClient

NewAdaptiveNetworkHardeningsClient creates an instance of the AdaptiveNetworkHardeningsClient client.

func NewAdaptiveNetworkHardeningsClientWithBaseURI Uses

func NewAdaptiveNetworkHardeningsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AdaptiveNetworkHardeningsClient

NewAdaptiveNetworkHardeningsClientWithBaseURI creates an instance of the AdaptiveNetworkHardeningsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AdaptiveNetworkHardeningsClient) Enforce Uses

func (client AdaptiveNetworkHardeningsClient) Enforce(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, adaptiveNetworkHardeningResourceName string, body AdaptiveNetworkHardeningEnforceRequest) (result AdaptiveNetworkHardeningsEnforceFuture, err error)

Enforce enforces the given rules on the NSG(s) listed in the request Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the Namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource. adaptiveNetworkHardeningResourceName - the name of the Adaptive Network Hardening resource.

func (AdaptiveNetworkHardeningsClient) EnforcePreparer Uses

func (client AdaptiveNetworkHardeningsClient) EnforcePreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, adaptiveNetworkHardeningResourceName string, body AdaptiveNetworkHardeningEnforceRequest) (*http.Request, error)

EnforcePreparer prepares the Enforce request.

func (AdaptiveNetworkHardeningsClient) EnforceResponder Uses

func (client AdaptiveNetworkHardeningsClient) EnforceResponder(resp *http.Response) (result autorest.Response, err error)

EnforceResponder handles the response to the Enforce request. The method always closes the http.Response Body.

func (AdaptiveNetworkHardeningsClient) EnforceSender Uses

func (client AdaptiveNetworkHardeningsClient) EnforceSender(req *http.Request) (future AdaptiveNetworkHardeningsEnforceFuture, err error)

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

func (AdaptiveNetworkHardeningsClient) Get Uses

func (client AdaptiveNetworkHardeningsClient) Get(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, adaptiveNetworkHardeningResourceName string) (result AdaptiveNetworkHardening, err error)

Get gets a single Adaptive Network Hardening resource Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the Namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource. adaptiveNetworkHardeningResourceName - the name of the Adaptive Network Hardening resource.

func (AdaptiveNetworkHardeningsClient) GetPreparer Uses

func (client AdaptiveNetworkHardeningsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string, adaptiveNetworkHardeningResourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AdaptiveNetworkHardeningsClient) GetResponder Uses

func (client AdaptiveNetworkHardeningsClient) GetResponder(resp *http.Response) (result AdaptiveNetworkHardening, err error)

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

func (AdaptiveNetworkHardeningsClient) GetSender Uses

func (client AdaptiveNetworkHardeningsClient) 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 (AdaptiveNetworkHardeningsClient) ListByExtendedResource Uses

func (client AdaptiveNetworkHardeningsClient) ListByExtendedResource(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result AdaptiveNetworkHardeningsListPage, err error)

ListByExtendedResource gets a list of Adaptive Network Hardenings resources in scope of an extended resource. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. resourceNamespace - the Namespace of the resource. resourceType - the type of the resource. resourceName - name of the resource.

func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete Uses

func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (result AdaptiveNetworkHardeningsListIterator, err error)

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

func (AdaptiveNetworkHardeningsClient) ListByExtendedResourcePreparer Uses

func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourcePreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, resourceType string, resourceName string) (*http.Request, error)

ListByExtendedResourcePreparer prepares the ListByExtendedResource request.

func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceResponder Uses

func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourceResponder(resp *http.Response) (result AdaptiveNetworkHardeningsList, err error)

ListByExtendedResourceResponder handles the response to the ListByExtendedResource request. The method always closes the http.Response Body.

func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceSender Uses

func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourceSender(req *http.Request) (*http.Response, error)

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

type AdaptiveNetworkHardeningsEnforceFuture Uses

type AdaptiveNetworkHardeningsEnforceFuture struct {
    azure.Future
}

AdaptiveNetworkHardeningsEnforceFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AdaptiveNetworkHardeningsEnforceFuture) Result Uses

func (future *AdaptiveNetworkHardeningsEnforceFuture) Result(client AdaptiveNetworkHardeningsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AdaptiveNetworkHardeningsList Uses

type AdaptiveNetworkHardeningsList struct {
    autorest.Response `json:"-"`
    // Value - A list of Adaptive Network Hardenings resources
    Value *[]AdaptiveNetworkHardening `json:"value,omitempty"`
    // NextLink - The URL to get the next set of results
    NextLink *string `json:"nextLink,omitempty"`
}

AdaptiveNetworkHardeningsList response for ListAdaptiveNetworkHardenings API service call

func (AdaptiveNetworkHardeningsList) IsEmpty Uses

func (anhl AdaptiveNetworkHardeningsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AdaptiveNetworkHardeningsListIterator Uses

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

AdaptiveNetworkHardeningsListIterator provides access to a complete listing of AdaptiveNetworkHardening values.

func NewAdaptiveNetworkHardeningsListIterator Uses

func NewAdaptiveNetworkHardeningsListIterator(page AdaptiveNetworkHardeningsListPage) AdaptiveNetworkHardeningsListIterator

Creates a new instance of the AdaptiveNetworkHardeningsListIterator type.

func (*AdaptiveNetworkHardeningsListIterator) Next Uses

func (iter *AdaptiveNetworkHardeningsListIterator) 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 (*AdaptiveNetworkHardeningsListIterator) NextWithContext Uses

func (iter *AdaptiveNetworkHardeningsListIterator) 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 (AdaptiveNetworkHardeningsListIterator) NotDone Uses

func (iter AdaptiveNetworkHardeningsListIterator) NotDone() bool

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

func (AdaptiveNetworkHardeningsListIterator) Response Uses

func (iter AdaptiveNetworkHardeningsListIterator) Response() AdaptiveNetworkHardeningsList

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

func (AdaptiveNetworkHardeningsListIterator) Value Uses

func (iter AdaptiveNetworkHardeningsListIterator) Value() AdaptiveNetworkHardening

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

type AdaptiveNetworkHardeningsListPage Uses

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

AdaptiveNetworkHardeningsListPage contains a page of AdaptiveNetworkHardening values.

func NewAdaptiveNetworkHardeningsListPage Uses

func NewAdaptiveNetworkHardeningsListPage(getNextPage func(context.Context, AdaptiveNetworkHardeningsList) (AdaptiveNetworkHardeningsList, error)) AdaptiveNetworkHardeningsListPage

Creates a new instance of the AdaptiveNetworkHardeningsListPage type.

func (*AdaptiveNetworkHardeningsListPage) Next Uses

func (page *AdaptiveNetworkHardeningsListPage) 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 (*AdaptiveNetworkHardeningsListPage) NextWithContext Uses

func (page *AdaptiveNetworkHardeningsListPage) 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 (AdaptiveNetworkHardeningsListPage) NotDone Uses

func (page AdaptiveNetworkHardeningsListPage) NotDone() bool

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

func (AdaptiveNetworkHardeningsListPage) Response Uses

func (page AdaptiveNetworkHardeningsListPage) Response() AdaptiveNetworkHardeningsList

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

func (AdaptiveNetworkHardeningsListPage) Values Uses

func (page AdaptiveNetworkHardeningsListPage) Values() []AdaptiveNetworkHardening

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

type AdditionalData Uses

type AdditionalData struct {
    // AssessedResourceType - Possible values include: 'AssessedResourceTypeAdditionalData', 'AssessedResourceTypeSQLServerVulnerability', 'AssessedResourceTypeContainerRegistryVulnerability', 'AssessedResourceTypeServerVulnerabilityAssessment'
    AssessedResourceType AssessedResourceType `json:"assessedResourceType,omitempty"`
}

AdditionalData details of the sub-assessment

func (AdditionalData) AsAdditionalData Uses

func (ad AdditionalData) AsAdditionalData() (*AdditionalData, bool)

AsAdditionalData is the BasicAdditionalData implementation for AdditionalData.

func (AdditionalData) AsBasicAdditionalData Uses

func (ad AdditionalData) AsBasicAdditionalData() (BasicAdditionalData, bool)

AsBasicAdditionalData is the BasicAdditionalData implementation for AdditionalData.

func (AdditionalData) AsContainerRegistryVulnerabilityProperties Uses

func (ad AdditionalData) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)

AsContainerRegistryVulnerabilityProperties is the BasicAdditionalData implementation for AdditionalData.

func (AdditionalData) AsSQLServerVulnerabilityProperties Uses

func (ad AdditionalData) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)

AsSQLServerVulnerabilityProperties is the BasicAdditionalData implementation for AdditionalData.

func (AdditionalData) AsServerVulnerabilityProperties Uses

func (ad AdditionalData) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)

AsServerVulnerabilityProperties is the BasicAdditionalData implementation for AdditionalData.

func (AdditionalData) MarshalJSON Uses

func (ad AdditionalData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdditionalData.

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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: 'ReportedSeverityInformational', 'ReportedSeverityLow', 'ReportedSeverityMedium', 'ReportedSeverityHigh'
    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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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) UpdateResourceGroupLevelAlertStateToDismiss Uses

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

UpdateResourceGroupLevelAlertStateToDismiss update the alert's state 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) UpdateResourceGroupLevelAlertStateToDismissPreparer Uses

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

UpdateResourceGroupLevelAlertStateToDismissPreparer prepares the UpdateResourceGroupLevelAlertStateToDismiss request.

func (AlertsClient) UpdateResourceGroupLevelAlertStateToDismissResponder Uses

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

UpdateResourceGroupLevelAlertStateToDismissResponder handles the response to the UpdateResourceGroupLevelAlertStateToDismiss request. The method always closes the http.Response Body.

func (AlertsClient) UpdateResourceGroupLevelAlertStateToDismissSender Uses

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

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

func (AlertsClient) UpdateResourceGroupLevelAlertStateToReactivate Uses

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

UpdateResourceGroupLevelAlertStateToReactivate update the alert's state 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) UpdateResourceGroupLevelAlertStateToReactivatePreparer Uses

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

UpdateResourceGroupLevelAlertStateToReactivatePreparer prepares the UpdateResourceGroupLevelAlertStateToReactivate request.

func (AlertsClient) UpdateResourceGroupLevelAlertStateToReactivateResponder Uses

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

UpdateResourceGroupLevelAlertStateToReactivateResponder handles the response to the UpdateResourceGroupLevelAlertStateToReactivate request. The method always closes the http.Response Body.

func (AlertsClient) UpdateResourceGroupLevelAlertStateToReactivateSender Uses

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

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

func (AlertsClient) UpdateSubscriptionLevelAlertStateToDismiss Uses

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

UpdateSubscriptionLevelAlertStateToDismiss update the alert's state Parameters: alertName - name of the alert object

func (AlertsClient) UpdateSubscriptionLevelAlertStateToDismissPreparer Uses

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

UpdateSubscriptionLevelAlertStateToDismissPreparer prepares the UpdateSubscriptionLevelAlertStateToDismiss request.

func (AlertsClient) UpdateSubscriptionLevelAlertStateToDismissResponder Uses

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

UpdateSubscriptionLevelAlertStateToDismissResponder handles the response to the UpdateSubscriptionLevelAlertStateToDismiss request. The method always closes the http.Response Body.

func (AlertsClient) UpdateSubscriptionLevelAlertStateToDismissSender Uses

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

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

func (AlertsClient) UpdateSubscriptionLevelAlertStateToReactivate Uses

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

UpdateSubscriptionLevelAlertStateToReactivate update the alert's state Parameters: alertName - name of the alert object

func (AlertsClient) UpdateSubscriptionLevelAlertStateToReactivatePreparer Uses

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

UpdateSubscriptionLevelAlertStateToReactivatePreparer prepares the UpdateSubscriptionLevelAlertStateToReactivate request.

func (AlertsClient) UpdateSubscriptionLevelAlertStateToReactivateResponder Uses

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

UpdateSubscriptionLevelAlertStateToReactivateResponder handles the response to the UpdateSubscriptionLevelAlertStateToReactivate request. The method always closes the http.Response Body.

func (AlertsClient) UpdateSubscriptionLevelAlertStateToReactivateSender Uses

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

UpdateSubscriptionLevelAlertStateToReactivateSender sends the UpdateSubscriptionLevelAlertStateToReactivate 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

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 AllowlistCustomAlertRule Uses

type AllowlistCustomAlertRule struct {
    // AllowlistValues - The values to allow. The format of the values depends on the rule type.
    AllowlistValues *[]string `json:"allowlistValues,omitempty"`
    // ValueType - READ-ONLY; The value type of the items in the list. Possible values include: 'ValueTypeIPCidr', 'ValueTypeString'
    ValueType ValueType `json:"valueType,omitempty"`
    // DisplayName - READ-ONLY; The display name of the custom alert.
    DisplayName *string `json:"displayName,omitempty"`
    // Description - READ-ONLY; The description of the custom alert.
    Description *string `json:"description,omitempty"`
    // IsEnabled - Status of the custom alert.
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
    RuleType RuleType `json:"ruleType,omitempty"`
}

AllowlistCustomAlertRule a custom alert rule that checks if a value (depends on the custom alert type) is allowed.

func (AllowlistCustomAlertRule) AsActiveConnectionsNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsAllowlistCustomAlertRule Uses

func (acar AllowlistCustomAlertRule) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsBasicAllowlistCustomAlertRule Uses

func (acar AllowlistCustomAlertRule) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsBasicCustomAlertRule Uses

func (acar AllowlistCustomAlertRule) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsBasicListCustomAlertRule Uses

func (acar AllowlistCustomAlertRule) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsBasicThresholdCustomAlertRule Uses

func (acar AllowlistCustomAlertRule) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsBasicTimeWindowCustomAlertRule Uses

func (acar AllowlistCustomAlertRule) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsConnectionToIPNotAllowed Uses

func (acar AllowlistCustomAlertRule) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsCustomAlertRule Uses

func (acar AllowlistCustomAlertRule) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsDenylistCustomAlertRule Uses

func (acar AllowlistCustomAlertRule) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsFileUploadsNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsListCustomAlertRule Uses

func (acar AllowlistCustomAlertRule) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsLocalUserNotAllowed Uses

func (acar AllowlistCustomAlertRule) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsProcessNotAllowed Uses

func (acar AllowlistCustomAlertRule) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsQueuePurgesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsThresholdCustomAlertRule Uses

func (acar AllowlistCustomAlertRule) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsTimeWindowCustomAlertRule Uses

func (acar AllowlistCustomAlertRule) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsTwinUpdatesNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange Uses

func (acar AllowlistCustomAlertRule) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for AllowlistCustomAlertRule.

func (AllowlistCustomAlertRule) MarshalJSON Uses

func (acar AllowlistCustomAlertRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AllowlistCustomAlertRule.

type AmqpC2DMessagesNotInAllowedRange Uses

type AmqpC2DMessagesNotInAllowedRange struct {
    // TimeWindowSize - The time window size in iso8601 format.
    TimeWindowSize *string `json:"timeWindowSize,omitempty"`
    // MinThreshold - The minimum threshold.
    MinThreshold *int32 `json:"minThreshold,omitempty"`
    // MaxThreshold - The maximum threshold.
    MaxThreshold *int32 `json:"maxThreshold,omitempty"`
    // DisplayName - READ-ONLY; The display name of the custom alert.
    DisplayName *string `json:"displayName,omitempty"`
    // Description - READ-ONLY; The description of the custom alert.
    Description *string `json:"description,omitempty"`
    // IsEnabled - Status of the custom alert.
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
    RuleType RuleType `json:"ruleType,omitempty"`
}

AmqpC2DMessagesNotInAllowedRange number of cloud to device messages (AMQP protocol) is not in allowed range.

func (AmqpC2DMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsAllowlistCustomAlertRule Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsBasicCustomAlertRule Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsBasicListCustomAlertRule Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsConnectionToIPNotAllowed Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsCustomAlertRule Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsDenylistCustomAlertRule Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsListCustomAlertRule Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsLocalUserNotAllowed Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsProcessNotAllowed Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsThresholdCustomAlertRule Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DMessagesNotInAllowedRange.

func (AmqpC2DMessagesNotInAllowedRange) MarshalJSON Uses

func (acmniar AmqpC2DMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AmqpC2DMessagesNotInAllowedRange.

type AmqpC2DRejectedMessagesNotInAllowedRange Uses

type AmqpC2DRejectedMessagesNotInAllowedRange struct {
    // TimeWindowSize - The time window size in iso8601 format.
    TimeWindowSize *string `json:"timeWindowSize,omitempty"`
    // MinThreshold - The minimum threshold.
    MinThreshold *int32 `json:"minThreshold,omitempty"`
    // MaxThreshold - The maximum threshold.
    MaxThreshold *int32 `json:"maxThreshold,omitempty"`
    // DisplayName - READ-ONLY; The display name of the custom alert.
    DisplayName *string `json:"displayName,omitempty"`
    // Description - READ-ONLY; The description of the custom alert.
    Description *string `json:"description,omitempty"`
    // IsEnabled - Status of the custom alert.
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
    RuleType RuleType `json:"ruleType,omitempty"`
}

AmqpC2DRejectedMessagesNotInAllowedRange number of rejected cloud to device messages (AMQP protocol) is not in allowed range.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsAllowlistCustomAlertRule Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicCustomAlertRule Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicListCustomAlertRule Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsConnectionToIPNotAllowed Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsCustomAlertRule Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsDenylistCustomAlertRule Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsListCustomAlertRule Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsLocalUserNotAllowed Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsProcessNotAllowed Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsThresholdCustomAlertRule Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpC2DRejectedMessagesNotInAllowedRange.

func (AmqpC2DRejectedMessagesNotInAllowedRange) MarshalJSON Uses

func (acrmniar AmqpC2DRejectedMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AmqpC2DRejectedMessagesNotInAllowedRange.

type AmqpD2CMessagesNotInAllowedRange Uses

type AmqpD2CMessagesNotInAllowedRange struct {
    // TimeWindowSize - The time window size in iso8601 format.
    TimeWindowSize *string `json:"timeWindowSize,omitempty"`
    // MinThreshold - The minimum threshold.
    MinThreshold *int32 `json:"minThreshold,omitempty"`
    // MaxThreshold - The maximum threshold.
    MaxThreshold *int32 `json:"maxThreshold,omitempty"`
    // DisplayName - READ-ONLY; The display name of the custom alert.
    DisplayName *string `json:"displayName,omitempty"`
    // Description - READ-ONLY; The description of the custom alert.
    Description *string `json:"description,omitempty"`
    // IsEnabled - Status of the custom alert.
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // RuleType - Possible values include: 'RuleTypeCustomAlertRule', 'RuleTypeThresholdCustomAlertRule', 'RuleTypeTimeWindowCustomAlertRule', 'RuleTypeAllowlistCustomAlertRule', 'RuleTypeDenylistCustomAlertRule', 'RuleTypeListCustomAlertRule', 'RuleTypeConnectionToIPNotAllowed', 'RuleTypeLocalUserNotAllowed', 'RuleTypeProcessNotAllowed', 'RuleTypeActiveConnectionsNotInAllowedRange', 'RuleTypeAmqpC2DMessagesNotInAllowedRange', 'RuleTypeMqttC2DMessagesNotInAllowedRange', 'RuleTypeHTTPC2DMessagesNotInAllowedRange', 'RuleTypeAmqpC2DRejectedMessagesNotInAllowedRange', 'RuleTypeMqttC2DRejectedMessagesNotInAllowedRange', 'RuleTypeHTTPC2DRejectedMessagesNotInAllowedRange', 'RuleTypeAmqpD2CMessagesNotInAllowedRange', 'RuleTypeMqttD2CMessagesNotInAllowedRange', 'RuleTypeHTTPD2CMessagesNotInAllowedRange', 'RuleTypeDirectMethodInvokesNotInAllowedRange', 'RuleTypeFailedLocalLoginsNotInAllowedRange', 'RuleTypeFileUploadsNotInAllowedRange', 'RuleTypeQueuePurgesNotInAllowedRange', 'RuleTypeTwinUpdatesNotInAllowedRange', 'RuleTypeUnauthorizedOperationsNotInAllowedRange'
    RuleType RuleType `json:"ruleType,omitempty"`
}

AmqpD2CMessagesNotInAllowedRange number of device to cloud messages (AMQP protocol) is not in allowed range.

func (AmqpD2CMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsActiveConnectionsNotInAllowedRange() (*ActiveConnectionsNotInAllowedRange, bool)

AsActiveConnectionsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsAllowlistCustomAlertRule Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsAllowlistCustomAlertRule() (*AllowlistCustomAlertRule, bool)

AsAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsAmqpC2DMessagesNotInAllowedRange() (*AmqpC2DMessagesNotInAllowedRange, bool)

AsAmqpC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsAmqpC2DRejectedMessagesNotInAllowedRange() (*AmqpC2DRejectedMessagesNotInAllowedRange, bool)

AsAmqpC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsAmqpD2CMessagesNotInAllowedRange() (*AmqpD2CMessagesNotInAllowedRange, bool)

AsAmqpD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsBasicAllowlistCustomAlertRule() (BasicAllowlistCustomAlertRule, bool)

AsBasicAllowlistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsBasicCustomAlertRule Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsBasicCustomAlertRule() (BasicCustomAlertRule, bool)

AsBasicCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsBasicListCustomAlertRule Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsBasicListCustomAlertRule() (BasicListCustomAlertRule, bool)

AsBasicListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsBasicThresholdCustomAlertRule() (BasicThresholdCustomAlertRule, bool)

AsBasicThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsBasicTimeWindowCustomAlertRule() (BasicTimeWindowCustomAlertRule, bool)

AsBasicTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsConnectionToIPNotAllowed Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsConnectionToIPNotAllowed() (*ConnectionToIPNotAllowed, bool)

AsConnectionToIPNotAllowed is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsCustomAlertRule Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsCustomAlertRule() (*CustomAlertRule, bool)

AsCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsDenylistCustomAlertRule Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsDenylistCustomAlertRule() (*DenylistCustomAlertRule, bool)

AsDenylistCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsDirectMethodInvokesNotInAllowedRange() (*DirectMethodInvokesNotInAllowedRange, bool)

AsDirectMethodInvokesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsFailedLocalLoginsNotInAllowedRange() (*FailedLocalLoginsNotInAllowedRange, bool)

AsFailedLocalLoginsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsFileUploadsNotInAllowedRange() (*FileUploadsNotInAllowedRange, bool)

AsFileUploadsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsHTTPC2DMessagesNotInAllowedRange() (*HTTPC2DMessagesNotInAllowedRange, bool)

AsHTTPC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsHTTPC2DRejectedMessagesNotInAllowedRange() (*HTTPC2DRejectedMessagesNotInAllowedRange, bool)

AsHTTPC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsHTTPD2CMessagesNotInAllowedRange() (*HTTPD2CMessagesNotInAllowedRange, bool)

AsHTTPD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsListCustomAlertRule Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsListCustomAlertRule() (*ListCustomAlertRule, bool)

AsListCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsLocalUserNotAllowed Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsLocalUserNotAllowed() (*LocalUserNotAllowed, bool)

AsLocalUserNotAllowed is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsMqttC2DMessagesNotInAllowedRange() (*MqttC2DMessagesNotInAllowedRange, bool)

AsMqttC2DMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsMqttC2DRejectedMessagesNotInAllowedRange() (*MqttC2DRejectedMessagesNotInAllowedRange, bool)

AsMqttC2DRejectedMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsMqttD2CMessagesNotInAllowedRange() (*MqttD2CMessagesNotInAllowedRange, bool)

AsMqttD2CMessagesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsProcessNotAllowed Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsProcessNotAllowed() (*ProcessNotAllowed, bool)

AsProcessNotAllowed is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsQueuePurgesNotInAllowedRange() (*QueuePurgesNotInAllowedRange, bool)

AsQueuePurgesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsThresholdCustomAlertRule Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsThresholdCustomAlertRule() (*ThresholdCustomAlertRule, bool)

AsThresholdCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsTimeWindowCustomAlertRule() (*TimeWindowCustomAlertRule, bool)

AsTimeWindowCustomAlertRule is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsTwinUpdatesNotInAllowedRange() (*TwinUpdatesNotInAllowedRange, bool)

AsTwinUpdatesNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) AsUnauthorizedOperationsNotInAllowedRange() (*UnauthorizedOperationsNotInAllowedRange, bool)

AsUnauthorizedOperationsNotInAllowedRange is the BasicCustomAlertRule implementation for AmqpD2CMessagesNotInAllowedRange.

func (AmqpD2CMessagesNotInAllowedRange) MarshalJSON Uses

func (admniar AmqpD2CMessagesNotInAllowedRange) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AmqpD2CMessagesNotInAllowedRange.

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', 'None'
    EnforcementMode EnforcementMode `json:"enforcementMode,omitempty"`
    ProtectionMode  *ProtectionMode `json:"protectionMode,omitempty"`
    // ConfigurationStatus - READ-ONLY; Possible values include: 'ConfigurationStatus2Configured', 'ConfigurationStatus2NotConfigured', 'ConfigurationStatus2InProgress', 'ConfigurationStatus2Failed', 'ConfigurationStatus2NoStatus'
    ConfigurationStatus ConfigurationStatus2 `json:"configurationStatus,omitempty"`
    // RecommendationStatus - READ-ONLY; Possible values include: 'RecommendationStatusRecommended', 'RecommendationStatusNotRecommended', 'RecommendationStatusNotAvailable', 'RecommendationStatusNoStatus'
    RecommendationStatus RecommendationStatus `json:"recommendationStatus,omitempty"`
    // Issues - READ-ONLY
    Issues *[]AppWhitelistingIssueSummary `json:"issues,omitempty"`
    // SourceSystem - READ-ONLY; Possible values include: 'SourceSystemAzureAppLocker', 'SourceSystemAzureAuditD', 'SourceSystemNonAzureAppLocker', 'SourceSystemNonAzureAuditD', 'SourceSystemNone'
    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 to be allowed running on a machine

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 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 AssessedResourceType Uses

type AssessedResourceType string

AssessedResourceType enumerates the values for assessed resource type.

const (
    // AssessedResourceTypeAdditionalData ...
    AssessedResourceTypeAdditionalData AssessedResourceType = "AdditionalData"
    // AssessedResourceTypeContainerRegistryVulnerability ...
    AssessedResourceTypeContainerRegistryVulnerability AssessedResourceType = "ContainerRegistryVulnerability"
    // AssessedResourceTypeServerVulnerabilityAssessment ...
    AssessedResourceTypeServerVulnerabilityAssessment AssessedResourceType = "ServerVulnerabilityAssessment"
    // AssessedResourceTypeSQLServerVulnerability ...
    AssessedResourceTypeSQLServerVulnerability AssessedResourceType = "SqlServerVulnerability"
)

func PossibleAssessedResourceTypeValues Uses

func PossibleAssessedResourceTypeValues() []AssessedResourceType

PossibleAssessedResourceTypeValues returns an array of possible values for the AssessedResourceType const type.

type Assessment Uses

type Assessment struct {
    autorest.Response     `json:"-"`
    *AssessmentProperties `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"`
}

Assessment security assessment on a resource

func (Assessment) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Assessment.

func (*Assessment) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Assessment struct.

type AssessmentLinks struct {
    // AzurePortalURI - READ-ONLY; Link to assessment in Azure Portal
    AzurePortalURI *string `json:"azurePortalUri,omitempty"`
}

AssessmentLinks links relevant to the assessment

type AssessmentList Uses

type AssessmentList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Collection of security assessments in this page
    Value *[]Assessment `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URI to fetch the next page.
    NextLink *string `json:"nextLink,omitempty"`
}

AssessmentList page of a security assessments list

func (AssessmentList) IsEmpty Uses

func (al AssessmentList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AssessmentListIterator Uses

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

AssessmentListIterator provides access to a complete listing of Assessment values.

func NewAssessmentListIterator Uses

func NewAssessmentListIterator(page AssessmentListPage) AssessmentListIterator

Creates a new instance of the AssessmentListIterator type.

func (*AssessmentListIterator) Next Uses

func (iter *AssessmentListIterator) 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 (*AssessmentListIterator) NextWithContext Uses

func (iter *AssessmentListIterator) 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 (AssessmentListIterator) NotDone Uses

func (iter AssessmentListIterator) NotDone() bool

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

func (AssessmentListIterator) Response Uses

func (iter AssessmentListIterator) Response() AssessmentList

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

func (AssessmentListIterator) Value Uses

func (iter AssessmentListIterator) Value() Assessment

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

type AssessmentListPage Uses

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

AssessmentListPage contains a page of Assessment values.

func NewAssessmentListPage Uses

func NewAssessmentListPage(getNextPage func(context.Context, AssessmentList) (AssessmentList, error)) AssessmentListPage

Creates a new instance of the AssessmentListPage type.

func (*AssessmentListPage) Next Uses

func (page *AssessmentListPage) 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 (*AssessmentListPage) NextWithContext Uses

func (page *AssessmentListPage) 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 (AssessmentListPage) NotDone Uses

func (page AssessmentListPage) NotDone() bool

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

func (AssessmentListPage) Response Uses

func (page AssessmentListPage) Response() AssessmentList

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

func (AssessmentListPage) Values Uses

func (page AssessmentListPage) Values() []Assessment

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

type AssessmentMetadata Uses

type AssessmentMetadata struct {
    autorest.Response             `json:"-"`
    *AssessmentMetadataProperties `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"`
}

AssessmentMetadata security assessment metadata

func (AssessmentMetadata) MarshalJSON Uses

func (am AssessmentMetadata) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentMetadata.

func (*AssessmentMetadata) UnmarshalJSON Uses

func (am *AssessmentMetadata) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AssessmentMetadata struct.

type AssessmentMetadataList Uses

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

AssessmentMetadataList list of security assessment metadata

func (AssessmentMetadataList) IsEmpty Uses

func (aml AssessmentMetadataList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AssessmentMetadataListIterator Uses

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

AssessmentMetadataListIterator provides access to a complete listing of AssessmentMetadata values.

func NewAssessmentMetadataListIterator Uses

func NewAssessmentMetadataListIterator(page AssessmentMetadataListPage) AssessmentMetadataListIterator

Creates a new instance of the AssessmentMetadataListIterator type.

func (*AssessmentMetadataListIterator) Next Uses

func (iter *AssessmentMetadataListIterator) 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 (*AssessmentMetadataListIterator) NextWithContext Uses

func (iter *AssessmentMetadataListIterator) 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 (AssessmentMetadataListIterator) NotDone Uses

func (iter AssessmentMetadataListIterator) NotDone() bool

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

func (AssessmentMetadataListIterator) Response Uses

func (iter AssessmentMetadataListIterator) Response() AssessmentMetadataList

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

func (AssessmentMetadataListIterator) Value Uses

func (iter AssessmentMetadataListIterator) Value() AssessmentMetadata

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

type AssessmentMetadataListPage Uses

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

AssessmentMetadataListPage contains a page of AssessmentMetadata values.

func NewAssessmentMetadataListPage Uses

func NewAssessmentMetadataListPage(getNextPage func(context.Context, AssessmentMetadataList) (AssessmentMetadataList, error)) AssessmentMetadataListPage

Creates a new instance of the AssessmentMetadataListPage type.

func (*AssessmentMetadataListPage) Next Uses

func (page *AssessmentMetadataListPage) 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 (*AssessmentMetadataListPage) NextWithContext Uses

func (page *AssessmentMetadataListPage) 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 (AssessmentMetadataListPage) NotDone Uses

func (page AssessmentMetadataListPage) NotDone() bool

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

func (AssessmentMetadataListPage) Response Uses

func (page AssessmentMetadataListPage) Response() AssessmentMetadataList

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

func (AssessmentMetadataListPage) Values Uses

func (page AssessmentMetadataListPage) Values() []AssessmentMetadata

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

type AssessmentMetadataPartnerData Uses

type AssessmentMetadataPartnerData struct {
    // PartnerName - Name of the company of the partner
    PartnerName *string `json:"partnerName,omitempty"`
    // ProductName - Name of the product of the partner that created the assessment
    ProductName *string `json:"productName,omitempty"`
    // Secret - Secret to authenticate the partner and verify it created the assessment - write only
    Secret *string `json:"secret,omitempty"`
}

AssessmentMetadataPartnerData describes the partner that created the assessment

type AssessmentMetadataProperties Uses

type AssessmentMetadataProperties struct {
    // DisplayName - User friendly display name of the assessment
    DisplayName *string `json:"displayName,omitempty"`
    // PolicyDefinitionID - READ-ONLY; Azure resource ID of the policy definition that turns this assessment calculation on
    PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"`
    // Description - Human readable description of the assessment
    Description *string `json:"description,omitempty"`
    // RemediationDescription - Human readable description of what you should do to mitigate this security issue
    RemediationDescription *string     `json:"remediationDescription,omitempty"`
    Category               *[]Category `json:"category,omitempty"`
    // Severity - The severity level of the assessment. Possible values include: 'SeverityLow', 'SeverityMedium', 'SeverityHigh'
    Severity Severity `json:"severity,omitempty"`
    // UserImpact - The user impact of the assessment. Possible values include: 'UserImpactLow', 'UserImpactModerate', 'UserImpactHigh'
    UserImpact UserImpact `json:"userImpact,omitempty"`
    // ImplementationEffort - The implementation effort required to remediate this assessment. Possible values include: 'Low', 'Moderate', 'High'
    ImplementationEffort ImplementationEffort `json:"implementationEffort,omitempty"`
    Threats              *[]Threats           `json:"threats,omitempty"`
    // Preview - True if this assessment is in preview release status
    Preview *bool `json:"preview,omitempty"`
    // AssessmentType - BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition. Possible values include: 'BuiltIn', 'CustomPolicy', 'CustomerManaged', 'VerifiedPartner'
    AssessmentType AssessmentType                 `json:"assessmentType,omitempty"`
    PartnerData    *AssessmentMetadataPartnerData `json:"partnerData,omitempty"`
}

AssessmentMetadataProperties describes properties of an assessment metadata.

type AssessmentPartnerData Uses

type AssessmentPartnerData struct {
    // PartnerName - Name of the company of the partner
    PartnerName *string `json:"partnerName,omitempty"`
    // Secret - secret to authenticate the partner - write only
    Secret *string `json:"secret,omitempty"`
}

AssessmentPartnerData data regarding 3rd party partner integration

type AssessmentProperties Uses

type AssessmentProperties struct {
    ResourceDetails BasicResourceDetails `json:"resourceDetails,omitempty"`
    // DisplayName - READ-ONLY; User friendly display name of the assessment
    DisplayName *string           `json:"displayName,omitempty"`
    Status      *AssessmentStatus `json:"status,omitempty"`
    // AdditionalData - Additional data regarding the assessment
    AdditionalData map[string]*string            `json:"additionalData"`
    Links          *AssessmentLinks              `json:"links,omitempty"`
    Metadata       *AssessmentMetadataProperties `json:"metadata,omitempty"`
    PartnersData   *AssessmentPartnerData        `json:"partnersData,omitempty"`
}

AssessmentProperties describes properties of an assessment.

func (AssessmentProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AssessmentProperties.

func (*AssessmentProperties) UnmarshalJSON Uses

func (ap *AssessmentProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AssessmentProperties struct.

type AssessmentStatus Uses

type AssessmentStatus struct {
    // Code - Programmatic code for the status of the assessment. Possible values include: 'Healthy', 'Unhealthy', 'NotApplicable'
    Code AssessmentStatusCode `json:"code,omitempty"`
    // Cause - Programmatic code for the cause of the assessment status
    Cause *string `json:"cause,omitempty"`
    // Description - Human readable description of the assessment status
    Description *string `json:"description,omitempty"`
}

AssessmentStatus the result of the assessment

type AssessmentStatusCode Uses

type AssessmentStatusCode string

AssessmentStatusCode enumerates the values for assessment status code.

const (
    // Healthy The resource is healthy
    Healthy AssessmentStatusCode = "Healthy"
    // NotApplicable Assessment for this resource did not happen
    NotApplicable AssessmentStatusCode = "NotApplicable"
    // Unhealthy The resource has a security issue that needs to be addressed
    Unhealthy AssessmentStatusCode = "Unhealthy"
)

func PossibleAssessmentStatusCodeValues Uses

func PossibleAssessmentStatusCodeValues() []AssessmentStatusCode

PossibleAssessmentStatusCodeValues returns an array of possible values for the AssessmentStatusCode const type.

type AssessmentType Uses

type AssessmentType string

AssessmentType enumerates the values for assessment type.

const (
    // BuiltIn Azure Security Center managed assessments
    BuiltIn AssessmentType = "BuiltIn"
    // CustomerManaged User assessments pushed directly by the user or other third party to Azure Security
    // Center
    CustomerManaged AssessmentType = "CustomerManaged"
    // CustomPolicy User defined policies that are automatically ingested from Azure Policy to Azure Security
    // Center
    CustomPolicy AssessmentType = "CustomPolicy"
    // VerifiedPartner An assessment that was created by a verified 3rd party if the user connected it to ASC
    VerifiedPartner AssessmentType = "VerifiedPartner"
)

func PossibleAssessmentTypeValues Uses

func PossibleAssessmentTypeValues() []AssessmentType

PossibleAssessmentTypeValues returns an array of possible values for the AssessmentType const type.

type AssessmentsClient Uses

type AssessmentsClient struct {
    BaseClient
}

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

func NewAssessmentsClient Uses

func NewAssessmentsClient(subscriptionID string, ascLocation string) AssessmentsClient

NewAssessmentsClient creates an instance of the AssessmentsClient client.

func NewAssessmentsClientWithBaseURI Uses

func NewAssessmentsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AssessmentsClient

NewAssessmentsClientWithBaseURI creates an instance of the AssessmentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AssessmentsClient) CreateOrUpdate Uses

func (client AssessmentsClient) CreateOrUpdate(ctx context.Context, resourceID string, assessmentName string, assessment Assessment) (result Assessment, err error)

CreateOrUpdate create a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result Parameters: resourceID - the identifier of the resource. assessmentName - the Assessment Key - Unique key for the assessment type assessment - calculated assessment on a pre-defined assessment metadata

func (AssessmentsClient) CreateOrUpdatePreparer Uses

func (client AssessmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceID string, assessmentName string, assessment Assessment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AssessmentsClient) CreateOrUpdateResponder Uses

func (client AssessmentsClient) CreateOrUpdateResponder(resp *http.Response) (result Assessment, err error)

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

func (AssessmentsClient) CreateOrUpdateSender Uses

func (client AssessmentsClient) 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 (AssessmentsClient) Delete Uses

func (client AssessmentsClient) Delete(ctx context.Context, resourceID string, assessmentName string) (result autorest.Response, err error)

Delete delete a security assessment on your resource. An assessment metadata that describes this assessment must be predefined with the same name before inserting the assessment result Parameters: resourceID - the identifier of the resource. assessmentName - the Assessment Key - Unique key for the assessment type

func (AssessmentsClient) DeletePreparer Uses

func (client AssessmentsClient) DeletePreparer(ctx context.Context, resourceID string, assessmentName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AssessmentsClient) DeleteResponder Uses

func (client AssessmentsClient) 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 (AssessmentsClient) DeleteSender Uses

func (client AssessmentsClient) 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 (AssessmentsClient) Get Uses

func (client AssessmentsClient) Get(ctx context.Context, resourceID string, assessmentName string, expand ExpandEnum) (result Assessment, err error)

Get get a