Documentation ¶
Overview ¶
Package security implements the Azure ARM Security service API version .
API spec for Microsoft.Security (Azure Security Center) resource provider
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AadConnectivityState
- type AadConnectivityState1
- type AadExternalSecuritySolution
- func (aess AadExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)
- func (aess AadExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)
- func (aess AadExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)
- func (aess AadExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)
- func (aess AadExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)
- func (aess AadExternalSecuritySolution) MarshalJSON() ([]byte, error)
- type AadSolutionProperties
- type Action
- type ActionType
- type AdaptiveApplicationControlsClient
- func (client AdaptiveApplicationControlsClient) Delete(ctx context.Context, groupName string) (result autorest.Response, err error)
- func (client AdaptiveApplicationControlsClient) DeletePreparer(ctx context.Context, groupName string) (*http.Request, error)
- func (client AdaptiveApplicationControlsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AdaptiveApplicationControlsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client AdaptiveApplicationControlsClient) Get(ctx context.Context, groupName string) (result AppWhitelistingGroup, err error)
- func (client AdaptiveApplicationControlsClient) GetPreparer(ctx context.Context, groupName string) (*http.Request, error)
- func (client AdaptiveApplicationControlsClient) GetResponder(resp *http.Response) (result AppWhitelistingGroup, err error)
- func (client AdaptiveApplicationControlsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AdaptiveApplicationControlsClient) List(ctx context.Context, includePathRecommendations *bool, summary *bool) (result AppWhitelistingGroups, err error)
- func (client AdaptiveApplicationControlsClient) ListPreparer(ctx context.Context, includePathRecommendations *bool, summary *bool) (*http.Request, error)
- func (client AdaptiveApplicationControlsClient) ListResponder(resp *http.Response) (result AppWhitelistingGroups, err error)
- func (client AdaptiveApplicationControlsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client AdaptiveApplicationControlsClient) Put(ctx context.Context, groupName string, body AppWhitelistingPutGroupData) (result AppWhitelistingGroup, err error)
- func (client AdaptiveApplicationControlsClient) PutPreparer(ctx context.Context, groupName string, body AppWhitelistingPutGroupData) (*http.Request, error)
- func (client AdaptiveApplicationControlsClient) PutResponder(resp *http.Response) (result AppWhitelistingGroup, err error)
- func (client AdaptiveApplicationControlsClient) PutSender(req *http.Request) (*http.Response, error)
- type AdaptiveNetworkHardening
- type AdaptiveNetworkHardeningEnforceRequest
- type AdaptiveNetworkHardeningProperties
- type AdaptiveNetworkHardeningsClient
- func (client AdaptiveNetworkHardeningsClient) Enforce(ctx context.Context, resourceGroupName string, resourceNamespace string, ...) (result AdaptiveNetworkHardeningsEnforceFuture, err error)
- func (client AdaptiveNetworkHardeningsClient) EnforcePreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, ...) (*http.Request, error)
- func (client AdaptiveNetworkHardeningsClient) EnforceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AdaptiveNetworkHardeningsClient) EnforceSender(req *http.Request) (future AdaptiveNetworkHardeningsEnforceFuture, err error)
- func (client AdaptiveNetworkHardeningsClient) Get(ctx context.Context, resourceGroupName string, resourceNamespace string, ...) (result AdaptiveNetworkHardening, err error)
- func (client AdaptiveNetworkHardeningsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, ...) (*http.Request, error)
- func (client AdaptiveNetworkHardeningsClient) GetResponder(resp *http.Response) (result AdaptiveNetworkHardening, err error)
- func (client AdaptiveNetworkHardeningsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AdaptiveNetworkHardeningsClient) ListByExtendedResource(ctx context.Context, resourceGroupName string, resourceNamespace string, ...) (result AdaptiveNetworkHardeningsListPage, err error)
- func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete(ctx context.Context, resourceGroupName string, resourceNamespace string, ...) (result AdaptiveNetworkHardeningsListIterator, err error)
- func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourcePreparer(ctx context.Context, resourceGroupName string, resourceNamespace string, ...) (*http.Request, error)
- func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourceResponder(resp *http.Response) (result AdaptiveNetworkHardeningsList, err error)
- func (client AdaptiveNetworkHardeningsClient) ListByExtendedResourceSender(req *http.Request) (*http.Response, error)
- type AdaptiveNetworkHardeningsEnforceFuture
- type AdaptiveNetworkHardeningsList
- type AdaptiveNetworkHardeningsListIterator
- func (iter *AdaptiveNetworkHardeningsListIterator) Next() error
- func (iter *AdaptiveNetworkHardeningsListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AdaptiveNetworkHardeningsListIterator) NotDone() bool
- func (iter AdaptiveNetworkHardeningsListIterator) Response() AdaptiveNetworkHardeningsList
- func (iter AdaptiveNetworkHardeningsListIterator) Value() AdaptiveNetworkHardening
- type AdaptiveNetworkHardeningsListPage
- func (page *AdaptiveNetworkHardeningsListPage) Next() error
- func (page *AdaptiveNetworkHardeningsListPage) NextWithContext(ctx context.Context) (err error)
- func (page AdaptiveNetworkHardeningsListPage) NotDone() bool
- func (page AdaptiveNetworkHardeningsListPage) Response() AdaptiveNetworkHardeningsList
- func (page AdaptiveNetworkHardeningsListPage) Values() []AdaptiveNetworkHardening
- type AdditionalData
- func (ad AdditionalData) AsAdditionalData() (*AdditionalData, bool)
- func (ad AdditionalData) AsBasicAdditionalData() (BasicAdditionalData, bool)
- func (ad AdditionalData) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)
- func (ad AdditionalData) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)
- func (ad AdditionalData) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)
- func (ad AdditionalData) MarshalJSON() ([]byte, error)
- type AdvancedThreatProtectionClient
- func (client AdvancedThreatProtectionClient) Create(ctx context.Context, resourceID string, ...) (result AdvancedThreatProtectionSetting, err error)
- func (client AdvancedThreatProtectionClient) CreatePreparer(ctx context.Context, resourceID string, ...) (*http.Request, error)
- func (client AdvancedThreatProtectionClient) CreateResponder(resp *http.Response) (result AdvancedThreatProtectionSetting, err error)
- func (client AdvancedThreatProtectionClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client AdvancedThreatProtectionClient) Get(ctx context.Context, resourceID string) (result AdvancedThreatProtectionSetting, err error)
- func (client AdvancedThreatProtectionClient) GetPreparer(ctx context.Context, resourceID string) (*http.Request, error)
- func (client AdvancedThreatProtectionClient) GetResponder(resp *http.Response) (result AdvancedThreatProtectionSetting, err error)
- func (client AdvancedThreatProtectionClient) GetSender(req *http.Request) (*http.Response, error)
- type AdvancedThreatProtectionProperties
- type AdvancedThreatProtectionSetting
- type Alert
- type AlertConfidenceReason
- type AlertEntity
- type AlertList
- type AlertListIterator
- type AlertListPage
- type AlertNotifications
- type AlertProperties
- type AlertsClient
- func (client AlertsClient) GetResourceGroupLevelAlerts(ctx context.Context, alertName string, resourceGroupName string) (result Alert, err error)
- func (client AlertsClient) GetResourceGroupLevelAlertsPreparer(ctx context.Context, alertName string, resourceGroupName string) (*http.Request, error)
- func (client AlertsClient) GetResourceGroupLevelAlertsResponder(resp *http.Response) (result Alert, err error)
- func (client AlertsClient) GetResourceGroupLevelAlertsSender(req *http.Request) (*http.Response, error)
- func (client AlertsClient) GetSubscriptionLevelAlert(ctx context.Context, alertName string) (result Alert, err error)
- func (client AlertsClient) GetSubscriptionLevelAlertPreparer(ctx context.Context, alertName string) (*http.Request, error)
- func (client AlertsClient) GetSubscriptionLevelAlertResponder(resp *http.Response) (result Alert, err error)
- func (client AlertsClient) GetSubscriptionLevelAlertSender(req *http.Request) (*http.Response, error)
- func (client AlertsClient) List(ctx context.Context, filter string, selectParameter string, expand string, ...) (result AlertListPage, err error)
- func (client AlertsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, ...) (result AlertListPage, err error)
- func (client AlertsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, ...) (result AlertListIterator, err error)
- func (client AlertsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, ...) (*http.Request, error)
- func (client AlertsClient) ListByResourceGroupResponder(resp *http.Response) (result AlertList, err error)
- func (client AlertsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client AlertsClient) ListComplete(ctx context.Context, filter string, selectParameter string, expand string, ...) (result AlertListIterator, err error)
- func (client AlertsClient) ListPreparer(ctx context.Context, filter string, selectParameter string, expand string, ...) (*http.Request, error)
- func (client AlertsClient) ListResourceGroupLevelAlertsByRegion(ctx context.Context, resourceGroupName string, filter string, ...) (result AlertListPage, err error)
- func (client AlertsClient) ListResourceGroupLevelAlertsByRegionComplete(ctx context.Context, resourceGroupName string, filter string, ...) (result AlertListIterator, err error)
- func (client AlertsClient) ListResourceGroupLevelAlertsByRegionPreparer(ctx context.Context, resourceGroupName string, filter string, ...) (*http.Request, error)
- func (client AlertsClient) ListResourceGroupLevelAlertsByRegionResponder(resp *http.Response) (result AlertList, err error)
- func (client AlertsClient) ListResourceGroupLevelAlertsByRegionSender(req *http.Request) (*http.Response, error)
- func (client AlertsClient) ListResponder(resp *http.Response) (result AlertList, err error)
- func (client AlertsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client AlertsClient) ListSubscriptionLevelAlertsByRegion(ctx context.Context, filter string, selectParameter string, expand string, ...) (result AlertListPage, err error)
- func (client AlertsClient) ListSubscriptionLevelAlertsByRegionComplete(ctx context.Context, filter string, selectParameter string, expand string, ...) (result AlertListIterator, err error)
- func (client AlertsClient) ListSubscriptionLevelAlertsByRegionPreparer(ctx context.Context, filter string, selectParameter string, expand string, ...) (*http.Request, error)
- func (client AlertsClient) ListSubscriptionLevelAlertsByRegionResponder(resp *http.Response) (result AlertList, err error)
- func (client AlertsClient) ListSubscriptionLevelAlertsByRegionSender(req *http.Request) (*http.Response, error)
- func (client AlertsClient) UpdateResourceGroupLevelAlertStateToDismiss(ctx context.Context, alertName string, resourceGroupName string) (result autorest.Response, err error)
- func (client AlertsClient) UpdateResourceGroupLevelAlertStateToDismissPreparer(ctx context.Context, alertName string, resourceGroupName string) (*http.Request, error)
- func (client AlertsClient) UpdateResourceGroupLevelAlertStateToDismissResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AlertsClient) UpdateResourceGroupLevelAlertStateToDismissSender(req *http.Request) (*http.Response, error)
- func (client AlertsClient) UpdateResourceGroupLevelAlertStateToReactivate(ctx context.Context, alertName string, resourceGroupName string) (result autorest.Response, err error)
- func (client AlertsClient) UpdateResourceGroupLevelAlertStateToReactivatePreparer(ctx context.Context, alertName string, resourceGroupName string) (*http.Request, error)
- func (client AlertsClient) UpdateResourceGroupLevelAlertStateToReactivateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AlertsClient) UpdateResourceGroupLevelAlertStateToReactivateSender(req *http.Request) (*http.Response, error)
- func (client AlertsClient) UpdateSubscriptionLevelAlertStateToDismiss(ctx context.Context, alertName string) (result autorest.Response, err error)
- func (client AlertsClient) UpdateSubscriptionLevelAlertStateToDismissPreparer(ctx context.Context, alertName string) (*http.Request, error)
- func (client AlertsClient) UpdateSubscriptionLevelAlertStateToDismissResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AlertsClient) UpdateSubscriptionLevelAlertStateToDismissSender(req *http.Request) (*http.Response, error)
- func (client AlertsClient) UpdateSubscriptionLevelAlertStateToReactivate(ctx context.Context, alertName string) (result autorest.Response, err error)
- func (client AlertsClient) UpdateSubscriptionLevelAlertStateToReactivatePreparer(ctx context.Context, alertName string) (*http.Request, error)
- func (client AlertsClient) UpdateSubscriptionLevelAlertStateToReactivateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AlertsClient) UpdateSubscriptionLevelAlertStateToReactivateSender(req *http.Request) (*http.Response, error)
- type AlertsSuppressionRule
- type AlertsSuppressionRuleProperties
- type AlertsSuppressionRulesClient
- func (client AlertsSuppressionRulesClient) Delete(ctx context.Context, alertsSuppressionRuleName string) (result autorest.Response, err error)
- func (client AlertsSuppressionRulesClient) DeletePreparer(ctx context.Context, alertsSuppressionRuleName string) (*http.Request, error)
- func (client AlertsSuppressionRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AlertsSuppressionRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client AlertsSuppressionRulesClient) Get(ctx context.Context, alertsSuppressionRuleName string) (result AlertsSuppressionRule, err error)
- func (client AlertsSuppressionRulesClient) GetPreparer(ctx context.Context, alertsSuppressionRuleName string) (*http.Request, error)
- func (client AlertsSuppressionRulesClient) GetResponder(resp *http.Response) (result AlertsSuppressionRule, err error)
- func (client AlertsSuppressionRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AlertsSuppressionRulesClient) List(ctx context.Context, alertType string) (result AlertsSuppressionRulesListPage, err error)
- func (client AlertsSuppressionRulesClient) ListComplete(ctx context.Context, alertType string) (result AlertsSuppressionRulesListIterator, err error)
- func (client AlertsSuppressionRulesClient) ListPreparer(ctx context.Context, alertType string) (*http.Request, error)
- func (client AlertsSuppressionRulesClient) ListResponder(resp *http.Response) (result AlertsSuppressionRulesList, err error)
- func (client AlertsSuppressionRulesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client AlertsSuppressionRulesClient) Update(ctx context.Context, alertsSuppressionRuleName string, ...) (result AlertsSuppressionRule, err error)
- func (client AlertsSuppressionRulesClient) UpdatePreparer(ctx context.Context, alertsSuppressionRuleName string, ...) (*http.Request, error)
- func (client AlertsSuppressionRulesClient) UpdateResponder(resp *http.Response) (result AlertsSuppressionRule, err error)
- func (client AlertsSuppressionRulesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type AlertsSuppressionRulesList
- type AlertsSuppressionRulesListIterator
- func (iter *AlertsSuppressionRulesListIterator) Next() error
- func (iter *AlertsSuppressionRulesListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AlertsSuppressionRulesListIterator) NotDone() bool
- func (iter AlertsSuppressionRulesListIterator) Response() AlertsSuppressionRulesList
- func (iter AlertsSuppressionRulesListIterator) Value() AlertsSuppressionRule
- type AlertsSuppressionRulesListPage
- func (page *AlertsSuppressionRulesListPage) Next() error
- func (page *AlertsSuppressionRulesListPage) NextWithContext(ctx context.Context) (err error)
- func (page AlertsSuppressionRulesListPage) NotDone() bool
- func (page AlertsSuppressionRulesListPage) Response() AlertsSuppressionRulesList
- func (page AlertsSuppressionRulesListPage) Values() []AlertsSuppressionRule
- type AlertsToAdmins
- type AllowedConnectionsClient
- func (client AllowedConnectionsClient) Get(ctx context.Context, resourceGroupName string, connectionType ConnectionType) (result AllowedConnectionsResource, err error)
- func (client AllowedConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, connectionType ConnectionType) (*http.Request, error)
- func (client AllowedConnectionsClient) GetResponder(resp *http.Response) (result AllowedConnectionsResource, err error)
- func (client AllowedConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AllowedConnectionsClient) List(ctx context.Context) (result AllowedConnectionsListPage, err error)
- func (client AllowedConnectionsClient) ListByHomeRegion(ctx context.Context) (result AllowedConnectionsListPage, err error)
- func (client AllowedConnectionsClient) ListByHomeRegionComplete(ctx context.Context) (result AllowedConnectionsListIterator, err error)
- func (client AllowedConnectionsClient) ListByHomeRegionPreparer(ctx context.Context) (*http.Request, error)
- func (client AllowedConnectionsClient) ListByHomeRegionResponder(resp *http.Response) (result AllowedConnectionsList, err error)
- func (client AllowedConnectionsClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)
- func (client AllowedConnectionsClient) ListComplete(ctx context.Context) (result AllowedConnectionsListIterator, err error)
- func (client AllowedConnectionsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client AllowedConnectionsClient) ListResponder(resp *http.Response) (result AllowedConnectionsList, err error)
- func (client AllowedConnectionsClient) ListSender(req *http.Request) (*http.Response, error)
- type AllowedConnectionsList
- type AllowedConnectionsListIterator
- func (iter *AllowedConnectionsListIterator) Next() error
- func (iter *AllowedConnectionsListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AllowedConnectionsListIterator) NotDone() bool
- func (iter AllowedConnectionsListIterator) Response() AllowedConnectionsList
- func (iter AllowedConnectionsListIterator) Value() AllowedConnectionsResource
- type AllowedConnectionsListPage
- func (page *AllowedConnectionsListPage) Next() error
- func (page *AllowedConnectionsListPage) NextWithContext(ctx context.Context) (err error)
- func (page AllowedConnectionsListPage) NotDone() bool
- func (page AllowedConnectionsListPage) Response() AllowedConnectionsList
- func (page AllowedConnectionsListPage) Values() []AllowedConnectionsResource
- type AllowedConnectionsResource
- type AllowedConnectionsResourceProperties
- type AllowlistCustomAlertRule
- type AppWhitelistingGroup
- type AppWhitelistingGroupData
- type AppWhitelistingGroups
- type AppWhitelistingIssueSummary
- type AppWhitelistingPutGroupData
- type AscLocation
- type AscLocationList
- type AscLocationListIterator
- func (iter *AscLocationListIterator) Next() error
- func (iter *AscLocationListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AscLocationListIterator) NotDone() bool
- func (iter AscLocationListIterator) Response() AscLocationList
- func (iter AscLocationListIterator) Value() AscLocation
- type AscLocationListPage
- type AssessedResourceType
- type AtaExternalSecuritySolution
- func (aess AtaExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)
- func (aess AtaExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)
- func (aess AtaExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)
- func (aess AtaExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)
- func (aess AtaExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)
- func (aess AtaExternalSecuritySolution) MarshalJSON() ([]byte, error)
- type AtaSolutionProperties
- type AuthenticationDetailsProperties
- func (adp AuthenticationDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)
- func (adp AuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)
- func (adp AuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)
- func (adp AuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)
- func (adp AuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)
- func (adp AuthenticationDetailsProperties) MarshalJSON() ([]byte, error)
- type AuthenticationProvisioningState
- type AuthenticationType
- type AutoProvision
- type AutoProvisioningSetting
- type AutoProvisioningSettingList
- type AutoProvisioningSettingListIterator
- func (iter *AutoProvisioningSettingListIterator) Next() error
- func (iter *AutoProvisioningSettingListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AutoProvisioningSettingListIterator) NotDone() bool
- func (iter AutoProvisioningSettingListIterator) Response() AutoProvisioningSettingList
- func (iter AutoProvisioningSettingListIterator) Value() AutoProvisioningSetting
- type AutoProvisioningSettingListPage
- func (page *AutoProvisioningSettingListPage) Next() error
- func (page *AutoProvisioningSettingListPage) NextWithContext(ctx context.Context) (err error)
- func (page AutoProvisioningSettingListPage) NotDone() bool
- func (page AutoProvisioningSettingListPage) Response() AutoProvisioningSettingList
- func (page AutoProvisioningSettingListPage) Values() []AutoProvisioningSetting
- type AutoProvisioningSettingProperties
- type AutoProvisioningSettingsClient
- func (client AutoProvisioningSettingsClient) Create(ctx context.Context, settingName string, setting AutoProvisioningSetting) (result AutoProvisioningSetting, err error)
- func (client AutoProvisioningSettingsClient) CreatePreparer(ctx context.Context, settingName string, setting AutoProvisioningSetting) (*http.Request, error)
- func (client AutoProvisioningSettingsClient) CreateResponder(resp *http.Response) (result AutoProvisioningSetting, err error)
- func (client AutoProvisioningSettingsClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client AutoProvisioningSettingsClient) Get(ctx context.Context, settingName string) (result AutoProvisioningSetting, err error)
- func (client AutoProvisioningSettingsClient) GetPreparer(ctx context.Context, settingName string) (*http.Request, error)
- func (client AutoProvisioningSettingsClient) GetResponder(resp *http.Response) (result AutoProvisioningSetting, err error)
- func (client AutoProvisioningSettingsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AutoProvisioningSettingsClient) List(ctx context.Context) (result AutoProvisioningSettingListPage, err error)
- func (client AutoProvisioningSettingsClient) ListComplete(ctx context.Context) (result AutoProvisioningSettingListIterator, err error)
- func (client AutoProvisioningSettingsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client AutoProvisioningSettingsClient) ListResponder(resp *http.Response) (result AutoProvisioningSettingList, err error)
- func (client AutoProvisioningSettingsClient) ListSender(req *http.Request) (*http.Response, error)
- type Automation
- type AutomationAction
- func (aa AutomationAction) AsAutomationAction() (*AutomationAction, bool)
- func (aa AutomationAction) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)
- func (aa AutomationAction) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)
- func (aa AutomationAction) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)
- func (aa AutomationAction) AsBasicAutomationAction() (BasicAutomationAction, bool)
- func (aa AutomationAction) MarshalJSON() ([]byte, error)
- type AutomationActionEventHub
- func (aaeh AutomationActionEventHub) AsAutomationAction() (*AutomationAction, bool)
- func (aaeh AutomationActionEventHub) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)
- func (aaeh AutomationActionEventHub) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)
- func (aaeh AutomationActionEventHub) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)
- func (aaeh AutomationActionEventHub) AsBasicAutomationAction() (BasicAutomationAction, bool)
- func (aaeh AutomationActionEventHub) MarshalJSON() ([]byte, error)
- type AutomationActionLogicApp
- func (aala AutomationActionLogicApp) AsAutomationAction() (*AutomationAction, bool)
- func (aala AutomationActionLogicApp) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)
- func (aala AutomationActionLogicApp) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)
- func (aala AutomationActionLogicApp) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)
- func (aala AutomationActionLogicApp) AsBasicAutomationAction() (BasicAutomationAction, bool)
- func (aala AutomationActionLogicApp) MarshalJSON() ([]byte, error)
- type AutomationActionWorkspace
- func (aaw AutomationActionWorkspace) AsAutomationAction() (*AutomationAction, bool)
- func (aaw AutomationActionWorkspace) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)
- func (aaw AutomationActionWorkspace) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)
- func (aaw AutomationActionWorkspace) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)
- func (aaw AutomationActionWorkspace) AsBasicAutomationAction() (BasicAutomationAction, bool)
- func (aaw AutomationActionWorkspace) MarshalJSON() ([]byte, error)
- type AutomationList
- type AutomationListIterator
- type AutomationListPage
- type AutomationProperties
- type AutomationRuleSet
- type AutomationScope
- type AutomationSource
- type AutomationTriggeringRule
- type AutomationValidationStatus
- type AutomationsClient
- func (client AutomationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationName string, ...) (result Automation, err error)
- func (client AutomationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationName string, ...) (*http.Request, error)
- func (client AutomationsClient) CreateOrUpdateResponder(resp *http.Response) (result Automation, err error)
- func (client AutomationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client AutomationsClient) Delete(ctx context.Context, resourceGroupName string, automationName string) (result autorest.Response, err error)
- func (client AutomationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationName string) (*http.Request, error)
- func (client AutomationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AutomationsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client AutomationsClient) Get(ctx context.Context, resourceGroupName string, automationName string) (result Automation, err error)
- func (client AutomationsClient) GetPreparer(ctx context.Context, resourceGroupName string, automationName string) (*http.Request, error)
- func (client AutomationsClient) GetResponder(resp *http.Response) (result Automation, err error)
- func (client AutomationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AutomationsClient) List(ctx context.Context) (result AutomationListPage, err error)
- func (client AutomationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AutomationListPage, err error)
- func (client AutomationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AutomationListIterator, err error)
- func (client AutomationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client AutomationsClient) ListByResourceGroupResponder(resp *http.Response) (result AutomationList, err error)
- func (client AutomationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client AutomationsClient) ListComplete(ctx context.Context) (result AutomationListIterator, err error)
- func (client AutomationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client AutomationsClient) ListResponder(resp *http.Response) (result AutomationList, err error)
- func (client AutomationsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client AutomationsClient) Validate(ctx context.Context, resourceGroupName string, automationName string, ...) (result AutomationValidationStatus, err error)
- func (client AutomationsClient) ValidatePreparer(ctx context.Context, resourceGroupName string, automationName string, ...) (*http.Request, error)
- func (client AutomationsClient) ValidateResponder(resp *http.Response) (result AutomationValidationStatus, err error)
- func (client AutomationsClient) ValidateSender(req *http.Request) (*http.Response, error)
- type AwAssumeRoleAuthenticationDetailsProperties
- func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)
- func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)
- func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)
- func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)
- func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)
- func (aaradp AwAssumeRoleAuthenticationDetailsProperties) MarshalJSON() ([]byte, error)
- type AwsCredsAuthenticationDetailsProperties
- func (acadp AwsCredsAuthenticationDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)
- func (acadp AwsCredsAuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)
- func (acadp AwsCredsAuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)
- func (acadp AwsCredsAuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)
- func (acadp AwsCredsAuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)
- func (acadp AwsCredsAuthenticationDetailsProperties) MarshalJSON() ([]byte, error)
- type AzureResourceDetails
- func (ard AzureResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)
- func (ard AzureResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)
- func (ard AzureResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)
- func (ard AzureResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)
- func (ard AzureResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)
- func (ard AzureResourceDetails) AsResourceDetails() (*ResourceDetails, bool)
- func (ard AzureResourceDetails) MarshalJSON() ([]byte, error)
- type AzureResourceLink
- type BaseClient
- type BasicAdditionalData
- type BasicAuthenticationDetailsProperties
- type BasicAutomationAction
- type BasicExternalSecuritySolution
- type BasicOnPremiseResourceDetails
- type BasicResourceDetails
- type CVE
- type CVSS
- type CefExternalSecuritySolution
- func (cess CefExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)
- func (cess CefExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)
- func (cess CefExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)
- func (cess CefExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)
- func (cess CefExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)
- func (cess CefExternalSecuritySolution) MarshalJSON() ([]byte, error)
- type CefSolutionProperties
- type CloudError
- type CloudErrorBody
- type Compliance
- type ComplianceList
- type ComplianceListIterator
- type ComplianceListPage
- type ComplianceProperties
- type ComplianceSegment
- type CompliancesClient
- func (client CompliancesClient) Get(ctx context.Context, scope string, complianceName string) (result Compliance, err error)
- func (client CompliancesClient) GetPreparer(ctx context.Context, scope string, complianceName string) (*http.Request, error)
- func (client CompliancesClient) GetResponder(resp *http.Response) (result Compliance, err error)
- func (client CompliancesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client CompliancesClient) List(ctx context.Context, scope string) (result ComplianceListPage, err error)
- func (client CompliancesClient) ListComplete(ctx context.Context, scope string) (result ComplianceListIterator, err error)
- func (client CompliancesClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)
- func (client CompliancesClient) ListResponder(resp *http.Response) (result ComplianceList, err error)
- func (client CompliancesClient) ListSender(req *http.Request) (*http.Response, error)
- type ConfigurationStatus
- type ConfigurationStatus1
- type ConfigurationStatus2
- type ConnectableResource
- type ConnectedResource
- type ConnectedWorkspace
- type ConnectionType
- type ConnectorSetting
- type ConnectorSettingList
- type ConnectorSettingListIterator
- func (iter *ConnectorSettingListIterator) Next() error
- func (iter *ConnectorSettingListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ConnectorSettingListIterator) NotDone() bool
- func (iter ConnectorSettingListIterator) Response() ConnectorSettingList
- func (iter ConnectorSettingListIterator) Value() ConnectorSetting
- type ConnectorSettingListPage
- func (page *ConnectorSettingListPage) Next() error
- func (page *ConnectorSettingListPage) NextWithContext(ctx context.Context) (err error)
- func (page ConnectorSettingListPage) NotDone() bool
- func (page ConnectorSettingListPage) Response() ConnectorSettingList
- func (page ConnectorSettingListPage) Values() []ConnectorSetting
- type ConnectorSettingProperties
- type ConnectorsClient
- func (client ConnectorsClient) CreateOrUpdate(ctx context.Context, connectorName string, connectorSetting ConnectorSetting) (result ConnectorSetting, err error)
- func (client ConnectorsClient) CreateOrUpdatePreparer(ctx context.Context, connectorName string, connectorSetting ConnectorSetting) (*http.Request, error)
- func (client ConnectorsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectorSetting, err error)
- func (client ConnectorsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ConnectorsClient) Delete(ctx context.Context, connectorName string) (result autorest.Response, err error)
- func (client ConnectorsClient) DeletePreparer(ctx context.Context, connectorName string) (*http.Request, error)
- func (client ConnectorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ConnectorsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ConnectorsClient) Get(ctx context.Context, connectorName string) (result ConnectorSetting, err error)
- func (client ConnectorsClient) GetPreparer(ctx context.Context, connectorName string) (*http.Request, error)
- func (client ConnectorsClient) GetResponder(resp *http.Response) (result ConnectorSetting, err error)
- func (client ConnectorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ConnectorsClient) List(ctx context.Context) (result ConnectorSettingListPage, err error)
- func (client ConnectorsClient) ListComplete(ctx context.Context) (result ConnectorSettingListIterator, err error)
- func (client ConnectorsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ConnectorsClient) ListResponder(resp *http.Response) (result ConnectorSettingList, err error)
- func (client ConnectorsClient) ListSender(req *http.Request) (*http.Response, error)
- type Contact
- type ContactList
- type ContactListIterator
- type ContactListPage
- type ContactProperties
- type ContactsClient
- func (client ContactsClient) Create(ctx context.Context, securityContactName string, securityContact Contact) (result Contact, err error)
- func (client ContactsClient) CreatePreparer(ctx context.Context, securityContactName string, securityContact Contact) (*http.Request, error)
- func (client ContactsClient) CreateResponder(resp *http.Response) (result Contact, err error)
- func (client ContactsClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client ContactsClient) Delete(ctx context.Context, securityContactName string) (result autorest.Response, err error)
- func (client ContactsClient) DeletePreparer(ctx context.Context, securityContactName string) (*http.Request, error)
- func (client ContactsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ContactsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ContactsClient) Get(ctx context.Context, securityContactName string) (result Contact, err error)
- func (client ContactsClient) GetPreparer(ctx context.Context, securityContactName string) (*http.Request, error)
- func (client ContactsClient) GetResponder(resp *http.Response) (result Contact, err error)
- func (client ContactsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ContactsClient) List(ctx context.Context) (result ContactListPage, err error)
- func (client ContactsClient) ListComplete(ctx context.Context) (result ContactListIterator, err error)
- func (client ContactsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ContactsClient) ListResponder(resp *http.Response) (result ContactList, err error)
- func (client ContactsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ContactsClient) Update(ctx context.Context, securityContactName string, securityContact Contact) (result Contact, err error)
- func (client ContactsClient) UpdatePreparer(ctx context.Context, securityContactName string, securityContact Contact) (*http.Request, error)
- func (client ContactsClient) UpdateResponder(resp *http.Response) (result Contact, err error)
- func (client ContactsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ContainerRegistryVulnerabilityProperties
- func (crvp ContainerRegistryVulnerabilityProperties) AsAdditionalData() (*AdditionalData, bool)
- func (crvp ContainerRegistryVulnerabilityProperties) AsBasicAdditionalData() (BasicAdditionalData, bool)
- func (crvp ContainerRegistryVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)
- func (crvp ContainerRegistryVulnerabilityProperties) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)
- func (crvp ContainerRegistryVulnerabilityProperties) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)
- func (crvp ContainerRegistryVulnerabilityProperties) MarshalJSON() ([]byte, error)
- type ControlType
- type CustomAlertRule
- type DataExportSetting
- type DataExportSettingProperties
- type DataSource
- type DenylistCustomAlertRule
- type DeviceSecurityGroup
- type DeviceSecurityGroupList
- type DeviceSecurityGroupListIterator
- func (iter *DeviceSecurityGroupListIterator) Next() error
- func (iter *DeviceSecurityGroupListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DeviceSecurityGroupListIterator) NotDone() bool
- func (iter DeviceSecurityGroupListIterator) Response() DeviceSecurityGroupList
- func (iter DeviceSecurityGroupListIterator) Value() DeviceSecurityGroup
- type DeviceSecurityGroupListPage
- func (page *DeviceSecurityGroupListPage) Next() error
- func (page *DeviceSecurityGroupListPage) NextWithContext(ctx context.Context) (err error)
- func (page DeviceSecurityGroupListPage) NotDone() bool
- func (page DeviceSecurityGroupListPage) Response() DeviceSecurityGroupList
- func (page DeviceSecurityGroupListPage) Values() []DeviceSecurityGroup
- type DeviceSecurityGroupProperties
- type DeviceSecurityGroupsClient
- func (client DeviceSecurityGroupsClient) CreateOrUpdate(ctx context.Context, resourceID string, deviceSecurityGroupName string, ...) (result DeviceSecurityGroup, err error)
- func (client DeviceSecurityGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceID string, deviceSecurityGroupName string, ...) (*http.Request, error)
- func (client DeviceSecurityGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result DeviceSecurityGroup, err error)
- func (client DeviceSecurityGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DeviceSecurityGroupsClient) Delete(ctx context.Context, resourceID string, deviceSecurityGroupName string) (result autorest.Response, err error)
- func (client DeviceSecurityGroupsClient) DeletePreparer(ctx context.Context, resourceID string, deviceSecurityGroupName string) (*http.Request, error)
- func (client DeviceSecurityGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DeviceSecurityGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DeviceSecurityGroupsClient) Get(ctx context.Context, resourceID string, deviceSecurityGroupName string) (result DeviceSecurityGroup, err error)
- func (client DeviceSecurityGroupsClient) GetPreparer(ctx context.Context, resourceID string, deviceSecurityGroupName string) (*http.Request, error)
- func (client DeviceSecurityGroupsClient) GetResponder(resp *http.Response) (result DeviceSecurityGroup, err error)
- func (client DeviceSecurityGroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DeviceSecurityGroupsClient) List(ctx context.Context, resourceID string) (result DeviceSecurityGroupListPage, err error)
- func (client DeviceSecurityGroupsClient) ListComplete(ctx context.Context, resourceID string) (result DeviceSecurityGroupListIterator, err error)
- func (client DeviceSecurityGroupsClient) ListPreparer(ctx context.Context, resourceID string) (*http.Request, error)
- func (client DeviceSecurityGroupsClient) ListResponder(resp *http.Response) (result DeviceSecurityGroupList, err error)
- func (client DeviceSecurityGroupsClient) ListSender(req *http.Request) (*http.Response, error)
- type Direction
- type DiscoveredSecuritySolution
- type DiscoveredSecuritySolutionList
- type DiscoveredSecuritySolutionListIterator
- func (iter *DiscoveredSecuritySolutionListIterator) Next() error
- func (iter *DiscoveredSecuritySolutionListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DiscoveredSecuritySolutionListIterator) NotDone() bool
- func (iter DiscoveredSecuritySolutionListIterator) Response() DiscoveredSecuritySolutionList
- func (iter DiscoveredSecuritySolutionListIterator) Value() DiscoveredSecuritySolution
- type DiscoveredSecuritySolutionListPage
- func (page *DiscoveredSecuritySolutionListPage) Next() error
- func (page *DiscoveredSecuritySolutionListPage) NextWithContext(ctx context.Context) (err error)
- func (page DiscoveredSecuritySolutionListPage) NotDone() bool
- func (page DiscoveredSecuritySolutionListPage) Response() DiscoveredSecuritySolutionList
- func (page DiscoveredSecuritySolutionListPage) Values() []DiscoveredSecuritySolution
- type DiscoveredSecuritySolutionProperties
- type DiscoveredSecuritySolutionsClient
- func (client DiscoveredSecuritySolutionsClient) Get(ctx context.Context, resourceGroupName string, ...) (result DiscoveredSecuritySolution, err error)
- func (client DiscoveredSecuritySolutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client DiscoveredSecuritySolutionsClient) GetResponder(resp *http.Response) (result DiscoveredSecuritySolution, err error)
- func (client DiscoveredSecuritySolutionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DiscoveredSecuritySolutionsClient) List(ctx context.Context) (result DiscoveredSecuritySolutionListPage, err error)
- func (client DiscoveredSecuritySolutionsClient) ListByHomeRegion(ctx context.Context) (result DiscoveredSecuritySolutionListPage, err error)
- func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionComplete(ctx context.Context) (result DiscoveredSecuritySolutionListIterator, err error)
- func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionPreparer(ctx context.Context) (*http.Request, error)
- func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionResponder(resp *http.Response) (result DiscoveredSecuritySolutionList, err error)
- func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)
- func (client DiscoveredSecuritySolutionsClient) ListComplete(ctx context.Context) (result DiscoveredSecuritySolutionListIterator, err error)
- func (client DiscoveredSecuritySolutionsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client DiscoveredSecuritySolutionsClient) ListResponder(resp *http.Response) (result DiscoveredSecuritySolutionList, err error)
- func (client DiscoveredSecuritySolutionsClient) ListSender(req *http.Request) (*http.Response, error)
- type ETag
- type EffectiveNetworkSecurityGroups
- type EnforcementMode
- type EnforcementMode1
- type EnforcementSupport
- type EventSource
- type Exe
- type Executable
- type ExpandControlsEnum
- type ExportData
- type ExternalSecuritySolution
- func (ess ExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)
- func (ess ExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)
- func (ess ExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)
- func (ess ExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)
- func (ess ExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)
- func (ess ExternalSecuritySolution) MarshalJSON() ([]byte, error)
- type ExternalSecuritySolutionKind
- type ExternalSecuritySolutionKind1
- type ExternalSecuritySolutionList
- type ExternalSecuritySolutionListIterator
- func (iter *ExternalSecuritySolutionListIterator) Next() error
- func (iter *ExternalSecuritySolutionListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ExternalSecuritySolutionListIterator) NotDone() bool
- func (iter ExternalSecuritySolutionListIterator) Response() ExternalSecuritySolutionList
- func (iter ExternalSecuritySolutionListIterator) Value() BasicExternalSecuritySolution
- type ExternalSecuritySolutionListPage
- func (page *ExternalSecuritySolutionListPage) Next() error
- func (page *ExternalSecuritySolutionListPage) NextWithContext(ctx context.Context) (err error)
- func (page ExternalSecuritySolutionListPage) NotDone() bool
- func (page ExternalSecuritySolutionListPage) Response() ExternalSecuritySolutionList
- func (page ExternalSecuritySolutionListPage) Values() []BasicExternalSecuritySolution
- type ExternalSecuritySolutionModel
- type ExternalSecuritySolutionProperties
- type ExternalSecuritySolutionsClient
- func (client ExternalSecuritySolutionsClient) Get(ctx context.Context, resourceGroupName string, ...) (result ExternalSecuritySolutionModel, err error)
- func (client ExternalSecuritySolutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ExternalSecuritySolutionsClient) GetResponder(resp *http.Response) (result ExternalSecuritySolutionModel, err error)
- func (client ExternalSecuritySolutionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ExternalSecuritySolutionsClient) List(ctx context.Context) (result ExternalSecuritySolutionListPage, err error)
- func (client ExternalSecuritySolutionsClient) ListByHomeRegion(ctx context.Context) (result ExternalSecuritySolutionListPage, err error)
- func (client ExternalSecuritySolutionsClient) ListByHomeRegionComplete(ctx context.Context) (result ExternalSecuritySolutionListIterator, err error)
- func (client ExternalSecuritySolutionsClient) ListByHomeRegionPreparer(ctx context.Context) (*http.Request, error)
- func (client ExternalSecuritySolutionsClient) ListByHomeRegionResponder(resp *http.Response) (result ExternalSecuritySolutionList, err error)
- func (client ExternalSecuritySolutionsClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)
- func (client ExternalSecuritySolutionsClient) ListComplete(ctx context.Context) (result ExternalSecuritySolutionListIterator, err error)
- func (client ExternalSecuritySolutionsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ExternalSecuritySolutionsClient) ListResponder(resp *http.Response) (result ExternalSecuritySolutionList, err error)
- func (client ExternalSecuritySolutionsClient) ListSender(req *http.Request) (*http.Response, error)
- type Family
- type FileType
- type GcpCredentialsDetailsProperties
- func (gcdp GcpCredentialsDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)
- func (gcdp GcpCredentialsDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)
- func (gcdp GcpCredentialsDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)
- func (gcdp GcpCredentialsDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)
- func (gcdp GcpCredentialsDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)
- func (gcdp GcpCredentialsDetailsProperties) MarshalJSON() ([]byte, error)
- type HybridComputeProvisioningState
- type HybridComputeSettingsProperties
- type InformationProtectionKeyword
- type InformationProtectionPoliciesClient
- func (client InformationProtectionPoliciesClient) CreateOrUpdate(ctx context.Context, scope string, informationProtectionPolicyName string, ...) (result InformationProtectionPolicy, err error)
- func (client InformationProtectionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, scope string, informationProtectionPolicyName string, ...) (*http.Request, error)
- func (client InformationProtectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result InformationProtectionPolicy, err error)
- func (client InformationProtectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client InformationProtectionPoliciesClient) Get(ctx context.Context, scope string, informationProtectionPolicyName string) (result InformationProtectionPolicy, err error)
- func (client InformationProtectionPoliciesClient) GetPreparer(ctx context.Context, scope string, informationProtectionPolicyName string) (*http.Request, error)
- func (client InformationProtectionPoliciesClient) GetResponder(resp *http.Response) (result InformationProtectionPolicy, err error)
- func (client InformationProtectionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client InformationProtectionPoliciesClient) List(ctx context.Context, scope string) (result InformationProtectionPolicyListPage, err error)
- func (client InformationProtectionPoliciesClient) ListComplete(ctx context.Context, scope string) (result InformationProtectionPolicyListIterator, err error)
- func (client InformationProtectionPoliciesClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)
- func (client InformationProtectionPoliciesClient) ListResponder(resp *http.Response) (result InformationProtectionPolicyList, err error)
- func (client InformationProtectionPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
- type InformationProtectionPolicy
- type InformationProtectionPolicyList
- type InformationProtectionPolicyListIterator
- func (iter *InformationProtectionPolicyListIterator) Next() error
- func (iter *InformationProtectionPolicyListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter InformationProtectionPolicyListIterator) NotDone() bool
- func (iter InformationProtectionPolicyListIterator) Response() InformationProtectionPolicyList
- func (iter InformationProtectionPolicyListIterator) Value() InformationProtectionPolicy
- type InformationProtectionPolicyListPage
- func (page *InformationProtectionPolicyListPage) Next() error
- func (page *InformationProtectionPolicyListPage) NextWithContext(ctx context.Context) (err error)
- func (page InformationProtectionPolicyListPage) NotDone() bool
- func (page InformationProtectionPolicyListPage) Response() InformationProtectionPolicyList
- func (page InformationProtectionPolicyListPage) Values() []InformationProtectionPolicy
- type InformationProtectionPolicyProperties
- type InformationType
- type IoTSecurityAggregatedAlert
- type IoTSecurityAggregatedAlertList
- type IoTSecurityAggregatedAlertListIterator
- func (iter *IoTSecurityAggregatedAlertListIterator) Next() error
- func (iter *IoTSecurityAggregatedAlertListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter IoTSecurityAggregatedAlertListIterator) NotDone() bool
- func (iter IoTSecurityAggregatedAlertListIterator) Response() IoTSecurityAggregatedAlertList
- func (iter IoTSecurityAggregatedAlertListIterator) Value() IoTSecurityAggregatedAlert
- type IoTSecurityAggregatedAlertListPage
- func (page *IoTSecurityAggregatedAlertListPage) Next() error
- func (page *IoTSecurityAggregatedAlertListPage) NextWithContext(ctx context.Context) (err error)
- func (page IoTSecurityAggregatedAlertListPage) NotDone() bool
- func (page IoTSecurityAggregatedAlertListPage) Response() IoTSecurityAggregatedAlertList
- func (page IoTSecurityAggregatedAlertListPage) Values() []IoTSecurityAggregatedAlert
- type IoTSecurityAggregatedAlertProperties
- type IoTSecurityAggregatedRecommendation
- type IoTSecurityAggregatedRecommendationList
- type IoTSecurityAggregatedRecommendationListIterator
- func (iter *IoTSecurityAggregatedRecommendationListIterator) Next() error
- func (iter *IoTSecurityAggregatedRecommendationListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter IoTSecurityAggregatedRecommendationListIterator) NotDone() bool
- func (iter IoTSecurityAggregatedRecommendationListIterator) Response() IoTSecurityAggregatedRecommendationList
- func (iter IoTSecurityAggregatedRecommendationListIterator) Value() IoTSecurityAggregatedRecommendation
- type IoTSecurityAggregatedRecommendationListPage
- func (page *IoTSecurityAggregatedRecommendationListPage) Next() error
- func (page *IoTSecurityAggregatedRecommendationListPage) NextWithContext(ctx context.Context) (err error)
- func (page IoTSecurityAggregatedRecommendationListPage) NotDone() bool
- func (page IoTSecurityAggregatedRecommendationListPage) Response() IoTSecurityAggregatedRecommendationList
- func (page IoTSecurityAggregatedRecommendationListPage) Values() []IoTSecurityAggregatedRecommendation
- type IoTSecurityAggregatedRecommendationProperties
- type IoTSecurityAlertedDevice
- type IoTSecurityAlertedDevicesList
- type IoTSecurityDeviceAlert
- type IoTSecurityDeviceAlertsList
- type IoTSecurityDeviceRecommendation
- type IoTSecurityDeviceRecommendationsList
- type IoTSecuritySolutionAnalyticsModel
- type IoTSecuritySolutionAnalyticsModelList
- type IoTSecuritySolutionAnalyticsModelProperties
- type IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem
- type IoTSecuritySolutionModel
- type IoTSecuritySolutionProperties
- type IoTSecuritySolutionsAnalyticsAggregatedAlertClient
- func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertClient
- func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertClient
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) Dismiss(ctx context.Context, resourceGroupName string, solutionName string, ...) (result autorest.Response, err error)
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissPreparer(ctx context.Context, resourceGroupName string, solutionName string, ...) (*http.Request, error)
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissResponder(resp *http.Response) (result autorest.Response, err error)
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissSender(req *http.Request) (*http.Response, error)
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) Get(ctx context.Context, resourceGroupName string, solutionName string, ...) (result IoTSecurityAggregatedAlert, err error)
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string, ...) (*http.Request, error)
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetResponder(resp *http.Response) (result IoTSecurityAggregatedAlert, err error)
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetSender(req *http.Request) (*http.Response, error)
- type IoTSecuritySolutionsAnalyticsAggregatedAlertsClient
- func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertsClient
- func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertsClient
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) List(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedAlertListPage, err error)
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListComplete(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedAlertListIterator, err error)
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListPreparer(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (*http.Request, error)
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListResponder(resp *http.Response) (result IoTSecurityAggregatedAlertList, err error)
- func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListSender(req *http.Request) (*http.Response, error)
- type IoTSecuritySolutionsAnalyticsClient
- func (client IoTSecuritySolutionsAnalyticsClient) GetAll(ctx context.Context, resourceGroupName string, solutionName string) (result IoTSecuritySolutionAnalyticsModelList, err error)
- func (client IoTSecuritySolutionsAnalyticsClient) GetAllPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)
- func (client IoTSecuritySolutionsAnalyticsClient) GetAllResponder(resp *http.Response) (result IoTSecuritySolutionAnalyticsModelList, err error)
- func (client IoTSecuritySolutionsAnalyticsClient) GetAllSender(req *http.Request) (*http.Response, error)
- func (client IoTSecuritySolutionsAnalyticsClient) GetDefault(ctx context.Context, resourceGroupName string, solutionName string) (result IoTSecuritySolutionAnalyticsModel, err error)
- func (client IoTSecuritySolutionsAnalyticsClient) GetDefaultPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)
- func (client IoTSecuritySolutionsAnalyticsClient) GetDefaultResponder(resp *http.Response) (result IoTSecuritySolutionAnalyticsModel, err error)
- func (client IoTSecuritySolutionsAnalyticsClient) GetDefaultSender(req *http.Request) (*http.Response, error)
- type IoTSecuritySolutionsAnalyticsRecommendationClient
- func NewIoTSecuritySolutionsAnalyticsRecommendationClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationClient
- func NewIoTSecuritySolutionsAnalyticsRecommendationClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationClient
- func (client IoTSecuritySolutionsAnalyticsRecommendationClient) Get(ctx context.Context, resourceGroupName string, solutionName string, ...) (result IoTSecurityAggregatedRecommendation, err error)
- func (client IoTSecuritySolutionsAnalyticsRecommendationClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string, ...) (*http.Request, error)
- func (client IoTSecuritySolutionsAnalyticsRecommendationClient) GetResponder(resp *http.Response) (result IoTSecurityAggregatedRecommendation, err error)
- func (client IoTSecuritySolutionsAnalyticsRecommendationClient) GetSender(req *http.Request) (*http.Response, error)
- type IoTSecuritySolutionsAnalyticsRecommendationsClient
- func NewIoTSecuritySolutionsAnalyticsRecommendationsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationsClient
- func NewIoTSecuritySolutionsAnalyticsRecommendationsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationsClient
- func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) List(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedRecommendationListPage, err error)
- func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListComplete(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedRecommendationListIterator, err error)
- func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListPreparer(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (*http.Request, error)
- func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListResponder(resp *http.Response) (result IoTSecurityAggregatedRecommendationList, err error)
- func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListSender(req *http.Request) (*http.Response, error)
- type IoTSecuritySolutionsClient
- func (client IoTSecuritySolutionsClient) List(ctx context.Context, filter string) (result IoTSecuritySolutionsListPage, err error)
- func (client IoTSecuritySolutionsClient) ListComplete(ctx context.Context, filter string) (result IoTSecuritySolutionsListIterator, err error)
- func (client IoTSecuritySolutionsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)
- func (client IoTSecuritySolutionsClient) ListResponder(resp *http.Response) (result IoTSecuritySolutionsList, err error)
- func (client IoTSecuritySolutionsClient) ListSender(req *http.Request) (*http.Response, error)
- type IoTSecuritySolutionsList
- type IoTSecuritySolutionsListIterator
- func (iter *IoTSecuritySolutionsListIterator) Next() error
- func (iter *IoTSecuritySolutionsListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter IoTSecuritySolutionsListIterator) NotDone() bool
- func (iter IoTSecuritySolutionsListIterator) Response() IoTSecuritySolutionsList
- func (iter IoTSecuritySolutionsListIterator) Value() IoTSecuritySolutionModel
- type IoTSecuritySolutionsListPage
- func (page *IoTSecuritySolutionsListPage) Next() error
- func (page *IoTSecuritySolutionsListPage) NextWithContext(ctx context.Context) (err error)
- func (page IoTSecuritySolutionsListPage) NotDone() bool
- func (page IoTSecuritySolutionsListPage) Response() IoTSecuritySolutionsList
- func (page IoTSecuritySolutionsListPage) Values() []IoTSecuritySolutionModel
- type IoTSecuritySolutionsResourceGroupClient
- func (client IoTSecuritySolutionsResourceGroupClient) List(ctx context.Context, resourceGroupName string, filter string) (result IoTSecuritySolutionsListPage, err error)
- func (client IoTSecuritySolutionsResourceGroupClient) ListComplete(ctx context.Context, resourceGroupName string, filter string) (result IoTSecuritySolutionsListIterator, err error)
- func (client IoTSecuritySolutionsResourceGroupClient) ListPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)
- func (client IoTSecuritySolutionsResourceGroupClient) ListResponder(resp *http.Response) (result IoTSecuritySolutionsList, err error)
- func (client IoTSecuritySolutionsResourceGroupClient) ListSender(req *http.Request) (*http.Response, error)
- type IoTSeverityMetrics
- type IotSecuritySolutionClient
- func (client IotSecuritySolutionClient) Create(ctx context.Context, resourceGroupName string, solutionName string, ...) (result IoTSecuritySolutionModel, err error)
- func (client IotSecuritySolutionClient) CreatePreparer(ctx context.Context, resourceGroupName string, solutionName string, ...) (*http.Request, error)
- func (client IotSecuritySolutionClient) CreateResponder(resp *http.Response) (result IoTSecuritySolutionModel, err error)
- func (client IotSecuritySolutionClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client IotSecuritySolutionClient) Delete(ctx context.Context, resourceGroupName string, solutionName string) (result autorest.Response, err error)
- func (client IotSecuritySolutionClient) DeletePreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)
- func (client IotSecuritySolutionClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client IotSecuritySolutionClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client IotSecuritySolutionClient) Get(ctx context.Context, resourceGroupName string, solutionName string) (result IoTSecuritySolutionModel, err error)
- func (client IotSecuritySolutionClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)
- func (client IotSecuritySolutionClient) GetResponder(resp *http.Response) (result IoTSecuritySolutionModel, err error)
- func (client IotSecuritySolutionClient) GetSender(req *http.Request) (*http.Response, error)
- func (client IotSecuritySolutionClient) Update(ctx context.Context, resourceGroupName string, solutionName string, ...) (result IoTSecuritySolutionModel, err error)
- func (client IotSecuritySolutionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, solutionName string, ...) (*http.Request, error)
- func (client IotSecuritySolutionClient) UpdateResponder(resp *http.Response) (result IoTSecuritySolutionModel, err error)
- func (client IotSecuritySolutionClient) UpdateSender(req *http.Request) (*http.Response, error)
- type Issue
- type JitNetworkAccessPoliciesClient
- func (client JitNetworkAccessPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ...) (result JitNetworkAccessPolicy, err error)
- func (client JitNetworkAccessPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client JitNetworkAccessPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result JitNetworkAccessPolicy, err error)
- func (client JitNetworkAccessPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client JitNetworkAccessPoliciesClient) Delete(ctx context.Context, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client JitNetworkAccessPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client JitNetworkAccessPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JitNetworkAccessPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client JitNetworkAccessPoliciesClient) Get(ctx context.Context, resourceGroupName string, ...) (result JitNetworkAccessPolicy, err error)
- func (client JitNetworkAccessPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client JitNetworkAccessPoliciesClient) GetResponder(resp *http.Response) (result JitNetworkAccessPolicy, err error)
- func (client JitNetworkAccessPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client JitNetworkAccessPoliciesClient) Initiate(ctx context.Context, resourceGroupName string, ...) (result JitNetworkAccessRequest, err error)
- func (client JitNetworkAccessPoliciesClient) InitiatePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client JitNetworkAccessPoliciesClient) InitiateResponder(resp *http.Response) (result JitNetworkAccessRequest, err error)
- func (client JitNetworkAccessPoliciesClient) InitiateSender(req *http.Request) (*http.Response, error)
- func (client JitNetworkAccessPoliciesClient) List(ctx context.Context) (result JitNetworkAccessPoliciesListPage, err error)
- func (client JitNetworkAccessPoliciesClient) ListByRegion(ctx context.Context) (result JitNetworkAccessPoliciesListPage, err error)
- func (client JitNetworkAccessPoliciesClient) ListByRegionComplete(ctx context.Context) (result JitNetworkAccessPoliciesListIterator, err error)
- func (client JitNetworkAccessPoliciesClient) ListByRegionPreparer(ctx context.Context) (*http.Request, error)
- func (client JitNetworkAccessPoliciesClient) ListByRegionResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)
- func (client JitNetworkAccessPoliciesClient) ListByRegionSender(req *http.Request) (*http.Response, error)
- func (client JitNetworkAccessPoliciesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result JitNetworkAccessPoliciesListPage, err error)
- func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegion(ctx context.Context, resourceGroupName string) (result JitNetworkAccessPoliciesListPage, err error)
- func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionComplete(ctx context.Context, resourceGroupName string) (result JitNetworkAccessPoliciesListIterator, err error)
- func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)
- func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionSender(req *http.Request) (*http.Response, error)
- func (client JitNetworkAccessPoliciesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result JitNetworkAccessPoliciesListIterator, err error)
- func (client JitNetworkAccessPoliciesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client JitNetworkAccessPoliciesClient) ListByResourceGroupResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)
- func (client JitNetworkAccessPoliciesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client JitNetworkAccessPoliciesClient) ListComplete(ctx context.Context) (result JitNetworkAccessPoliciesListIterator, err error)
- func (client JitNetworkAccessPoliciesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client JitNetworkAccessPoliciesClient) ListResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)
- func (client JitNetworkAccessPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
- type JitNetworkAccessPoliciesList
- type JitNetworkAccessPoliciesListIterator
- func (iter *JitNetworkAccessPoliciesListIterator) Next() error
- func (iter *JitNetworkAccessPoliciesListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter JitNetworkAccessPoliciesListIterator) NotDone() bool
- func (iter JitNetworkAccessPoliciesListIterator) Response() JitNetworkAccessPoliciesList
- func (iter JitNetworkAccessPoliciesListIterator) Value() JitNetworkAccessPolicy
- type JitNetworkAccessPoliciesListPage
- func (page *JitNetworkAccessPoliciesListPage) Next() error
- func (page *JitNetworkAccessPoliciesListPage) NextWithContext(ctx context.Context) (err error)
- func (page JitNetworkAccessPoliciesListPage) NotDone() bool
- func (page JitNetworkAccessPoliciesListPage) Response() JitNetworkAccessPoliciesList
- func (page JitNetworkAccessPoliciesListPage) Values() []JitNetworkAccessPolicy
- type JitNetworkAccessPolicy
- type JitNetworkAccessPolicyInitiatePort
- type JitNetworkAccessPolicyInitiateRequest
- type JitNetworkAccessPolicyInitiateVirtualMachine
- type JitNetworkAccessPolicyProperties
- type JitNetworkAccessPolicyVirtualMachine
- type JitNetworkAccessPortRule
- type JitNetworkAccessRequest
- type JitNetworkAccessRequestPort
- type JitNetworkAccessRequestVirtualMachine
- type Kind
- type KindEnum
- type ListCustomAlertRule
- type Location
- type LocationsClient
- func (client LocationsClient) Get(ctx context.Context) (result AscLocation, err error)
- func (client LocationsClient) GetPreparer(ctx context.Context) (*http.Request, error)
- func (client LocationsClient) GetResponder(resp *http.Response) (result AscLocation, err error)
- func (client LocationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LocationsClient) List(ctx context.Context) (result AscLocationListPage, err error)
- func (client LocationsClient) ListComplete(ctx context.Context) (result AscLocationListIterator, err error)
- func (client LocationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client LocationsClient) ListResponder(resp *http.Response) (result AscLocationList, err error)
- func (client LocationsClient) ListSender(req *http.Request) (*http.Response, error)
- type Msi
- type OnPremiseResourceDetails
- func (oprd OnPremiseResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)
- func (oprd OnPremiseResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)
- func (oprd OnPremiseResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)
- func (oprd OnPremiseResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)
- func (oprd OnPremiseResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)
- func (oprd OnPremiseResourceDetails) AsResourceDetails() (*ResourceDetails, bool)
- func (oprd OnPremiseResourceDetails) MarshalJSON() ([]byte, error)
- type OnPremiseSQLResourceDetails
- func (opsrd OnPremiseSQLResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)
- func (opsrd OnPremiseSQLResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)
- func (opsrd OnPremiseSQLResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)
- func (opsrd OnPremiseSQLResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)
- func (opsrd OnPremiseSQLResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)
- func (opsrd OnPremiseSQLResourceDetails) AsResourceDetails() (*ResourceDetails, bool)
- func (opsrd OnPremiseSQLResourceDetails) MarshalJSON() ([]byte, error)
- type Operation
- type OperationDisplay
- type OperationList
- type OperationListIterator
- type OperationListPage
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type Operator
- type PathRecommendation
- type PermissionProperty
- type Pricing
- type PricingList
- type PricingProperties
- type PricingTier
- type PricingsClient
- func (client PricingsClient) Get(ctx context.Context, pricingName string) (result Pricing, err error)
- func (client PricingsClient) GetPreparer(ctx context.Context, pricingName string) (*http.Request, error)
- func (client PricingsClient) GetResponder(resp *http.Response) (result Pricing, err error)
- func (client PricingsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PricingsClient) List(ctx context.Context) (result PricingList, err error)
- func (client PricingsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client PricingsClient) ListResponder(resp *http.Response) (result PricingList, err error)
- func (client PricingsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client PricingsClient) Update(ctx context.Context, pricingName string, pricing Pricing) (result Pricing, err error)
- func (client PricingsClient) UpdatePreparer(ctx context.Context, pricingName string, pricing Pricing) (*http.Request, error)
- func (client PricingsClient) UpdateResponder(resp *http.Response) (result Pricing, err error)
- func (client PricingsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type PropertyType
- type ProtectionMode
- type Protocol
- type ProxyServerProperties
- type PublisherInfo
- type Rank
- type RecommendationAction
- type RecommendationAction1
- type RecommendationConfigStatus
- type RecommendationConfigurationProperties
- type RecommendationStatus
- type RecommendationType
- type RegulatoryComplianceAssessment
- type RegulatoryComplianceAssessmentList
- type RegulatoryComplianceAssessmentListIterator
- func (iter *RegulatoryComplianceAssessmentListIterator) Next() error
- func (iter *RegulatoryComplianceAssessmentListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RegulatoryComplianceAssessmentListIterator) NotDone() bool
- func (iter RegulatoryComplianceAssessmentListIterator) Response() RegulatoryComplianceAssessmentList
- func (iter RegulatoryComplianceAssessmentListIterator) Value() RegulatoryComplianceAssessment
- type RegulatoryComplianceAssessmentListPage
- func (page *RegulatoryComplianceAssessmentListPage) Next() error
- func (page *RegulatoryComplianceAssessmentListPage) NextWithContext(ctx context.Context) (err error)
- func (page RegulatoryComplianceAssessmentListPage) NotDone() bool
- func (page RegulatoryComplianceAssessmentListPage) Response() RegulatoryComplianceAssessmentList
- func (page RegulatoryComplianceAssessmentListPage) Values() []RegulatoryComplianceAssessment
- type RegulatoryComplianceAssessmentProperties
- type RegulatoryComplianceAssessmentsClient
- func (client RegulatoryComplianceAssessmentsClient) Get(ctx context.Context, regulatoryComplianceStandardName string, ...) (result RegulatoryComplianceAssessment, err error)
- func (client RegulatoryComplianceAssessmentsClient) GetPreparer(ctx context.Context, regulatoryComplianceStandardName string, ...) (*http.Request, error)
- func (client RegulatoryComplianceAssessmentsClient) GetResponder(resp *http.Response) (result RegulatoryComplianceAssessment, err error)
- func (client RegulatoryComplianceAssessmentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RegulatoryComplianceAssessmentsClient) List(ctx context.Context, regulatoryComplianceStandardName string, ...) (result RegulatoryComplianceAssessmentListPage, err error)
- func (client RegulatoryComplianceAssessmentsClient) ListComplete(ctx context.Context, regulatoryComplianceStandardName string, ...) (result RegulatoryComplianceAssessmentListIterator, err error)
- func (client RegulatoryComplianceAssessmentsClient) ListPreparer(ctx context.Context, regulatoryComplianceStandardName string, ...) (*http.Request, error)
- func (client RegulatoryComplianceAssessmentsClient) ListResponder(resp *http.Response) (result RegulatoryComplianceAssessmentList, err error)
- func (client RegulatoryComplianceAssessmentsClient) ListSender(req *http.Request) (*http.Response, error)
- type RegulatoryComplianceControl
- type RegulatoryComplianceControlList
- type RegulatoryComplianceControlListIterator
- func (iter *RegulatoryComplianceControlListIterator) Next() error
- func (iter *RegulatoryComplianceControlListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RegulatoryComplianceControlListIterator) NotDone() bool
- func (iter RegulatoryComplianceControlListIterator) Response() RegulatoryComplianceControlList
- func (iter RegulatoryComplianceControlListIterator) Value() RegulatoryComplianceControl
- type RegulatoryComplianceControlListPage
- func (page *RegulatoryComplianceControlListPage) Next() error
- func (page *RegulatoryComplianceControlListPage) NextWithContext(ctx context.Context) (err error)
- func (page RegulatoryComplianceControlListPage) NotDone() bool
- func (page RegulatoryComplianceControlListPage) Response() RegulatoryComplianceControlList
- func (page RegulatoryComplianceControlListPage) Values() []RegulatoryComplianceControl
- type RegulatoryComplianceControlProperties
- type RegulatoryComplianceControlsClient
- func (client RegulatoryComplianceControlsClient) Get(ctx context.Context, regulatoryComplianceStandardName string, ...) (result RegulatoryComplianceControl, err error)
- func (client RegulatoryComplianceControlsClient) GetPreparer(ctx context.Context, regulatoryComplianceStandardName string, ...) (*http.Request, error)
- func (client RegulatoryComplianceControlsClient) GetResponder(resp *http.Response) (result RegulatoryComplianceControl, err error)
- func (client RegulatoryComplianceControlsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RegulatoryComplianceControlsClient) List(ctx context.Context, regulatoryComplianceStandardName string, filter string) (result RegulatoryComplianceControlListPage, err error)
- func (client RegulatoryComplianceControlsClient) ListComplete(ctx context.Context, regulatoryComplianceStandardName string, filter string) (result RegulatoryComplianceControlListIterator, err error)
- func (client RegulatoryComplianceControlsClient) ListPreparer(ctx context.Context, regulatoryComplianceStandardName string, filter string) (*http.Request, error)
- func (client RegulatoryComplianceControlsClient) ListResponder(resp *http.Response) (result RegulatoryComplianceControlList, err error)
- func (client RegulatoryComplianceControlsClient) ListSender(req *http.Request) (*http.Response, error)
- type RegulatoryComplianceStandard
- type RegulatoryComplianceStandardList
- type RegulatoryComplianceStandardListIterator
- func (iter *RegulatoryComplianceStandardListIterator) Next() error
- func (iter *RegulatoryComplianceStandardListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RegulatoryComplianceStandardListIterator) NotDone() bool
- func (iter RegulatoryComplianceStandardListIterator) Response() RegulatoryComplianceStandardList
- func (iter RegulatoryComplianceStandardListIterator) Value() RegulatoryComplianceStandard
- type RegulatoryComplianceStandardListPage
- func (page *RegulatoryComplianceStandardListPage) Next() error
- func (page *RegulatoryComplianceStandardListPage) NextWithContext(ctx context.Context) (err error)
- func (page RegulatoryComplianceStandardListPage) NotDone() bool
- func (page RegulatoryComplianceStandardListPage) Response() RegulatoryComplianceStandardList
- func (page RegulatoryComplianceStandardListPage) Values() []RegulatoryComplianceStandard
- type RegulatoryComplianceStandardProperties
- type RegulatoryComplianceStandardsClient
- func (client RegulatoryComplianceStandardsClient) Get(ctx context.Context, regulatoryComplianceStandardName string) (result RegulatoryComplianceStandard, err error)
- func (client RegulatoryComplianceStandardsClient) GetPreparer(ctx context.Context, regulatoryComplianceStandardName string) (*http.Request, error)
- func (client RegulatoryComplianceStandardsClient) GetResponder(resp *http.Response) (result RegulatoryComplianceStandard, err error)
- func (client RegulatoryComplianceStandardsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RegulatoryComplianceStandardsClient) List(ctx context.Context, filter string) (result RegulatoryComplianceStandardListPage, err error)
- func (client RegulatoryComplianceStandardsClient) ListComplete(ctx context.Context, filter string) (result RegulatoryComplianceStandardListIterator, err error)
- func (client RegulatoryComplianceStandardsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)
- func (client RegulatoryComplianceStandardsClient) ListResponder(resp *http.Response) (result RegulatoryComplianceStandardList, err error)
- func (client RegulatoryComplianceStandardsClient) ListSender(req *http.Request) (*http.Response, error)
- type ReportedSeverity
- type Resource
- type ResourceDetails
- func (rd ResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)
- func (rd ResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)
- func (rd ResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)
- func (rd ResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)
- func (rd ResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)
- func (rd ResourceDetails) AsResourceDetails() (*ResourceDetails, bool)
- func (rd ResourceDetails) MarshalJSON() ([]byte, error)
- type Rule
- type RuleState
- type SQLServerVulnerabilityProperties
- func (ssvp SQLServerVulnerabilityProperties) AsAdditionalData() (*AdditionalData, bool)
- func (ssvp SQLServerVulnerabilityProperties) AsBasicAdditionalData() (BasicAdditionalData, bool)
- func (ssvp SQLServerVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)
- func (ssvp SQLServerVulnerabilityProperties) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)
- func (ssvp SQLServerVulnerabilityProperties) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)
- func (ssvp SQLServerVulnerabilityProperties) MarshalJSON() ([]byte, error)
- type ScopeElement
- type ScoreDetails
- type Script
- type SecureScoreControlDefinitionItem
- type SecureScoreControlDefinitionItemProperties
- type SecureScoreControlDefinitionList
- type SecureScoreControlDefinitionListIterator
- func (iter *SecureScoreControlDefinitionListIterator) Next() error
- func (iter *SecureScoreControlDefinitionListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SecureScoreControlDefinitionListIterator) NotDone() bool
- func (iter SecureScoreControlDefinitionListIterator) Response() SecureScoreControlDefinitionList
- func (iter SecureScoreControlDefinitionListIterator) Value() SecureScoreControlDefinitionItem
- type SecureScoreControlDefinitionListPage
- func (page *SecureScoreControlDefinitionListPage) Next() error
- func (page *SecureScoreControlDefinitionListPage) NextWithContext(ctx context.Context) (err error)
- func (page SecureScoreControlDefinitionListPage) NotDone() bool
- func (page SecureScoreControlDefinitionListPage) Response() SecureScoreControlDefinitionList
- func (page SecureScoreControlDefinitionListPage) Values() []SecureScoreControlDefinitionItem
- type SecureScoreControlDefinitionSource
- type SecureScoreControlDefinitionsClient
- func (client SecureScoreControlDefinitionsClient) List(ctx context.Context) (result SecureScoreControlDefinitionListPage, err error)
- func (client SecureScoreControlDefinitionsClient) ListBySubscription(ctx context.Context) (result SecureScoreControlDefinitionListPage, err error)
- func (client SecureScoreControlDefinitionsClient) ListBySubscriptionComplete(ctx context.Context) (result SecureScoreControlDefinitionListIterator, err error)
- func (client SecureScoreControlDefinitionsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client SecureScoreControlDefinitionsClient) ListBySubscriptionResponder(resp *http.Response) (result SecureScoreControlDefinitionList, err error)
- func (client SecureScoreControlDefinitionsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client SecureScoreControlDefinitionsClient) ListComplete(ctx context.Context) (result SecureScoreControlDefinitionListIterator, err error)
- func (client SecureScoreControlDefinitionsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client SecureScoreControlDefinitionsClient) ListResponder(resp *http.Response) (result SecureScoreControlDefinitionList, err error)
- func (client SecureScoreControlDefinitionsClient) ListSender(req *http.Request) (*http.Response, error)
- type SecureScoreControlDetails
- type SecureScoreControlList
- type SecureScoreControlListIterator
- func (iter *SecureScoreControlListIterator) Next() error
- func (iter *SecureScoreControlListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SecureScoreControlListIterator) NotDone() bool
- func (iter SecureScoreControlListIterator) Response() SecureScoreControlList
- func (iter SecureScoreControlListIterator) Value() SecureScoreControlDetails
- type SecureScoreControlListPage
- func (page *SecureScoreControlListPage) Next() error
- func (page *SecureScoreControlListPage) NextWithContext(ctx context.Context) (err error)
- func (page SecureScoreControlListPage) NotDone() bool
- func (page SecureScoreControlListPage) Response() SecureScoreControlList
- func (page SecureScoreControlListPage) Values() []SecureScoreControlDetails
- type SecureScoreControlScore
- type SecureScoreControlScoreDetails
- type SecureScoreControlsClient
- func (client SecureScoreControlsClient) List(ctx context.Context, expand ExpandControlsEnum) (result SecureScoreControlListPage, err error)
- func (client SecureScoreControlsClient) ListBySecureScore(ctx context.Context, secureScoreName string, expand ExpandControlsEnum) (result SecureScoreControlListPage, err error)
- func (client SecureScoreControlsClient) ListBySecureScoreComplete(ctx context.Context, secureScoreName string, expand ExpandControlsEnum) (result SecureScoreControlListIterator, err error)
- func (client SecureScoreControlsClient) ListBySecureScorePreparer(ctx context.Context, secureScoreName string, expand ExpandControlsEnum) (*http.Request, error)
- func (client SecureScoreControlsClient) ListBySecureScoreResponder(resp *http.Response) (result SecureScoreControlList, err error)
- func (client SecureScoreControlsClient) ListBySecureScoreSender(req *http.Request) (*http.Response, error)
- func (client SecureScoreControlsClient) ListComplete(ctx context.Context, expand ExpandControlsEnum) (result SecureScoreControlListIterator, err error)
- func (client SecureScoreControlsClient) ListPreparer(ctx context.Context, expand ExpandControlsEnum) (*http.Request, error)
- func (client SecureScoreControlsClient) ListResponder(resp *http.Response) (result SecureScoreControlList, err error)
- func (client SecureScoreControlsClient) ListSender(req *http.Request) (*http.Response, error)
- type SecureScoreItem
- type SecureScoreItemProperties
- type SecureScoresClient
- func (client SecureScoresClient) Get(ctx context.Context, secureScoreName string) (result SecureScoreItem, err error)
- func (client SecureScoresClient) GetPreparer(ctx context.Context, secureScoreName string) (*http.Request, error)
- func (client SecureScoresClient) GetResponder(resp *http.Response) (result SecureScoreItem, err error)
- func (client SecureScoresClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SecureScoresClient) List(ctx context.Context) (result SecureScoresListPage, err error)
- func (client SecureScoresClient) ListComplete(ctx context.Context) (result SecureScoresListIterator, err error)
- func (client SecureScoresClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client SecureScoresClient) ListResponder(resp *http.Response) (result SecureScoresList, err error)
- func (client SecureScoresClient) ListSender(req *http.Request) (*http.Response, error)
- type SecureScoresList
- type SecureScoresListIterator
- func (iter *SecureScoresListIterator) Next() error
- func (iter *SecureScoresListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SecureScoresListIterator) NotDone() bool
- func (iter SecureScoresListIterator) Response() SecureScoresList
- func (iter SecureScoresListIterator) Value() SecureScoreItem
- type SecureScoresListPage
- type SensitivityLabel
- type ServerVulnerabilityProperties
- func (svp ServerVulnerabilityProperties) AsAdditionalData() (*AdditionalData, bool)
- func (svp ServerVulnerabilityProperties) AsBasicAdditionalData() (BasicAdditionalData, bool)
- func (svp ServerVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)
- func (svp ServerVulnerabilityProperties) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)
- func (svp ServerVulnerabilityProperties) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)
- func (svp ServerVulnerabilityProperties) MarshalJSON() ([]byte, error)
- type ServicePrincipalProperties
- type Setting
- type SettingKind
- type SettingResource
- type SettingsClient
- func (client SettingsClient) Get(ctx context.Context, settingName string) (result Setting, err error)
- func (client SettingsClient) GetPreparer(ctx context.Context, settingName string) (*http.Request, error)
- func (client SettingsClient) GetResponder(resp *http.Response) (result Setting, err error)
- func (client SettingsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SettingsClient) List(ctx context.Context) (result SettingsListPage, err error)
- func (client SettingsClient) ListComplete(ctx context.Context) (result SettingsListIterator, err error)
- func (client SettingsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client SettingsClient) ListResponder(resp *http.Response) (result SettingsList, err error)
- func (client SettingsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client SettingsClient) Update(ctx context.Context, settingName string, setting Setting) (result Setting, err error)
- func (client SettingsClient) UpdatePreparer(ctx context.Context, settingName string, setting Setting) (*http.Request, error)
- func (client SettingsClient) UpdateResponder(resp *http.Response) (result Setting, err error)
- func (client SettingsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SettingsList
- type SettingsListIterator
- type SettingsListPage
- type Severity
- type SolutionStatus
- type Source
- type SourceSystem
- type State
- type Status
- type StatusReason
- type SubAssessment
- type SubAssessmentList
- type SubAssessmentListIterator
- func (iter *SubAssessmentListIterator) Next() error
- func (iter *SubAssessmentListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SubAssessmentListIterator) NotDone() bool
- func (iter SubAssessmentListIterator) Response() SubAssessmentList
- func (iter SubAssessmentListIterator) Value() SubAssessment
- type SubAssessmentListPage
- func (page *SubAssessmentListPage) Next() error
- func (page *SubAssessmentListPage) NextWithContext(ctx context.Context) (err error)
- func (page SubAssessmentListPage) NotDone() bool
- func (page SubAssessmentListPage) Response() SubAssessmentList
- func (page SubAssessmentListPage) Values() []SubAssessment
- type SubAssessmentProperties
- type SubAssessmentStatus
- type SubAssessmentStatusCode
- type SubAssessmentsClient
- func (client SubAssessmentsClient) Get(ctx context.Context, scope string, assessmentName string, ...) (result SubAssessment, err error)
- func (client SubAssessmentsClient) GetPreparer(ctx context.Context, scope string, assessmentName string, ...) (*http.Request, error)
- func (client SubAssessmentsClient) GetResponder(resp *http.Response) (result SubAssessment, err error)
- func (client SubAssessmentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SubAssessmentsClient) List(ctx context.Context, scope string, assessmentName string) (result SubAssessmentListPage, err error)
- func (client SubAssessmentsClient) ListAll(ctx context.Context, scope string) (result SubAssessmentListPage, err error)
- func (client SubAssessmentsClient) ListAllComplete(ctx context.Context, scope string) (result SubAssessmentListIterator, err error)
- func (client SubAssessmentsClient) ListAllPreparer(ctx context.Context, scope string) (*http.Request, error)
- func (client SubAssessmentsClient) ListAllResponder(resp *http.Response) (result SubAssessmentList, err error)
- func (client SubAssessmentsClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client SubAssessmentsClient) ListComplete(ctx context.Context, scope string, assessmentName string) (result SubAssessmentListIterator, err error)
- func (client SubAssessmentsClient) ListPreparer(ctx context.Context, scope string, assessmentName string) (*http.Request, error)
- func (client SubAssessmentsClient) ListResponder(resp *http.Response) (result SubAssessmentList, err error)
- func (client SubAssessmentsClient) ListSender(req *http.Request) (*http.Response, error)
- type SuppressionAlertsScope
- type Tags
- type TagsResource
- type Task
- type TaskList
- type TaskListIterator
- type TaskListPage
- type TaskParameters
- type TaskProperties
- type TasksClient
- func (client TasksClient) GetResourceGroupLevelTask(ctx context.Context, resourceGroupName string, taskName string) (result Task, err error)
- func (client TasksClient) GetResourceGroupLevelTaskPreparer(ctx context.Context, resourceGroupName string, taskName string) (*http.Request, error)
- func (client TasksClient) GetResourceGroupLevelTaskResponder(resp *http.Response) (result Task, err error)
- func (client TasksClient) GetResourceGroupLevelTaskSender(req *http.Request) (*http.Response, error)
- func (client TasksClient) GetSubscriptionLevelTask(ctx context.Context, taskName string) (result Task, err error)
- func (client TasksClient) GetSubscriptionLevelTaskPreparer(ctx context.Context, taskName string) (*http.Request, error)
- func (client TasksClient) GetSubscriptionLevelTaskResponder(resp *http.Response) (result Task, err error)
- func (client TasksClient) GetSubscriptionLevelTaskSender(req *http.Request) (*http.Response, error)
- func (client TasksClient) List(ctx context.Context, filter string) (result TaskListPage, err error)
- func (client TasksClient) ListByHomeRegion(ctx context.Context, filter string) (result TaskListPage, err error)
- func (client TasksClient) ListByHomeRegionComplete(ctx context.Context, filter string) (result TaskListIterator, err error)
- func (client TasksClient) ListByHomeRegionPreparer(ctx context.Context, filter string) (*http.Request, error)
- func (client TasksClient) ListByHomeRegionResponder(resp *http.Response) (result TaskList, err error)
- func (client TasksClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)
- func (client TasksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result TaskListPage, err error)
- func (client TasksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string) (result TaskListIterator, err error)
- func (client TasksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)
- func (client TasksClient) ListByResourceGroupResponder(resp *http.Response) (result TaskList, err error)
- func (client TasksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client TasksClient) ListComplete(ctx context.Context, filter string) (result TaskListIterator, err error)
- func (client TasksClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)
- func (client TasksClient) ListResponder(resp *http.Response) (result TaskList, err error)
- func (client TasksClient) ListSender(req *http.Request) (*http.Response, error)
- func (client TasksClient) UpdateResourceGroupLevelTaskState(ctx context.Context, resourceGroupName string, taskName string, ...) (result autorest.Response, err error)
- func (client TasksClient) UpdateResourceGroupLevelTaskStatePreparer(ctx context.Context, resourceGroupName string, taskName string, ...) (*http.Request, error)
- func (client TasksClient) UpdateResourceGroupLevelTaskStateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TasksClient) UpdateResourceGroupLevelTaskStateSender(req *http.Request) (*http.Response, error)
- func (client TasksClient) UpdateSubscriptionLevelTaskState(ctx context.Context, taskName string, taskUpdateActionType string) (result autorest.Response, err error)
- func (client TasksClient) UpdateSubscriptionLevelTaskStatePreparer(ctx context.Context, taskName string, taskUpdateActionType string) (*http.Request, error)
- func (client TasksClient) UpdateSubscriptionLevelTaskStateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TasksClient) UpdateSubscriptionLevelTaskStateSender(req *http.Request) (*http.Response, error)
- type ThresholdCustomAlertRule
- type TimeWindowCustomAlertRule
- type TopologyClient
- func (client TopologyClient) Get(ctx context.Context, resourceGroupName string, topologyResourceName string) (result TopologyResource, err error)
- func (client TopologyClient) GetPreparer(ctx context.Context, resourceGroupName string, topologyResourceName string) (*http.Request, error)
- func (client TopologyClient) GetResponder(resp *http.Response) (result TopologyResource, err error)
- func (client TopologyClient) GetSender(req *http.Request) (*http.Response, error)
- func (client TopologyClient) List(ctx context.Context) (result TopologyListPage, err error)
- func (client TopologyClient) ListByHomeRegion(ctx context.Context) (result TopologyListPage, err error)
- func (client TopologyClient) ListByHomeRegionComplete(ctx context.Context) (result TopologyListIterator, err error)
- func (client TopologyClient) ListByHomeRegionPreparer(ctx context.Context) (*http.Request, error)
- func (client TopologyClient) ListByHomeRegionResponder(resp *http.Response) (result TopologyList, err error)
- func (client TopologyClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)
- func (client TopologyClient) ListComplete(ctx context.Context) (result TopologyListIterator, err error)
- func (client TopologyClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client TopologyClient) ListResponder(resp *http.Response) (result TopologyList, err error)
- func (client TopologyClient) ListSender(req *http.Request) (*http.Response, error)
- type TopologyList
- type TopologyListIterator
- type TopologyListPage
- type TopologyResource
- type TopologyResourceProperties
- type TopologySingleResource
- type TopologySingleResourceChild
- type TopologySingleResourceParent
- type TrackedResource
- type TransportProtocol
- type Type
- type UpdateIotSecuritySolutionData
- type UserDefinedResourcesProperties
- type UserRecommendation
- type VMRecommendation
- type ValueType
- type VendorReference
- type WorkspaceSetting
- type WorkspaceSettingList
- type WorkspaceSettingListIterator
- func (iter *WorkspaceSettingListIterator) Next() error
- func (iter *WorkspaceSettingListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter WorkspaceSettingListIterator) NotDone() bool
- func (iter WorkspaceSettingListIterator) Response() WorkspaceSettingList
- func (iter WorkspaceSettingListIterator) Value() WorkspaceSetting
- type WorkspaceSettingListPage
- func (page *WorkspaceSettingListPage) Next() error
- func (page *WorkspaceSettingListPage) NextWithContext(ctx context.Context) (err error)
- func (page WorkspaceSettingListPage) NotDone() bool
- func (page WorkspaceSettingListPage) Response() WorkspaceSettingList
- func (page WorkspaceSettingListPage) Values() []WorkspaceSetting
- type WorkspaceSettingProperties
- type WorkspaceSettingsClient
- func (client WorkspaceSettingsClient) Create(ctx context.Context, workspaceSettingName string, ...) (result WorkspaceSetting, err error)
- func (client WorkspaceSettingsClient) CreatePreparer(ctx context.Context, workspaceSettingName string, ...) (*http.Request, error)
- func (client WorkspaceSettingsClient) CreateResponder(resp *http.Response) (result WorkspaceSetting, err error)
- func (client WorkspaceSettingsClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client WorkspaceSettingsClient) Delete(ctx context.Context, workspaceSettingName string) (result autorest.Response, err error)
- func (client WorkspaceSettingsClient) DeletePreparer(ctx context.Context, workspaceSettingName string) (*http.Request, error)
- func (client WorkspaceSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client WorkspaceSettingsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client WorkspaceSettingsClient) Get(ctx context.Context, workspaceSettingName string) (result WorkspaceSetting, err error)
- func (client WorkspaceSettingsClient) GetPreparer(ctx context.Context, workspaceSettingName string) (*http.Request, error)
- func (client WorkspaceSettingsClient) GetResponder(resp *http.Response) (result WorkspaceSetting, err error)
- func (client WorkspaceSettingsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client WorkspaceSettingsClient) List(ctx context.Context) (result WorkspaceSettingListPage, err error)
- func (client WorkspaceSettingsClient) ListComplete(ctx context.Context) (result WorkspaceSettingListIterator, err error)
- func (client WorkspaceSettingsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client WorkspaceSettingsClient) ListResponder(resp *http.Response) (result WorkspaceSettingList, err error)
- func (client WorkspaceSettingsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client WorkspaceSettingsClient) Update(ctx context.Context, workspaceSettingName string, ...) (result WorkspaceSetting, err error)
- func (client WorkspaceSettingsClient) UpdatePreparer(ctx context.Context, workspaceSettingName string, ...) (*http.Request, error)
- func (client WorkspaceSettingsClient) UpdateResponder(resp *http.Response) (result WorkspaceSetting, err error)
- func (client WorkspaceSettingsClient) UpdateSender(req *http.Request) (*http.Response, error)
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Security
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AadConnectivityState ¶
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 ¶
func PossibleAadConnectivityStateValues() []AadConnectivityState
PossibleAadConnectivityStateValues returns an array of possible values for the AadConnectivityState const type.
type AadConnectivityState1 ¶
type AadConnectivityState1 struct { // ConnectivityState - Possible values include: 'Discovered', 'NotLicensed', 'Connected' ConnectivityState AadConnectivityState `json:"connectivityState,omitempty"` }
AadConnectivityState1 describes an Azure resource with kind
type AadExternalSecuritySolution ¶
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 ¶
func (aess AadExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)
AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.
func (AadExternalSecuritySolution) AsAtaExternalSecuritySolution ¶
func (aess AadExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)
AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.
func (AadExternalSecuritySolution) AsBasicExternalSecuritySolution ¶
func (aess AadExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)
AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.
func (AadExternalSecuritySolution) AsCefExternalSecuritySolution ¶
func (aess AadExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)
AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.
func (AadExternalSecuritySolution) AsExternalSecuritySolution ¶
func (aess AadExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)
AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AadExternalSecuritySolution.
func (AadExternalSecuritySolution) MarshalJSON ¶
func (aess AadExternalSecuritySolution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AadExternalSecuritySolution.
type AadSolutionProperties ¶
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 ¶
type Action string
Action enumerates the values for action.
func PossibleActionValues ¶
func PossibleActionValues() []Action
PossibleActionValues returns an array of possible values for the Action const type.
type ActionType ¶
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 ¶
func PossibleActionTypeValues() []ActionType
PossibleActionTypeValues returns an array of possible values for the ActionType const type.
type AdaptiveApplicationControlsClient ¶
type AdaptiveApplicationControlsClient struct {
BaseClient
}
AdaptiveApplicationControlsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewAdaptiveApplicationControlsClient ¶
func NewAdaptiveApplicationControlsClient(subscriptionID string, ascLocation string) AdaptiveApplicationControlsClient
NewAdaptiveApplicationControlsClient creates an instance of the AdaptiveApplicationControlsClient client.
func NewAdaptiveApplicationControlsClientWithBaseURI ¶
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 ¶
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 ¶
func (client AdaptiveApplicationControlsClient) DeletePreparer(ctx context.Context, groupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (AdaptiveApplicationControlsClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client AdaptiveApplicationControlsClient) GetPreparer(ctx context.Context, groupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AdaptiveApplicationControlsClient) GetResponder ¶
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 ¶
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 ¶
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 ¶
func (client AdaptiveApplicationControlsClient) ListPreparer(ctx context.Context, includePathRecommendations *bool, summary *bool) (*http.Request, error)
ListPreparer prepares the List request.
func (AdaptiveApplicationControlsClient) ListResponder ¶
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 ¶
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 ¶
func (client AdaptiveApplicationControlsClient) Put(ctx context.Context, groupName string, body AppWhitelistingPutGroupData) (result AppWhitelistingGroup, err error)
Put update an application control VM/server group Parameters: groupName - name of an application control VM/server group body - the updated VM/server group data
func (AdaptiveApplicationControlsClient) PutPreparer ¶
func (client AdaptiveApplicationControlsClient) PutPreparer(ctx context.Context, groupName string, body AppWhitelistingPutGroupData) (*http.Request, error)
PutPreparer prepares the Put request.
func (AdaptiveApplicationControlsClient) PutResponder ¶
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.
type AdaptiveNetworkHardening ¶
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 ¶
func (anh AdaptiveNetworkHardening) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AdaptiveNetworkHardening.
func (*AdaptiveNetworkHardening) UnmarshalJSON ¶
func (anh *AdaptiveNetworkHardening) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AdaptiveNetworkHardening struct.
type AdaptiveNetworkHardeningEnforceRequest ¶
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 ¶
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 ¶
type AdaptiveNetworkHardeningsClient struct {
BaseClient
}
AdaptiveNetworkHardeningsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewAdaptiveNetworkHardeningsClient ¶
func NewAdaptiveNetworkHardeningsClient(subscriptionID string, ascLocation string) AdaptiveNetworkHardeningsClient
NewAdaptiveNetworkHardeningsClient creates an instance of the AdaptiveNetworkHardeningsClient client.
func NewAdaptiveNetworkHardeningsClientWithBaseURI ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AdaptiveNetworkHardeningsClient) ListByExtendedResource ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
AdaptiveNetworkHardeningsEnforceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*AdaptiveNetworkHardeningsEnforceFuture) Result ¶
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 ¶
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 ¶
func (anhl AdaptiveNetworkHardeningsList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AdaptiveNetworkHardeningsListIterator ¶
type AdaptiveNetworkHardeningsListIterator struct {
// contains filtered or unexported fields
}
AdaptiveNetworkHardeningsListIterator provides access to a complete listing of AdaptiveNetworkHardening values.
func NewAdaptiveNetworkHardeningsListIterator ¶
func NewAdaptiveNetworkHardeningsListIterator(page AdaptiveNetworkHardeningsListPage) AdaptiveNetworkHardeningsListIterator
Creates a new instance of the AdaptiveNetworkHardeningsListIterator type.
func (*AdaptiveNetworkHardeningsListIterator) Next ¶
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 ¶
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 ¶
func (iter AdaptiveNetworkHardeningsListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AdaptiveNetworkHardeningsListIterator) Response ¶
func (iter AdaptiveNetworkHardeningsListIterator) Response() AdaptiveNetworkHardeningsList
Response returns the raw server response from the last page request.
func (AdaptiveNetworkHardeningsListIterator) Value ¶
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 ¶
type AdaptiveNetworkHardeningsListPage struct {
// contains filtered or unexported fields
}
AdaptiveNetworkHardeningsListPage contains a page of AdaptiveNetworkHardening values.
func NewAdaptiveNetworkHardeningsListPage ¶
func NewAdaptiveNetworkHardeningsListPage(getNextPage func(context.Context, AdaptiveNetworkHardeningsList) (AdaptiveNetworkHardeningsList, error)) AdaptiveNetworkHardeningsListPage
Creates a new instance of the AdaptiveNetworkHardeningsListPage type.
func (*AdaptiveNetworkHardeningsListPage) Next ¶
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 ¶
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 ¶
func (page AdaptiveNetworkHardeningsListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AdaptiveNetworkHardeningsListPage) Response ¶
func (page AdaptiveNetworkHardeningsListPage) Response() AdaptiveNetworkHardeningsList
Response returns the raw server response from the last page request.
func (AdaptiveNetworkHardeningsListPage) Values ¶
func (page AdaptiveNetworkHardeningsListPage) Values() []AdaptiveNetworkHardening
Values returns the slice of values for the current page or nil if there are no values.
type AdditionalData ¶
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 ¶
func (ad AdditionalData) AsAdditionalData() (*AdditionalData, bool)
AsAdditionalData is the BasicAdditionalData implementation for AdditionalData.
func (AdditionalData) AsBasicAdditionalData ¶
func (ad AdditionalData) AsBasicAdditionalData() (BasicAdditionalData, bool)
AsBasicAdditionalData is the BasicAdditionalData implementation for AdditionalData.
func (AdditionalData) AsContainerRegistryVulnerabilityProperties ¶
func (ad AdditionalData) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)
AsContainerRegistryVulnerabilityProperties is the BasicAdditionalData implementation for AdditionalData.
func (AdditionalData) AsSQLServerVulnerabilityProperties ¶
func (ad AdditionalData) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)
AsSQLServerVulnerabilityProperties is the BasicAdditionalData implementation for AdditionalData.
func (AdditionalData) AsServerVulnerabilityProperties ¶
func (ad AdditionalData) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)
AsServerVulnerabilityProperties is the BasicAdditionalData implementation for AdditionalData.
func (AdditionalData) MarshalJSON ¶
func (ad AdditionalData) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AdditionalData.
type AdvancedThreatProtectionClient ¶
type AdvancedThreatProtectionClient struct {
BaseClient
}
AdvancedThreatProtectionClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewAdvancedThreatProtectionClient ¶
func NewAdvancedThreatProtectionClient(subscriptionID string, ascLocation string) AdvancedThreatProtectionClient
NewAdvancedThreatProtectionClient creates an instance of the AdvancedThreatProtectionClient client.
func NewAdvancedThreatProtectionClientWithBaseURI ¶
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 ¶
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 ¶
func (client AdvancedThreatProtectionClient) CreatePreparer(ctx context.Context, resourceID string, advancedThreatProtectionSetting AdvancedThreatProtectionSetting) (*http.Request, error)
CreatePreparer prepares the Create request.
func (AdvancedThreatProtectionClient) CreateResponder ¶
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 ¶
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 ¶
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 ¶
func (client AdvancedThreatProtectionClient) GetPreparer(ctx context.Context, resourceID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AdvancedThreatProtectionClient) GetResponder ¶
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.
type AdvancedThreatProtectionProperties ¶
type AdvancedThreatProtectionProperties struct { // IsEnabled - Indicates whether Advanced Threat Protection is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` }
AdvancedThreatProtectionProperties the Advanced Threat Protection settings.
type AdvancedThreatProtectionSetting ¶
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 ¶
func (atps AdvancedThreatProtectionSetting) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AdvancedThreatProtectionSetting.
func (*AdvancedThreatProtectionSetting) UnmarshalJSON ¶
func (atps *AdvancedThreatProtectionSetting) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AdvancedThreatProtectionSetting struct.
type Alert ¶
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 ¶
MarshalJSON is the custom marshaler for Alert.
func (*Alert) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Alert struct.
type AlertConfidenceReason ¶
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 ¶
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 ¶
func (ae AlertEntity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AlertEntity.
func (*AlertEntity) UnmarshalJSON ¶
func (ae *AlertEntity) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AlertEntity struct.
type AlertList ¶
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) MarshalJSON ¶
MarshalJSON is the custom marshaler for AlertList.
type AlertListIterator ¶
type AlertListIterator struct {
// contains filtered or unexported fields
}
AlertListIterator provides access to a complete listing of Alert values.
func NewAlertListIterator ¶
func NewAlertListIterator(page AlertListPage) AlertListIterator
Creates a new instance of the AlertListIterator type.
func (*AlertListIterator) Next ¶
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 ¶
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 ¶
func (iter AlertListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AlertListIterator) Response ¶
func (iter AlertListIterator) Response() AlertList
Response returns the raw server response from the last page request.
func (AlertListIterator) Value ¶
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 ¶
type AlertListPage struct {
// contains filtered or unexported fields
}
AlertListPage contains a page of Alert values.
func NewAlertListPage ¶
func NewAlertListPage(getNextPage func(context.Context, AlertList) (AlertList, error)) AlertListPage
Creates a new instance of the AlertListPage type.
func (*AlertListPage) Next ¶
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 ¶
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 ¶
func (page AlertListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AlertListPage) Response ¶
func (page AlertListPage) Response() AlertList
Response returns the raw server response from the last page request.
func (AlertListPage) Values ¶
func (page AlertListPage) Values() []Alert
Values returns the slice of values for the current page or nil if there are no values.
type AlertNotifications ¶
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 ¶
func PossibleAlertNotificationsValues() []AlertNotifications
PossibleAlertNotificationsValues returns an array of possible values for the AlertNotifications const type.
type AlertProperties ¶
type AlertProperties struct { // State - READ-ONLY; State of the alert (Active, Dismissed etc.) State *string `json:"state,omitempty"` // ReportedTimeUtc - READ-ONLY; The time the incident was reported to Microsoft.Security in UTC ReportedTimeUtc *date.Time `json:"reportedTimeUtc,omitempty"` // VendorName - READ-ONLY; Name of the vendor that discovered the incident VendorName *string `json:"vendorName,omitempty"` // AlertName - READ-ONLY; Name of the alert type AlertName *string `json:"alertName,omitempty"` // AlertDisplayName - READ-ONLY; Display name of the alert type AlertDisplayName *string `json:"alertDisplayName,omitempty"` // DetectedTimeUtc - READ-ONLY; The time the incident was detected by the vendor DetectedTimeUtc *date.Time `json:"detectedTimeUtc,omitempty"` // Description - READ-ONLY; Description of the incident and what it means Description *string `json:"description,omitempty"` // RemediationSteps - READ-ONLY; Recommended steps to reradiate the incident RemediationSteps *string `json:"remediationSteps,omitempty"` // ActionTaken - READ-ONLY; The action that was taken as a response to the alert (Active, Blocked etc.) ActionTaken *string `json:"actionTaken,omitempty"` // ReportedSeverity - READ-ONLY; Estimated severity of this alert. Possible values include: 'Informational', 'Low', 'Medium', 'High' ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"` // CompromisedEntity - READ-ONLY; The entity that the incident happened on CompromisedEntity *string `json:"compromisedEntity,omitempty"` // AssociatedResource - READ-ONLY; Azure resource ID of the associated resource AssociatedResource *string `json:"associatedResource,omitempty"` ExtendedProperties map[string]interface{} `json:"extendedProperties"` // SystemSource - READ-ONLY; The type of the alerted resource (Azure, Non-Azure) SystemSource *string `json:"systemSource,omitempty"` // CanBeInvestigated - READ-ONLY; Whether this alert can be investigated with Azure Security Center CanBeInvestigated *bool `json:"canBeInvestigated,omitempty"` // IsIncident - READ-ONLY; Whether this alert is for incident type or not (otherwise - single alert) IsIncident *bool `json:"isIncident,omitempty"` // Entities - objects that are related to this alerts Entities *[]AlertEntity `json:"entities,omitempty"` // ConfidenceScore - READ-ONLY; level of confidence we have on the alert ConfidenceScore *float64 `json:"confidenceScore,omitempty"` // ConfidenceReasons - reasons the alert got the confidenceScore value ConfidenceReasons *[]AlertConfidenceReason `json:"confidenceReasons,omitempty"` // SubscriptionID - READ-ONLY; Azure subscription ID of the resource that had the security alert or the subscription ID of the workspace that this resource reports to SubscriptionID *string `json:"subscriptionId,omitempty"` // InstanceID - READ-ONLY; Instance ID of the alert. InstanceID *string `json:"instanceId,omitempty"` // WorkspaceArmID - READ-ONLY; Azure resource ID of the workspace that the alert was reported to. WorkspaceArmID *string `json:"workspaceArmId,omitempty"` // CorrelationKey - READ-ONLY; Alerts with the same CorrelationKey will be grouped together in Ibiza. CorrelationKey *string `json:"correlationKey,omitempty"` }
AlertProperties describes security alert properties.
func (AlertProperties) MarshalJSON ¶
func (ap AlertProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AlertProperties.
type AlertsClient ¶
type AlertsClient struct {
BaseClient
}
AlertsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewAlertsClient ¶
func NewAlertsClient(subscriptionID string, ascLocation string) AlertsClient
NewAlertsClient creates an instance of the AlertsClient client.
func NewAlertsClientWithBaseURI ¶
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 ¶
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 ¶
func (client AlertsClient) GetResourceGroupLevelAlertsPreparer(ctx context.Context, alertName string, resourceGroupName string) (*http.Request, error)
GetResourceGroupLevelAlertsPreparer prepares the GetResourceGroupLevelAlerts request.
func (AlertsClient) GetResourceGroupLevelAlertsResponder ¶
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 ¶
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 ¶
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 ¶
func (client AlertsClient) GetSubscriptionLevelAlertPreparer(ctx context.Context, alertName string) (*http.Request, error)
GetSubscriptionLevelAlertPreparer prepares the GetSubscriptionLevelAlert request.
func (AlertsClient) GetSubscriptionLevelAlertResponder ¶
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 ¶
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 ¶
func (client AlertsClient) List(ctx context.Context, filter string, selectParameter string, expand string, autoDismissRuleName 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. autoDismissRuleName - the name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and get the alerts that would have been dismissed if the rule was enabled when the alert was created
func (AlertsClient) ListByResourceGroup ¶
func (client AlertsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string, autoDismissRuleName 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. autoDismissRuleName - the name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and get the alerts that would have been dismissed if the rule was enabled when the alert was created
func (AlertsClient) ListByResourceGroupComplete ¶
func (client AlertsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string, autoDismissRuleName string) (result AlertListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (AlertsClient) ListByResourceGroupPreparer ¶
func (client AlertsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string, autoDismissRuleName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (AlertsClient) ListByResourceGroupResponder ¶
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 ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (AlertsClient) ListComplete ¶
func (client AlertsClient) ListComplete(ctx context.Context, filter string, selectParameter string, expand string, autoDismissRuleName string) (result AlertListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (AlertsClient) ListPreparer ¶
func (client AlertsClient) ListPreparer(ctx context.Context, filter string, selectParameter string, expand string, autoDismissRuleName string) (*http.Request, error)
ListPreparer prepares the List request.
func (AlertsClient) ListResourceGroupLevelAlertsByRegion ¶
func (client AlertsClient) ListResourceGroupLevelAlertsByRegion(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string, autoDismissRuleName 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. autoDismissRuleName - the name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and get the alerts that would have been dismissed if the rule was enabled when the alert was created
func (AlertsClient) ListResourceGroupLevelAlertsByRegionComplete ¶
func (client AlertsClient) ListResourceGroupLevelAlertsByRegionComplete(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string, autoDismissRuleName string) (result AlertListIterator, err error)
ListResourceGroupLevelAlertsByRegionComplete enumerates all values, automatically crossing page boundaries as required.
func (AlertsClient) ListResourceGroupLevelAlertsByRegionPreparer ¶
func (client AlertsClient) ListResourceGroupLevelAlertsByRegionPreparer(ctx context.Context, resourceGroupName string, filter string, selectParameter string, expand string, autoDismissRuleName string) (*http.Request, error)
ListResourceGroupLevelAlertsByRegionPreparer prepares the ListResourceGroupLevelAlertsByRegion request.
func (AlertsClient) ListResourceGroupLevelAlertsByRegionResponder ¶
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 ¶
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 ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (AlertsClient) ListSubscriptionLevelAlertsByRegion ¶
func (client AlertsClient) ListSubscriptionLevelAlertsByRegion(ctx context.Context, filter string, selectParameter string, expand string, autoDismissRuleName 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. autoDismissRuleName - the name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and get the alerts that would have been dismissed if the rule was enabled when the alert was created
func (AlertsClient) ListSubscriptionLevelAlertsByRegionComplete ¶
func (client AlertsClient) ListSubscriptionLevelAlertsByRegionComplete(ctx context.Context, filter string, selectParameter string, expand string, autoDismissRuleName string) (result AlertListIterator, err error)
ListSubscriptionLevelAlertsByRegionComplete enumerates all values, automatically crossing page boundaries as required.
func (AlertsClient) ListSubscriptionLevelAlertsByRegionPreparer ¶
func (client AlertsClient) ListSubscriptionLevelAlertsByRegionPreparer(ctx context.Context, filter string, selectParameter string, expand string, autoDismissRuleName string) (*http.Request, error)
ListSubscriptionLevelAlertsByRegionPreparer prepares the ListSubscriptionLevelAlertsByRegion request.
func (AlertsClient) ListSubscriptionLevelAlertsByRegionResponder ¶
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 ¶
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 ¶
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 ¶
func (client AlertsClient) UpdateResourceGroupLevelAlertStateToDismissPreparer(ctx context.Context, alertName string, resourceGroupName string) (*http.Request, error)
UpdateResourceGroupLevelAlertStateToDismissPreparer prepares the UpdateResourceGroupLevelAlertStateToDismiss request.
func (AlertsClient) UpdateResourceGroupLevelAlertStateToDismissResponder ¶
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 ¶
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 ¶
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 ¶
func (client AlertsClient) UpdateResourceGroupLevelAlertStateToReactivatePreparer(ctx context.Context, alertName string, resourceGroupName string) (*http.Request, error)
UpdateResourceGroupLevelAlertStateToReactivatePreparer prepares the UpdateResourceGroupLevelAlertStateToReactivate request.
func (AlertsClient) UpdateResourceGroupLevelAlertStateToReactivateResponder ¶
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 ¶
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 ¶
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 ¶
func (client AlertsClient) UpdateSubscriptionLevelAlertStateToDismissPreparer(ctx context.Context, alertName string) (*http.Request, error)
UpdateSubscriptionLevelAlertStateToDismissPreparer prepares the UpdateSubscriptionLevelAlertStateToDismiss request.
func (AlertsClient) UpdateSubscriptionLevelAlertStateToDismissResponder ¶
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 ¶
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 ¶
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 ¶
func (client AlertsClient) UpdateSubscriptionLevelAlertStateToReactivatePreparer(ctx context.Context, alertName string) (*http.Request, error)
UpdateSubscriptionLevelAlertStateToReactivatePreparer prepares the UpdateSubscriptionLevelAlertStateToReactivate request.
func (AlertsClient) UpdateSubscriptionLevelAlertStateToReactivateResponder ¶
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 ¶
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 AlertsSuppressionRule ¶
type AlertsSuppressionRule struct { autorest.Response `json:"-"` *AlertsSuppressionRuleProperties `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"` }
AlertsSuppressionRule describes the suppression rule
func (AlertsSuppressionRule) MarshalJSON ¶
func (asr AlertsSuppressionRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AlertsSuppressionRule.
func (*AlertsSuppressionRule) UnmarshalJSON ¶
func (asr *AlertsSuppressionRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AlertsSuppressionRule struct.
type AlertsSuppressionRuleProperties ¶
type AlertsSuppressionRuleProperties struct { // AlertType - Type of the alert to automatically suppress. For all alert types, use '*' AlertType *string `json:"alertType,omitempty"` // LastModifiedUtc - READ-ONLY; The last time this rule was modified LastModifiedUtc *date.Time `json:"lastModifiedUtc,omitempty"` // ExpirationDateUtc - Expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date. ExpirationDateUtc *date.Time `json:"expirationDateUtc,omitempty"` // Reason - The reason for dismissing the alert Reason *string `json:"reason,omitempty"` // State - Possible states of the rule. Possible values include: 'RuleStateEnabled', 'RuleStateDisabled', 'RuleStateExpired' State RuleState `json:"state,omitempty"` // Comment - Any comment regarding the rule Comment *string `json:"comment,omitempty"` // SuppressionAlertsScope - The suppression conditions SuppressionAlertsScope *SuppressionAlertsScope `json:"suppressionAlertsScope,omitempty"` }
AlertsSuppressionRuleProperties describes AlertsSuppressionRule properties
func (AlertsSuppressionRuleProperties) MarshalJSON ¶
func (asrp AlertsSuppressionRuleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AlertsSuppressionRuleProperties.
type AlertsSuppressionRulesClient ¶
type AlertsSuppressionRulesClient struct {
BaseClient
}
AlertsSuppressionRulesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewAlertsSuppressionRulesClient ¶
func NewAlertsSuppressionRulesClient(subscriptionID string, ascLocation string) AlertsSuppressionRulesClient
NewAlertsSuppressionRulesClient creates an instance of the AlertsSuppressionRulesClient client.
func NewAlertsSuppressionRulesClientWithBaseURI ¶
func NewAlertsSuppressionRulesClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AlertsSuppressionRulesClient
NewAlertsSuppressionRulesClientWithBaseURI creates an instance of the AlertsSuppressionRulesClient 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 (AlertsSuppressionRulesClient) Delete ¶
func (client AlertsSuppressionRulesClient) Delete(ctx context.Context, alertsSuppressionRuleName string) (result autorest.Response, err error)
Delete delete dismiss alert rule for this subscription. Parameters: alertsSuppressionRuleName - the unique name of the suppression alert rule
func (AlertsSuppressionRulesClient) DeletePreparer ¶
func (client AlertsSuppressionRulesClient) DeletePreparer(ctx context.Context, alertsSuppressionRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (AlertsSuppressionRulesClient) DeleteResponder ¶
func (client AlertsSuppressionRulesClient) 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 (AlertsSuppressionRulesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (AlertsSuppressionRulesClient) Get ¶
func (client AlertsSuppressionRulesClient) Get(ctx context.Context, alertsSuppressionRuleName string) (result AlertsSuppressionRule, err error)
Get get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription Parameters: alertsSuppressionRuleName - the unique name of the suppression alert rule
func (AlertsSuppressionRulesClient) GetPreparer ¶
func (client AlertsSuppressionRulesClient) GetPreparer(ctx context.Context, alertsSuppressionRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AlertsSuppressionRulesClient) GetResponder ¶
func (client AlertsSuppressionRulesClient) GetResponder(resp *http.Response) (result AlertsSuppressionRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AlertsSuppressionRulesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AlertsSuppressionRulesClient) List ¶
func (client AlertsSuppressionRulesClient) List(ctx context.Context, alertType string) (result AlertsSuppressionRulesListPage, err error)
List list of all the dismiss rules for the given subscription Parameters: alertType - type of the alert to get rules for
func (AlertsSuppressionRulesClient) ListComplete ¶
func (client AlertsSuppressionRulesClient) ListComplete(ctx context.Context, alertType string) (result AlertsSuppressionRulesListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (AlertsSuppressionRulesClient) ListPreparer ¶
func (client AlertsSuppressionRulesClient) ListPreparer(ctx context.Context, alertType string) (*http.Request, error)
ListPreparer prepares the List request.
func (AlertsSuppressionRulesClient) ListResponder ¶
func (client AlertsSuppressionRulesClient) ListResponder(resp *http.Response) (result AlertsSuppressionRulesList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (AlertsSuppressionRulesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (AlertsSuppressionRulesClient) Update ¶
func (client AlertsSuppressionRulesClient) Update(ctx context.Context, alertsSuppressionRuleName string, alertsSuppressionRule AlertsSuppressionRule) (result AlertsSuppressionRule, err error)
Update update existing rule or create new rule if it doesn't exist Parameters: alertsSuppressionRuleName - the unique name of the suppression alert rule alertsSuppressionRule - suppression rule object
func (AlertsSuppressionRulesClient) UpdatePreparer ¶
func (client AlertsSuppressionRulesClient) UpdatePreparer(ctx context.Context, alertsSuppressionRuleName string, alertsSuppressionRule AlertsSuppressionRule) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (AlertsSuppressionRulesClient) UpdateResponder ¶
func (client AlertsSuppressionRulesClient) UpdateResponder(resp *http.Response) (result AlertsSuppressionRule, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (AlertsSuppressionRulesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type AlertsSuppressionRulesList ¶
type AlertsSuppressionRulesList struct { autorest.Response `json:"-"` Value *[]AlertsSuppressionRule `json:"value,omitempty"` // NextLink - READ-ONLY; URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
AlertsSuppressionRulesList suppression rules list for subscription.
func (AlertsSuppressionRulesList) IsEmpty ¶
func (asrl AlertsSuppressionRulesList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (AlertsSuppressionRulesList) MarshalJSON ¶
func (asrl AlertsSuppressionRulesList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AlertsSuppressionRulesList.
type AlertsSuppressionRulesListIterator ¶
type AlertsSuppressionRulesListIterator struct {
// contains filtered or unexported fields
}
AlertsSuppressionRulesListIterator provides access to a complete listing of AlertsSuppressionRule values.
func NewAlertsSuppressionRulesListIterator ¶
func NewAlertsSuppressionRulesListIterator(page AlertsSuppressionRulesListPage) AlertsSuppressionRulesListIterator
Creates a new instance of the AlertsSuppressionRulesListIterator type.
func (*AlertsSuppressionRulesListIterator) Next ¶
func (iter *AlertsSuppressionRulesListIterator) 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 (*AlertsSuppressionRulesListIterator) NextWithContext ¶
func (iter *AlertsSuppressionRulesListIterator) 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 (AlertsSuppressionRulesListIterator) NotDone ¶
func (iter AlertsSuppressionRulesListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AlertsSuppressionRulesListIterator) Response ¶
func (iter AlertsSuppressionRulesListIterator) Response() AlertsSuppressionRulesList
Response returns the raw server response from the last page request.
func (AlertsSuppressionRulesListIterator) Value ¶
func (iter AlertsSuppressionRulesListIterator) Value() AlertsSuppressionRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AlertsSuppressionRulesListPage ¶
type AlertsSuppressionRulesListPage struct {
// contains filtered or unexported fields
}
AlertsSuppressionRulesListPage contains a page of AlertsSuppressionRule values.
func NewAlertsSuppressionRulesListPage ¶
func NewAlertsSuppressionRulesListPage(getNextPage func(context.Context, AlertsSuppressionRulesList) (AlertsSuppressionRulesList, error)) AlertsSuppressionRulesListPage
Creates a new instance of the AlertsSuppressionRulesListPage type.
func (*AlertsSuppressionRulesListPage) Next ¶
func (page *AlertsSuppressionRulesListPage) 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 (*AlertsSuppressionRulesListPage) NextWithContext ¶
func (page *AlertsSuppressionRulesListPage) 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 (AlertsSuppressionRulesListPage) NotDone ¶
func (page AlertsSuppressionRulesListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AlertsSuppressionRulesListPage) Response ¶
func (page AlertsSuppressionRulesListPage) Response() AlertsSuppressionRulesList
Response returns the raw server response from the last page request.
func (AlertsSuppressionRulesListPage) Values ¶
func (page AlertsSuppressionRulesListPage) Values() []AlertsSuppressionRule
Values returns the slice of values for the current page or nil if there are no values.
type AlertsToAdmins ¶
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 ¶
func PossibleAlertsToAdminsValues() []AlertsToAdmins
PossibleAlertsToAdminsValues returns an array of possible values for the AlertsToAdmins const type.
type AllowedConnectionsClient ¶
type AllowedConnectionsClient struct {
BaseClient
}
AllowedConnectionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewAllowedConnectionsClient ¶
func NewAllowedConnectionsClient(subscriptionID string, ascLocation string) AllowedConnectionsClient
NewAllowedConnectionsClient creates an instance of the AllowedConnectionsClient client.
func NewAllowedConnectionsClientWithBaseURI ¶
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 ¶
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 ¶
func (client AllowedConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, connectionType ConnectionType) (*http.Request, error)
GetPreparer prepares the Get request.
func (AllowedConnectionsClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AllowedConnectionsClient) List ¶
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 ¶
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 ¶
func (client AllowedConnectionsClient) ListByHomeRegionComplete(ctx context.Context) (result AllowedConnectionsListIterator, err error)
ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.
func (AllowedConnectionsClient) ListByHomeRegionPreparer ¶
func (client AllowedConnectionsClient) ListByHomeRegionPreparer(ctx context.Context) (*http.Request, error)
ListByHomeRegionPreparer prepares the ListByHomeRegion request.
func (AllowedConnectionsClient) ListByHomeRegionResponder ¶
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 ¶
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 ¶
func (client AllowedConnectionsClient) ListComplete(ctx context.Context) (result AllowedConnectionsListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (AllowedConnectionsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (AllowedConnectionsClient) ListResponder ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type AllowedConnectionsList ¶
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 ¶
func (ACL AllowedConnectionsList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AllowedConnectionsListIterator ¶
type AllowedConnectionsListIterator struct {
// contains filtered or unexported fields
}
AllowedConnectionsListIterator provides access to a complete listing of AllowedConnectionsResource values.
func NewAllowedConnectionsListIterator ¶
func NewAllowedConnectionsListIterator(page AllowedConnectionsListPage) AllowedConnectionsListIterator
Creates a new instance of the AllowedConnectionsListIterator type.
func (*AllowedConnectionsListIterator) Next ¶
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 ¶
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 ¶
func (iter AllowedConnectionsListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AllowedConnectionsListIterator) Response ¶
func (iter AllowedConnectionsListIterator) Response() AllowedConnectionsList
Response returns the raw server response from the last page request.
func (AllowedConnectionsListIterator) Value ¶
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 ¶
type AllowedConnectionsListPage struct { ACL AllowedConnectionsList // contains filtered or unexported fields }
AllowedConnectionsListPage contains a page of AllowedConnectionsResource values.
func NewAllowedConnectionsListPage ¶
func NewAllowedConnectionsListPage(getNextPage func(context.Context, AllowedConnectionsList) (AllowedConnectionsList, error)) AllowedConnectionsListPage
Creates a new instance of the AllowedConnectionsListPage type.
func (*AllowedConnectionsListPage) Next ¶
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 ¶
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 ¶
func (page AllowedConnectionsListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AllowedConnectionsListPage) Response ¶
func (page AllowedConnectionsListPage) Response() AllowedConnectionsList
Response returns the raw server response from the last page request.
func (AllowedConnectionsListPage) Values ¶
func (page AllowedConnectionsListPage) Values() []AllowedConnectionsResource
Values returns the slice of values for the current page or nil if there are no values.
type AllowedConnectionsResource ¶
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 ¶
func (acr AllowedConnectionsResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AllowedConnectionsResource.
func (*AllowedConnectionsResource) UnmarshalJSON ¶
func (acr *AllowedConnectionsResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AllowedConnectionsResource struct.
type AllowedConnectionsResourceProperties ¶
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 ¶
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 - Whether the custom alert is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` // RuleType - The type of the custom alert rule. RuleType *string `json:"ruleType,omitempty"` }
AllowlistCustomAlertRule a custom alert rule that checks if a value (depends on the custom alert type) is allowed
func (AllowlistCustomAlertRule) MarshalJSON ¶
func (acar AllowlistCustomAlertRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AllowlistCustomAlertRule.
type AppWhitelistingGroup ¶
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 ¶
func (awg AppWhitelistingGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppWhitelistingGroup.
func (*AppWhitelistingGroup) UnmarshalJSON ¶
func (awg *AppWhitelistingGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AppWhitelistingGroup struct.
type AppWhitelistingGroupData ¶
type AppWhitelistingGroupData struct { // EnforcementMode - Possible values include: 'Audit', 'Enforce', 'None' EnforcementMode EnforcementMode `json:"enforcementMode,omitempty"` ProtectionMode *ProtectionMode `json:"protectionMode,omitempty"` // ConfigurationStatus - Possible values include: 'ConfigurationStatus2Configured', 'ConfigurationStatus2NotConfigured', 'ConfigurationStatus2InProgress', 'ConfigurationStatus2Failed', 'ConfigurationStatus2NoStatus' ConfigurationStatus ConfigurationStatus2 `json:"configurationStatus,omitempty"` // RecommendationStatus - Possible values include: 'RecommendationStatusRecommended', 'RecommendationStatusNotRecommended', 'RecommendationStatusNotAvailable', 'RecommendationStatusNoStatus' RecommendationStatus RecommendationStatus `json:"recommendationStatus,omitempty"` Issues *[]AppWhitelistingIssueSummary `json:"issues,omitempty"` // SourceSystem - Possible values include: '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 that are Recommended by Azure Security Center to be allowed
type AppWhitelistingGroups ¶
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 ¶
type AppWhitelistingIssueSummary struct { // Issue - Possible values include: 'ViolationsAudited', 'ViolationsBlocked', 'MsiAndScriptViolationsAudited', 'MsiAndScriptViolationsBlocked', 'ExecutableViolationsAudited', 'RulesViolatedManually' Issue Issue `json:"issue,omitempty"` // NumberOfVms - The number of machines in the VM/server group that have this alert NumberOfVms *float64 `json:"numberOfVms,omitempty"` }
AppWhitelistingIssueSummary represents a summary of the alerts of the VM/server group
type AppWhitelistingPutGroupData ¶
type AppWhitelistingPutGroupData struct { // EnforcementMode - The enforcement mode of the group. Can also be defined per collection type by using ProtectionMode. Possible values include: 'EnforcementMode1Audit', 'EnforcementMode1Enforce', 'EnforcementMode1None' EnforcementMode EnforcementMode1 `json:"enforcementMode,omitempty"` // ProtectionMode - The protection mode of the group per collection type. Can also be defined for all collection types by using EnforcementMode ProtectionMode *ProtectionMode `json:"protectionMode,omitempty"` VMRecommendations *[]VMRecommendation `json:"vmRecommendations,omitempty"` PathRecommendations *[]PathRecommendation `json:"pathRecommendations,omitempty"` }
AppWhitelistingPutGroupData the altered data of the recommended VM/server group policy
type AscLocation ¶
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
func (AscLocation) MarshalJSON ¶
func (al AscLocation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AscLocation.
type AscLocationList ¶
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 ¶
func (all AscLocationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AscLocationListIterator ¶
type AscLocationListIterator struct {
// contains filtered or unexported fields
}
AscLocationListIterator provides access to a complete listing of AscLocation values.
func NewAscLocationListIterator ¶
func NewAscLocationListIterator(page AscLocationListPage) AscLocationListIterator
Creates a new instance of the AscLocationListIterator type.
func (*AscLocationListIterator) Next ¶
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 ¶
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 ¶
func (iter AscLocationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AscLocationListIterator) Response ¶
func (iter AscLocationListIterator) Response() AscLocationList
Response returns the raw server response from the last page request.
func (AscLocationListIterator) Value ¶
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 ¶
type AscLocationListPage struct {
// contains filtered or unexported fields
}
AscLocationListPage contains a page of AscLocation values.
func NewAscLocationListPage ¶
func NewAscLocationListPage(getNextPage func(context.Context, AscLocationList) (AscLocationList, error)) AscLocationListPage
Creates a new instance of the AscLocationListPage type.
func (*AscLocationListPage) Next ¶
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 ¶
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 ¶
func (page AscLocationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AscLocationListPage) Response ¶
func (page AscLocationListPage) Response() AscLocationList
Response returns the raw server response from the last page request.
func (AscLocationListPage) Values ¶
func (page AscLocationListPage) Values() []AscLocation
Values returns the slice of values for the current page or nil if there are no values.
type AssessedResourceType ¶
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 ¶
func PossibleAssessedResourceTypeValues() []AssessedResourceType
PossibleAssessedResourceTypeValues returns an array of possible values for the AssessedResourceType const type.
type AtaExternalSecuritySolution ¶
type AtaExternalSecuritySolution struct { Properties *AtaSolutionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - READ-ONLY; Location where the resource is stored Location *string `json:"location,omitempty"` // Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD' Kind KindEnum `json:"kind,omitempty"` }
AtaExternalSecuritySolution represents an ATA security solution which sends logs to an OMS workspace
func (AtaExternalSecuritySolution) AsAadExternalSecuritySolution ¶
func (aess AtaExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)
AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.
func (AtaExternalSecuritySolution) AsAtaExternalSecuritySolution ¶
func (aess AtaExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)
AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.
func (AtaExternalSecuritySolution) AsBasicExternalSecuritySolution ¶
func (aess AtaExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)
AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.
func (AtaExternalSecuritySolution) AsCefExternalSecuritySolution ¶
func (aess AtaExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)
AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.
func (AtaExternalSecuritySolution) AsExternalSecuritySolution ¶
func (aess AtaExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)
AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for AtaExternalSecuritySolution.
func (AtaExternalSecuritySolution) MarshalJSON ¶
func (aess AtaExternalSecuritySolution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AtaExternalSecuritySolution.
type AtaSolutionProperties ¶
type AtaSolutionProperties struct { LastEventReceived *string `json:"lastEventReceived,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` DeviceVendor *string `json:"deviceVendor,omitempty"` DeviceType *string `json:"deviceType,omitempty"` Workspace *ConnectedWorkspace `json:"workspace,omitempty"` }
AtaSolutionProperties ...
func (AtaSolutionProperties) MarshalJSON ¶
func (asp AtaSolutionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AtaSolutionProperties.
func (*AtaSolutionProperties) UnmarshalJSON ¶
func (asp *AtaSolutionProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AtaSolutionProperties struct.
type AuthenticationDetailsProperties ¶
type AuthenticationDetailsProperties struct { // AuthenticationProvisioningState - READ-ONLY; State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', 'IncorrectPolicy' AuthenticationProvisioningState AuthenticationProvisioningState `json:"authenticationProvisioningState,omitempty"` // GrantedPermissions - READ-ONLY; The permissions detected in the cloud account. GrantedPermissions *[]PermissionProperty `json:"grantedPermissions,omitempty"` // AuthenticationType - Possible values include: 'AuthenticationTypeAuthenticationDetailsProperties', 'AuthenticationTypeAwsCreds', 'AuthenticationTypeAwsAssumeRole', 'AuthenticationTypeGcpCredentials' AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` }
AuthenticationDetailsProperties settings for cloud authentication management
func (AuthenticationDetailsProperties) AsAuthenticationDetailsProperties ¶
func (adp AuthenticationDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)
AsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AuthenticationDetailsProperties.
func (AuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties ¶
func (adp AuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)
AsAwAssumeRoleAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AuthenticationDetailsProperties.
func (AuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties ¶
func (adp AuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)
AsAwsCredsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AuthenticationDetailsProperties.
func (AuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties ¶
func (adp AuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)
AsBasicAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AuthenticationDetailsProperties.
func (AuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties ¶
func (adp AuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)
AsGcpCredentialsDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AuthenticationDetailsProperties.
func (AuthenticationDetailsProperties) MarshalJSON ¶
func (adp AuthenticationDetailsProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AuthenticationDetailsProperties.
type AuthenticationProvisioningState ¶
type AuthenticationProvisioningState string
AuthenticationProvisioningState enumerates the values for authentication provisioning state.
const ( // Expired the connection is expired Expired AuthenticationProvisioningState = "Expired" // IncorrectPolicy Incorrect policy of the connector IncorrectPolicy AuthenticationProvisioningState = "IncorrectPolicy" // Invalid Invalid connector Invalid AuthenticationProvisioningState = "Invalid" // Valid Valid connector Valid AuthenticationProvisioningState = "Valid" )
func PossibleAuthenticationProvisioningStateValues ¶
func PossibleAuthenticationProvisioningStateValues() []AuthenticationProvisioningState
PossibleAuthenticationProvisioningStateValues returns an array of possible values for the AuthenticationProvisioningState const type.
type AuthenticationType ¶
type AuthenticationType string
AuthenticationType enumerates the values for authentication type.
const ( // AuthenticationTypeAuthenticationDetailsProperties ... AuthenticationTypeAuthenticationDetailsProperties AuthenticationType = "AuthenticationDetailsProperties" // AuthenticationTypeAwsAssumeRole ... AuthenticationTypeAwsAssumeRole AuthenticationType = "awsAssumeRole" // AuthenticationTypeAwsCreds ... AuthenticationTypeAwsCreds AuthenticationType = "awsCreds" // AuthenticationTypeGcpCredentials ... AuthenticationTypeGcpCredentials AuthenticationType = "gcpCredentials" )
func PossibleAuthenticationTypeValues ¶
func PossibleAuthenticationTypeValues() []AuthenticationType
PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type.
type AutoProvision ¶
type AutoProvision string
AutoProvision enumerates the values for auto provision.
const ( // AutoProvisionOff Do not install Azure Arc agent on the VMs automatically AutoProvisionOff AutoProvision = "Off" // AutoProvisionOn Install missing Azure Arc agent on VMs automatically AutoProvisionOn AutoProvision = "On" )
func PossibleAutoProvisionValues ¶
func PossibleAutoProvisionValues() []AutoProvision
PossibleAutoProvisionValues returns an array of possible values for the AutoProvision const type.
type AutoProvisioningSetting ¶
type AutoProvisioningSetting struct { autorest.Response `json:"-"` // AutoProvisioningSettingProperties - Auto provisioning setting data *AutoProvisioningSettingProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` }
AutoProvisioningSetting auto provisioning setting
func (AutoProvisioningSetting) MarshalJSON ¶
func (aps AutoProvisioningSetting) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutoProvisioningSetting.
func (*AutoProvisioningSetting) UnmarshalJSON ¶
func (aps *AutoProvisioningSetting) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AutoProvisioningSetting struct.
type AutoProvisioningSettingList ¶
type AutoProvisioningSettingList struct { autorest.Response `json:"-"` // Value - List of all the auto provisioning settings Value *[]AutoProvisioningSetting `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
AutoProvisioningSettingList list of all the auto provisioning settings response
func (AutoProvisioningSettingList) IsEmpty ¶
func (apsl AutoProvisioningSettingList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (AutoProvisioningSettingList) MarshalJSON ¶
func (apsl AutoProvisioningSettingList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutoProvisioningSettingList.
type AutoProvisioningSettingListIterator ¶
type AutoProvisioningSettingListIterator struct {
// contains filtered or unexported fields
}
AutoProvisioningSettingListIterator provides access to a complete listing of AutoProvisioningSetting values.
func NewAutoProvisioningSettingListIterator ¶
func NewAutoProvisioningSettingListIterator(page AutoProvisioningSettingListPage) AutoProvisioningSettingListIterator
Creates a new instance of the AutoProvisioningSettingListIterator type.
func (*AutoProvisioningSettingListIterator) Next ¶
func (iter *AutoProvisioningSettingListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AutoProvisioningSettingListIterator) NextWithContext ¶
func (iter *AutoProvisioningSettingListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (AutoProvisioningSettingListIterator) NotDone ¶
func (iter AutoProvisioningSettingListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AutoProvisioningSettingListIterator) Response ¶
func (iter AutoProvisioningSettingListIterator) Response() AutoProvisioningSettingList
Response returns the raw server response from the last page request.
func (AutoProvisioningSettingListIterator) Value ¶
func (iter AutoProvisioningSettingListIterator) Value() AutoProvisioningSetting
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AutoProvisioningSettingListPage ¶
type AutoProvisioningSettingListPage struct {
// contains filtered or unexported fields
}
AutoProvisioningSettingListPage contains a page of AutoProvisioningSetting values.
func NewAutoProvisioningSettingListPage ¶
func NewAutoProvisioningSettingListPage(getNextPage func(context.Context, AutoProvisioningSettingList) (AutoProvisioningSettingList, error)) AutoProvisioningSettingListPage
Creates a new instance of the AutoProvisioningSettingListPage type.
func (*AutoProvisioningSettingListPage) Next ¶
func (page *AutoProvisioningSettingListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AutoProvisioningSettingListPage) NextWithContext ¶
func (page *AutoProvisioningSettingListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (AutoProvisioningSettingListPage) NotDone ¶
func (page AutoProvisioningSettingListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AutoProvisioningSettingListPage) Response ¶
func (page AutoProvisioningSettingListPage) Response() AutoProvisioningSettingList
Response returns the raw server response from the last page request.
func (AutoProvisioningSettingListPage) Values ¶
func (page AutoProvisioningSettingListPage) Values() []AutoProvisioningSetting
Values returns the slice of values for the current page or nil if there are no values.
type AutoProvisioningSettingProperties ¶
type AutoProvisioningSettingProperties struct { // AutoProvision - Describes what kind of security agent provisioning action to take. Possible values include: 'AutoProvisionOn', 'AutoProvisionOff' AutoProvision AutoProvision `json:"autoProvision,omitempty"` }
AutoProvisioningSettingProperties describes properties of an auto provisioning setting
type AutoProvisioningSettingsClient ¶
type AutoProvisioningSettingsClient struct {
BaseClient
}
AutoProvisioningSettingsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewAutoProvisioningSettingsClient ¶
func NewAutoProvisioningSettingsClient(subscriptionID string, ascLocation string) AutoProvisioningSettingsClient
NewAutoProvisioningSettingsClient creates an instance of the AutoProvisioningSettingsClient client.
func NewAutoProvisioningSettingsClientWithBaseURI ¶
func NewAutoProvisioningSettingsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AutoProvisioningSettingsClient
NewAutoProvisioningSettingsClientWithBaseURI creates an instance of the AutoProvisioningSettingsClient 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 (AutoProvisioningSettingsClient) Create ¶
func (client AutoProvisioningSettingsClient) Create(ctx context.Context, settingName string, setting AutoProvisioningSetting) (result AutoProvisioningSetting, err error)
Create details of a specific setting Parameters: settingName - auto provisioning setting key setting - auto provisioning setting key
func (AutoProvisioningSettingsClient) CreatePreparer ¶
func (client AutoProvisioningSettingsClient) CreatePreparer(ctx context.Context, settingName string, setting AutoProvisioningSetting) (*http.Request, error)
CreatePreparer prepares the Create request.
func (AutoProvisioningSettingsClient) CreateResponder ¶
func (client AutoProvisioningSettingsClient) CreateResponder(resp *http.Response) (result AutoProvisioningSetting, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (AutoProvisioningSettingsClient) CreateSender ¶
func (client AutoProvisioningSettingsClient) CreateSender(req *http.Request) (*http.Response, error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (AutoProvisioningSettingsClient) Get ¶
func (client AutoProvisioningSettingsClient) Get(ctx context.Context, settingName string) (result AutoProvisioningSetting, err error)
Get details of a specific setting Parameters: settingName - auto provisioning setting key
func (AutoProvisioningSettingsClient) GetPreparer ¶
func (client AutoProvisioningSettingsClient) GetPreparer(ctx context.Context, settingName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AutoProvisioningSettingsClient) GetResponder ¶
func (client AutoProvisioningSettingsClient) GetResponder(resp *http.Response) (result AutoProvisioningSetting, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AutoProvisioningSettingsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AutoProvisioningSettingsClient) List ¶
func (client AutoProvisioningSettingsClient) List(ctx context.Context) (result AutoProvisioningSettingListPage, err error)
List exposes the auto provisioning settings of the subscriptions
func (AutoProvisioningSettingsClient) ListComplete ¶
func (client AutoProvisioningSettingsClient) ListComplete(ctx context.Context) (result AutoProvisioningSettingListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (AutoProvisioningSettingsClient) ListPreparer ¶
func (client AutoProvisioningSettingsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (AutoProvisioningSettingsClient) ListResponder ¶
func (client AutoProvisioningSettingsClient) ListResponder(resp *http.Response) (result AutoProvisioningSettingList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (AutoProvisioningSettingsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Automation ¶
type Automation struct { autorest.Response `json:"-"` // AutomationProperties - Security automation data *AutomationProperties `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 - Kind of the resource Kind *string `json:"kind,omitempty"` // Etag - Entity tag is used for comparing two or more entities from the same requested resource. Etag *string `json:"etag,omitempty"` // Tags - A list of key value pairs that describe the resource. Tags map[string]*string `json:"tags"` }
Automation the security automation resource.
func (Automation) MarshalJSON ¶
func (a Automation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Automation.
func (*Automation) UnmarshalJSON ¶
func (a *Automation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Automation struct.
type AutomationAction ¶
type AutomationAction struct { // ActionType - Possible values include: 'ActionTypeAutomationAction', 'ActionTypeLogicApp', 'ActionTypeEventHub', 'ActionTypeWorkspace' ActionType ActionType `json:"actionType,omitempty"` }
AutomationAction the action that should be triggered.
func (AutomationAction) AsAutomationAction ¶
func (aa AutomationAction) AsAutomationAction() (*AutomationAction, bool)
AsAutomationAction is the BasicAutomationAction implementation for AutomationAction.
func (AutomationAction) AsAutomationActionEventHub ¶
func (aa AutomationAction) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)
AsAutomationActionEventHub is the BasicAutomationAction implementation for AutomationAction.
func (AutomationAction) AsAutomationActionLogicApp ¶
func (aa AutomationAction) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)
AsAutomationActionLogicApp is the BasicAutomationAction implementation for AutomationAction.
func (AutomationAction) AsAutomationActionWorkspace ¶
func (aa AutomationAction) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)
AsAutomationActionWorkspace is the BasicAutomationAction implementation for AutomationAction.
func (AutomationAction) AsBasicAutomationAction ¶
func (aa AutomationAction) AsBasicAutomationAction() (BasicAutomationAction, bool)
AsBasicAutomationAction is the BasicAutomationAction implementation for AutomationAction.
func (AutomationAction) MarshalJSON ¶
func (aa AutomationAction) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutomationAction.
type AutomationActionEventHub ¶
type AutomationActionEventHub struct { // EventHubResourceID - The target Event Hub Azure Resource ID. EventHubResourceID *string `json:"eventHubResourceId,omitempty"` // SasPolicyName - READ-ONLY; The target Event Hub SAS policy name. SasPolicyName *string `json:"sasPolicyName,omitempty"` // ConnectionString - The target Event Hub connection string (it will not be included in any response). ConnectionString *string `json:"connectionString,omitempty"` // ActionType - Possible values include: 'ActionTypeAutomationAction', 'ActionTypeLogicApp', 'ActionTypeEventHub', 'ActionTypeWorkspace' ActionType ActionType `json:"actionType,omitempty"` }
AutomationActionEventHub the target Event Hub to which event data will be exported. To learn more about Security Center continuous export capabilities, visit https://aka.ms/ASCExportLearnMore
func (AutomationActionEventHub) AsAutomationAction ¶
func (aaeh AutomationActionEventHub) AsAutomationAction() (*AutomationAction, bool)
AsAutomationAction is the BasicAutomationAction implementation for AutomationActionEventHub.
func (AutomationActionEventHub) AsAutomationActionEventHub ¶
func (aaeh AutomationActionEventHub) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)
AsAutomationActionEventHub is the BasicAutomationAction implementation for AutomationActionEventHub.
func (AutomationActionEventHub) AsAutomationActionLogicApp ¶
func (aaeh AutomationActionEventHub) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)
AsAutomationActionLogicApp is the BasicAutomationAction implementation for AutomationActionEventHub.
func (AutomationActionEventHub) AsAutomationActionWorkspace ¶
func (aaeh AutomationActionEventHub) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)
AsAutomationActionWorkspace is the BasicAutomationAction implementation for AutomationActionEventHub.
func (AutomationActionEventHub) AsBasicAutomationAction ¶
func (aaeh AutomationActionEventHub) AsBasicAutomationAction() (BasicAutomationAction, bool)
AsBasicAutomationAction is the BasicAutomationAction implementation for AutomationActionEventHub.
func (AutomationActionEventHub) MarshalJSON ¶
func (aaeh AutomationActionEventHub) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutomationActionEventHub.
type AutomationActionLogicApp ¶
type AutomationActionLogicApp struct { // LogicAppResourceID - The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App LogicAppResourceID *string `json:"logicAppResourceId,omitempty"` // URI - The Logic App trigger URI endpoint (it will not be included in any response). URI *string `json:"uri,omitempty"` // ActionType - Possible values include: 'ActionTypeAutomationAction', 'ActionTypeLogicApp', 'ActionTypeEventHub', 'ActionTypeWorkspace' ActionType ActionType `json:"actionType,omitempty"` }
AutomationActionLogicApp the logic app action that should be triggered. To learn more about Security Center's Workflow Automation capabilities, visit https://aka.ms/ASCWorkflowAutomationLearnMore
func (AutomationActionLogicApp) AsAutomationAction ¶
func (aala AutomationActionLogicApp) AsAutomationAction() (*AutomationAction, bool)
AsAutomationAction is the BasicAutomationAction implementation for AutomationActionLogicApp.
func (AutomationActionLogicApp) AsAutomationActionEventHub ¶
func (aala AutomationActionLogicApp) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)
AsAutomationActionEventHub is the BasicAutomationAction implementation for AutomationActionLogicApp.
func (AutomationActionLogicApp) AsAutomationActionLogicApp ¶
func (aala AutomationActionLogicApp) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)
AsAutomationActionLogicApp is the BasicAutomationAction implementation for AutomationActionLogicApp.
func (AutomationActionLogicApp) AsAutomationActionWorkspace ¶
func (aala AutomationActionLogicApp) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)
AsAutomationActionWorkspace is the BasicAutomationAction implementation for AutomationActionLogicApp.
func (AutomationActionLogicApp) AsBasicAutomationAction ¶
func (aala AutomationActionLogicApp) AsBasicAutomationAction() (BasicAutomationAction, bool)
AsBasicAutomationAction is the BasicAutomationAction implementation for AutomationActionLogicApp.
func (AutomationActionLogicApp) MarshalJSON ¶
func (aala AutomationActionLogicApp) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutomationActionLogicApp.
type AutomationActionWorkspace ¶
type AutomationActionWorkspace struct { // WorkspaceResourceID - The fully qualified Log Analytics Workspace Azure Resource ID. WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"` // ActionType - Possible values include: 'ActionTypeAutomationAction', 'ActionTypeLogicApp', 'ActionTypeEventHub', 'ActionTypeWorkspace' ActionType ActionType `json:"actionType,omitempty"` }
AutomationActionWorkspace the Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace. To learn more about Security Center continuous export capabilities, visit https://aka.ms/ASCExportLearnMore
func (AutomationActionWorkspace) AsAutomationAction ¶
func (aaw AutomationActionWorkspace) AsAutomationAction() (*AutomationAction, bool)
AsAutomationAction is the BasicAutomationAction implementation for AutomationActionWorkspace.
func (AutomationActionWorkspace) AsAutomationActionEventHub ¶
func (aaw AutomationActionWorkspace) AsAutomationActionEventHub() (*AutomationActionEventHub, bool)
AsAutomationActionEventHub is the BasicAutomationAction implementation for AutomationActionWorkspace.
func (AutomationActionWorkspace) AsAutomationActionLogicApp ¶
func (aaw AutomationActionWorkspace) AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool)
AsAutomationActionLogicApp is the BasicAutomationAction implementation for AutomationActionWorkspace.
func (AutomationActionWorkspace) AsAutomationActionWorkspace ¶
func (aaw AutomationActionWorkspace) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool)
AsAutomationActionWorkspace is the BasicAutomationAction implementation for AutomationActionWorkspace.
func (AutomationActionWorkspace) AsBasicAutomationAction ¶
func (aaw AutomationActionWorkspace) AsBasicAutomationAction() (BasicAutomationAction, bool)
AsBasicAutomationAction is the BasicAutomationAction implementation for AutomationActionWorkspace.
func (AutomationActionWorkspace) MarshalJSON ¶
func (aaw AutomationActionWorkspace) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutomationActionWorkspace.
type AutomationList ¶
type AutomationList struct { autorest.Response `json:"-"` // Value - The list of security automations under the given scope. Value *[]Automation `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
AutomationList list of security automations response.
func (AutomationList) IsEmpty ¶
func (al AutomationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (AutomationList) MarshalJSON ¶
func (al AutomationList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AutomationList.
type AutomationListIterator ¶
type AutomationListIterator struct {
// contains filtered or unexported fields
}
AutomationListIterator provides access to a complete listing of Automation values.
func NewAutomationListIterator ¶
func NewAutomationListIterator(page AutomationListPage) AutomationListIterator
Creates a new instance of the AutomationListIterator type.
func (*AutomationListIterator) Next ¶
func (iter *AutomationListIterator) 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 (*AutomationListIterator) NextWithContext ¶
func (iter *AutomationListIterator) 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 (AutomationListIterator) NotDone ¶
func (iter AutomationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AutomationListIterator) Response ¶
func (iter AutomationListIterator) Response() AutomationList
Response returns the raw server response from the last page request.
func (AutomationListIterator) Value ¶
func (iter AutomationListIterator) Value() Automation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AutomationListPage ¶
type AutomationListPage struct {
// contains filtered or unexported fields
}
AutomationListPage contains a page of Automation values.
func NewAutomationListPage ¶
func NewAutomationListPage(getNextPage func(context.Context, AutomationList) (AutomationList, error)) AutomationListPage
Creates a new instance of the AutomationListPage type.
func (*AutomationListPage) Next ¶
func (page *AutomationListPage) 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 (*AutomationListPage) NextWithContext ¶
func (page *AutomationListPage) 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 (AutomationListPage) NotDone ¶
func (page AutomationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AutomationListPage) Response ¶
func (page AutomationListPage) Response() AutomationList
Response returns the raw server response from the last page request.
func (AutomationListPage) Values ¶
func (page AutomationListPage) Values() []Automation
Values returns the slice of values for the current page or nil if there are no values.
type AutomationProperties ¶
type AutomationProperties struct { // Description - The security automation description. Description *string `json:"description,omitempty"` // IsEnabled - Indicates whether the security automation is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` // Scopes - A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes. Scopes *[]AutomationScope `json:"scopes,omitempty"` // Sources - A collection of the source event types which evaluate the security automation set of rules. Sources *[]AutomationSource `json:"sources,omitempty"` // Actions - A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true. Actions *[]BasicAutomationAction `json:"actions,omitempty"` }
AutomationProperties a set of properties that defines the behavior of the automation configuration. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.
func (*AutomationProperties) UnmarshalJSON ¶
func (ap *AutomationProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AutomationProperties struct.
type AutomationRuleSet ¶
type AutomationRuleSet struct {
Rules *[]AutomationTriggeringRule `json:"rules,omitempty"`
}
AutomationRuleSet a rule set which evaluates all its rules upon an event interception. Only when all the included rules in the rule set will be evaluated as 'true', will the event trigger the defined actions.
type AutomationScope ¶
type AutomationScope struct { // Description - The resources scope description. Description *string `json:"description,omitempty"` // ScopePath - The resources scope path. Can be the subscription on which the automation is defined on or a resource group under that subscription (fully qualified Azure resource IDs). ScopePath *string `json:"scopePath,omitempty"` }
AutomationScope a single automation scope.
type AutomationSource ¶
type AutomationSource struct { // EventSource - A valid event source type. Possible values include: 'Assessments', 'Alerts' EventSource EventSource `json:"eventSource,omitempty"` // RuleSets - A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical 'or'). RuleSets *[]AutomationRuleSet `json:"ruleSets,omitempty"` }
AutomationSource the source event types which evaluate the security automation set of rules. For example - security alerts and security assessments. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.
type AutomationTriggeringRule ¶
type AutomationTriggeringRule struct { // PropertyJPath - The JPath of the entity model property that should be checked. PropertyJPath *string `json:"propertyJPath,omitempty"` // PropertyType - The data type of the compared operands (string, integer, floating point number or a boolean [true/false]]. Possible values include: 'String', 'Integer', 'Number', 'Boolean' PropertyType PropertyType `json:"propertyType,omitempty"` // ExpectedValue - The expected value. ExpectedValue *string `json:"expectedValue,omitempty"` // Operator - A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType. Possible values include: 'Equals', 'GreaterThan', 'GreaterThanOrEqualTo', 'LesserThan', 'LesserThanOrEqualTo', 'NotEquals', 'Contains', 'StartsWith', 'EndsWith' Operator Operator `json:"operator,omitempty"` }
AutomationTriggeringRule a rule which is evaluated upon event interception. The rule is configured by comparing a specific value from the event model to an expected value. This comparison is done by using one of the supported operators set.
type AutomationValidationStatus ¶
type AutomationValidationStatus struct { autorest.Response `json:"-"` // IsValid - Indicates whether the model is valid or not. IsValid *bool `json:"isValid,omitempty"` // Message - The validation message. Message *string `json:"message,omitempty"` }
AutomationValidationStatus the security automation model state property bag.
type AutomationsClient ¶
type AutomationsClient struct {
BaseClient
}
AutomationsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewAutomationsClient ¶
func NewAutomationsClient(subscriptionID string, ascLocation string) AutomationsClient
NewAutomationsClient creates an instance of the AutomationsClient client.
func NewAutomationsClientWithBaseURI ¶
func NewAutomationsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) AutomationsClient
NewAutomationsClientWithBaseURI creates an instance of the AutomationsClient 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 (AutomationsClient) CreateOrUpdate ¶
func (client AutomationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, automationName string, automation Automation) (result Automation, err error)
CreateOrUpdate creates or updates a security automation. If a security automation is already created and a subsequent request is issued for the same automation id, then it will be updated. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. automationName - the security automation name. automation - the security automation resource
func (AutomationsClient) CreateOrUpdatePreparer ¶
func (client AutomationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, automationName string, automation Automation) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (AutomationsClient) CreateOrUpdateResponder ¶
func (client AutomationsClient) CreateOrUpdateResponder(resp *http.Response) (result Automation, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (AutomationsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (AutomationsClient) Delete ¶
func (client AutomationsClient) Delete(ctx context.Context, resourceGroupName string, automationName string) (result autorest.Response, err error)
Delete deletes a security automation. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. automationName - the security automation name.
func (AutomationsClient) DeletePreparer ¶
func (client AutomationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, automationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (AutomationsClient) DeleteResponder ¶
func (client AutomationsClient) 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 (AutomationsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (AutomationsClient) Get ¶
func (client AutomationsClient) Get(ctx context.Context, resourceGroupName string, automationName string) (result Automation, err error)
Get retrieves information about the model of a security automation. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. automationName - the security automation name.
func (AutomationsClient) GetPreparer ¶
func (client AutomationsClient) GetPreparer(ctx context.Context, resourceGroupName string, automationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AutomationsClient) GetResponder ¶
func (client AutomationsClient) GetResponder(resp *http.Response) (result Automation, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AutomationsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AutomationsClient) List ¶
func (client AutomationsClient) List(ctx context.Context) (result AutomationListPage, err error)
List lists all the security automations in the specified subscription. Use the 'nextLink' property in the response to get the next page of security automations for the specified subscription.
func (AutomationsClient) ListByResourceGroup ¶
func (client AutomationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AutomationListPage, err error)
ListByResourceGroup lists all the security automations in the specified resource group. Use the 'nextLink' property in the response to get the next page of security automations for the specified resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.
func (AutomationsClient) ListByResourceGroupComplete ¶
func (client AutomationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result AutomationListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (AutomationsClient) ListByResourceGroupPreparer ¶
func (client AutomationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (AutomationsClient) ListByResourceGroupResponder ¶
func (client AutomationsClient) ListByResourceGroupResponder(resp *http.Response) (result AutomationList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (AutomationsClient) ListByResourceGroupSender ¶
func (client AutomationsClient) 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 (AutomationsClient) ListComplete ¶
func (client AutomationsClient) ListComplete(ctx context.Context) (result AutomationListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (AutomationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (AutomationsClient) ListResponder ¶
func (client AutomationsClient) ListResponder(resp *http.Response) (result AutomationList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (AutomationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (AutomationsClient) Validate ¶
func (client AutomationsClient) Validate(ctx context.Context, resourceGroupName string, automationName string, automation Automation) (result AutomationValidationStatus, err error)
Validate validates the security automation model before create or update. Any validation errors are returned to the client. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. automationName - the security automation name. automation - the security automation resource
func (AutomationsClient) ValidatePreparer ¶
func (client AutomationsClient) ValidatePreparer(ctx context.Context, resourceGroupName string, automationName string, automation Automation) (*http.Request, error)
ValidatePreparer prepares the Validate request.
func (AutomationsClient) ValidateResponder ¶
func (client AutomationsClient) ValidateResponder(resp *http.Response) (result AutomationValidationStatus, err error)
ValidateResponder handles the response to the Validate request. The method always closes the http.Response Body.
func (AutomationsClient) ValidateSender ¶
ValidateSender sends the Validate request. The method will close the http.Response Body if it receives an error.
type AwAssumeRoleAuthenticationDetailsProperties ¶
type AwAssumeRoleAuthenticationDetailsProperties struct { // AccountID - READ-ONLY; The ID of the cloud account AccountID *string `json:"accountId,omitempty"` // AwsAssumeRoleArn - Assumed role ID is an identifier that you can use to create temporary security credentials. AwsAssumeRoleArn *string `json:"awsAssumeRoleArn,omitempty"` // AwsExternalID - A unique identifier that is required when you assume a role in another account. AwsExternalID *string `json:"awsExternalId,omitempty"` // AuthenticationProvisioningState - READ-ONLY; State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', 'IncorrectPolicy' AuthenticationProvisioningState AuthenticationProvisioningState `json:"authenticationProvisioningState,omitempty"` // GrantedPermissions - READ-ONLY; The permissions detected in the cloud account. GrantedPermissions *[]PermissionProperty `json:"grantedPermissions,omitempty"` // AuthenticationType - Possible values include: 'AuthenticationTypeAuthenticationDetailsProperties', 'AuthenticationTypeAwsCreds', 'AuthenticationTypeAwsAssumeRole', 'AuthenticationTypeGcpCredentials' AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` }
AwAssumeRoleAuthenticationDetailsProperties AWS cloud account connector based assume role, the role enables delegating access to your AWS resources. The role is composed of role arn and external id, for more details, refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user.html">Creating a Role to Delegate Permissions to an IAM User (write only)</a>
func (AwAssumeRoleAuthenticationDetailsProperties) AsAuthenticationDetailsProperties ¶
func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)
AsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwAssumeRoleAuthenticationDetailsProperties.
func (AwAssumeRoleAuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties ¶
func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)
AsAwAssumeRoleAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwAssumeRoleAuthenticationDetailsProperties.
func (AwAssumeRoleAuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties ¶
func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)
AsAwsCredsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwAssumeRoleAuthenticationDetailsProperties.
func (AwAssumeRoleAuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties ¶
func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)
AsBasicAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwAssumeRoleAuthenticationDetailsProperties.
func (AwAssumeRoleAuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties ¶
func (aaradp AwAssumeRoleAuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)
AsGcpCredentialsDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwAssumeRoleAuthenticationDetailsProperties.
func (AwAssumeRoleAuthenticationDetailsProperties) MarshalJSON ¶
func (aaradp AwAssumeRoleAuthenticationDetailsProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AwAssumeRoleAuthenticationDetailsProperties.
type AwsCredsAuthenticationDetailsProperties ¶
type AwsCredsAuthenticationDetailsProperties struct { // AccountID - READ-ONLY; The ID of the cloud account AccountID *string `json:"accountId,omitempty"` // AwsAccessKeyID - Public key element of the AWS credential object (write only) AwsAccessKeyID *string `json:"awsAccessKeyId,omitempty"` // AwsSecretAccessKey - Secret key element of the AWS credential object (write only) AwsSecretAccessKey *string `json:"awsSecretAccessKey,omitempty"` // AuthenticationProvisioningState - READ-ONLY; State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', 'IncorrectPolicy' AuthenticationProvisioningState AuthenticationProvisioningState `json:"authenticationProvisioningState,omitempty"` // GrantedPermissions - READ-ONLY; The permissions detected in the cloud account. GrantedPermissions *[]PermissionProperty `json:"grantedPermissions,omitempty"` // AuthenticationType - Possible values include: 'AuthenticationTypeAuthenticationDetailsProperties', 'AuthenticationTypeAwsCreds', 'AuthenticationTypeAwsAssumeRole', 'AuthenticationTypeGcpCredentials' AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` }
AwsCredsAuthenticationDetailsProperties AWS cloud account connector based credentials, the credentials is composed of access key id and secret key, for more details, refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html">Creating an IAM User in Your AWS Account (write only)</a>
func (AwsCredsAuthenticationDetailsProperties) AsAuthenticationDetailsProperties ¶
func (acadp AwsCredsAuthenticationDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)
AsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwsCredsAuthenticationDetailsProperties.
func (AwsCredsAuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties ¶
func (acadp AwsCredsAuthenticationDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)
AsAwAssumeRoleAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwsCredsAuthenticationDetailsProperties.
func (AwsCredsAuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties ¶
func (acadp AwsCredsAuthenticationDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)
AsAwsCredsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwsCredsAuthenticationDetailsProperties.
func (AwsCredsAuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties ¶
func (acadp AwsCredsAuthenticationDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)
AsBasicAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwsCredsAuthenticationDetailsProperties.
func (AwsCredsAuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties ¶
func (acadp AwsCredsAuthenticationDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)
AsGcpCredentialsDetailsProperties is the BasicAuthenticationDetailsProperties implementation for AwsCredsAuthenticationDetailsProperties.
func (AwsCredsAuthenticationDetailsProperties) MarshalJSON ¶
func (acadp AwsCredsAuthenticationDetailsProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AwsCredsAuthenticationDetailsProperties.
type AzureResourceDetails ¶
type AzureResourceDetails struct { // ID - READ-ONLY; Azure resource Id of the assessed resource ID *string `json:"id,omitempty"` // Source - Possible values include: 'SourceResourceDetails', 'SourceOnPremiseSQL', 'SourceOnPremise', 'SourceAzure' Source Source `json:"source,omitempty"` }
AzureResourceDetails details of the Azure resource that was assessed
func (AzureResourceDetails) AsAzureResourceDetails ¶
func (ard AzureResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)
AsAzureResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.
func (AzureResourceDetails) AsBasicOnPremiseResourceDetails ¶
func (ard AzureResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)
AsBasicOnPremiseResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.
func (AzureResourceDetails) AsBasicResourceDetails ¶
func (ard AzureResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)
AsBasicResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.
func (AzureResourceDetails) AsOnPremiseResourceDetails ¶
func (ard AzureResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)
AsOnPremiseResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.
func (AzureResourceDetails) AsOnPremiseSQLResourceDetails ¶
func (ard AzureResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)
AsOnPremiseSQLResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.
func (AzureResourceDetails) AsResourceDetails ¶
func (ard AzureResourceDetails) AsResourceDetails() (*ResourceDetails, bool)
AsResourceDetails is the BasicResourceDetails implementation for AzureResourceDetails.
func (AzureResourceDetails) MarshalJSON ¶
func (ard AzureResourceDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureResourceDetails.
type AzureResourceLink ¶
type AzureResourceLink struct { // ID - READ-ONLY; Azure resource Id ID *string `json:"id,omitempty"` }
AzureResourceLink describes an Azure resource with kind
type BaseClient ¶
BaseClient is the base client for Security.
func New ¶
func New(subscriptionID string, ascLocation string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string, ascLocation string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type BasicAdditionalData ¶
type BasicAdditionalData interface { AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool) AsAdditionalData() (*AdditionalData, bool) }
BasicAdditionalData details of the sub-assessment
type BasicAuthenticationDetailsProperties ¶
type BasicAuthenticationDetailsProperties interface { AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool) }
BasicAuthenticationDetailsProperties settings for cloud authentication management
type BasicAutomationAction ¶
type BasicAutomationAction interface { AsAutomationActionLogicApp() (*AutomationActionLogicApp, bool) AsAutomationActionEventHub() (*AutomationActionEventHub, bool) AsAutomationActionWorkspace() (*AutomationActionWorkspace, bool) AsAutomationAction() (*AutomationAction, bool) }
BasicAutomationAction the action that should be triggered.
type BasicExternalSecuritySolution ¶
type BasicExternalSecuritySolution interface { AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool) }
BasicExternalSecuritySolution represents a security solution external to Azure Security Center which sends information to an OMS workspace and whose data is displayed by Azure Security Center.
type BasicOnPremiseResourceDetails ¶
type BasicOnPremiseResourceDetails interface { AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool) }
BasicOnPremiseResourceDetails details of the On Premise resource that was assessed
type BasicResourceDetails ¶
type BasicResourceDetails interface { AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool) AsAzureResourceDetails() (*AzureResourceDetails, bool) AsResourceDetails() (*ResourceDetails, bool) }
BasicResourceDetails details of the resource that was assessed
type CVE ¶
type CVE struct { // Title - READ-ONLY; CVE title Title *string `json:"title,omitempty"` // Link - READ-ONLY; Link url Link *string `json:"link,omitempty"` }
CVE CVE details
type CVSS ¶
type CVSS struct { // Base - READ-ONLY; CVSS base Base *float64 `json:"base,omitempty"` }
CVSS CVSS details
type CefExternalSecuritySolution ¶
type CefExternalSecuritySolution struct { Properties *CefSolutionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - READ-ONLY; Location where the resource is stored Location *string `json:"location,omitempty"` // Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD' Kind KindEnum `json:"kind,omitempty"` }
CefExternalSecuritySolution represents a security solution which sends CEF logs to an OMS workspace
func (CefExternalSecuritySolution) AsAadExternalSecuritySolution ¶
func (cess CefExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)
AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.
func (CefExternalSecuritySolution) AsAtaExternalSecuritySolution ¶
func (cess CefExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)
AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.
func (CefExternalSecuritySolution) AsBasicExternalSecuritySolution ¶
func (cess CefExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)
AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.
func (CefExternalSecuritySolution) AsCefExternalSecuritySolution ¶
func (cess CefExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)
AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.
func (CefExternalSecuritySolution) AsExternalSecuritySolution ¶
func (cess CefExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)
AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for CefExternalSecuritySolution.
func (CefExternalSecuritySolution) MarshalJSON ¶
func (cess CefExternalSecuritySolution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CefExternalSecuritySolution.
type CefSolutionProperties ¶
type CefSolutionProperties struct { Hostname *string `json:"hostname,omitempty"` Agent *string `json:"agent,omitempty"` LastEventReceived *string `json:"lastEventReceived,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` DeviceVendor *string `json:"deviceVendor,omitempty"` DeviceType *string `json:"deviceType,omitempty"` Workspace *ConnectedWorkspace `json:"workspace,omitempty"` }
CefSolutionProperties ...
func (CefSolutionProperties) MarshalJSON ¶
func (csp CefSolutionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CefSolutionProperties.
func (*CefSolutionProperties) UnmarshalJSON ¶
func (csp *CefSolutionProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CefSolutionProperties struct.
type CloudError ¶
type CloudError struct { // CloudErrorBody - Error data *CloudErrorBody `json:"error,omitempty"` }
CloudError error response structure.
func (CloudError) MarshalJSON ¶
func (ce CloudError) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CloudError.
func (*CloudError) UnmarshalJSON ¶
func (ce *CloudError) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CloudError struct.
type CloudErrorBody ¶
type CloudErrorBody struct { // Code - READ-ONLY; An identifier for the error. Codes are invariant and are intended to be consumed programmatically. Code *string `json:"code,omitempty"` // Message - READ-ONLY; A message describing the error, intended to be suitable for display in a user interface. Message *string `json:"message,omitempty"` }
CloudErrorBody error details.
type Compliance ¶
type Compliance struct { autorest.Response `json:"-"` // ComplianceProperties - Compliance data *ComplianceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` }
Compliance compliance of a scope
func (Compliance) MarshalJSON ¶
func (c Compliance) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Compliance.
func (*Compliance) UnmarshalJSON ¶
func (c *Compliance) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Compliance struct.
type ComplianceList ¶
type ComplianceList struct { autorest.Response `json:"-"` // Value - List of Compliance objects Value *[]Compliance `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
ComplianceList list of Compliance objects response
func (ComplianceList) IsEmpty ¶
func (cl ComplianceList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ComplianceList) MarshalJSON ¶
func (cl ComplianceList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ComplianceList.
type ComplianceListIterator ¶
type ComplianceListIterator struct {
// contains filtered or unexported fields
}
ComplianceListIterator provides access to a complete listing of Compliance values.
func NewComplianceListIterator ¶
func NewComplianceListIterator(page ComplianceListPage) ComplianceListIterator
Creates a new instance of the ComplianceListIterator type.
func (*ComplianceListIterator) Next ¶
func (iter *ComplianceListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ComplianceListIterator) NextWithContext ¶
func (iter *ComplianceListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ComplianceListIterator) NotDone ¶
func (iter ComplianceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ComplianceListIterator) Response ¶
func (iter ComplianceListIterator) Response() ComplianceList
Response returns the raw server response from the last page request.
func (ComplianceListIterator) Value ¶
func (iter ComplianceListIterator) Value() Compliance
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ComplianceListPage ¶
type ComplianceListPage struct {
// contains filtered or unexported fields
}
ComplianceListPage contains a page of Compliance values.
func NewComplianceListPage ¶
func NewComplianceListPage(getNextPage func(context.Context, ComplianceList) (ComplianceList, error)) ComplianceListPage
Creates a new instance of the ComplianceListPage type.
func (*ComplianceListPage) Next ¶
func (page *ComplianceListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ComplianceListPage) NextWithContext ¶
func (page *ComplianceListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ComplianceListPage) NotDone ¶
func (page ComplianceListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ComplianceListPage) Response ¶
func (page ComplianceListPage) Response() ComplianceList
Response returns the raw server response from the last page request.
func (ComplianceListPage) Values ¶
func (page ComplianceListPage) Values() []Compliance
Values returns the slice of values for the current page or nil if there are no values.
type ComplianceProperties ¶
type ComplianceProperties struct { // AssessmentTimestampUtcDate - READ-ONLY; The timestamp when the Compliance calculation was conducted. AssessmentTimestampUtcDate *date.Time `json:"assessmentTimestampUtcDate,omitempty"` // ResourceCount - READ-ONLY; The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation). ResourceCount *int32 `json:"resourceCount,omitempty"` // AssessmentResult - READ-ONLY; An array of segment, which is the actually the compliance assessment. AssessmentResult *[]ComplianceSegment `json:"assessmentResult,omitempty"` }
ComplianceProperties the Compliance score (percentage) of a Subscription is a sum of all Resources' Compliances under the given Subscription. A Resource Compliance is defined as the compliant ('healthy') Policy Definitions out of all Policy Definitions applicable to a given resource.
type ComplianceSegment ¶
type ComplianceSegment struct { // SegmentType - READ-ONLY; The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc. SegmentType *string `json:"segmentType,omitempty"` // Percentage - READ-ONLY; The size (%) of the segment. Percentage *float64 `json:"percentage,omitempty"` }
ComplianceSegment a segment of a compliance assessment.
type CompliancesClient ¶
type CompliancesClient struct {
BaseClient
}
CompliancesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewCompliancesClient ¶
func NewCompliancesClient(subscriptionID string, ascLocation string) CompliancesClient
NewCompliancesClient creates an instance of the CompliancesClient client.
func NewCompliancesClientWithBaseURI ¶
func NewCompliancesClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) CompliancesClient
NewCompliancesClientWithBaseURI creates an instance of the CompliancesClient 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 (CompliancesClient) Get ¶
func (client CompliancesClient) Get(ctx context.Context, scope string, complianceName string) (result Compliance, err error)
Get details of a specific Compliance. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). complianceName - name of the Compliance
func (CompliancesClient) GetPreparer ¶
func (client CompliancesClient) GetPreparer(ctx context.Context, scope string, complianceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (CompliancesClient) GetResponder ¶
func (client CompliancesClient) GetResponder(resp *http.Response) (result Compliance, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (CompliancesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (CompliancesClient) List ¶
func (client CompliancesClient) List(ctx context.Context, scope string) (result ComplianceListPage, err error)
List the Compliance scores of the specific management group. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
func (CompliancesClient) ListComplete ¶
func (client CompliancesClient) ListComplete(ctx context.Context, scope string) (result ComplianceListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (CompliancesClient) ListPreparer ¶
func (client CompliancesClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)
ListPreparer prepares the List request.
func (CompliancesClient) ListResponder ¶
func (client CompliancesClient) ListResponder(resp *http.Response) (result ComplianceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (CompliancesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ConfigurationStatus ¶
type ConfigurationStatus string
ConfigurationStatus enumerates the values for configuration status.
const ( // Configured ... Configured ConfigurationStatus = "Configured" // Failed ... Failed ConfigurationStatus = "Failed" // InProgress ... InProgress ConfigurationStatus = "InProgress" // NoStatus ... NoStatus ConfigurationStatus = "NoStatus" // NotConfigured ... NotConfigured ConfigurationStatus = "NotConfigured" )
func PossibleConfigurationStatusValues ¶
func PossibleConfigurationStatusValues() []ConfigurationStatus
PossibleConfigurationStatusValues returns an array of possible values for the ConfigurationStatus const type.
type ConfigurationStatus1 ¶
type ConfigurationStatus1 string
ConfigurationStatus1 enumerates the values for configuration status 1.
const ( // ConfigurationStatus1Configured ... ConfigurationStatus1Configured ConfigurationStatus1 = "Configured" // ConfigurationStatus1Failed ... ConfigurationStatus1Failed ConfigurationStatus1 = "Failed" // ConfigurationStatus1InProgress ... ConfigurationStatus1InProgress ConfigurationStatus1 = "InProgress" // ConfigurationStatus1NoStatus ... ConfigurationStatus1NoStatus ConfigurationStatus1 = "NoStatus" // ConfigurationStatus1NotConfigured ... ConfigurationStatus1NotConfigured ConfigurationStatus1 = "NotConfigured" )
func PossibleConfigurationStatus1Values ¶
func PossibleConfigurationStatus1Values() []ConfigurationStatus1
PossibleConfigurationStatus1Values returns an array of possible values for the ConfigurationStatus1 const type.
type ConfigurationStatus2 ¶
type ConfigurationStatus2 string
ConfigurationStatus2 enumerates the values for configuration status 2.
const ( // ConfigurationStatus2Configured ... ConfigurationStatus2Configured ConfigurationStatus2 = "Configured" // ConfigurationStatus2Failed ... ConfigurationStatus2Failed ConfigurationStatus2 = "Failed" // ConfigurationStatus2InProgress ... ConfigurationStatus2InProgress ConfigurationStatus2 = "InProgress" // ConfigurationStatus2NoStatus ... ConfigurationStatus2NoStatus ConfigurationStatus2 = "NoStatus" // ConfigurationStatus2NotConfigured ... ConfigurationStatus2NotConfigured ConfigurationStatus2 = "NotConfigured" )
func PossibleConfigurationStatus2Values ¶
func PossibleConfigurationStatus2Values() []ConfigurationStatus2
PossibleConfigurationStatus2Values returns an array of possible values for the ConfigurationStatus2 const type.
type ConnectableResource ¶
type ConnectableResource struct { // ID - READ-ONLY; The Azure resource id ID *string `json:"id,omitempty"` // InboundConnectedResources - READ-ONLY; The list of Azure resources that the resource has inbound allowed connection from InboundConnectedResources *[]ConnectedResource `json:"inboundConnectedResources,omitempty"` // OutboundConnectedResources - READ-ONLY; The list of Azure resources that the resource has outbound allowed connection to OutboundConnectedResources *[]ConnectedResource `json:"outboundConnectedResources,omitempty"` }
ConnectableResource describes the allowed inbound and outbound traffic of an Azure resource
type ConnectedResource ¶
type ConnectedResource struct { // ConnectedResourceID - READ-ONLY; The Azure resource id of the connected resource ConnectedResourceID *string `json:"connectedResourceId,omitempty"` // TCPPorts - READ-ONLY; The allowed tcp ports TCPPorts *string `json:"tcpPorts,omitempty"` // UDPPorts - READ-ONLY; The allowed udp ports UDPPorts *string `json:"udpPorts,omitempty"` }
ConnectedResource describes properties of a connected resource
type ConnectedWorkspace ¶
type ConnectedWorkspace struct { // ID - Azure resource ID of the connected OMS workspace ID *string `json:"id,omitempty"` }
ConnectedWorkspace ...
type ConnectionType ¶
type ConnectionType string
ConnectionType enumerates the values for connection type.
const ( // External ... External ConnectionType = "External" // Internal ... Internal ConnectionType = "Internal" )
func PossibleConnectionTypeValues ¶
func PossibleConnectionTypeValues() []ConnectionType
PossibleConnectionTypeValues returns an array of possible values for the ConnectionType const type.
type ConnectorSetting ¶
type ConnectorSetting struct { autorest.Response `json:"-"` // ConnectorSettingProperties - Connector setting data *ConnectorSettingProperties `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"` }
ConnectorSetting the connector setting
func (ConnectorSetting) MarshalJSON ¶
func (cs ConnectorSetting) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectorSetting.
func (*ConnectorSetting) UnmarshalJSON ¶
func (cs *ConnectorSetting) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConnectorSetting struct.
type ConnectorSettingList ¶
type ConnectorSettingList struct { autorest.Response `json:"-"` // Value - List of all the cloud account connector settings Value *[]ConnectorSetting `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
ConnectorSettingList for a subscription, list of all cloud account connectors and their settings
func (ConnectorSettingList) IsEmpty ¶
func (csl ConnectorSettingList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ConnectorSettingList) MarshalJSON ¶
func (csl ConnectorSettingList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectorSettingList.
type ConnectorSettingListIterator ¶
type ConnectorSettingListIterator struct {
// contains filtered or unexported fields
}
ConnectorSettingListIterator provides access to a complete listing of ConnectorSetting values.
func NewConnectorSettingListIterator ¶
func NewConnectorSettingListIterator(page ConnectorSettingListPage) ConnectorSettingListIterator
Creates a new instance of the ConnectorSettingListIterator type.
func (*ConnectorSettingListIterator) Next ¶
func (iter *ConnectorSettingListIterator) 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 (*ConnectorSettingListIterator) NextWithContext ¶
func (iter *ConnectorSettingListIterator) 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 (ConnectorSettingListIterator) NotDone ¶
func (iter ConnectorSettingListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ConnectorSettingListIterator) Response ¶
func (iter ConnectorSettingListIterator) Response() ConnectorSettingList
Response returns the raw server response from the last page request.
func (ConnectorSettingListIterator) Value ¶
func (iter ConnectorSettingListIterator) Value() ConnectorSetting
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ConnectorSettingListPage ¶
type ConnectorSettingListPage struct {
// contains filtered or unexported fields
}
ConnectorSettingListPage contains a page of ConnectorSetting values.
func NewConnectorSettingListPage ¶
func NewConnectorSettingListPage(getNextPage func(context.Context, ConnectorSettingList) (ConnectorSettingList, error)) ConnectorSettingListPage
Creates a new instance of the ConnectorSettingListPage type.
func (*ConnectorSettingListPage) Next ¶
func (page *ConnectorSettingListPage) 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 (*ConnectorSettingListPage) NextWithContext ¶
func (page *ConnectorSettingListPage) 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 (ConnectorSettingListPage) NotDone ¶
func (page ConnectorSettingListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ConnectorSettingListPage) Response ¶
func (page ConnectorSettingListPage) Response() ConnectorSettingList
Response returns the raw server response from the last page request.
func (ConnectorSettingListPage) Values ¶
func (page ConnectorSettingListPage) Values() []ConnectorSetting
Values returns the slice of values for the current page or nil if there are no values.
type ConnectorSettingProperties ¶
type ConnectorSettingProperties struct { // HybridComputeSettings - Settings for hybrid compute management, these settings are relevant only Arc autoProvision (Hybrid Compute). HybridComputeSettings *HybridComputeSettingsProperties `json:"hybridComputeSettings,omitempty"` // AuthenticationDetails - Settings for authentication management, these settings are relevant only for the cloud connector. AuthenticationDetails BasicAuthenticationDetailsProperties `json:"authenticationDetails,omitempty"` }
ConnectorSettingProperties describes properties of an connector setting
func (*ConnectorSettingProperties) UnmarshalJSON ¶
func (csp *ConnectorSettingProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ConnectorSettingProperties struct.
type ConnectorsClient ¶
type ConnectorsClient struct {
BaseClient
}
ConnectorsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewConnectorsClient ¶
func NewConnectorsClient(subscriptionID string, ascLocation string) ConnectorsClient
NewConnectorsClient creates an instance of the ConnectorsClient client.
func NewConnectorsClientWithBaseURI ¶
func NewConnectorsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) ConnectorsClient
NewConnectorsClientWithBaseURI creates an instance of the ConnectorsClient 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 (ConnectorsClient) CreateOrUpdate ¶
func (client ConnectorsClient) CreateOrUpdate(ctx context.Context, connectorName string, connectorSetting ConnectorSetting) (result ConnectorSetting, err error)
CreateOrUpdate create a cloud account connector or update an existing one. Connect to your AWS cloud account using either account credentials or role-based authentication. Parameters: connectorName - name of the cloud account connector connectorSetting - settings for the cloud account connector
func (ConnectorsClient) CreateOrUpdatePreparer ¶
func (client ConnectorsClient) CreateOrUpdatePreparer(ctx context.Context, connectorName string, connectorSetting ConnectorSetting) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ConnectorsClient) CreateOrUpdateResponder ¶
func (client ConnectorsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectorSetting, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ConnectorsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ConnectorsClient) Delete ¶
func (client ConnectorsClient) Delete(ctx context.Context, connectorName string) (result autorest.Response, err error)
Delete delete a cloud account connector from a subscription Parameters: connectorName - name of the cloud account connector
func (ConnectorsClient) DeletePreparer ¶
func (client ConnectorsClient) DeletePreparer(ctx context.Context, connectorName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ConnectorsClient) DeleteResponder ¶
func (client ConnectorsClient) 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 (ConnectorsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ConnectorsClient) Get ¶
func (client ConnectorsClient) Get(ctx context.Context, connectorName string) (result ConnectorSetting, err error)
Get details of a specific cloud account connector Parameters: connectorName - name of the cloud account connector
func (ConnectorsClient) GetPreparer ¶
func (client ConnectorsClient) GetPreparer(ctx context.Context, connectorName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ConnectorsClient) GetResponder ¶
func (client ConnectorsClient) GetResponder(resp *http.Response) (result ConnectorSetting, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ConnectorsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ConnectorsClient) List ¶
func (client ConnectorsClient) List(ctx context.Context) (result ConnectorSettingListPage, err error)
List cloud accounts connectors of a subscription
func (ConnectorsClient) ListComplete ¶
func (client ConnectorsClient) ListComplete(ctx context.Context) (result ConnectorSettingListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ConnectorsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (ConnectorsClient) ListResponder ¶
func (client ConnectorsClient) ListResponder(resp *http.Response) (result ConnectorSettingList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ConnectorsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Contact ¶
type Contact struct { autorest.Response `json:"-"` // ContactProperties - Security contact data *ContactProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` }
Contact contact details for security issues
func (Contact) MarshalJSON ¶
MarshalJSON is the custom marshaler for Contact.
func (*Contact) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Contact struct.
type ContactList ¶
type ContactList struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of security contacts Value *[]Contact `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
ContactList list of security contacts response
func (ContactList) IsEmpty ¶
func (cl ContactList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ContactListIterator ¶
type ContactListIterator struct {
// contains filtered or unexported fields
}
ContactListIterator provides access to a complete listing of Contact values.
func NewContactListIterator ¶
func NewContactListIterator(page ContactListPage) ContactListIterator
Creates a new instance of the ContactListIterator type.
func (*ContactListIterator) Next ¶
func (iter *ContactListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ContactListIterator) NextWithContext ¶
func (iter *ContactListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ContactListIterator) NotDone ¶
func (iter ContactListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ContactListIterator) Response ¶
func (iter ContactListIterator) Response() ContactList
Response returns the raw server response from the last page request.
func (ContactListIterator) Value ¶
func (iter ContactListIterator) Value() Contact
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ContactListPage ¶
type ContactListPage struct {
// contains filtered or unexported fields
}
ContactListPage contains a page of Contact values.
func NewContactListPage ¶
func NewContactListPage(getNextPage func(context.Context, ContactList) (ContactList, error)) ContactListPage
Creates a new instance of the ContactListPage type.
func (*ContactListPage) Next ¶
func (page *ContactListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ContactListPage) NextWithContext ¶
func (page *ContactListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ContactListPage) NotDone ¶
func (page ContactListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ContactListPage) Response ¶
func (page ContactListPage) Response() ContactList
Response returns the raw server response from the last page request.
func (ContactListPage) Values ¶
func (page ContactListPage) Values() []Contact
Values returns the slice of values for the current page or nil if there are no values.
type ContactProperties ¶
type ContactProperties struct { // Email - The email of this security contact Email *string `json:"email,omitempty"` // Phone - The phone number of this security contact Phone *string `json:"phone,omitempty"` // AlertNotifications - Whether to send security alerts notifications to the security contact. Possible values include: 'On', 'Off' AlertNotifications AlertNotifications `json:"alertNotifications,omitempty"` // AlertsToAdmins - Whether to send security alerts notifications to subscription admins. Possible values include: 'AlertsToAdminsOn', 'AlertsToAdminsOff' AlertsToAdmins AlertsToAdmins `json:"alertsToAdmins,omitempty"` }
ContactProperties describes security contact properties
type ContactsClient ¶
type ContactsClient struct {
BaseClient
}
ContactsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewContactsClient ¶
func NewContactsClient(subscriptionID string, ascLocation string) ContactsClient
NewContactsClient creates an instance of the ContactsClient client.
func NewContactsClientWithBaseURI ¶
func NewContactsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) ContactsClient
NewContactsClientWithBaseURI creates an instance of the ContactsClient 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 (ContactsClient) Create ¶
func (client ContactsClient) Create(ctx context.Context, securityContactName string, securityContact Contact) (result Contact, err error)
Create security contact configurations for the subscription Parameters: securityContactName - name of the security contact object securityContact - security contact object
func (ContactsClient) CreatePreparer ¶
func (client ContactsClient) CreatePreparer(ctx context.Context, securityContactName string, securityContact Contact) (*http.Request, error)
CreatePreparer prepares the Create request.
func (ContactsClient) CreateResponder ¶
func (client ContactsClient) CreateResponder(resp *http.Response) (result Contact, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (ContactsClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (ContactsClient) Delete ¶
func (client ContactsClient) Delete(ctx context.Context, securityContactName string) (result autorest.Response, err error)
Delete security contact configurations for the subscription Parameters: securityContactName - name of the security contact object
func (ContactsClient) DeletePreparer ¶
func (client ContactsClient) DeletePreparer(ctx context.Context, securityContactName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ContactsClient) DeleteResponder ¶
func (client ContactsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ContactsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ContactsClient) Get ¶
func (client ContactsClient) Get(ctx context.Context, securityContactName string) (result Contact, err error)
Get security contact configurations for the subscription Parameters: securityContactName - name of the security contact object
func (ContactsClient) GetPreparer ¶
func (client ContactsClient) GetPreparer(ctx context.Context, securityContactName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ContactsClient) GetResponder ¶
func (client ContactsClient) GetResponder(resp *http.Response) (result Contact, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ContactsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ContactsClient) List ¶
func (client ContactsClient) List(ctx context.Context) (result ContactListPage, err error)
List security contact configurations for the subscription
func (ContactsClient) ListComplete ¶
func (client ContactsClient) ListComplete(ctx context.Context) (result ContactListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ContactsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (ContactsClient) ListResponder ¶
func (client ContactsClient) ListResponder(resp *http.Response) (result ContactList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ContactsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ContactsClient) Update ¶
func (client ContactsClient) Update(ctx context.Context, securityContactName string, securityContact Contact) (result Contact, err error)
Update security contact configurations for the subscription Parameters: securityContactName - name of the security contact object securityContact - security contact object
func (ContactsClient) UpdatePreparer ¶
func (client ContactsClient) UpdatePreparer(ctx context.Context, securityContactName string, securityContact Contact) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ContactsClient) UpdateResponder ¶
func (client ContactsClient) UpdateResponder(resp *http.Response) (result Contact, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ContactsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ContainerRegistryVulnerabilityProperties ¶
type ContainerRegistryVulnerabilityProperties struct { // Type - READ-ONLY; Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered, Vulnerability Type *string `json:"type,omitempty"` // Cvss - READ-ONLY; Dictionary from cvss version to cvss details object Cvss map[string]*CVSS `json:"cvss"` // Patchable - READ-ONLY; Indicates whether a patch is available or not Patchable *bool `json:"patchable,omitempty"` // Cve - READ-ONLY; List of CVEs Cve *[]CVE `json:"cve,omitempty"` // PublishedTime - READ-ONLY; Published time PublishedTime *date.Time `json:"publishedTime,omitempty"` // VendorReferences - READ-ONLY VendorReferences *[]VendorReference `json:"vendorReferences,omitempty"` // RepositoryName - READ-ONLY; Name of the repository which the vulnerable image belongs to RepositoryName *string `json:"repositoryName,omitempty"` // ImageDigest - READ-ONLY; Digest of the vulnerable image ImageDigest *string `json:"imageDigest,omitempty"` // AssessedResourceType - Possible values include: 'AssessedResourceTypeAdditionalData', 'AssessedResourceTypeSQLServerVulnerability', 'AssessedResourceTypeContainerRegistryVulnerability', 'AssessedResourceTypeServerVulnerabilityAssessment' AssessedResourceType AssessedResourceType `json:"assessedResourceType,omitempty"` }
ContainerRegistryVulnerabilityProperties additional context fields for container registry Vulnerability assessment
func (ContainerRegistryVulnerabilityProperties) AsAdditionalData ¶
func (crvp ContainerRegistryVulnerabilityProperties) AsAdditionalData() (*AdditionalData, bool)
AsAdditionalData is the BasicAdditionalData implementation for ContainerRegistryVulnerabilityProperties.
func (ContainerRegistryVulnerabilityProperties) AsBasicAdditionalData ¶
func (crvp ContainerRegistryVulnerabilityProperties) AsBasicAdditionalData() (BasicAdditionalData, bool)
AsBasicAdditionalData is the BasicAdditionalData implementation for ContainerRegistryVulnerabilityProperties.
func (ContainerRegistryVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties ¶
func (crvp ContainerRegistryVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)
AsContainerRegistryVulnerabilityProperties is the BasicAdditionalData implementation for ContainerRegistryVulnerabilityProperties.
func (ContainerRegistryVulnerabilityProperties) AsSQLServerVulnerabilityProperties ¶
func (crvp ContainerRegistryVulnerabilityProperties) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)
AsSQLServerVulnerabilityProperties is the BasicAdditionalData implementation for ContainerRegistryVulnerabilityProperties.
func (ContainerRegistryVulnerabilityProperties) AsServerVulnerabilityProperties ¶
func (crvp ContainerRegistryVulnerabilityProperties) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)
AsServerVulnerabilityProperties is the BasicAdditionalData implementation for ContainerRegistryVulnerabilityProperties.
func (ContainerRegistryVulnerabilityProperties) MarshalJSON ¶
func (crvp ContainerRegistryVulnerabilityProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ContainerRegistryVulnerabilityProperties.
type ControlType ¶
type ControlType string
ControlType enumerates the values for control type.
const ( // BuiltIn Azure Security Center managed assessments BuiltIn ControlType = "BuiltIn" // Custom Non Azure Security Center managed assessments Custom ControlType = "Custom" )
func PossibleControlTypeValues ¶
func PossibleControlTypeValues() []ControlType
PossibleControlTypeValues returns an array of possible values for the ControlType const type.
type CustomAlertRule ¶
type CustomAlertRule struct { // 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 - Whether the custom alert is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` // RuleType - The type of the custom alert rule. RuleType *string `json:"ruleType,omitempty"` }
CustomAlertRule a custom alert rule
func (CustomAlertRule) MarshalJSON ¶
func (car CustomAlertRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CustomAlertRule.
type DataExportSetting ¶
type DataExportSetting struct { // DataExportSettingProperties - Data export setting data *DataExportSettingProperties `json:"properties,omitempty"` // Kind - the kind of the settings string (DataExportSetting). Possible values include: 'SettingKindDataExportSetting', 'SettingKindAlertSuppressionSetting' Kind SettingKind `json:"kind,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` }
DataExportSetting represents a data export setting
func (DataExportSetting) MarshalJSON ¶
func (desVar DataExportSetting) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataExportSetting.
func (*DataExportSetting) UnmarshalJSON ¶
func (desVar *DataExportSetting) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataExportSetting struct.
type DataExportSettingProperties ¶
type DataExportSettingProperties struct { // Enabled - Is the data export setting is enabled Enabled *bool `json:"enabled,omitempty"` }
DataExportSettingProperties the data export setting properties
type DataSource ¶
type DataSource string
DataSource enumerates the values for data source.
const ( // TwinData Devices twin data TwinData DataSource = "TwinData" )
func PossibleDataSourceValues ¶
func PossibleDataSourceValues() []DataSource
PossibleDataSourceValues returns an array of possible values for the DataSource const type.
type DenylistCustomAlertRule ¶
type DenylistCustomAlertRule struct { // DenylistValues - The values to deny. The format of the values depends on the rule type. DenylistValues *[]string `json:"denylistValues,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 - Whether the custom alert is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` // RuleType - The type of the custom alert rule. RuleType *string `json:"ruleType,omitempty"` }
DenylistCustomAlertRule a custom alert rule that checks if a value (depends on the custom alert type) is denied
func (DenylistCustomAlertRule) MarshalJSON ¶
func (dcar DenylistCustomAlertRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DenylistCustomAlertRule.
type DeviceSecurityGroup ¶
type DeviceSecurityGroup struct { autorest.Response `json:"-"` // DeviceSecurityGroupProperties - Device Security group data *DeviceSecurityGroupProperties `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"` }
DeviceSecurityGroup the device security group resource
func (DeviceSecurityGroup) MarshalJSON ¶
func (dsg DeviceSecurityGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeviceSecurityGroup.
func (*DeviceSecurityGroup) UnmarshalJSON ¶
func (dsg *DeviceSecurityGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DeviceSecurityGroup struct.
type DeviceSecurityGroupList ¶
type DeviceSecurityGroupList struct { autorest.Response `json:"-"` // Value - List of device security group objects Value *[]DeviceSecurityGroup `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
DeviceSecurityGroupList list of device security groups
func (DeviceSecurityGroupList) IsEmpty ¶
func (dsgl DeviceSecurityGroupList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DeviceSecurityGroupList) MarshalJSON ¶
func (dsgl DeviceSecurityGroupList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeviceSecurityGroupList.
type DeviceSecurityGroupListIterator ¶
type DeviceSecurityGroupListIterator struct {
// contains filtered or unexported fields
}
DeviceSecurityGroupListIterator provides access to a complete listing of DeviceSecurityGroup values.
func NewDeviceSecurityGroupListIterator ¶
func NewDeviceSecurityGroupListIterator(page DeviceSecurityGroupListPage) DeviceSecurityGroupListIterator
Creates a new instance of the DeviceSecurityGroupListIterator type.
func (*DeviceSecurityGroupListIterator) Next ¶
func (iter *DeviceSecurityGroupListIterator) 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 (*DeviceSecurityGroupListIterator) NextWithContext ¶
func (iter *DeviceSecurityGroupListIterator) 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 (DeviceSecurityGroupListIterator) NotDone ¶
func (iter DeviceSecurityGroupListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DeviceSecurityGroupListIterator) Response ¶
func (iter DeviceSecurityGroupListIterator) Response() DeviceSecurityGroupList
Response returns the raw server response from the last page request.
func (DeviceSecurityGroupListIterator) Value ¶
func (iter DeviceSecurityGroupListIterator) Value() DeviceSecurityGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DeviceSecurityGroupListPage ¶
type DeviceSecurityGroupListPage struct {
// contains filtered or unexported fields
}
DeviceSecurityGroupListPage contains a page of DeviceSecurityGroup values.
func NewDeviceSecurityGroupListPage ¶
func NewDeviceSecurityGroupListPage(getNextPage func(context.Context, DeviceSecurityGroupList) (DeviceSecurityGroupList, error)) DeviceSecurityGroupListPage
Creates a new instance of the DeviceSecurityGroupListPage type.
func (*DeviceSecurityGroupListPage) Next ¶
func (page *DeviceSecurityGroupListPage) 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 (*DeviceSecurityGroupListPage) NextWithContext ¶
func (page *DeviceSecurityGroupListPage) 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 (DeviceSecurityGroupListPage) NotDone ¶
func (page DeviceSecurityGroupListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DeviceSecurityGroupListPage) Response ¶
func (page DeviceSecurityGroupListPage) Response() DeviceSecurityGroupList
Response returns the raw server response from the last page request.
func (DeviceSecurityGroupListPage) Values ¶
func (page DeviceSecurityGroupListPage) Values() []DeviceSecurityGroup
Values returns the slice of values for the current page or nil if there are no values.
type DeviceSecurityGroupProperties ¶
type DeviceSecurityGroupProperties struct { // ThresholdRules - A list of threshold custom alert rules. ThresholdRules *[]ThresholdCustomAlertRule `json:"thresholdRules,omitempty"` // TimeWindowRules - A list of time window custom alert rules. TimeWindowRules *[]TimeWindowCustomAlertRule `json:"timeWindowRules,omitempty"` // AllowlistRules - A list of allow-list custom alert rules. AllowlistRules *[]AllowlistCustomAlertRule `json:"allowlistRules,omitempty"` // DenylistRules - A list of deny-list custom alert rules. DenylistRules *[]DenylistCustomAlertRule `json:"denylistRules,omitempty"` }
DeviceSecurityGroupProperties describes properties of a security group.
type DeviceSecurityGroupsClient ¶
type DeviceSecurityGroupsClient struct {
BaseClient
}
DeviceSecurityGroupsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewDeviceSecurityGroupsClient ¶
func NewDeviceSecurityGroupsClient(subscriptionID string, ascLocation string) DeviceSecurityGroupsClient
NewDeviceSecurityGroupsClient creates an instance of the DeviceSecurityGroupsClient client.
func NewDeviceSecurityGroupsClientWithBaseURI ¶
func NewDeviceSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) DeviceSecurityGroupsClient
NewDeviceSecurityGroupsClientWithBaseURI creates an instance of the DeviceSecurityGroupsClient 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 (DeviceSecurityGroupsClient) CreateOrUpdate ¶
func (client DeviceSecurityGroupsClient) CreateOrUpdate(ctx context.Context, resourceID string, deviceSecurityGroupName string, deviceSecurityGroup DeviceSecurityGroup) (result DeviceSecurityGroup, err error)
CreateOrUpdate creates or updates the device security group on a specified IoT hub resource. Parameters: resourceID - the identifier of the resource. deviceSecurityGroupName - the name of the security group. Please notice that the name is case insensitive. deviceSecurityGroup - security group object.
func (DeviceSecurityGroupsClient) CreateOrUpdatePreparer ¶
func (client DeviceSecurityGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceID string, deviceSecurityGroupName string, deviceSecurityGroup DeviceSecurityGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DeviceSecurityGroupsClient) CreateOrUpdateResponder ¶
func (client DeviceSecurityGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result DeviceSecurityGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DeviceSecurityGroupsClient) CreateOrUpdateSender ¶
func (client DeviceSecurityGroupsClient) 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 (DeviceSecurityGroupsClient) Delete ¶
func (client DeviceSecurityGroupsClient) Delete(ctx context.Context, resourceID string, deviceSecurityGroupName string) (result autorest.Response, err error)
Delete deletes the security group Parameters: resourceID - the identifier of the resource. deviceSecurityGroupName - the name of the security group. Please notice that the name is case insensitive.
func (DeviceSecurityGroupsClient) DeletePreparer ¶
func (client DeviceSecurityGroupsClient) DeletePreparer(ctx context.Context, resourceID string, deviceSecurityGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DeviceSecurityGroupsClient) DeleteResponder ¶
func (client DeviceSecurityGroupsClient) 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 (DeviceSecurityGroupsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DeviceSecurityGroupsClient) Get ¶
func (client DeviceSecurityGroupsClient) Get(ctx context.Context, resourceID string, deviceSecurityGroupName string) (result DeviceSecurityGroup, err error)
Get gets the device security group for the specified IoT hub resource. Parameters: resourceID - the identifier of the resource. deviceSecurityGroupName - the name of the security group. Please notice that the name is case insensitive.
func (DeviceSecurityGroupsClient) GetPreparer ¶
func (client DeviceSecurityGroupsClient) GetPreparer(ctx context.Context, resourceID string, deviceSecurityGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DeviceSecurityGroupsClient) GetResponder ¶
func (client DeviceSecurityGroupsClient) GetResponder(resp *http.Response) (result DeviceSecurityGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DeviceSecurityGroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DeviceSecurityGroupsClient) List ¶
func (client DeviceSecurityGroupsClient) List(ctx context.Context, resourceID string) (result DeviceSecurityGroupListPage, err error)
List gets the list of device security groups for the specified IoT hub resource. Parameters: resourceID - the identifier of the resource.
func (DeviceSecurityGroupsClient) ListComplete ¶
func (client DeviceSecurityGroupsClient) ListComplete(ctx context.Context, resourceID string) (result DeviceSecurityGroupListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (DeviceSecurityGroupsClient) ListPreparer ¶
func (client DeviceSecurityGroupsClient) ListPreparer(ctx context.Context, resourceID string) (*http.Request, error)
ListPreparer prepares the List request.
func (DeviceSecurityGroupsClient) ListResponder ¶
func (client DeviceSecurityGroupsClient) ListResponder(resp *http.Response) (result DeviceSecurityGroupList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (DeviceSecurityGroupsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Direction ¶
type Direction string
Direction enumerates the values for direction.
func PossibleDirectionValues ¶
func PossibleDirectionValues() []Direction
PossibleDirectionValues returns an array of possible values for the Direction const type.
type DiscoveredSecuritySolution ¶
type DiscoveredSecuritySolution struct { autorest.Response `json:"-"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - READ-ONLY; Location where the resource is stored Location *string `json:"location,omitempty"` *DiscoveredSecuritySolutionProperties `json:"properties,omitempty"` }
DiscoveredSecuritySolution ...
func (DiscoveredSecuritySolution) MarshalJSON ¶
func (dss DiscoveredSecuritySolution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiscoveredSecuritySolution.
func (*DiscoveredSecuritySolution) UnmarshalJSON ¶
func (dss *DiscoveredSecuritySolution) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DiscoveredSecuritySolution struct.
type DiscoveredSecuritySolutionList ¶
type DiscoveredSecuritySolutionList struct { autorest.Response `json:"-"` Value *[]DiscoveredSecuritySolution `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
DiscoveredSecuritySolutionList ...
func (DiscoveredSecuritySolutionList) IsEmpty ¶
func (dssl DiscoveredSecuritySolutionList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (DiscoveredSecuritySolutionList) MarshalJSON ¶
func (dssl DiscoveredSecuritySolutionList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiscoveredSecuritySolutionList.
type DiscoveredSecuritySolutionListIterator ¶
type DiscoveredSecuritySolutionListIterator struct {
// contains filtered or unexported fields
}
DiscoveredSecuritySolutionListIterator provides access to a complete listing of DiscoveredSecuritySolution values.
func NewDiscoveredSecuritySolutionListIterator ¶
func NewDiscoveredSecuritySolutionListIterator(page DiscoveredSecuritySolutionListPage) DiscoveredSecuritySolutionListIterator
Creates a new instance of the DiscoveredSecuritySolutionListIterator type.
func (*DiscoveredSecuritySolutionListIterator) Next ¶
func (iter *DiscoveredSecuritySolutionListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DiscoveredSecuritySolutionListIterator) NextWithContext ¶
func (iter *DiscoveredSecuritySolutionListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DiscoveredSecuritySolutionListIterator) NotDone ¶
func (iter DiscoveredSecuritySolutionListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DiscoveredSecuritySolutionListIterator) Response ¶
func (iter DiscoveredSecuritySolutionListIterator) Response() DiscoveredSecuritySolutionList
Response returns the raw server response from the last page request.
func (DiscoveredSecuritySolutionListIterator) Value ¶
func (iter DiscoveredSecuritySolutionListIterator) Value() DiscoveredSecuritySolution
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DiscoveredSecuritySolutionListPage ¶
type DiscoveredSecuritySolutionListPage struct {
// contains filtered or unexported fields
}
DiscoveredSecuritySolutionListPage contains a page of DiscoveredSecuritySolution values.
func NewDiscoveredSecuritySolutionListPage ¶
func NewDiscoveredSecuritySolutionListPage(getNextPage func(context.Context, DiscoveredSecuritySolutionList) (DiscoveredSecuritySolutionList, error)) DiscoveredSecuritySolutionListPage
Creates a new instance of the DiscoveredSecuritySolutionListPage type.
func (*DiscoveredSecuritySolutionListPage) Next ¶
func (page *DiscoveredSecuritySolutionListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DiscoveredSecuritySolutionListPage) NextWithContext ¶
func (page *DiscoveredSecuritySolutionListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DiscoveredSecuritySolutionListPage) NotDone ¶
func (page DiscoveredSecuritySolutionListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DiscoveredSecuritySolutionListPage) Response ¶
func (page DiscoveredSecuritySolutionListPage) Response() DiscoveredSecuritySolutionList
Response returns the raw server response from the last page request.
func (DiscoveredSecuritySolutionListPage) Values ¶
func (page DiscoveredSecuritySolutionListPage) Values() []DiscoveredSecuritySolution
Values returns the slice of values for the current page or nil if there are no values.
type DiscoveredSecuritySolutionProperties ¶
type DiscoveredSecuritySolutionProperties struct { // SecurityFamily - The security family of the discovered solution. Possible values include: 'Waf', 'Ngfw', 'SaasWaf', 'Va' SecurityFamily Family `json:"securityFamily,omitempty"` // Offer - The security solutions' image offer Offer *string `json:"offer,omitempty"` // Publisher - The security solutions' image publisher Publisher *string `json:"publisher,omitempty"` // Sku - The security solutions' image sku Sku *string `json:"sku,omitempty"` }
DiscoveredSecuritySolutionProperties ...
type DiscoveredSecuritySolutionsClient ¶
type DiscoveredSecuritySolutionsClient struct {
BaseClient
}
DiscoveredSecuritySolutionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewDiscoveredSecuritySolutionsClient ¶
func NewDiscoveredSecuritySolutionsClient(subscriptionID string, ascLocation string) DiscoveredSecuritySolutionsClient
NewDiscoveredSecuritySolutionsClient creates an instance of the DiscoveredSecuritySolutionsClient client.
func NewDiscoveredSecuritySolutionsClientWithBaseURI ¶
func NewDiscoveredSecuritySolutionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) DiscoveredSecuritySolutionsClient
NewDiscoveredSecuritySolutionsClientWithBaseURI creates an instance of the DiscoveredSecuritySolutionsClient 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 (DiscoveredSecuritySolutionsClient) Get ¶
func (client DiscoveredSecuritySolutionsClient) Get(ctx context.Context, resourceGroupName string, discoveredSecuritySolutionName string) (result DiscoveredSecuritySolution, err error)
Get gets a specific discovered Security Solution. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. discoveredSecuritySolutionName - name of a discovered security solution.
func (DiscoveredSecuritySolutionsClient) GetPreparer ¶
func (client DiscoveredSecuritySolutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, discoveredSecuritySolutionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DiscoveredSecuritySolutionsClient) GetResponder ¶
func (client DiscoveredSecuritySolutionsClient) GetResponder(resp *http.Response) (result DiscoveredSecuritySolution, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DiscoveredSecuritySolutionsClient) GetSender ¶
func (client DiscoveredSecuritySolutionsClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DiscoveredSecuritySolutionsClient) List ¶
func (client DiscoveredSecuritySolutionsClient) List(ctx context.Context) (result DiscoveredSecuritySolutionListPage, err error)
List gets a list of discovered Security Solutions for the subscription.
func (DiscoveredSecuritySolutionsClient) ListByHomeRegion ¶
func (client DiscoveredSecuritySolutionsClient) ListByHomeRegion(ctx context.Context) (result DiscoveredSecuritySolutionListPage, err error)
ListByHomeRegion gets a list of discovered Security Solutions for the subscription and location.
func (DiscoveredSecuritySolutionsClient) ListByHomeRegionComplete ¶
func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionComplete(ctx context.Context) (result DiscoveredSecuritySolutionListIterator, err error)
ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.
func (DiscoveredSecuritySolutionsClient) ListByHomeRegionPreparer ¶
func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionPreparer(ctx context.Context) (*http.Request, error)
ListByHomeRegionPreparer prepares the ListByHomeRegion request.
func (DiscoveredSecuritySolutionsClient) ListByHomeRegionResponder ¶
func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionResponder(resp *http.Response) (result DiscoveredSecuritySolutionList, err error)
ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.
func (DiscoveredSecuritySolutionsClient) ListByHomeRegionSender ¶
func (client DiscoveredSecuritySolutionsClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)
ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.
func (DiscoveredSecuritySolutionsClient) ListComplete ¶
func (client DiscoveredSecuritySolutionsClient) ListComplete(ctx context.Context) (result DiscoveredSecuritySolutionListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (DiscoveredSecuritySolutionsClient) ListPreparer ¶
func (client DiscoveredSecuritySolutionsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (DiscoveredSecuritySolutionsClient) ListResponder ¶
func (client DiscoveredSecuritySolutionsClient) ListResponder(resp *http.Response) (result DiscoveredSecuritySolutionList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (DiscoveredSecuritySolutionsClient) ListSender ¶
func (client DiscoveredSecuritySolutionsClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ETag ¶
type ETag struct { // Etag - Entity tag is used for comparing two or more entities from the same requested resource. Etag *string `json:"etag,omitempty"` }
ETag entity tag is used for comparing two or more entities from the same requested resource.
type EffectiveNetworkSecurityGroups ¶
type EffectiveNetworkSecurityGroups struct { // NetworkInterface - The Azure resource ID of the network interface NetworkInterface *string `json:"networkInterface,omitempty"` // NetworkSecurityGroups - The Network Security Groups effective on the network interface NetworkSecurityGroups *[]string `json:"networkSecurityGroups,omitempty"` }
EffectiveNetworkSecurityGroups describes the Network Security Groups effective on a network interface
type EnforcementMode ¶
type EnforcementMode string
EnforcementMode enumerates the values for enforcement mode.
const ( // Audit ... Audit EnforcementMode = "Audit" // Enforce ... Enforce EnforcementMode = "Enforce" // None ... None EnforcementMode = "None" )
func PossibleEnforcementModeValues ¶
func PossibleEnforcementModeValues() []EnforcementMode
PossibleEnforcementModeValues returns an array of possible values for the EnforcementMode const type.
type EnforcementMode1 ¶
type EnforcementMode1 string
EnforcementMode1 enumerates the values for enforcement mode 1.
const ( // EnforcementMode1Audit ... EnforcementMode1Audit EnforcementMode1 = "Audit" // EnforcementMode1Enforce ... EnforcementMode1Enforce EnforcementMode1 = "Enforce" // EnforcementMode1None ... EnforcementMode1None EnforcementMode1 = "None" )
func PossibleEnforcementMode1Values ¶
func PossibleEnforcementMode1Values() []EnforcementMode1
PossibleEnforcementMode1Values returns an array of possible values for the EnforcementMode1 const type.
type EnforcementSupport ¶
type EnforcementSupport string
EnforcementSupport enumerates the values for enforcement support.
const ( // NotSupported ... NotSupported EnforcementSupport = "NotSupported" // Supported ... Supported EnforcementSupport = "Supported" // Unknown ... Unknown EnforcementSupport = "Unknown" )
func PossibleEnforcementSupportValues ¶
func PossibleEnforcementSupportValues() []EnforcementSupport
PossibleEnforcementSupportValues returns an array of possible values for the EnforcementSupport const type.
type EventSource ¶
type EventSource string
EventSource enumerates the values for event source.
const ( // Alerts ... Alerts EventSource = "Alerts" // Assessments ... Assessments EventSource = "Assessments" )
func PossibleEventSourceValues ¶
func PossibleEventSourceValues() []EventSource
PossibleEventSourceValues returns an array of possible values for the EventSource const type.
type Exe ¶
type Exe string
Exe enumerates the values for exe.
func PossibleExeValues ¶
func PossibleExeValues() []Exe
PossibleExeValues returns an array of possible values for the Exe const type.
type Executable ¶
type Executable string
Executable enumerates the values for executable.
const ( // ExecutableAudit ... ExecutableAudit Executable = "Audit" // ExecutableEnforce ... ExecutableEnforce Executable = "Enforce" // ExecutableNone ... ExecutableNone Executable = "None" )
func PossibleExecutableValues ¶
func PossibleExecutableValues() []Executable
PossibleExecutableValues returns an array of possible values for the Executable const type.
type ExpandControlsEnum ¶
type ExpandControlsEnum string
ExpandControlsEnum enumerates the values for expand controls enum.
const ( // Definition Add definition object for each control Definition ExpandControlsEnum = "definition" )
func PossibleExpandControlsEnumValues ¶
func PossibleExpandControlsEnumValues() []ExpandControlsEnum
PossibleExpandControlsEnumValues returns an array of possible values for the ExpandControlsEnum const type.
type ExportData ¶
type ExportData string
ExportData enumerates the values for export data.
const ( // RawEvents Agent raw events RawEvents ExportData = "RawEvents" )
func PossibleExportDataValues ¶
func PossibleExportDataValues() []ExportData
PossibleExportDataValues returns an array of possible values for the ExportData const type.
type ExternalSecuritySolution ¶
type ExternalSecuritySolution struct { autorest.Response `json:"-"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - READ-ONLY; Location where the resource is stored Location *string `json:"location,omitempty"` // Kind - Possible values include: 'KindExternalSecuritySolution', 'KindCEF', 'KindATA', 'KindAAD' Kind KindEnum `json:"kind,omitempty"` }
ExternalSecuritySolution represents a security solution external to Azure Security Center which sends information to an OMS workspace and whose data is displayed by Azure Security Center.
func (ExternalSecuritySolution) AsAadExternalSecuritySolution ¶
func (ess ExternalSecuritySolution) AsAadExternalSecuritySolution() (*AadExternalSecuritySolution, bool)
AsAadExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.
func (ExternalSecuritySolution) AsAtaExternalSecuritySolution ¶
func (ess ExternalSecuritySolution) AsAtaExternalSecuritySolution() (*AtaExternalSecuritySolution, bool)
AsAtaExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.
func (ExternalSecuritySolution) AsBasicExternalSecuritySolution ¶
func (ess ExternalSecuritySolution) AsBasicExternalSecuritySolution() (BasicExternalSecuritySolution, bool)
AsBasicExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.
func (ExternalSecuritySolution) AsCefExternalSecuritySolution ¶
func (ess ExternalSecuritySolution) AsCefExternalSecuritySolution() (*CefExternalSecuritySolution, bool)
AsCefExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.
func (ExternalSecuritySolution) AsExternalSecuritySolution ¶
func (ess ExternalSecuritySolution) AsExternalSecuritySolution() (*ExternalSecuritySolution, bool)
AsExternalSecuritySolution is the BasicExternalSecuritySolution implementation for ExternalSecuritySolution.
func (ExternalSecuritySolution) MarshalJSON ¶
func (ess ExternalSecuritySolution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExternalSecuritySolution.
type ExternalSecuritySolutionKind ¶
type ExternalSecuritySolutionKind string
ExternalSecuritySolutionKind enumerates the values for external security solution kind.
const ( // AAD ... AAD ExternalSecuritySolutionKind = "AAD" // ATA ... ATA ExternalSecuritySolutionKind = "ATA" // CEF ... CEF ExternalSecuritySolutionKind = "CEF" )
func PossibleExternalSecuritySolutionKindValues ¶
func PossibleExternalSecuritySolutionKindValues() []ExternalSecuritySolutionKind
PossibleExternalSecuritySolutionKindValues returns an array of possible values for the ExternalSecuritySolutionKind const type.
type ExternalSecuritySolutionKind1 ¶
type ExternalSecuritySolutionKind1 struct { // Kind - The kind of the external solution. Possible values include: 'CEF', 'ATA', 'AAD' Kind ExternalSecuritySolutionKind `json:"kind,omitempty"` }
ExternalSecuritySolutionKind1 describes an Azure resource with kind
type ExternalSecuritySolutionList ¶
type ExternalSecuritySolutionList struct { autorest.Response `json:"-"` Value *[]BasicExternalSecuritySolution `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
ExternalSecuritySolutionList ...
func (ExternalSecuritySolutionList) IsEmpty ¶
func (essl ExternalSecuritySolutionList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (ExternalSecuritySolutionList) MarshalJSON ¶
func (essl ExternalSecuritySolutionList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExternalSecuritySolutionList.
func (*ExternalSecuritySolutionList) UnmarshalJSON ¶
func (essl *ExternalSecuritySolutionList) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExternalSecuritySolutionList struct.
type ExternalSecuritySolutionListIterator ¶
type ExternalSecuritySolutionListIterator struct {
// contains filtered or unexported fields
}
ExternalSecuritySolutionListIterator provides access to a complete listing of ExternalSecuritySolution values.
func NewExternalSecuritySolutionListIterator ¶
func NewExternalSecuritySolutionListIterator(page ExternalSecuritySolutionListPage) ExternalSecuritySolutionListIterator
Creates a new instance of the ExternalSecuritySolutionListIterator type.
func (*ExternalSecuritySolutionListIterator) Next ¶
func (iter *ExternalSecuritySolutionListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ExternalSecuritySolutionListIterator) NextWithContext ¶
func (iter *ExternalSecuritySolutionListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ExternalSecuritySolutionListIterator) NotDone ¶
func (iter ExternalSecuritySolutionListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ExternalSecuritySolutionListIterator) Response ¶
func (iter ExternalSecuritySolutionListIterator) Response() ExternalSecuritySolutionList
Response returns the raw server response from the last page request.
func (ExternalSecuritySolutionListIterator) Value ¶
func (iter ExternalSecuritySolutionListIterator) Value() BasicExternalSecuritySolution
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ExternalSecuritySolutionListPage ¶
type ExternalSecuritySolutionListPage struct {
// contains filtered or unexported fields
}
ExternalSecuritySolutionListPage contains a page of BasicExternalSecuritySolution values.
func NewExternalSecuritySolutionListPage ¶
func NewExternalSecuritySolutionListPage(getNextPage func(context.Context, ExternalSecuritySolutionList) (ExternalSecuritySolutionList, error)) ExternalSecuritySolutionListPage
Creates a new instance of the ExternalSecuritySolutionListPage type.
func (*ExternalSecuritySolutionListPage) Next ¶
func (page *ExternalSecuritySolutionListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ExternalSecuritySolutionListPage) NextWithContext ¶
func (page *ExternalSecuritySolutionListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ExternalSecuritySolutionListPage) NotDone ¶
func (page ExternalSecuritySolutionListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ExternalSecuritySolutionListPage) Response ¶
func (page ExternalSecuritySolutionListPage) Response() ExternalSecuritySolutionList
Response returns the raw server response from the last page request.
func (ExternalSecuritySolutionListPage) Values ¶
func (page ExternalSecuritySolutionListPage) Values() []BasicExternalSecuritySolution
Values returns the slice of values for the current page or nil if there are no values.
type ExternalSecuritySolutionModel ¶
type ExternalSecuritySolutionModel struct { autorest.Response `json:"-"` Value BasicExternalSecuritySolution `json:"value,omitempty"` }
ExternalSecuritySolutionModel ...
func (*ExternalSecuritySolutionModel) UnmarshalJSON ¶
func (essm *ExternalSecuritySolutionModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExternalSecuritySolutionModel struct.
type ExternalSecuritySolutionProperties ¶
type ExternalSecuritySolutionProperties struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` DeviceVendor *string `json:"deviceVendor,omitempty"` DeviceType *string `json:"deviceType,omitempty"` Workspace *ConnectedWorkspace `json:"workspace,omitempty"` }
ExternalSecuritySolutionProperties the solution properties (correspond to the solution kind)
func (ExternalSecuritySolutionProperties) MarshalJSON ¶
func (essp ExternalSecuritySolutionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExternalSecuritySolutionProperties.
func (*ExternalSecuritySolutionProperties) UnmarshalJSON ¶
func (essp *ExternalSecuritySolutionProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExternalSecuritySolutionProperties struct.
type ExternalSecuritySolutionsClient ¶
type ExternalSecuritySolutionsClient struct {
BaseClient
}
ExternalSecuritySolutionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewExternalSecuritySolutionsClient ¶
func NewExternalSecuritySolutionsClient(subscriptionID string, ascLocation string) ExternalSecuritySolutionsClient
NewExternalSecuritySolutionsClient creates an instance of the ExternalSecuritySolutionsClient client.
func NewExternalSecuritySolutionsClientWithBaseURI ¶
func NewExternalSecuritySolutionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) ExternalSecuritySolutionsClient
NewExternalSecuritySolutionsClientWithBaseURI creates an instance of the ExternalSecuritySolutionsClient 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 (ExternalSecuritySolutionsClient) Get ¶
func (client ExternalSecuritySolutionsClient) Get(ctx context.Context, resourceGroupName string, externalSecuritySolutionsName string) (result ExternalSecuritySolutionModel, err error)
Get gets a specific external Security Solution. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. externalSecuritySolutionsName - name of an external security solution.
func (ExternalSecuritySolutionsClient) GetPreparer ¶
func (client ExternalSecuritySolutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, externalSecuritySolutionsName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ExternalSecuritySolutionsClient) GetResponder ¶
func (client ExternalSecuritySolutionsClient) GetResponder(resp *http.Response) (result ExternalSecuritySolutionModel, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ExternalSecuritySolutionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ExternalSecuritySolutionsClient) List ¶
func (client ExternalSecuritySolutionsClient) List(ctx context.Context) (result ExternalSecuritySolutionListPage, err error)
List gets a list of external security solutions for the subscription.
func (ExternalSecuritySolutionsClient) ListByHomeRegion ¶
func (client ExternalSecuritySolutionsClient) ListByHomeRegion(ctx context.Context) (result ExternalSecuritySolutionListPage, err error)
ListByHomeRegion gets a list of external Security Solutions for the subscription and location.
func (ExternalSecuritySolutionsClient) ListByHomeRegionComplete ¶
func (client ExternalSecuritySolutionsClient) ListByHomeRegionComplete(ctx context.Context) (result ExternalSecuritySolutionListIterator, err error)
ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.
func (ExternalSecuritySolutionsClient) ListByHomeRegionPreparer ¶
func (client ExternalSecuritySolutionsClient) ListByHomeRegionPreparer(ctx context.Context) (*http.Request, error)
ListByHomeRegionPreparer prepares the ListByHomeRegion request.
func (ExternalSecuritySolutionsClient) ListByHomeRegionResponder ¶
func (client ExternalSecuritySolutionsClient) ListByHomeRegionResponder(resp *http.Response) (result ExternalSecuritySolutionList, err error)
ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.
func (ExternalSecuritySolutionsClient) ListByHomeRegionSender ¶
func (client ExternalSecuritySolutionsClient) ListByHomeRegionSender(req *http.Request) (*http.Response, error)
ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.
func (ExternalSecuritySolutionsClient) ListComplete ¶
func (client ExternalSecuritySolutionsClient) ListComplete(ctx context.Context) (result ExternalSecuritySolutionListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ExternalSecuritySolutionsClient) ListPreparer ¶
func (client ExternalSecuritySolutionsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (ExternalSecuritySolutionsClient) ListResponder ¶
func (client ExternalSecuritySolutionsClient) ListResponder(resp *http.Response) (result ExternalSecuritySolutionList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ExternalSecuritySolutionsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Family ¶
type Family string
Family enumerates the values for family.
func PossibleFamilyValues ¶
func PossibleFamilyValues() []Family
PossibleFamilyValues returns an array of possible values for the Family const type.
type FileType ¶
type FileType string
FileType enumerates the values for file type.
const ( // FileTypeDll ... FileTypeDll FileType = "Dll" // FileTypeExe ... FileTypeExe FileType = "Exe" // FileTypeExecutable ... FileTypeExecutable FileType = "Executable" // FileTypeMsi ... FileTypeMsi FileType = "Msi" // FileTypeScript ... FileTypeScript FileType = "Script" // FileTypeUnknown ... FileTypeUnknown FileType = "Unknown" )
func PossibleFileTypeValues ¶
func PossibleFileTypeValues() []FileType
PossibleFileTypeValues returns an array of possible values for the FileType const type.
type GcpCredentialsDetailsProperties ¶
type GcpCredentialsDetailsProperties struct { // OrganizationID - The Organization ID of the GCP cloud account OrganizationID *string `json:"organizationId,omitempty"` // Type - Type field of the API key (write only) Type *string `json:"type,omitempty"` // ProjectID - Project Id field of the API key (write only) ProjectID *string `json:"projectId,omitempty"` // PrivateKeyID - Private key Id field of the API key (write only) PrivateKeyID *string `json:"privateKeyId,omitempty"` // PrivateKey - Private key field of the API key (write only) PrivateKey *string `json:"privateKey,omitempty"` // ClientEmail - Client email field of the API key (write only) ClientEmail *string `json:"clientEmail,omitempty"` // ClientID - Client Id field of the API key (write only) ClientID *string `json:"clientId,omitempty"` // AuthURI - Auth Uri field of the API key (write only) AuthURI *string `json:"authUri,omitempty"` // TokenURI - Token Uri field of the API key (write only) TokenURI *string `json:"tokenUri,omitempty"` // AuthProviderX509CertURL - Auth provider x509 certificate url field of the API key (write only) AuthProviderX509CertURL *string `json:"authProviderX509CertUrl,omitempty"` // ClientX509CertURL - Client x509 certificate url field of the API key (write only) ClientX509CertURL *string `json:"clientX509CertUrl,omitempty"` // AuthenticationProvisioningState - READ-ONLY; State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', 'IncorrectPolicy' AuthenticationProvisioningState AuthenticationProvisioningState `json:"authenticationProvisioningState,omitempty"` // GrantedPermissions - READ-ONLY; The permissions detected in the cloud account. GrantedPermissions *[]PermissionProperty `json:"grantedPermissions,omitempty"` // AuthenticationType - Possible values include: 'AuthenticationTypeAuthenticationDetailsProperties', 'AuthenticationTypeAwsCreds', 'AuthenticationTypeAwsAssumeRole', 'AuthenticationTypeGcpCredentials' AuthenticationType AuthenticationType `json:"authenticationType,omitempty"` }
GcpCredentialsDetailsProperties GCP cloud account connector based service to service credentials, the credentials is composed of organization id and json api key (write only)</a>
func (GcpCredentialsDetailsProperties) AsAuthenticationDetailsProperties ¶
func (gcdp GcpCredentialsDetailsProperties) AsAuthenticationDetailsProperties() (*AuthenticationDetailsProperties, bool)
AsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for GcpCredentialsDetailsProperties.
func (GcpCredentialsDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties ¶
func (gcdp GcpCredentialsDetailsProperties) AsAwAssumeRoleAuthenticationDetailsProperties() (*AwAssumeRoleAuthenticationDetailsProperties, bool)
AsAwAssumeRoleAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for GcpCredentialsDetailsProperties.
func (GcpCredentialsDetailsProperties) AsAwsCredsAuthenticationDetailsProperties ¶
func (gcdp GcpCredentialsDetailsProperties) AsAwsCredsAuthenticationDetailsProperties() (*AwsCredsAuthenticationDetailsProperties, bool)
AsAwsCredsAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for GcpCredentialsDetailsProperties.
func (GcpCredentialsDetailsProperties) AsBasicAuthenticationDetailsProperties ¶
func (gcdp GcpCredentialsDetailsProperties) AsBasicAuthenticationDetailsProperties() (BasicAuthenticationDetailsProperties, bool)
AsBasicAuthenticationDetailsProperties is the BasicAuthenticationDetailsProperties implementation for GcpCredentialsDetailsProperties.
func (GcpCredentialsDetailsProperties) AsGcpCredentialsDetailsProperties ¶
func (gcdp GcpCredentialsDetailsProperties) AsGcpCredentialsDetailsProperties() (*GcpCredentialsDetailsProperties, bool)
AsGcpCredentialsDetailsProperties is the BasicAuthenticationDetailsProperties implementation for GcpCredentialsDetailsProperties.
func (GcpCredentialsDetailsProperties) MarshalJSON ¶
func (gcdp GcpCredentialsDetailsProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GcpCredentialsDetailsProperties.
type HybridComputeProvisioningState ¶
type HybridComputeProvisioningState string
HybridComputeProvisioningState enumerates the values for hybrid compute provisioning state.
const ( // HybridComputeProvisioningStateExpired the service principal details are expired HybridComputeProvisioningStateExpired HybridComputeProvisioningState = "Expired" // HybridComputeProvisioningStateInvalid Invalid service principal details. HybridComputeProvisioningStateInvalid HybridComputeProvisioningState = "Invalid" // HybridComputeProvisioningStateValid Valid service principal details. HybridComputeProvisioningStateValid HybridComputeProvisioningState = "Valid" )
func PossibleHybridComputeProvisioningStateValues ¶
func PossibleHybridComputeProvisioningStateValues() []HybridComputeProvisioningState
PossibleHybridComputeProvisioningStateValues returns an array of possible values for the HybridComputeProvisioningState const type.
type HybridComputeSettingsProperties ¶
type HybridComputeSettingsProperties struct { // HybridComputeProvisioningState - READ-ONLY; State of the service principal and its secret. Possible values include: 'HybridComputeProvisioningStateValid', 'HybridComputeProvisioningStateInvalid', 'HybridComputeProvisioningStateExpired' HybridComputeProvisioningState HybridComputeProvisioningState `json:"hybridComputeProvisioningState,omitempty"` // AutoProvision - Whether or not to automatically install Azure Arc (hybrid compute) agents on machines. Possible values include: 'AutoProvisionOn', 'AutoProvisionOff' AutoProvision AutoProvision `json:"autoProvision,omitempty"` // ResourceGroupName - The name of the resource group where Arc (Hybrid Compute) connectors are connected. ResourceGroupName *string `json:"resourceGroupName,omitempty"` // Region - The location where the meta data of machines will be stored Region *string `json:"region,omitempty"` // ProxyServer - For a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use. ProxyServer *ProxyServerProperties `json:"proxyServer,omitempty"` // ServicePrincipal - An object to access resources that are secured by an Azure AD tenant. ServicePrincipal *ServicePrincipalProperties `json:"servicePrincipal,omitempty"` }
HybridComputeSettingsProperties settings for hybrid compute management
func (HybridComputeSettingsProperties) MarshalJSON ¶
func (hcsp HybridComputeSettingsProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HybridComputeSettingsProperties.
type InformationProtectionKeyword ¶
type InformationProtectionKeyword struct { // Pattern - The keyword pattern. Pattern *string `json:"pattern,omitempty"` // Custom - Indicates whether the keyword is custom or not. Custom *bool `json:"custom,omitempty"` // CanBeNumeric - Indicates whether the keyword can be applied on numeric types or not. CanBeNumeric *bool `json:"canBeNumeric,omitempty"` // Excluded - Indicates whether the keyword is excluded or not. Excluded *bool `json:"excluded,omitempty"` }
InformationProtectionKeyword the information type keyword.
type InformationProtectionPoliciesClient ¶
type InformationProtectionPoliciesClient struct {
BaseClient
}
InformationProtectionPoliciesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewInformationProtectionPoliciesClient ¶
func NewInformationProtectionPoliciesClient(subscriptionID string, ascLocation string) InformationProtectionPoliciesClient
NewInformationProtectionPoliciesClient creates an instance of the InformationProtectionPoliciesClient client.
func NewInformationProtectionPoliciesClientWithBaseURI ¶
func NewInformationProtectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) InformationProtectionPoliciesClient
NewInformationProtectionPoliciesClientWithBaseURI creates an instance of the InformationProtectionPoliciesClient 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 (InformationProtectionPoliciesClient) CreateOrUpdate ¶
func (client InformationProtectionPoliciesClient) CreateOrUpdate(ctx context.Context, scope string, informationProtectionPolicyName string, informationProtectionPolicy InformationProtectionPolicy) (result InformationProtectionPolicy, err error)
CreateOrUpdate details of the information protection policy. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). informationProtectionPolicyName - name of the information protection policy. informationProtectionPolicy - information protection policy.
func (InformationProtectionPoliciesClient) CreateOrUpdatePreparer ¶
func (client InformationProtectionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, scope string, informationProtectionPolicyName string, informationProtectionPolicy InformationProtectionPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (InformationProtectionPoliciesClient) CreateOrUpdateResponder ¶
func (client InformationProtectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result InformationProtectionPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (InformationProtectionPoliciesClient) CreateOrUpdateSender ¶
func (client InformationProtectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (InformationProtectionPoliciesClient) Get ¶
func (client InformationProtectionPoliciesClient) Get(ctx context.Context, scope string, informationProtectionPolicyName string) (result InformationProtectionPolicy, err error)
Get details of the information protection policy. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). informationProtectionPolicyName - name of the information protection policy.
func (InformationProtectionPoliciesClient) GetPreparer ¶
func (client InformationProtectionPoliciesClient) GetPreparer(ctx context.Context, scope string, informationProtectionPolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (InformationProtectionPoliciesClient) GetResponder ¶
func (client InformationProtectionPoliciesClient) GetResponder(resp *http.Response) (result InformationProtectionPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (InformationProtectionPoliciesClient) GetSender ¶
func (client InformationProtectionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (InformationProtectionPoliciesClient) List ¶
func (client InformationProtectionPoliciesClient) List(ctx context.Context, scope string) (result InformationProtectionPolicyListPage, err error)
List information protection policies of a specific management group. Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
func (InformationProtectionPoliciesClient) ListComplete ¶
func (client InformationProtectionPoliciesClient) ListComplete(ctx context.Context, scope string) (result InformationProtectionPolicyListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (InformationProtectionPoliciesClient) ListPreparer ¶
func (client InformationProtectionPoliciesClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)
ListPreparer prepares the List request.
func (InformationProtectionPoliciesClient) ListResponder ¶
func (client InformationProtectionPoliciesClient) ListResponder(resp *http.Response) (result InformationProtectionPolicyList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (InformationProtectionPoliciesClient) ListSender ¶
func (client InformationProtectionPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type InformationProtectionPolicy ¶
type InformationProtectionPolicy struct { autorest.Response `json:"-"` // InformationProtectionPolicyProperties - Information protection policy data *InformationProtectionPolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` }
InformationProtectionPolicy information protection policy.
func (InformationProtectionPolicy) MarshalJSON ¶
func (ipp InformationProtectionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InformationProtectionPolicy.
func (*InformationProtectionPolicy) UnmarshalJSON ¶
func (ipp *InformationProtectionPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InformationProtectionPolicy struct.
type InformationProtectionPolicyList ¶
type InformationProtectionPolicyList struct { autorest.Response `json:"-"` // Value - List of information protection policies. Value *[]InformationProtectionPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
InformationProtectionPolicyList information protection policies response.
func (InformationProtectionPolicyList) IsEmpty ¶
func (ippl InformationProtectionPolicyList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (InformationProtectionPolicyList) MarshalJSON ¶
func (ippl InformationProtectionPolicyList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InformationProtectionPolicyList.
type InformationProtectionPolicyListIterator ¶
type InformationProtectionPolicyListIterator struct {
// contains filtered or unexported fields
}
InformationProtectionPolicyListIterator provides access to a complete listing of InformationProtectionPolicy values.
func NewInformationProtectionPolicyListIterator ¶
func NewInformationProtectionPolicyListIterator(page InformationProtectionPolicyListPage) InformationProtectionPolicyListIterator
Creates a new instance of the InformationProtectionPolicyListIterator type.
func (*InformationProtectionPolicyListIterator) Next ¶
func (iter *InformationProtectionPolicyListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*InformationProtectionPolicyListIterator) NextWithContext ¶
func (iter *InformationProtectionPolicyListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (InformationProtectionPolicyListIterator) NotDone ¶
func (iter InformationProtectionPolicyListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (InformationProtectionPolicyListIterator) Response ¶
func (iter InformationProtectionPolicyListIterator) Response() InformationProtectionPolicyList
Response returns the raw server response from the last page request.
func (InformationProtectionPolicyListIterator) Value ¶
func (iter InformationProtectionPolicyListIterator) Value() InformationProtectionPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type InformationProtectionPolicyListPage ¶
type InformationProtectionPolicyListPage struct {
// contains filtered or unexported fields
}
InformationProtectionPolicyListPage contains a page of InformationProtectionPolicy values.
func NewInformationProtectionPolicyListPage ¶
func NewInformationProtectionPolicyListPage(getNextPage func(context.Context, InformationProtectionPolicyList) (InformationProtectionPolicyList, error)) InformationProtectionPolicyListPage
Creates a new instance of the InformationProtectionPolicyListPage type.
func (*InformationProtectionPolicyListPage) Next ¶
func (page *InformationProtectionPolicyListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*InformationProtectionPolicyListPage) NextWithContext ¶
func (page *InformationProtectionPolicyListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (InformationProtectionPolicyListPage) NotDone ¶
func (page InformationProtectionPolicyListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (InformationProtectionPolicyListPage) Response ¶
func (page InformationProtectionPolicyListPage) Response() InformationProtectionPolicyList
Response returns the raw server response from the last page request.
func (InformationProtectionPolicyListPage) Values ¶
func (page InformationProtectionPolicyListPage) Values() []InformationProtectionPolicy
Values returns the slice of values for the current page or nil if there are no values.
type InformationProtectionPolicyProperties ¶
type InformationProtectionPolicyProperties struct { // LastModifiedUtc - READ-ONLY; Describes the last UTC time the policy was modified. LastModifiedUtc *date.Time `json:"lastModifiedUtc,omitempty"` // Version - READ-ONLY; Describes the version of the policy. Version *string `json:"version,omitempty"` // Labels - Dictionary of sensitivity labels. Labels map[string]*SensitivityLabel `json:"labels"` // InformationTypes - The sensitivity information types. InformationTypes map[string]*InformationType `json:"informationTypes"` }
InformationProtectionPolicyProperties describes properties of an information protection policy.
func (InformationProtectionPolicyProperties) MarshalJSON ¶
func (ippp InformationProtectionPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InformationProtectionPolicyProperties.
type InformationType ¶
type InformationType struct { // DisplayName - The name of the information type. DisplayName *string `json:"displayName,omitempty"` // Description - The description of the information type. Description *string `json:"description,omitempty"` // Order - The order of the information type. Order *int32 `json:"order,omitempty"` // RecommendedLabelID - The recommended label id to be associated with this information type. RecommendedLabelID *uuid.UUID `json:"recommendedLabelId,omitempty"` // Enabled - Indicates whether the information type is enabled or not. Enabled *bool `json:"enabled,omitempty"` // Custom - Indicates whether the information type is custom or not. Custom *bool `json:"custom,omitempty"` // Keywords - The information type keywords. Keywords *[]InformationProtectionKeyword `json:"keywords,omitempty"` }
InformationType the information type.
type IoTSecurityAggregatedAlert ¶
type IoTSecurityAggregatedAlert struct { autorest.Response `json:"-"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` // IoTSecurityAggregatedAlertProperties - Security Solution Aggregated Alert data *IoTSecurityAggregatedAlertProperties `json:"properties,omitempty"` }
IoTSecurityAggregatedAlert security Solution Aggregated Alert information
func (IoTSecurityAggregatedAlert) MarshalJSON ¶
func (itsaa IoTSecurityAggregatedAlert) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecurityAggregatedAlert.
func (*IoTSecurityAggregatedAlert) UnmarshalJSON ¶
func (itsaa *IoTSecurityAggregatedAlert) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for IoTSecurityAggregatedAlert struct.
type IoTSecurityAggregatedAlertList ¶
type IoTSecurityAggregatedAlertList struct { autorest.Response `json:"-"` // Value - List of aggregated alerts data Value *[]IoTSecurityAggregatedAlert `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
IoTSecurityAggregatedAlertList list of IoT aggregated security alerts
func (IoTSecurityAggregatedAlertList) IsEmpty ¶
func (itsaal IoTSecurityAggregatedAlertList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (IoTSecurityAggregatedAlertList) MarshalJSON ¶
func (itsaal IoTSecurityAggregatedAlertList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecurityAggregatedAlertList.
type IoTSecurityAggregatedAlertListIterator ¶
type IoTSecurityAggregatedAlertListIterator struct {
// contains filtered or unexported fields
}
IoTSecurityAggregatedAlertListIterator provides access to a complete listing of IoTSecurityAggregatedAlert values.
func NewIoTSecurityAggregatedAlertListIterator ¶
func NewIoTSecurityAggregatedAlertListIterator(page IoTSecurityAggregatedAlertListPage) IoTSecurityAggregatedAlertListIterator
Creates a new instance of the IoTSecurityAggregatedAlertListIterator type.
func (*IoTSecurityAggregatedAlertListIterator) Next ¶
func (iter *IoTSecurityAggregatedAlertListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IoTSecurityAggregatedAlertListIterator) NextWithContext ¶
func (iter *IoTSecurityAggregatedAlertListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (IoTSecurityAggregatedAlertListIterator) NotDone ¶
func (iter IoTSecurityAggregatedAlertListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (IoTSecurityAggregatedAlertListIterator) Response ¶
func (iter IoTSecurityAggregatedAlertListIterator) Response() IoTSecurityAggregatedAlertList
Response returns the raw server response from the last page request.
func (IoTSecurityAggregatedAlertListIterator) Value ¶
func (iter IoTSecurityAggregatedAlertListIterator) Value() IoTSecurityAggregatedAlert
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type IoTSecurityAggregatedAlertListPage ¶
type IoTSecurityAggregatedAlertListPage struct {
// contains filtered or unexported fields
}
IoTSecurityAggregatedAlertListPage contains a page of IoTSecurityAggregatedAlert values.
func NewIoTSecurityAggregatedAlertListPage ¶
func NewIoTSecurityAggregatedAlertListPage(getNextPage func(context.Context, IoTSecurityAggregatedAlertList) (IoTSecurityAggregatedAlertList, error)) IoTSecurityAggregatedAlertListPage
Creates a new instance of the IoTSecurityAggregatedAlertListPage type.
func (*IoTSecurityAggregatedAlertListPage) Next ¶
func (page *IoTSecurityAggregatedAlertListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IoTSecurityAggregatedAlertListPage) NextWithContext ¶
func (page *IoTSecurityAggregatedAlertListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (IoTSecurityAggregatedAlertListPage) NotDone ¶
func (page IoTSecurityAggregatedAlertListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (IoTSecurityAggregatedAlertListPage) Response ¶
func (page IoTSecurityAggregatedAlertListPage) Response() IoTSecurityAggregatedAlertList
Response returns the raw server response from the last page request.
func (IoTSecurityAggregatedAlertListPage) Values ¶
func (page IoTSecurityAggregatedAlertListPage) Values() []IoTSecurityAggregatedAlert
Values returns the slice of values for the current page or nil if there are no values.
type IoTSecurityAggregatedAlertProperties ¶
type IoTSecurityAggregatedAlertProperties struct { // AlertType - READ-ONLY; Name of the alert type AlertType *string `json:"alertType,omitempty"` // AlertDisplayName - READ-ONLY; Display name of the alert type AlertDisplayName *string `json:"alertDisplayName,omitempty"` // AggregatedDateUtc - READ-ONLY; The date the incidents were detected by the vendor AggregatedDateUtc *date.Date `json:"aggregatedDateUtc,omitempty"` // VendorName - READ-ONLY; Name of the vendor that discovered the incident VendorName *string `json:"vendorName,omitempty"` // ReportedSeverity - READ-ONLY; Estimated severity of this alert. Possible values include: 'Informational', 'Low', 'Medium', 'High' ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"` // RemediationSteps - READ-ONLY; Recommended steps for remediation RemediationSteps *string `json:"remediationSteps,omitempty"` // Description - READ-ONLY; Description of the incident and what it means Description *string `json:"description,omitempty"` // Count - READ-ONLY; Occurrence number of the alert within the aggregated date Count *int32 `json:"count,omitempty"` // EffectedResourceType - READ-ONLY; Azure resource ID of the resource that got the alerts EffectedResourceType *string `json:"effectedResourceType,omitempty"` // SystemSource - READ-ONLY; The type of the alerted resource (Azure, Non-Azure) SystemSource *string `json:"systemSource,omitempty"` // ActionTaken - READ-ONLY; The action that was taken as a response to the alert (Active, Blocked etc.) ActionTaken *string `json:"actionTaken,omitempty"` // LogAnalyticsQuery - READ-ONLY; query in log analytics to get the list of affected devices/alerts LogAnalyticsQuery *string `json:"logAnalyticsQuery,omitempty"` }
IoTSecurityAggregatedAlertProperties security Solution Aggregated Alert data
type IoTSecurityAggregatedRecommendation ¶
type IoTSecurityAggregatedRecommendation struct { autorest.Response `json:"-"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` // IoTSecurityAggregatedRecommendationProperties - Security Solution data *IoTSecurityAggregatedRecommendationProperties `json:"properties,omitempty"` }
IoTSecurityAggregatedRecommendation security Solution Recommendation Information
func (IoTSecurityAggregatedRecommendation) MarshalJSON ¶
func (itsar IoTSecurityAggregatedRecommendation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecurityAggregatedRecommendation.
func (*IoTSecurityAggregatedRecommendation) UnmarshalJSON ¶
func (itsar *IoTSecurityAggregatedRecommendation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for IoTSecurityAggregatedRecommendation struct.
type IoTSecurityAggregatedRecommendationList ¶
type IoTSecurityAggregatedRecommendationList struct { autorest.Response `json:"-"` // Value - List of aggregated alerts data Value *[]IoTSecurityAggregatedRecommendation `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
IoTSecurityAggregatedRecommendationList list of IoT aggregated security recommendations
func (IoTSecurityAggregatedRecommendationList) IsEmpty ¶
func (itsarl IoTSecurityAggregatedRecommendationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (IoTSecurityAggregatedRecommendationList) MarshalJSON ¶
func (itsarl IoTSecurityAggregatedRecommendationList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecurityAggregatedRecommendationList.
type IoTSecurityAggregatedRecommendationListIterator ¶
type IoTSecurityAggregatedRecommendationListIterator struct {
// contains filtered or unexported fields
}
IoTSecurityAggregatedRecommendationListIterator provides access to a complete listing of IoTSecurityAggregatedRecommendation values.
func NewIoTSecurityAggregatedRecommendationListIterator ¶
func NewIoTSecurityAggregatedRecommendationListIterator(page IoTSecurityAggregatedRecommendationListPage) IoTSecurityAggregatedRecommendationListIterator
Creates a new instance of the IoTSecurityAggregatedRecommendationListIterator type.
func (*IoTSecurityAggregatedRecommendationListIterator) Next ¶
func (iter *IoTSecurityAggregatedRecommendationListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IoTSecurityAggregatedRecommendationListIterator) NextWithContext ¶
func (iter *IoTSecurityAggregatedRecommendationListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (IoTSecurityAggregatedRecommendationListIterator) NotDone ¶
func (iter IoTSecurityAggregatedRecommendationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (IoTSecurityAggregatedRecommendationListIterator) Response ¶
func (iter IoTSecurityAggregatedRecommendationListIterator) Response() IoTSecurityAggregatedRecommendationList
Response returns the raw server response from the last page request.
func (IoTSecurityAggregatedRecommendationListIterator) Value ¶
func (iter IoTSecurityAggregatedRecommendationListIterator) Value() IoTSecurityAggregatedRecommendation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type IoTSecurityAggregatedRecommendationListPage ¶
type IoTSecurityAggregatedRecommendationListPage struct {
// contains filtered or unexported fields
}
IoTSecurityAggregatedRecommendationListPage contains a page of IoTSecurityAggregatedRecommendation values.
func NewIoTSecurityAggregatedRecommendationListPage ¶
func NewIoTSecurityAggregatedRecommendationListPage(getNextPage func(context.Context, IoTSecurityAggregatedRecommendationList) (IoTSecurityAggregatedRecommendationList, error)) IoTSecurityAggregatedRecommendationListPage
Creates a new instance of the IoTSecurityAggregatedRecommendationListPage type.
func (*IoTSecurityAggregatedRecommendationListPage) Next ¶
func (page *IoTSecurityAggregatedRecommendationListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IoTSecurityAggregatedRecommendationListPage) NextWithContext ¶
func (page *IoTSecurityAggregatedRecommendationListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (IoTSecurityAggregatedRecommendationListPage) NotDone ¶
func (page IoTSecurityAggregatedRecommendationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (IoTSecurityAggregatedRecommendationListPage) Response ¶
func (page IoTSecurityAggregatedRecommendationListPage) Response() IoTSecurityAggregatedRecommendationList
Response returns the raw server response from the last page request.
func (IoTSecurityAggregatedRecommendationListPage) Values ¶
func (page IoTSecurityAggregatedRecommendationListPage) Values() []IoTSecurityAggregatedRecommendation
Values returns the slice of values for the current page or nil if there are no values.
type IoTSecurityAggregatedRecommendationProperties ¶
type IoTSecurityAggregatedRecommendationProperties struct { // RecommendationName - Name of the recommendation RecommendationName *string `json:"recommendationName,omitempty"` // RecommendationDisplayName - READ-ONLY; Display name of the recommendation type. RecommendationDisplayName *string `json:"recommendationDisplayName,omitempty"` // Description - READ-ONLY; Description of the incident and what it means Description *string `json:"description,omitempty"` // RecommendationTypeID - READ-ONLY; The recommendation-type GUID. RecommendationTypeID *string `json:"recommendationTypeId,omitempty"` // DetectedBy - READ-ONLY; Name of the vendor that discovered the issue DetectedBy *string `json:"detectedBy,omitempty"` // RemediationSteps - READ-ONLY; Recommended steps for remediation RemediationSteps *string `json:"remediationSteps,omitempty"` // ReportedSeverity - READ-ONLY; Estimated severity of this recommendation. Possible values include: 'Informational', 'Low', 'Medium', 'High' ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"` // HealthyDevices - READ-ONLY; the number of the healthy devices within the solution HealthyDevices *int32 `json:"healthyDevices,omitempty"` // UnhealthyDeviceCount - READ-ONLY; the number of the unhealthy devices within the solution UnhealthyDeviceCount *int32 `json:"unhealthyDeviceCount,omitempty"` // LogAnalyticsQuery - READ-ONLY; query in log analytics to get the list of affected devices/alerts LogAnalyticsQuery *string `json:"logAnalyticsQuery,omitempty"` }
IoTSecurityAggregatedRecommendationProperties security Solution Recommendation Information
func (IoTSecurityAggregatedRecommendationProperties) MarshalJSON ¶
func (itsarp IoTSecurityAggregatedRecommendationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecurityAggregatedRecommendationProperties.
type IoTSecurityAlertedDevice ¶
type IoTSecurityAlertedDevice struct { // DeviceID - READ-ONLY; Name of the alert type DeviceID *string `json:"deviceId,omitempty"` // AlertsCount - READ-ONLY; the number of alerts raised for this device AlertsCount *int32 `json:"alertsCount,omitempty"` }
IoTSecurityAlertedDevice statistic information about the number of alerts per device during the last period
type IoTSecurityAlertedDevicesList ¶
type IoTSecurityAlertedDevicesList struct { // Value - List of aggregated alerts data Value *[]IoTSecurityAlertedDevice `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
IoTSecurityAlertedDevicesList list of devices with the count of raised alerts
func (IoTSecurityAlertedDevicesList) MarshalJSON ¶
func (itsadl IoTSecurityAlertedDevicesList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecurityAlertedDevicesList.
type IoTSecurityDeviceAlert ¶
type IoTSecurityDeviceAlert struct { // AlertDisplayName - READ-ONLY; Display name of the alert AlertDisplayName *string `json:"alertDisplayName,omitempty"` // ReportedSeverity - READ-ONLY; Estimated severity of this alert. Possible values include: 'Informational', 'Low', 'Medium', 'High' ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"` // AlertsCount - READ-ONLY; the number of alerts raised for this alert type AlertsCount *int32 `json:"alertsCount,omitempty"` }
IoTSecurityDeviceAlert statistic information about the number of alerts per alert type during the last period
type IoTSecurityDeviceAlertsList ¶
type IoTSecurityDeviceAlertsList struct { // Value - List of top alerts data Value *[]IoTSecurityDeviceAlert `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
IoTSecurityDeviceAlertsList list of alerts with the count of raised alerts
func (IoTSecurityDeviceAlertsList) MarshalJSON ¶
func (itsdal IoTSecurityDeviceAlertsList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecurityDeviceAlertsList.
type IoTSecurityDeviceRecommendation ¶
type IoTSecurityDeviceRecommendation struct { // RecommendationDisplayName - READ-ONLY; Display name of the recommendation RecommendationDisplayName *string `json:"recommendationDisplayName,omitempty"` // ReportedSeverity - READ-ONLY; Estimated severity of this recommendation. Possible values include: 'Informational', 'Low', 'Medium', 'High' ReportedSeverity ReportedSeverity `json:"reportedSeverity,omitempty"` // DevicesCount - READ-ONLY; the number of device with this recommendation DevicesCount *int32 `json:"devicesCount,omitempty"` }
IoTSecurityDeviceRecommendation statistic information about the number of recommendations per recommendation type
type IoTSecurityDeviceRecommendationsList ¶
type IoTSecurityDeviceRecommendationsList struct { // Value - List of aggregated recommendation data Value *[]IoTSecurityDeviceRecommendation `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
IoTSecurityDeviceRecommendationsList list of recommendations with the count of devices
func (IoTSecurityDeviceRecommendationsList) MarshalJSON ¶
func (itsdrl IoTSecurityDeviceRecommendationsList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecurityDeviceRecommendationsList.
type IoTSecuritySolutionAnalyticsModel ¶
type IoTSecuritySolutionAnalyticsModel struct { autorest.Response `json:"-"` // IoTSecuritySolutionAnalyticsModelProperties - Security Solution Aggregated Alert data *IoTSecuritySolutionAnalyticsModelProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` }
IoTSecuritySolutionAnalyticsModel security Analytics of a security solution
func (IoTSecuritySolutionAnalyticsModel) MarshalJSON ¶
func (itssam IoTSecuritySolutionAnalyticsModel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecuritySolutionAnalyticsModel.
func (*IoTSecuritySolutionAnalyticsModel) UnmarshalJSON ¶
func (itssam *IoTSecuritySolutionAnalyticsModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for IoTSecuritySolutionAnalyticsModel struct.
type IoTSecuritySolutionAnalyticsModelList ¶
type IoTSecuritySolutionAnalyticsModelList struct { autorest.Response `json:"-"` // Value - List of Security Analytics of a security solution Value *[]IoTSecuritySolutionAnalyticsModel `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
IoTSecuritySolutionAnalyticsModelList list of Security Analytics of a security solution
func (IoTSecuritySolutionAnalyticsModelList) MarshalJSON ¶
func (itssaml IoTSecuritySolutionAnalyticsModelList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecuritySolutionAnalyticsModelList.
type IoTSecuritySolutionAnalyticsModelProperties ¶
type IoTSecuritySolutionAnalyticsModelProperties struct { // Metrics - READ-ONLY; Security Analytics of a security solution Metrics *IoTSeverityMetrics `json:"metrics,omitempty"` // UnhealthyDeviceCount - READ-ONLY; number of unhealthy devices UnhealthyDeviceCount *int32 `json:"unhealthyDeviceCount,omitempty"` // DevicesMetrics - READ-ONLY; The list of devices metrics by the aggregated date. DevicesMetrics *[]IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem `json:"devicesMetrics,omitempty"` // TopAlertedDevices - The list of top 3 devices with the most attacked. TopAlertedDevices *IoTSecurityAlertedDevicesList `json:"topAlertedDevices,omitempty"` // MostPrevalentDeviceAlerts - The list of most prevalent 3 alerts. MostPrevalentDeviceAlerts *IoTSecurityDeviceAlertsList `json:"mostPrevalentDeviceAlerts,omitempty"` // MostPrevalentDeviceRecommendations - The list of most prevalent 3 recommendations. MostPrevalentDeviceRecommendations *IoTSecurityDeviceRecommendationsList `json:"mostPrevalentDeviceRecommendations,omitempty"` }
IoTSecuritySolutionAnalyticsModelProperties security Analytics of a security solution properties
func (IoTSecuritySolutionAnalyticsModelProperties) MarshalJSON ¶
func (itssamp IoTSecuritySolutionAnalyticsModelProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecuritySolutionAnalyticsModelProperties.
type IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem ¶
type IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem struct { // Date - the date of the metrics Date *date.Time `json:"date,omitempty"` // DevicesMetrics - devices alerts count by severity. DevicesMetrics *IoTSeverityMetrics `json:"devicesMetrics,omitempty"` }
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem ...
type IoTSecuritySolutionModel ¶
type IoTSecuritySolutionModel struct { autorest.Response `json:"-"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` // Location - The resource location. Location *string `json:"location,omitempty"` // IoTSecuritySolutionProperties - Security Solution data *IoTSecuritySolutionProperties `json:"properties,omitempty"` }
IoTSecuritySolutionModel security Solution
func (IoTSecuritySolutionModel) MarshalJSON ¶
func (itssm IoTSecuritySolutionModel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecuritySolutionModel.
func (*IoTSecuritySolutionModel) UnmarshalJSON ¶
func (itssm *IoTSecuritySolutionModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for IoTSecuritySolutionModel struct.
type IoTSecuritySolutionProperties ¶
type IoTSecuritySolutionProperties struct { // Workspace - Workspace resource ID Workspace *string `json:"workspace,omitempty"` // DisplayName - Resource display name. DisplayName *string `json:"displayName,omitempty"` // Status - Security solution status. Possible values include: 'SolutionStatusEnabled', 'SolutionStatusDisabled' Status SolutionStatus `json:"status,omitempty"` // Export - List of additional export to workspace data options Export *[]ExportData `json:"export,omitempty"` // DisabledDataSources - Disabled data sources. Disabling these data sources compromises the system. DisabledDataSources *[]DataSource `json:"disabledDataSources,omitempty"` // IotHubs - IoT Hub resource IDs IotHubs *[]string `json:"iotHubs,omitempty"` UserDefinedResources *UserDefinedResourcesProperties `json:"userDefinedResources,omitempty"` // AutoDiscoveredResources - READ-ONLY; List of resources that were automatically discovered as relevant to the security solution. AutoDiscoveredResources *[]string `json:"autoDiscoveredResources,omitempty"` RecommendationsConfiguration *[]RecommendationConfigurationProperties `json:"recommendationsConfiguration,omitempty"` }
IoTSecuritySolutionProperties security Solution setting data
func (IoTSecuritySolutionProperties) MarshalJSON ¶
func (itssp IoTSecuritySolutionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecuritySolutionProperties.
type IoTSecuritySolutionsAnalyticsAggregatedAlertClient ¶
type IoTSecuritySolutionsAnalyticsAggregatedAlertClient struct {
BaseClient
}
IoTSecuritySolutionsAnalyticsAggregatedAlertClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClient ¶
func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertClient
NewIoTSecuritySolutionsAnalyticsAggregatedAlertClient creates an instance of the IoTSecuritySolutionsAnalyticsAggregatedAlertClient client.
func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI ¶
func NewIoTSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertClient
NewIoTSecuritySolutionsAnalyticsAggregatedAlertClientWithBaseURI creates an instance of the IoTSecuritySolutionsAnalyticsAggregatedAlertClient 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 (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) Dismiss ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) Dismiss(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (result autorest.Response, err error)
Dismiss security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name aggregatedAlertName - identifier of the aggregated alert
func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissPreparer ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissPreparer(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (*http.Request, error)
DismissPreparer prepares the Dismiss request.
func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissResponder ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissResponder(resp *http.Response) (result autorest.Response, err error)
DismissResponder handles the response to the Dismiss request. The method always closes the http.Response Body.
func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissSender ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) DismissSender(req *http.Request) (*http.Response, error)
DismissSender sends the Dismiss request. The method will close the http.Response Body if it receives an error.
func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) Get ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) Get(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (result IoTSecurityAggregatedAlert, err error)
Get security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name aggregatedAlertName - identifier of the aggregated alert
func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetPreparer ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string, aggregatedAlertName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetResponder ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertClient) GetResponder(resp *http.Response) (result IoTSecurityAggregatedAlert, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type IoTSecuritySolutionsAnalyticsAggregatedAlertsClient ¶
type IoTSecuritySolutionsAnalyticsAggregatedAlertsClient struct {
BaseClient
}
IoTSecuritySolutionsAnalyticsAggregatedAlertsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClient ¶
func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertsClient
NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClient creates an instance of the IoTSecuritySolutionsAnalyticsAggregatedAlertsClient client.
func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClientWithBaseURI ¶
func NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsAggregatedAlertsClient
NewIoTSecuritySolutionsAnalyticsAggregatedAlertsClientWithBaseURI creates an instance of the IoTSecuritySolutionsAnalyticsAggregatedAlertsClient 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 (IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) List ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) List(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedAlertListPage, err error)
List security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name top - the number of results to retrieve.
func (IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListComplete ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListComplete(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedAlertListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListPreparer ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListPreparer(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (*http.Request, error)
ListPreparer prepares the List request.
func (IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListResponder ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListResponder(resp *http.Response) (result IoTSecurityAggregatedAlertList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListSender ¶
func (client IoTSecuritySolutionsAnalyticsAggregatedAlertsClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type IoTSecuritySolutionsAnalyticsClient ¶
type IoTSecuritySolutionsAnalyticsClient struct {
BaseClient
}
IoTSecuritySolutionsAnalyticsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewIoTSecuritySolutionsAnalyticsClient ¶
func NewIoTSecuritySolutionsAnalyticsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsClient
NewIoTSecuritySolutionsAnalyticsClient creates an instance of the IoTSecuritySolutionsAnalyticsClient client.
func NewIoTSecuritySolutionsAnalyticsClientWithBaseURI ¶
func NewIoTSecuritySolutionsAnalyticsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsClient
NewIoTSecuritySolutionsAnalyticsClientWithBaseURI creates an instance of the IoTSecuritySolutionsAnalyticsClient 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 (IoTSecuritySolutionsAnalyticsClient) GetAll ¶
func (client IoTSecuritySolutionsAnalyticsClient) GetAll(ctx context.Context, resourceGroupName string, solutionName string) (result IoTSecuritySolutionAnalyticsModelList, err error)
GetAll security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name
func (IoTSecuritySolutionsAnalyticsClient) GetAllPreparer ¶
func (client IoTSecuritySolutionsAnalyticsClient) GetAllPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)
GetAllPreparer prepares the GetAll request.
func (IoTSecuritySolutionsAnalyticsClient) GetAllResponder ¶
func (client IoTSecuritySolutionsAnalyticsClient) GetAllResponder(resp *http.Response) (result IoTSecuritySolutionAnalyticsModelList, err error)
GetAllResponder handles the response to the GetAll request. The method always closes the http.Response Body.
func (IoTSecuritySolutionsAnalyticsClient) GetAllSender ¶
func (client IoTSecuritySolutionsAnalyticsClient) GetAllSender(req *http.Request) (*http.Response, error)
GetAllSender sends the GetAll request. The method will close the http.Response Body if it receives an error.
func (IoTSecuritySolutionsAnalyticsClient) GetDefault ¶
func (client IoTSecuritySolutionsAnalyticsClient) GetDefault(ctx context.Context, resourceGroupName string, solutionName string) (result IoTSecuritySolutionAnalyticsModel, err error)
GetDefault security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name
func (IoTSecuritySolutionsAnalyticsClient) GetDefaultPreparer ¶
func (client IoTSecuritySolutionsAnalyticsClient) GetDefaultPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)
GetDefaultPreparer prepares the GetDefault request.
func (IoTSecuritySolutionsAnalyticsClient) GetDefaultResponder ¶
func (client IoTSecuritySolutionsAnalyticsClient) GetDefaultResponder(resp *http.Response) (result IoTSecuritySolutionAnalyticsModel, err error)
GetDefaultResponder handles the response to the GetDefault request. The method always closes the http.Response Body.
func (IoTSecuritySolutionsAnalyticsClient) GetDefaultSender ¶
func (client IoTSecuritySolutionsAnalyticsClient) GetDefaultSender(req *http.Request) (*http.Response, error)
GetDefaultSender sends the GetDefault request. The method will close the http.Response Body if it receives an error.
type IoTSecuritySolutionsAnalyticsRecommendationClient ¶
type IoTSecuritySolutionsAnalyticsRecommendationClient struct {
BaseClient
}
IoTSecuritySolutionsAnalyticsRecommendationClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewIoTSecuritySolutionsAnalyticsRecommendationClient ¶
func NewIoTSecuritySolutionsAnalyticsRecommendationClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationClient
NewIoTSecuritySolutionsAnalyticsRecommendationClient creates an instance of the IoTSecuritySolutionsAnalyticsRecommendationClient client.
func NewIoTSecuritySolutionsAnalyticsRecommendationClientWithBaseURI ¶
func NewIoTSecuritySolutionsAnalyticsRecommendationClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationClient
NewIoTSecuritySolutionsAnalyticsRecommendationClientWithBaseURI creates an instance of the IoTSecuritySolutionsAnalyticsRecommendationClient 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 (IoTSecuritySolutionsAnalyticsRecommendationClient) Get ¶
func (client IoTSecuritySolutionsAnalyticsRecommendationClient) Get(ctx context.Context, resourceGroupName string, solutionName string, aggregatedRecommendationName string) (result IoTSecurityAggregatedRecommendation, err error)
Get security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name aggregatedRecommendationName - identifier of the aggregated recommendation
func (IoTSecuritySolutionsAnalyticsRecommendationClient) GetPreparer ¶
func (client IoTSecuritySolutionsAnalyticsRecommendationClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string, aggregatedRecommendationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (IoTSecuritySolutionsAnalyticsRecommendationClient) GetResponder ¶
func (client IoTSecuritySolutionsAnalyticsRecommendationClient) GetResponder(resp *http.Response) (result IoTSecurityAggregatedRecommendation, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type IoTSecuritySolutionsAnalyticsRecommendationsClient ¶
type IoTSecuritySolutionsAnalyticsRecommendationsClient struct {
BaseClient
}
IoTSecuritySolutionsAnalyticsRecommendationsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewIoTSecuritySolutionsAnalyticsRecommendationsClient ¶
func NewIoTSecuritySolutionsAnalyticsRecommendationsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationsClient
NewIoTSecuritySolutionsAnalyticsRecommendationsClient creates an instance of the IoTSecuritySolutionsAnalyticsRecommendationsClient client.
func NewIoTSecuritySolutionsAnalyticsRecommendationsClientWithBaseURI ¶
func NewIoTSecuritySolutionsAnalyticsRecommendationsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsAnalyticsRecommendationsClient
NewIoTSecuritySolutionsAnalyticsRecommendationsClientWithBaseURI creates an instance of the IoTSecuritySolutionsAnalyticsRecommendationsClient 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 (IoTSecuritySolutionsAnalyticsRecommendationsClient) List ¶
func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) List(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedRecommendationListPage, err error)
List security Analytics of a security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name top - the number of results to retrieve.
func (IoTSecuritySolutionsAnalyticsRecommendationsClient) ListComplete ¶
func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListComplete(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (result IoTSecurityAggregatedRecommendationListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (IoTSecuritySolutionsAnalyticsRecommendationsClient) ListPreparer ¶
func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListPreparer(ctx context.Context, resourceGroupName string, solutionName string, top *int32) (*http.Request, error)
ListPreparer prepares the List request.
func (IoTSecuritySolutionsAnalyticsRecommendationsClient) ListResponder ¶
func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListResponder(resp *http.Response) (result IoTSecurityAggregatedRecommendationList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (IoTSecuritySolutionsAnalyticsRecommendationsClient) ListSender ¶
func (client IoTSecuritySolutionsAnalyticsRecommendationsClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type IoTSecuritySolutionsClient ¶
type IoTSecuritySolutionsClient struct {
BaseClient
}
IoTSecuritySolutionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewIoTSecuritySolutionsClient ¶
func NewIoTSecuritySolutionsClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsClient
NewIoTSecuritySolutionsClient creates an instance of the IoTSecuritySolutionsClient client.
func NewIoTSecuritySolutionsClientWithBaseURI ¶
func NewIoTSecuritySolutionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsClient
NewIoTSecuritySolutionsClientWithBaseURI creates an instance of the IoTSecuritySolutionsClient 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 (IoTSecuritySolutionsClient) List ¶
func (client IoTSecuritySolutionsClient) List(ctx context.Context, filter string) (result IoTSecuritySolutionsListPage, err error)
List list of security solutions Parameters: filter - filter the Security Solution with OData syntax. supporting filter by iotHubs
func (IoTSecuritySolutionsClient) ListComplete ¶
func (client IoTSecuritySolutionsClient) ListComplete(ctx context.Context, filter string) (result IoTSecuritySolutionsListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (IoTSecuritySolutionsClient) ListPreparer ¶
func (client IoTSecuritySolutionsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (IoTSecuritySolutionsClient) ListResponder ¶
func (client IoTSecuritySolutionsClient) ListResponder(resp *http.Response) (result IoTSecuritySolutionsList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (IoTSecuritySolutionsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type IoTSecuritySolutionsList ¶
type IoTSecuritySolutionsList struct { autorest.Response `json:"-"` // Value - List of security solutions Value *[]IoTSecuritySolutionModel `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
IoTSecuritySolutionsList list of iot solutions
func (IoTSecuritySolutionsList) IsEmpty ¶
func (itssl IoTSecuritySolutionsList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (IoTSecuritySolutionsList) MarshalJSON ¶
func (itssl IoTSecuritySolutionsList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IoTSecuritySolutionsList.
type IoTSecuritySolutionsListIterator ¶
type IoTSecuritySolutionsListIterator struct {
// contains filtered or unexported fields
}
IoTSecuritySolutionsListIterator provides access to a complete listing of IoTSecuritySolutionModel values.
func NewIoTSecuritySolutionsListIterator ¶
func NewIoTSecuritySolutionsListIterator(page IoTSecuritySolutionsListPage) IoTSecuritySolutionsListIterator
Creates a new instance of the IoTSecuritySolutionsListIterator type.
func (*IoTSecuritySolutionsListIterator) Next ¶
func (iter *IoTSecuritySolutionsListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IoTSecuritySolutionsListIterator) NextWithContext ¶
func (iter *IoTSecuritySolutionsListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (IoTSecuritySolutionsListIterator) NotDone ¶
func (iter IoTSecuritySolutionsListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (IoTSecuritySolutionsListIterator) Response ¶
func (iter IoTSecuritySolutionsListIterator) Response() IoTSecuritySolutionsList
Response returns the raw server response from the last page request.
func (IoTSecuritySolutionsListIterator) Value ¶
func (iter IoTSecuritySolutionsListIterator) Value() IoTSecuritySolutionModel
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type IoTSecuritySolutionsListPage ¶
type IoTSecuritySolutionsListPage struct {
// contains filtered or unexported fields
}
IoTSecuritySolutionsListPage contains a page of IoTSecuritySolutionModel values.
func NewIoTSecuritySolutionsListPage ¶
func NewIoTSecuritySolutionsListPage(getNextPage func(context.Context, IoTSecuritySolutionsList) (IoTSecuritySolutionsList, error)) IoTSecuritySolutionsListPage
Creates a new instance of the IoTSecuritySolutionsListPage type.
func (*IoTSecuritySolutionsListPage) Next ¶
func (page *IoTSecuritySolutionsListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IoTSecuritySolutionsListPage) NextWithContext ¶
func (page *IoTSecuritySolutionsListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (IoTSecuritySolutionsListPage) NotDone ¶
func (page IoTSecuritySolutionsListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (IoTSecuritySolutionsListPage) Response ¶
func (page IoTSecuritySolutionsListPage) Response() IoTSecuritySolutionsList
Response returns the raw server response from the last page request.
func (IoTSecuritySolutionsListPage) Values ¶
func (page IoTSecuritySolutionsListPage) Values() []IoTSecuritySolutionModel
Values returns the slice of values for the current page or nil if there are no values.
type IoTSecuritySolutionsResourceGroupClient ¶
type IoTSecuritySolutionsResourceGroupClient struct {
BaseClient
}
IoTSecuritySolutionsResourceGroupClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewIoTSecuritySolutionsResourceGroupClient ¶
func NewIoTSecuritySolutionsResourceGroupClient(subscriptionID string, ascLocation string) IoTSecuritySolutionsResourceGroupClient
NewIoTSecuritySolutionsResourceGroupClient creates an instance of the IoTSecuritySolutionsResourceGroupClient client.
func NewIoTSecuritySolutionsResourceGroupClientWithBaseURI ¶
func NewIoTSecuritySolutionsResourceGroupClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IoTSecuritySolutionsResourceGroupClient
NewIoTSecuritySolutionsResourceGroupClientWithBaseURI creates an instance of the IoTSecuritySolutionsResourceGroupClient 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 (IoTSecuritySolutionsResourceGroupClient) List ¶
func (client IoTSecuritySolutionsResourceGroupClient) List(ctx context.Context, resourceGroupName string, filter string) (result IoTSecuritySolutionsListPage, err error)
List list of security solutions Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. filter - filter the Security Solution with OData syntax. supporting filter by iotHubs
func (IoTSecuritySolutionsResourceGroupClient) ListComplete ¶
func (client IoTSecuritySolutionsResourceGroupClient) ListComplete(ctx context.Context, resourceGroupName string, filter string) (result IoTSecuritySolutionsListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (IoTSecuritySolutionsResourceGroupClient) ListPreparer ¶
func (client IoTSecuritySolutionsResourceGroupClient) ListPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (IoTSecuritySolutionsResourceGroupClient) ListResponder ¶
func (client IoTSecuritySolutionsResourceGroupClient) ListResponder(resp *http.Response) (result IoTSecuritySolutionsList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (IoTSecuritySolutionsResourceGroupClient) ListSender ¶
func (client IoTSecuritySolutionsResourceGroupClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type IoTSeverityMetrics ¶
type IoTSeverityMetrics struct { // High - count of high severity items High *int32 `json:"high,omitempty"` // Medium - count of medium severity items Medium *int32 `json:"medium,omitempty"` // Low - count of low severity items Low *int32 `json:"low,omitempty"` }
IoTSeverityMetrics severity metrics
type IotSecuritySolutionClient ¶
type IotSecuritySolutionClient struct {
BaseClient
}
IotSecuritySolutionClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewIotSecuritySolutionClient ¶
func NewIotSecuritySolutionClient(subscriptionID string, ascLocation string) IotSecuritySolutionClient
NewIotSecuritySolutionClient creates an instance of the IotSecuritySolutionClient client.
func NewIotSecuritySolutionClientWithBaseURI ¶
func NewIotSecuritySolutionClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) IotSecuritySolutionClient
NewIotSecuritySolutionClientWithBaseURI creates an instance of the IotSecuritySolutionClient 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 (IotSecuritySolutionClient) Create ¶
func (client IotSecuritySolutionClient) Create(ctx context.Context, resourceGroupName string, solutionName string, iotSecuritySolutionData IoTSecuritySolutionModel) (result IoTSecuritySolutionModel, err error)
Create create new solution manager Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name iotSecuritySolutionData - the security solution data
func (IotSecuritySolutionClient) CreatePreparer ¶
func (client IotSecuritySolutionClient) CreatePreparer(ctx context.Context, resourceGroupName string, solutionName string, iotSecuritySolutionData IoTSecuritySolutionModel) (*http.Request, error)
CreatePreparer prepares the Create request.
func (IotSecuritySolutionClient) CreateResponder ¶
func (client IotSecuritySolutionClient) CreateResponder(resp *http.Response) (result IoTSecuritySolutionModel, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (IotSecuritySolutionClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (IotSecuritySolutionClient) Delete ¶
func (client IotSecuritySolutionClient) Delete(ctx context.Context, resourceGroupName string, solutionName string) (result autorest.Response, err error)
Delete create new solution manager Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name
func (IotSecuritySolutionClient) DeletePreparer ¶
func (client IotSecuritySolutionClient) DeletePreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (IotSecuritySolutionClient) DeleteResponder ¶
func (client IotSecuritySolutionClient) 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 (IotSecuritySolutionClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (IotSecuritySolutionClient) Get ¶
func (client IotSecuritySolutionClient) Get(ctx context.Context, resourceGroupName string, solutionName string) (result IoTSecuritySolutionModel, err error)
Get details of a specific iot security solution Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name
func (IotSecuritySolutionClient) GetPreparer ¶
func (client IotSecuritySolutionClient) GetPreparer(ctx context.Context, resourceGroupName string, solutionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (IotSecuritySolutionClient) GetResponder ¶
func (client IotSecuritySolutionClient) GetResponder(resp *http.Response) (result IoTSecuritySolutionModel, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (IotSecuritySolutionClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (IotSecuritySolutionClient) Update ¶
func (client IotSecuritySolutionClient) Update(ctx context.Context, resourceGroupName string, solutionName string, updateIotSecuritySolutionData UpdateIotSecuritySolutionData) (result IoTSecuritySolutionModel, err error)
Update update existing Security Solution tags or user defined resources. To update other fields use the CreateOrUpdate method Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. solutionName - the solution manager name updateIotSecuritySolutionData - the security solution data
func (IotSecuritySolutionClient) UpdatePreparer ¶
func (client IotSecuritySolutionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, solutionName string, updateIotSecuritySolutionData UpdateIotSecuritySolutionData) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (IotSecuritySolutionClient) UpdateResponder ¶
func (client IotSecuritySolutionClient) UpdateResponder(resp *http.Response) (result IoTSecuritySolutionModel, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (IotSecuritySolutionClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type Issue ¶
type Issue string
Issue enumerates the values for issue.
const ( // ExecutableViolationsAudited ... ExecutableViolationsAudited Issue = "ExecutableViolationsAudited" // MsiAndScriptViolationsAudited ... MsiAndScriptViolationsAudited Issue = "MsiAndScriptViolationsAudited" // MsiAndScriptViolationsBlocked ... MsiAndScriptViolationsBlocked Issue = "MsiAndScriptViolationsBlocked" // RulesViolatedManually ... RulesViolatedManually Issue = "RulesViolatedManually" // ViolationsAudited ... ViolationsAudited Issue = "ViolationsAudited" // ViolationsBlocked ... ViolationsBlocked Issue = "ViolationsBlocked" )
func PossibleIssueValues ¶
func PossibleIssueValues() []Issue
PossibleIssueValues returns an array of possible values for the Issue const type.
type JitNetworkAccessPoliciesClient ¶
type JitNetworkAccessPoliciesClient struct {
BaseClient
}
JitNetworkAccessPoliciesClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewJitNetworkAccessPoliciesClient ¶
func NewJitNetworkAccessPoliciesClient(subscriptionID string, ascLocation string) JitNetworkAccessPoliciesClient
NewJitNetworkAccessPoliciesClient creates an instance of the JitNetworkAccessPoliciesClient client.
func NewJitNetworkAccessPoliciesClientWithBaseURI ¶
func NewJitNetworkAccessPoliciesClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) JitNetworkAccessPoliciesClient
NewJitNetworkAccessPoliciesClientWithBaseURI creates an instance of the JitNetworkAccessPoliciesClient 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 (JitNetworkAccessPoliciesClient) CreateOrUpdate ¶
func (client JitNetworkAccessPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, jitNetworkAccessPolicyName string, body JitNetworkAccessPolicy) (result JitNetworkAccessPolicy, err error)
CreateOrUpdate create a policy for protecting resources using Just-in-Time access control Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. jitNetworkAccessPolicyName - name of a Just-in-Time access configuration policy.
func (JitNetworkAccessPoliciesClient) CreateOrUpdatePreparer ¶
func (client JitNetworkAccessPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, jitNetworkAccessPolicyName string, body JitNetworkAccessPolicy) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (JitNetworkAccessPoliciesClient) CreateOrUpdateResponder ¶
func (client JitNetworkAccessPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result JitNetworkAccessPolicy, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (JitNetworkAccessPoliciesClient) CreateOrUpdateSender ¶
func (client JitNetworkAccessPoliciesClient) 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 (JitNetworkAccessPoliciesClient) Delete ¶
func (client JitNetworkAccessPoliciesClient) Delete(ctx context.Context, resourceGroupName string, jitNetworkAccessPolicyName string) (result autorest.Response, err error)
Delete delete a Just-in-Time access control policy. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. jitNetworkAccessPolicyName - name of a Just-in-Time access configuration policy.
func (JitNetworkAccessPoliciesClient) DeletePreparer ¶
func (client JitNetworkAccessPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, jitNetworkAccessPolicyName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (JitNetworkAccessPoliciesClient) DeleteResponder ¶
func (client JitNetworkAccessPoliciesClient) 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 (JitNetworkAccessPoliciesClient) DeleteSender ¶
func (client JitNetworkAccessPoliciesClient) 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 (JitNetworkAccessPoliciesClient) Get ¶
func (client JitNetworkAccessPoliciesClient) Get(ctx context.Context, resourceGroupName string, jitNetworkAccessPolicyName string) (result JitNetworkAccessPolicy, err error)
Get policies for protecting resources using Just-in-Time access control for the subscription, location Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. jitNetworkAccessPolicyName - name of a Just-in-Time access configuration policy.
func (JitNetworkAccessPoliciesClient) GetPreparer ¶
func (client JitNetworkAccessPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, jitNetworkAccessPolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JitNetworkAccessPoliciesClient) GetResponder ¶
func (client JitNetworkAccessPoliciesClient) GetResponder(resp *http.Response) (result JitNetworkAccessPolicy, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (JitNetworkAccessPoliciesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (JitNetworkAccessPoliciesClient) Initiate ¶
func (client JitNetworkAccessPoliciesClient) Initiate(ctx context.Context, resourceGroupName string, jitNetworkAccessPolicyName string, body JitNetworkAccessPolicyInitiateRequest) (result JitNetworkAccessRequest, err error)
Initiate initiate a JIT access from a specific Just-in-Time policy configuration. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. jitNetworkAccessPolicyName - name of a Just-in-Time access configuration policy.
func (JitNetworkAccessPoliciesClient) InitiatePreparer ¶
func (client JitNetworkAccessPoliciesClient) InitiatePreparer(ctx context.Context, resourceGroupName string, jitNetworkAccessPolicyName string, body JitNetworkAccessPolicyInitiateRequest) (*http.Request, error)
InitiatePreparer prepares the Initiate request.
func (JitNetworkAccessPoliciesClient) InitiateResponder ¶
func (client JitNetworkAccessPoliciesClient) InitiateResponder(resp *http.Response) (result JitNetworkAccessRequest, err error)
InitiateResponder handles the response to the Initiate request. The method always closes the http.Response Body.
func (JitNetworkAccessPoliciesClient) InitiateSender ¶
func (client JitNetworkAccessPoliciesClient) InitiateSender(req *http.Request) (*http.Response, error)
InitiateSender sends the Initiate request. The method will close the http.Response Body if it receives an error.
func (JitNetworkAccessPoliciesClient) List ¶
func (client JitNetworkAccessPoliciesClient) List(ctx context.Context) (result JitNetworkAccessPoliciesListPage, err error)
List policies for protecting resources using Just-in-Time access control.
func (JitNetworkAccessPoliciesClient) ListByRegion ¶
func (client JitNetworkAccessPoliciesClient) ListByRegion(ctx context.Context) (result JitNetworkAccessPoliciesListPage, err error)
ListByRegion policies for protecting resources using Just-in-Time access control for the subscription, location
func (JitNetworkAccessPoliciesClient) ListByRegionComplete ¶
func (client JitNetworkAccessPoliciesClient) ListByRegionComplete(ctx context.Context) (result JitNetworkAccessPoliciesListIterator, err error)
ListByRegionComplete enumerates all values, automatically crossing page boundaries as required.
func (JitNetworkAccessPoliciesClient) ListByRegionPreparer ¶
func (client JitNetworkAccessPoliciesClient) ListByRegionPreparer(ctx context.Context) (*http.Request, error)
ListByRegionPreparer prepares the ListByRegion request.
func (JitNetworkAccessPoliciesClient) ListByRegionResponder ¶
func (client JitNetworkAccessPoliciesClient) ListByRegionResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)
ListByRegionResponder handles the response to the ListByRegion request. The method always closes the http.Response Body.
func (JitNetworkAccessPoliciesClient) ListByRegionSender ¶
func (client JitNetworkAccessPoliciesClient) ListByRegionSender(req *http.Request) (*http.Response, error)
ListByRegionSender sends the ListByRegion request. The method will close the http.Response Body if it receives an error.
func (JitNetworkAccessPoliciesClient) ListByResourceGroup ¶
func (client JitNetworkAccessPoliciesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result JitNetworkAccessPoliciesListPage, err error)
ListByResourceGroup policies for protecting resources using Just-in-Time access control for the subscription, location Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.
func (JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegion ¶
func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegion(ctx context.Context, resourceGroupName string) (result JitNetworkAccessPoliciesListPage, err error)
ListByResourceGroupAndRegion policies for protecting resources using Just-in-Time access control for the subscription, location Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.
func (JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionComplete ¶
func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionComplete(ctx context.Context, resourceGroupName string) (result JitNetworkAccessPoliciesListIterator, err error)
ListByResourceGroupAndRegionComplete enumerates all values, automatically crossing page boundaries as required.
func (JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionPreparer ¶
func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupAndRegionPreparer prepares the ListByResourceGroupAndRegion request.
func (JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionResponder ¶
func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)
ListByResourceGroupAndRegionResponder handles the response to the ListByResourceGroupAndRegion request. The method always closes the http.Response Body.
func (JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionSender ¶
func (client JitNetworkAccessPoliciesClient) ListByResourceGroupAndRegionSender(req *http.Request) (*http.Response, error)
ListByResourceGroupAndRegionSender sends the ListByResourceGroupAndRegion request. The method will close the http.Response Body if it receives an error.
func (JitNetworkAccessPoliciesClient) ListByResourceGroupComplete ¶
func (client JitNetworkAccessPoliciesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result JitNetworkAccessPoliciesListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (JitNetworkAccessPoliciesClient) ListByResourceGroupPreparer ¶
func (client JitNetworkAccessPoliciesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (JitNetworkAccessPoliciesClient) ListByResourceGroupResponder ¶
func (client JitNetworkAccessPoliciesClient) ListByResourceGroupResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (JitNetworkAccessPoliciesClient) ListByResourceGroupSender ¶
func (client JitNetworkAccessPoliciesClient) 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 (JitNetworkAccessPoliciesClient) ListComplete ¶
func (client JitNetworkAccessPoliciesClient) ListComplete(ctx context.Context) (result JitNetworkAccessPoliciesListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (JitNetworkAccessPoliciesClient) ListPreparer ¶
func (client JitNetworkAccessPoliciesClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (JitNetworkAccessPoliciesClient) ListResponder ¶
func (client JitNetworkAccessPoliciesClient) ListResponder(resp *http.Response) (result JitNetworkAccessPoliciesList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (JitNetworkAccessPoliciesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type JitNetworkAccessPoliciesList ¶
type JitNetworkAccessPoliciesList struct { autorest.Response `json:"-"` Value *[]JitNetworkAccessPolicy `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
JitNetworkAccessPoliciesList ...
func (JitNetworkAccessPoliciesList) IsEmpty ¶
func (jnapl JitNetworkAccessPoliciesList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (JitNetworkAccessPoliciesList) MarshalJSON ¶
func (jnapl JitNetworkAccessPoliciesList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JitNetworkAccessPoliciesList.
type JitNetworkAccessPoliciesListIterator ¶
type JitNetworkAccessPoliciesListIterator struct {
// contains filtered or unexported fields
}
JitNetworkAccessPoliciesListIterator provides access to a complete listing of JitNetworkAccessPolicy values.
func NewJitNetworkAccessPoliciesListIterator ¶
func NewJitNetworkAccessPoliciesListIterator(page JitNetworkAccessPoliciesListPage) JitNetworkAccessPoliciesListIterator
Creates a new instance of the JitNetworkAccessPoliciesListIterator type.
func (*JitNetworkAccessPoliciesListIterator) Next ¶
func (iter *JitNetworkAccessPoliciesListIterator) 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 (*JitNetworkAccessPoliciesListIterator) NextWithContext ¶
func (iter *JitNetworkAccessPoliciesListIterator) 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 (JitNetworkAccessPoliciesListIterator) NotDone ¶
func (iter JitNetworkAccessPoliciesListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JitNetworkAccessPoliciesListIterator) Response ¶
func (iter JitNetworkAccessPoliciesListIterator) Response() JitNetworkAccessPoliciesList
Response returns the raw server response from the last page request.
func (JitNetworkAccessPoliciesListIterator) Value ¶
func (iter JitNetworkAccessPoliciesListIterator) Value() JitNetworkAccessPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JitNetworkAccessPoliciesListPage ¶
type JitNetworkAccessPoliciesListPage struct {
// contains filtered or unexported fields
}
JitNetworkAccessPoliciesListPage contains a page of JitNetworkAccessPolicy values.
func NewJitNetworkAccessPoliciesListPage ¶
func NewJitNetworkAccessPoliciesListPage(getNextPage func(context.Context, JitNetworkAccessPoliciesList) (JitNetworkAccessPoliciesList, error)) JitNetworkAccessPoliciesListPage
Creates a new instance of the JitNetworkAccessPoliciesListPage type.
func (*JitNetworkAccessPoliciesListPage) Next ¶
func (page *JitNetworkAccessPoliciesListPage) 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 (*JitNetworkAccessPoliciesListPage) NextWithContext ¶
func (page *JitNetworkAccessPoliciesListPage) 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 (JitNetworkAccessPoliciesListPage) NotDone ¶
func (page JitNetworkAccessPoliciesListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JitNetworkAccessPoliciesListPage) Response ¶
func (page JitNetworkAccessPoliciesListPage) Response() JitNetworkAccessPoliciesList
Response returns the raw server response from the last page request.
func (JitNetworkAccessPoliciesListPage) Values ¶
func (page JitNetworkAccessPoliciesListPage) Values() []JitNetworkAccessPolicy
Values returns the slice of values for the current page or nil if there are no values.
type JitNetworkAccessPolicy ¶
type JitNetworkAccessPolicy 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"` // Kind - Kind of the resource Kind *string `json:"kind,omitempty"` // Location - READ-ONLY; Location where the resource is stored Location *string `json:"location,omitempty"` *JitNetworkAccessPolicyProperties `json:"properties,omitempty"` }
JitNetworkAccessPolicy ...
func (JitNetworkAccessPolicy) MarshalJSON ¶
func (jnap JitNetworkAccessPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JitNetworkAccessPolicy.
func (*JitNetworkAccessPolicy) UnmarshalJSON ¶
func (jnap *JitNetworkAccessPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JitNetworkAccessPolicy struct.
type JitNetworkAccessPolicyInitiatePort ¶
type JitNetworkAccessPolicyInitiatePort struct { Number *int32 `json:"number,omitempty"` // AllowedSourceAddressPrefix - Source of the allowed traffic. If omitted, the request will be for the source IP address of the initiate request. AllowedSourceAddressPrefix *string `json:"allowedSourceAddressPrefix,omitempty"` // EndTimeUtc - The time to close the request in UTC EndTimeUtc *date.Time `json:"endTimeUtc,omitempty"` }
JitNetworkAccessPolicyInitiatePort ...
type JitNetworkAccessPolicyInitiateRequest ¶
type JitNetworkAccessPolicyInitiateRequest struct { // VirtualMachines - A list of virtual machines & ports to open access for VirtualMachines *[]JitNetworkAccessPolicyInitiateVirtualMachine `json:"virtualMachines,omitempty"` // Justification - The justification for making the initiate request Justification *string `json:"justification,omitempty"` }
JitNetworkAccessPolicyInitiateRequest ...
type JitNetworkAccessPolicyInitiateVirtualMachine ¶
type JitNetworkAccessPolicyInitiateVirtualMachine struct { // ID - Resource ID of the virtual machine that is linked to this policy ID *string `json:"id,omitempty"` // Ports - The ports to open for the resource with the `id` Ports *[]JitNetworkAccessPolicyInitiatePort `json:"ports,omitempty"` }
JitNetworkAccessPolicyInitiateVirtualMachine ...
type JitNetworkAccessPolicyProperties ¶
type JitNetworkAccessPolicyProperties struct { // VirtualMachines - Configurations for Microsoft.Compute/virtualMachines resource type. VirtualMachines *[]JitNetworkAccessPolicyVirtualMachine `json:"virtualMachines,omitempty"` Requests *[]JitNetworkAccessRequest `json:"requests,omitempty"` // ProvisioningState - READ-ONLY; Gets the provisioning state of the Just-in-Time policy. ProvisioningState *string `json:"provisioningState,omitempty"` }
JitNetworkAccessPolicyProperties ...
func (JitNetworkAccessPolicyProperties) MarshalJSON ¶
func (jnapp JitNetworkAccessPolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JitNetworkAccessPolicyProperties.
type JitNetworkAccessPolicyVirtualMachine ¶
type JitNetworkAccessPolicyVirtualMachine struct { // ID - Resource ID of the virtual machine that is linked to this policy ID *string `json:"id,omitempty"` // Ports - Port configurations for the virtual machine Ports *[]JitNetworkAccessPortRule `json:"ports,omitempty"` // PublicIPAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable PublicIPAddress *string `json:"publicIpAddress,omitempty"` }
JitNetworkAccessPolicyVirtualMachine ...
type JitNetworkAccessPortRule ¶
type JitNetworkAccessPortRule struct { Number *int32 `json:"number,omitempty"` // Protocol - Possible values include: 'TCP', 'UDP', 'All' Protocol Protocol `json:"protocol,omitempty"` // AllowedSourceAddressPrefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16". AllowedSourceAddressPrefix *string `json:"allowedSourceAddressPrefix,omitempty"` // AllowedSourceAddressPrefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter. AllowedSourceAddressPrefixes *[]string `json:"allowedSourceAddressPrefixes,omitempty"` // MaxRequestAccessDuration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day MaxRequestAccessDuration *string `json:"maxRequestAccessDuration,omitempty"` }
JitNetworkAccessPortRule ...
type JitNetworkAccessRequest ¶
type JitNetworkAccessRequest struct { autorest.Response `json:"-"` VirtualMachines *[]JitNetworkAccessRequestVirtualMachine `json:"virtualMachines,omitempty"` // StartTimeUtc - The start time of the request in UTC StartTimeUtc *date.Time `json:"startTimeUtc,omitempty"` // Requestor - The identity of the person who made the request Requestor *string `json:"requestor,omitempty"` // Justification - The justification for making the initiate request Justification *string `json:"justification,omitempty"` }
JitNetworkAccessRequest ...
type JitNetworkAccessRequestPort ¶
type JitNetworkAccessRequestPort struct { Number *int32 `json:"number,omitempty"` // AllowedSourceAddressPrefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16". AllowedSourceAddressPrefix *string `json:"allowedSourceAddressPrefix,omitempty"` // AllowedSourceAddressPrefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter. AllowedSourceAddressPrefixes *[]string `json:"allowedSourceAddressPrefixes,omitempty"` // EndTimeUtc - The date & time at which the request ends in UTC EndTimeUtc *date.Time `json:"endTimeUtc,omitempty"` // Status - The status of the port. Possible values include: 'Revoked', 'Initiated' Status Status `json:"status,omitempty"` // StatusReason - A description of why the `status` has its value. Possible values include: 'StatusReasonExpired', 'StatusReasonUserRequested', 'StatusReasonNewerRequestInitiated' StatusReason StatusReason `json:"statusReason,omitempty"` // MappedPort - The port which is mapped to this port's `number` in the Azure Firewall, if applicable MappedPort *int32 `json:"mappedPort,omitempty"` }
JitNetworkAccessRequestPort ...
type JitNetworkAccessRequestVirtualMachine ¶
type JitNetworkAccessRequestVirtualMachine struct { // ID - Resource ID of the virtual machine that is linked to this policy ID *string `json:"id,omitempty"` // Ports - The ports that were opened for the virtual machine Ports *[]JitNetworkAccessRequestPort `json:"ports,omitempty"` }
JitNetworkAccessRequestVirtualMachine ...
type Kind ¶
type Kind struct { // Kind - Kind of the resource Kind *string `json:"kind,omitempty"` }
Kind describes an Azure resource with kind
type KindEnum ¶
type KindEnum string
KindEnum enumerates the values for kind enum.
func PossibleKindEnumValues ¶
func PossibleKindEnumValues() []KindEnum
PossibleKindEnumValues returns an array of possible values for the KindEnum const type.
type ListCustomAlertRule ¶
type ListCustomAlertRule struct { // 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 - Whether the custom alert is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` // RuleType - The type of the custom alert rule. RuleType *string `json:"ruleType,omitempty"` }
ListCustomAlertRule a List custom alert rule
func (ListCustomAlertRule) MarshalJSON ¶
func (lcar ListCustomAlertRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListCustomAlertRule.
type Location ¶
type Location struct { // Location - READ-ONLY; Location where the resource is stored Location *string `json:"location,omitempty"` }
Location describes an Azure resource with location
type LocationsClient ¶
type LocationsClient struct {
BaseClient
}
LocationsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewLocationsClient ¶
func NewLocationsClient(subscriptionID string, ascLocation string) LocationsClient
NewLocationsClient creates an instance of the LocationsClient client.
func NewLocationsClientWithBaseURI ¶
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) LocationsClient
NewLocationsClientWithBaseURI creates an instance of the LocationsClient 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 (LocationsClient) Get ¶
func (client LocationsClient) Get(ctx context.Context) (result AscLocation, err error)
Get details of a specific location
func (LocationsClient) GetPreparer ¶
GetPreparer prepares the Get request.
func (LocationsClient) GetResponder ¶
func (client LocationsClient) GetResponder(resp *http.Response) (result AscLocation, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (LocationsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (LocationsClient) List ¶
func (client LocationsClient) List(ctx context.Context) (result AscLocationListPage, err error)
List the location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID.
func (LocationsClient) ListComplete ¶
func (client LocationsClient) ListComplete(ctx context.Context) (result AscLocationListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (LocationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (LocationsClient) ListResponder ¶
func (client LocationsClient) ListResponder(resp *http.Response) (result AscLocationList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (LocationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Msi ¶
type Msi string
Msi enumerates the values for msi.
func PossibleMsiValues ¶
func PossibleMsiValues() []Msi
PossibleMsiValues returns an array of possible values for the Msi const type.
type OnPremiseResourceDetails ¶
type OnPremiseResourceDetails struct { // WorkspaceID - Azure resource Id of the workspace the machine is attached to WorkspaceID *string `json:"workspaceId,omitempty"` // Vmuuid - The unique Id of the machine Vmuuid *string `json:"vmuuid,omitempty"` // SourceComputerID - The oms agent Id installed on the machine SourceComputerID *string `json:"sourceComputerId,omitempty"` // MachineName - The name of the machine MachineName *string `json:"machineName,omitempty"` // Source - Possible values include: 'SourceResourceDetails', 'SourceOnPremiseSQL', 'SourceOnPremise', 'SourceAzure' Source Source `json:"source,omitempty"` }
OnPremiseResourceDetails details of the On Premise resource that was assessed
func (OnPremiseResourceDetails) AsAzureResourceDetails ¶
func (oprd OnPremiseResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)
AsAzureResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.
func (OnPremiseResourceDetails) AsBasicOnPremiseResourceDetails ¶
func (oprd OnPremiseResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)
AsBasicOnPremiseResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.
func (OnPremiseResourceDetails) AsBasicResourceDetails ¶
func (oprd OnPremiseResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)
AsBasicResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.
func (OnPremiseResourceDetails) AsOnPremiseResourceDetails ¶
func (oprd OnPremiseResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)
AsOnPremiseResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.
func (OnPremiseResourceDetails) AsOnPremiseSQLResourceDetails ¶
func (oprd OnPremiseResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)
AsOnPremiseSQLResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.
func (OnPremiseResourceDetails) AsResourceDetails ¶
func (oprd OnPremiseResourceDetails) AsResourceDetails() (*ResourceDetails, bool)
AsResourceDetails is the BasicResourceDetails implementation for OnPremiseResourceDetails.
func (OnPremiseResourceDetails) MarshalJSON ¶
func (oprd OnPremiseResourceDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OnPremiseResourceDetails.
type OnPremiseSQLResourceDetails ¶
type OnPremiseSQLResourceDetails struct { // ServerName - The Sql server name installed on the machine ServerName *string `json:"serverName,omitempty"` // DatabaseName - The Sql database name installed on the machine DatabaseName *string `json:"databaseName,omitempty"` // WorkspaceID - Azure resource Id of the workspace the machine is attached to WorkspaceID *string `json:"workspaceId,omitempty"` // Vmuuid - The unique Id of the machine Vmuuid *string `json:"vmuuid,omitempty"` // SourceComputerID - The oms agent Id installed on the machine SourceComputerID *string `json:"sourceComputerId,omitempty"` // MachineName - The name of the machine MachineName *string `json:"machineName,omitempty"` // Source - Possible values include: 'SourceResourceDetails', 'SourceOnPremiseSQL', 'SourceOnPremise', 'SourceAzure' Source Source `json:"source,omitempty"` }
OnPremiseSQLResourceDetails details of the On Premise Sql resource that was assessed
func (OnPremiseSQLResourceDetails) AsAzureResourceDetails ¶
func (opsrd OnPremiseSQLResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)
AsAzureResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.
func (OnPremiseSQLResourceDetails) AsBasicOnPremiseResourceDetails ¶
func (opsrd OnPremiseSQLResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)
AsBasicOnPremiseResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.
func (OnPremiseSQLResourceDetails) AsBasicResourceDetails ¶
func (opsrd OnPremiseSQLResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)
AsBasicResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.
func (OnPremiseSQLResourceDetails) AsOnPremiseResourceDetails ¶
func (opsrd OnPremiseSQLResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)
AsOnPremiseResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.
func (OnPremiseSQLResourceDetails) AsOnPremiseSQLResourceDetails ¶
func (opsrd OnPremiseSQLResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)
AsOnPremiseSQLResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.
func (OnPremiseSQLResourceDetails) AsResourceDetails ¶
func (opsrd OnPremiseSQLResourceDetails) AsResourceDetails() (*ResourceDetails, bool)
AsResourceDetails is the BasicResourceDetails implementation for OnPremiseSQLResourceDetails.
func (OnPremiseSQLResourceDetails) MarshalJSON ¶
func (opsrd OnPremiseSQLResourceDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OnPremiseSQLResourceDetails.
type Operation ¶
type Operation struct { // Name - READ-ONLY; Name of the operation Name *string `json:"name,omitempty"` // Origin - READ-ONLY; Where the operation is originated Origin *string `json:"origin,omitempty"` Display *OperationDisplay `json:"display,omitempty"` }
Operation possible operation in the REST API of Microsoft.Security
func (Operation) MarshalJSON ¶
MarshalJSON is the custom marshaler for Operation.
type OperationDisplay ¶
type OperationDisplay struct { // Provider - READ-ONLY; The resource provider for the operation. Provider *string `json:"provider,omitempty"` // Resource - READ-ONLY; The display name of the resource the operation applies to. Resource *string `json:"resource,omitempty"` // Operation - READ-ONLY; The display name of the security operation. Operation *string `json:"operation,omitempty"` // Description - READ-ONLY; The description of the operation. Description *string `json:"description,omitempty"` }
OperationDisplay security operation display
type OperationList ¶
type OperationList struct { autorest.Response `json:"-"` // Value - List of Security operations Value *[]Operation `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
OperationList list of possible operations for Microsoft.Security resource provider
func (OperationList) IsEmpty ¶
func (ol OperationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (OperationList) MarshalJSON ¶
func (ol OperationList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationList.
type OperationListIterator ¶
type OperationListIterator struct {
// contains filtered or unexported fields
}
OperationListIterator provides access to a complete listing of Operation values.
func NewOperationListIterator ¶
func NewOperationListIterator(page OperationListPage) OperationListIterator
Creates a new instance of the OperationListIterator type.
func (*OperationListIterator) Next ¶
func (iter *OperationListIterator) 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 (*OperationListIterator) NextWithContext ¶
func (iter *OperationListIterator) 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 (OperationListIterator) NotDone ¶
func (iter OperationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListIterator) Response ¶
func (iter OperationListIterator) Response() OperationList
Response returns the raw server response from the last page request.
func (OperationListIterator) Value ¶
func (iter OperationListIterator) Value() Operation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationListPage ¶
type OperationListPage struct {
// contains filtered or unexported fields
}
OperationListPage contains a page of Operation values.
func NewOperationListPage ¶
func NewOperationListPage(getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage
Creates a new instance of the OperationListPage type.
func (*OperationListPage) Next ¶
func (page *OperationListPage) 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 (*OperationListPage) NextWithContext ¶
func (page *OperationListPage) 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 (OperationListPage) NotDone ¶
func (page OperationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListPage) Response ¶
func (page OperationListPage) Response() OperationList
Response returns the raw server response from the last page request.
func (OperationListPage) Values ¶
func (page OperationListPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string, ascLocation string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient 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 (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)
List exposes all available operations for discovery purposes.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Operator ¶
type Operator string
Operator enumerates the values for operator.
const ( // Contains ... Contains Operator = "Contains" // EndsWith ... EndsWith Operator = "EndsWith" // Equals ... Equals Operator = "Equals" // GreaterThan ... GreaterThan Operator = "GreaterThan" // GreaterThanOrEqualTo ... GreaterThanOrEqualTo Operator = "GreaterThanOrEqualTo" // LesserThan ... LesserThan Operator = "LesserThan" // LesserThanOrEqualTo ... LesserThanOrEqualTo Operator = "LesserThanOrEqualTo" // NotEquals ... NotEquals Operator = "NotEquals" // StartsWith ... StartsWith Operator = "StartsWith" )
func PossibleOperatorValues ¶
func PossibleOperatorValues() []Operator
PossibleOperatorValues returns an array of possible values for the Operator const type.
type PathRecommendation ¶
type PathRecommendation struct { // Path - The full path to whitelist Path *string `json:"path,omitempty"` // Action - Possible values include: 'Recommended', 'Add', 'Remove' Action Action `json:"action,omitempty"` // Type - Possible values include: 'File', 'FileHash', 'PublisherSignature', 'ProductSignature', 'BinarySignature', 'VersionAndAboveSignature' Type Type `json:"type,omitempty"` PublisherInfo *PublisherInfo `json:"publisherInfo,omitempty"` // Common - Whether the path is commonly run on the machine Common *bool `json:"common,omitempty"` UserSids *[]string `json:"userSids,omitempty"` Usernames *[]UserRecommendation `json:"usernames,omitempty"` // FileType - Possible values include: 'FileTypeExe', 'FileTypeDll', 'FileTypeMsi', 'FileTypeScript', 'FileTypeExecutable', 'FileTypeUnknown' FileType FileType `json:"fileType,omitempty"` // ConfigurationStatus - Possible values include: 'ConfigurationStatus1Configured', 'ConfigurationStatus1NotConfigured', 'ConfigurationStatus1InProgress', 'ConfigurationStatus1Failed', 'ConfigurationStatus1NoStatus' ConfigurationStatus ConfigurationStatus1 `json:"configurationStatus,omitempty"` }
PathRecommendation represents a path that is recommended to be allowed and its properties
type PermissionProperty ¶
type PermissionProperty string
PermissionProperty enumerates the values for permission property.
const ( // AWSAmazonSSMAutomationRole The permission provides for EC2 Automation service to execute activities // defined within Automation documents. AWSAmazonSSMAutomationRole PermissionProperty = "AWS::AmazonSSMAutomationRole" // AWSAWSSecurityHubReadOnlyAccess This permission provides read only access to AWS Security Hub resources. AWSAWSSecurityHubReadOnlyAccess PermissionProperty = "AWS::AWSSecurityHubReadOnlyAccess" // AWSSecurityAudit This permission grants access to read security configuration metadata. AWSSecurityAudit PermissionProperty = "AWS::SecurityAudit" // GCPSecurityCenterAdminViewer This permission provides read only access to GCP Security Command Center. GCPSecurityCenterAdminViewer PermissionProperty = "GCP::Security Center Admin Viewer" )
func PossiblePermissionPropertyValues ¶
func PossiblePermissionPropertyValues() []PermissionProperty
PossiblePermissionPropertyValues returns an array of possible values for the PermissionProperty const type.
type Pricing ¶
type Pricing struct { autorest.Response `json:"-"` // PricingProperties - Pricing data *PricingProperties `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"` }
Pricing azure Security Center is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features.
func (Pricing) MarshalJSON ¶
MarshalJSON is the custom marshaler for Pricing.
func (*Pricing) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Pricing struct.
type PricingList ¶
type PricingList struct { autorest.Response `json:"-"` // Value - List of pricing configurations Value *[]Pricing `json:"value,omitempty"` }
PricingList list of pricing configurations response.
type PricingProperties ¶
type PricingProperties struct { // PricingTier - The pricing tier value. Azure Security Center is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features. Possible values include: 'Free', 'Standard' PricingTier PricingTier `json:"pricingTier,omitempty"` // FreeTrialRemainingTime - READ-ONLY; The duration left for the subscriptions free trial period - in ISO 8601 format (e.g. P3Y6M4DT12H30M5S). FreeTrialRemainingTime *string `json:"freeTrialRemainingTime,omitempty"` }
PricingProperties pricing properties for the relevant scope
func (PricingProperties) MarshalJSON ¶
func (pp PricingProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PricingProperties.
type PricingTier ¶
type PricingTier string
PricingTier enumerates the values for pricing tier.
const ( // Free Get free Azure security center experience with basic security features Free PricingTier = "Free" // Standard Get the standard Azure security center experience with advanced security features Standard PricingTier = "Standard" )
func PossiblePricingTierValues ¶
func PossiblePricingTierValues() []PricingTier
PossiblePricingTierValues returns an array of possible values for the PricingTier const type.
type PricingsClient ¶
type PricingsClient struct {
BaseClient
}
PricingsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewPricingsClient ¶
func NewPricingsClient(subscriptionID string, ascLocation string) PricingsClient
NewPricingsClient creates an instance of the PricingsClient client.
func NewPricingsClientWithBaseURI ¶
func NewPricingsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) PricingsClient
NewPricingsClientWithBaseURI creates an instance of the PricingsClient 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 (PricingsClient) Get ¶
func (client PricingsClient) Get(ctx context.Context, pricingName string) (result Pricing, err error)
Get gets a provided Security Center pricing configuration in the subscription. Parameters: pricingName - name of the pricing configuration
func (PricingsClient) GetPreparer ¶
func (client PricingsClient) GetPreparer(ctx context.Context, pricingName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PricingsClient) GetResponder ¶
func (client PricingsClient) GetResponder(resp *http.Response) (result Pricing, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PricingsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PricingsClient) List ¶
func (client PricingsClient) List(ctx context.Context) (result PricingList, err error)
List lists Security Center pricing configurations in the subscription.
func (PricingsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (PricingsClient) ListResponder ¶
func (client PricingsClient) ListResponder(resp *http.Response) (result PricingList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PricingsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (PricingsClient) Update ¶
func (client PricingsClient) Update(ctx context.Context, pricingName string, pricing Pricing) (result Pricing, err error)
Update updates a provided Security Center pricing configuration in the subscription. Parameters: pricingName - name of the pricing configuration pricing - pricing object
func (PricingsClient) UpdatePreparer ¶
func (client PricingsClient) UpdatePreparer(ctx context.Context, pricingName string, pricing Pricing) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (PricingsClient) UpdateResponder ¶
func (client PricingsClient) UpdateResponder(resp *http.Response) (result Pricing, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (PricingsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type PropertyType ¶
type PropertyType string
PropertyType enumerates the values for property type.
const ( // Boolean ... Boolean PropertyType = "Boolean" // Integer ... Integer PropertyType = "Integer" // Number ... Number PropertyType = "Number" // String ... String PropertyType = "String" )
func PossiblePropertyTypeValues ¶
func PossiblePropertyTypeValues() []PropertyType
PossiblePropertyTypeValues returns an array of possible values for the PropertyType const type.
type ProtectionMode ¶
type ProtectionMode struct { // Exe - Possible values include: 'ExeAudit', 'ExeEnforce', 'ExeNone' Exe Exe `json:"exe,omitempty"` // Msi - Possible values include: 'MsiAudit', 'MsiEnforce', 'MsiNone' Msi Msi `json:"msi,omitempty"` // Script - Possible values include: 'ScriptAudit', 'ScriptEnforce', 'ScriptNone' Script Script `json:"script,omitempty"` // Executable - Possible values include: 'ExecutableAudit', 'ExecutableEnforce', 'ExecutableNone' Executable Executable `json:"executable,omitempty"` }
ProtectionMode the protection mode of the collection/file types. Exe/Msi/Script are used for Windows, Executable is used for Linux.
type Protocol ¶
type Protocol string
Protocol enumerates the values for protocol.
func PossibleProtocolValues ¶
func PossibleProtocolValues() []Protocol
PossibleProtocolValues returns an array of possible values for the Protocol const type.
type ProxyServerProperties ¶
type ProxyServerProperties struct { // IP - Proxy server IP IP *string `json:"ip,omitempty"` // Port - Proxy server port Port *string `json:"port,omitempty"` }
ProxyServerProperties for a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use.
type PublisherInfo ¶
type PublisherInfo struct { // PublisherName - The Subject field of the x.509 certificate used to sign the code, using the following fields - O = Organization, L = Locality, S = State or Province, and C = Country PublisherName *string `json:"publisherName,omitempty"` // ProductName - The product name taken from the file's version resource ProductName *string `json:"productName,omitempty"` // BinaryName - The "OriginalName" field taken from the file's version resource BinaryName *string `json:"binaryName,omitempty"` // Version - The binary file version taken from the file's version resource Version *string `json:"version,omitempty"` }
PublisherInfo represents the publisher information of a process/rule
type Rank ¶
type Rank string
Rank enumerates the values for rank.
func PossibleRankValues ¶
func PossibleRankValues() []Rank
PossibleRankValues returns an array of possible values for the Rank const type.
type RecommendationAction ¶
type RecommendationAction string
RecommendationAction enumerates the values for recommendation action.
const ( // RecommendationActionAdd ... RecommendationActionAdd RecommendationAction = "Add" // RecommendationActionRecommended ... RecommendationActionRecommended RecommendationAction = "Recommended" // RecommendationActionRemove ... RecommendationActionRemove RecommendationAction = "Remove" )
func PossibleRecommendationActionValues ¶
func PossibleRecommendationActionValues() []RecommendationAction
PossibleRecommendationActionValues returns an array of possible values for the RecommendationAction const type.
type RecommendationAction1 ¶
type RecommendationAction1 string
RecommendationAction1 enumerates the values for recommendation action 1.
const ( // RecommendationAction1Add ... RecommendationAction1Add RecommendationAction1 = "Add" // RecommendationAction1Recommended ... RecommendationAction1Recommended RecommendationAction1 = "Recommended" // RecommendationAction1Remove ... RecommendationAction1Remove RecommendationAction1 = "Remove" )
func PossibleRecommendationAction1Values ¶
func PossibleRecommendationAction1Values() []RecommendationAction1
PossibleRecommendationAction1Values returns an array of possible values for the RecommendationAction1 const type.
type RecommendationConfigStatus ¶
type RecommendationConfigStatus string
RecommendationConfigStatus enumerates the values for recommendation config status.
const ( // Disabled ... Disabled RecommendationConfigStatus = "Disabled" // Enabled ... Enabled RecommendationConfigStatus = "Enabled" )
func PossibleRecommendationConfigStatusValues ¶
func PossibleRecommendationConfigStatusValues() []RecommendationConfigStatus
PossibleRecommendationConfigStatusValues returns an array of possible values for the RecommendationConfigStatus const type.
type RecommendationConfigurationProperties ¶
type RecommendationConfigurationProperties struct { // RecommendationType - The recommendation type. Possible values include: 'IoTACRAuthentication', 'IoTAgentSendsUnutilizedMessages', 'IoTBaseline', 'IoTEdgeHubMemOptimize', 'IoTEdgeLoggingOptions', 'IoTInconsistentModuleSettings', 'IoTInstallAgent', 'IoTIPFilterDenyAll', 'IoTIPFilterPermissiveRule', 'IoTOpenPorts', 'IoTPermissiveFirewallPolicy', 'IoTPermissiveInputFirewallRules', 'IoTPermissiveOutputFirewallRules', 'IoTPrivilegedDockerOptions', 'IoTSharedCredentials', 'IoTVulnerableTLSCipherSuite' RecommendationType RecommendationType `json:"recommendationType,omitempty"` // Name - READ-ONLY Name *string `json:"name,omitempty"` // Status - Recommendation status. The recommendation is not generated when the status is disabled. Possible values include: 'Disabled', 'Enabled' Status RecommendationConfigStatus `json:"status,omitempty"` }
RecommendationConfigurationProperties recommendation configuration
func (RecommendationConfigurationProperties) MarshalJSON ¶
func (rcp RecommendationConfigurationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RecommendationConfigurationProperties.
type RecommendationStatus ¶
type RecommendationStatus string
RecommendationStatus enumerates the values for recommendation status.
const ( // RecommendationStatusNoStatus ... RecommendationStatusNoStatus RecommendationStatus = "NoStatus" // RecommendationStatusNotAvailable ... RecommendationStatusNotAvailable RecommendationStatus = "NotAvailable" // RecommendationStatusNotRecommended ... RecommendationStatusNotRecommended RecommendationStatus = "NotRecommended" // RecommendationStatusRecommended ... RecommendationStatusRecommended RecommendationStatus = "Recommended" )
func PossibleRecommendationStatusValues ¶
func PossibleRecommendationStatusValues() []RecommendationStatus
PossibleRecommendationStatusValues returns an array of possible values for the RecommendationStatus const type.
type RecommendationType ¶
type RecommendationType string
RecommendationType enumerates the values for recommendation type.
const ( // IoTACRAuthentication Authentication schema used for pull an edge module from an ACR repository does not // use Service Principal Authentication. IoTACRAuthentication RecommendationType = "IoT_ACRAuthentication" // IoTAgentSendsUnutilizedMessages IoT agent message size capacity is currently underutilized, causing an // increase in the number of sent messages. Adjust message intervals for better utilization. IoTAgentSendsUnutilizedMessages RecommendationType = "IoT_AgentSendsUnutilizedMessages" // IoTBaseline Identified security related system configuration issues. IoTBaseline RecommendationType = "IoT_Baseline" // IoTEdgeHubMemOptimize You can optimize Edge Hub memory usage by turning off protocol heads for any // protocols not used by Edge modules in your solution. IoTEdgeHubMemOptimize RecommendationType = "IoT_EdgeHubMemOptimize" // IoTEdgeLoggingOptions Logging is disabled for this edge module. IoTEdgeLoggingOptions RecommendationType = "IoT_EdgeLoggingOptions" // IoTInconsistentModuleSettings A minority within a device security group has inconsistent Edge Module // settings with the rest of their group. IoTInconsistentModuleSettings RecommendationType = "IoT_InconsistentModuleSettings" // IoTInstallAgent Install the Azure Security of Things Agent. IoTInstallAgent RecommendationType = "IoT_InstallAgent" // IoTIPFilterDenyAll IP Filter Configuration should have rules defined for allowed traffic and should deny // all other traffic by default. IoTIPFilterDenyAll RecommendationType = "IoT_IPFilter_DenyAll" // IoTIPFilterPermissiveRule An Allow IP Filter rules source IP range is too large. Overly permissive rules // might expose your IoT hub to malicious intenders. IoTIPFilterPermissiveRule RecommendationType = "IoT_IPFilter_PermissiveRule" // IoTOpenPorts A listening endpoint was found on the device. IoTOpenPorts RecommendationType = "IoT_OpenPorts" // IoTPermissiveFirewallPolicy An Allowed firewall policy was found (INPUT/OUTPUT). The policy should Deny // all traffic by default and define rules to allow necessary communication to/from the device. IoTPermissiveFirewallPolicy RecommendationType = "IoT_PermissiveFirewallPolicy" // IoTPermissiveInputFirewallRules A rule in the firewall has been found that contains a permissive pattern // for a wide range of IP addresses or Ports. IoTPermissiveInputFirewallRules RecommendationType = "IoT_PermissiveInputFirewallRules" // IoTPermissiveOutputFirewallRules A rule in the firewall has been found that contains a permissive // pattern for a wide range of IP addresses or Ports. IoTPermissiveOutputFirewallRules RecommendationType = "IoT_PermissiveOutputFirewallRules" // IoTPrivilegedDockerOptions Edge module is configured to run in privileged mode, with extensive Linux // capabilities or with host-level network access (send/receive data to host machine). IoTPrivilegedDockerOptions RecommendationType = "IoT_PrivilegedDockerOptions" // indicate an illegitimate device impersonating a legitimate device. It also exposes the risk of device // impersonation by an attacker. IoTSharedCredentials RecommendationType = "IoT_SharedCredentials" // IoTVulnerableTLSCipherSuite Insecure TLS configurations detected. Immediate upgrade recommended. IoTVulnerableTLSCipherSuite RecommendationType = "IoT_VulnerableTLSCipherSuite" )
func PossibleRecommendationTypeValues ¶
func PossibleRecommendationTypeValues() []RecommendationType
PossibleRecommendationTypeValues returns an array of possible values for the RecommendationType const type.
type RegulatoryComplianceAssessment ¶
type RegulatoryComplianceAssessment struct { autorest.Response `json:"-"` // RegulatoryComplianceAssessmentProperties - Regulatory compliance assessment data *RegulatoryComplianceAssessmentProperties `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"` }
RegulatoryComplianceAssessment regulatory compliance assessment details and state
func (RegulatoryComplianceAssessment) MarshalJSON ¶
func (rca RegulatoryComplianceAssessment) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegulatoryComplianceAssessment.
func (*RegulatoryComplianceAssessment) UnmarshalJSON ¶
func (rca *RegulatoryComplianceAssessment) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RegulatoryComplianceAssessment struct.
type RegulatoryComplianceAssessmentList ¶
type RegulatoryComplianceAssessmentList struct { autorest.Response `json:"-"` Value *[]RegulatoryComplianceAssessment `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
RegulatoryComplianceAssessmentList list of regulatory compliance assessment response
func (RegulatoryComplianceAssessmentList) IsEmpty ¶
func (rcal RegulatoryComplianceAssessmentList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (RegulatoryComplianceAssessmentList) MarshalJSON ¶
func (rcal RegulatoryComplianceAssessmentList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegulatoryComplianceAssessmentList.
type RegulatoryComplianceAssessmentListIterator ¶
type RegulatoryComplianceAssessmentListIterator struct {
// contains filtered or unexported fields
}
RegulatoryComplianceAssessmentListIterator provides access to a complete listing of RegulatoryComplianceAssessment values.
func NewRegulatoryComplianceAssessmentListIterator ¶
func NewRegulatoryComplianceAssessmentListIterator(page RegulatoryComplianceAssessmentListPage) RegulatoryComplianceAssessmentListIterator
Creates a new instance of the RegulatoryComplianceAssessmentListIterator type.
func (*RegulatoryComplianceAssessmentListIterator) Next ¶
func (iter *RegulatoryComplianceAssessmentListIterator) 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 (*RegulatoryComplianceAssessmentListIterator) NextWithContext ¶
func (iter *RegulatoryComplianceAssessmentListIterator) 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 (RegulatoryComplianceAssessmentListIterator) NotDone ¶
func (iter RegulatoryComplianceAssessmentListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RegulatoryComplianceAssessmentListIterator) Response ¶
func (iter RegulatoryComplianceAssessmentListIterator) Response() RegulatoryComplianceAssessmentList
Response returns the raw server response from the last page request.
func (RegulatoryComplianceAssessmentListIterator) Value ¶
func (iter RegulatoryComplianceAssessmentListIterator) Value() RegulatoryComplianceAssessment
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RegulatoryComplianceAssessmentListPage ¶
type RegulatoryComplianceAssessmentListPage struct {
// contains filtered or unexported fields
}
RegulatoryComplianceAssessmentListPage contains a page of RegulatoryComplianceAssessment values.
func NewRegulatoryComplianceAssessmentListPage ¶
func NewRegulatoryComplianceAssessmentListPage(getNextPage func(context.Context, RegulatoryComplianceAssessmentList) (RegulatoryComplianceAssessmentList, error)) RegulatoryComplianceAssessmentListPage
Creates a new instance of the RegulatoryComplianceAssessmentListPage type.
func (*RegulatoryComplianceAssessmentListPage) Next ¶
func (page *RegulatoryComplianceAssessmentListPage) 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 (*RegulatoryComplianceAssessmentListPage) NextWithContext ¶
func (page *RegulatoryComplianceAssessmentListPage) 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 (RegulatoryComplianceAssessmentListPage) NotDone ¶
func (page RegulatoryComplianceAssessmentListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RegulatoryComplianceAssessmentListPage) Response ¶
func (page RegulatoryComplianceAssessmentListPage) Response() RegulatoryComplianceAssessmentList
Response returns the raw server response from the last page request.
func (RegulatoryComplianceAssessmentListPage) Values ¶
func (page RegulatoryComplianceAssessmentListPage) Values() []RegulatoryComplianceAssessment
Values returns the slice of values for the current page or nil if there are no values.
type RegulatoryComplianceAssessmentProperties ¶
type RegulatoryComplianceAssessmentProperties struct { // Description - READ-ONLY; The description of the regulatory compliance assessment Description *string `json:"description,omitempty"` // AssessmentType - READ-ONLY; The expected type of assessment contained in the AssessmentDetailsLink AssessmentType *string `json:"assessmentType,omitempty"` // AssessmentDetailsLink - READ-ONLY; Link to more detailed assessment results data. The response type will be according to the assessmentType field AssessmentDetailsLink *string `json:"assessmentDetailsLink,omitempty"` // State - Aggregative state based on the assessment's scanned resources states. Possible values include: 'StatePassed', 'StateFailed', 'StateSkipped', 'StateUnsupported' State State `json:"state,omitempty"` // PassedResources - READ-ONLY; The given assessment's related resources count with passed state. PassedResources *int32 `json:"passedResources,omitempty"` // FailedResources - READ-ONLY; The given assessment's related resources count with failed state. FailedResources *int32 `json:"failedResources,omitempty"` // SkippedResources - READ-ONLY; The given assessment's related resources count with skipped state. SkippedResources *int32 `json:"skippedResources,omitempty"` // UnsupportedResources - READ-ONLY; The given assessment's related resources count with unsupported state. UnsupportedResources *int32 `json:"unsupportedResources,omitempty"` }
RegulatoryComplianceAssessmentProperties regulatory compliance assessment data
func (RegulatoryComplianceAssessmentProperties) MarshalJSON ¶
func (rcap RegulatoryComplianceAssessmentProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegulatoryComplianceAssessmentProperties.
type RegulatoryComplianceAssessmentsClient ¶
type RegulatoryComplianceAssessmentsClient struct {
BaseClient
}
RegulatoryComplianceAssessmentsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewRegulatoryComplianceAssessmentsClient ¶
func NewRegulatoryComplianceAssessmentsClient(subscriptionID string, ascLocation string) RegulatoryComplianceAssessmentsClient
NewRegulatoryComplianceAssessmentsClient creates an instance of the RegulatoryComplianceAssessmentsClient client.
func NewRegulatoryComplianceAssessmentsClientWithBaseURI ¶
func NewRegulatoryComplianceAssessmentsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) RegulatoryComplianceAssessmentsClient
NewRegulatoryComplianceAssessmentsClientWithBaseURI creates an instance of the RegulatoryComplianceAssessmentsClient 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 (RegulatoryComplianceAssessmentsClient) Get ¶
func (client RegulatoryComplianceAssessmentsClient) Get(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string, regulatoryComplianceAssessmentName string) (result RegulatoryComplianceAssessment, err error)
Get supported regulatory compliance details and state for selected assessment Parameters: regulatoryComplianceStandardName - name of the regulatory compliance standard object regulatoryComplianceControlName - name of the regulatory compliance control object regulatoryComplianceAssessmentName - name of the regulatory compliance assessment object
func (RegulatoryComplianceAssessmentsClient) GetPreparer ¶
func (client RegulatoryComplianceAssessmentsClient) GetPreparer(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string, regulatoryComplianceAssessmentName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RegulatoryComplianceAssessmentsClient) GetResponder ¶
func (client RegulatoryComplianceAssessmentsClient) GetResponder(resp *http.Response) (result RegulatoryComplianceAssessment, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RegulatoryComplianceAssessmentsClient) GetSender ¶
func (client RegulatoryComplianceAssessmentsClient) 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 (RegulatoryComplianceAssessmentsClient) List ¶
func (client RegulatoryComplianceAssessmentsClient) List(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string, filter string) (result RegulatoryComplianceAssessmentListPage, err error)
List details and state of assessments mapped to selected regulatory compliance control Parameters: regulatoryComplianceStandardName - name of the regulatory compliance standard object regulatoryComplianceControlName - name of the regulatory compliance control object filter - oData filter. Optional.
func (RegulatoryComplianceAssessmentsClient) ListComplete ¶
func (client RegulatoryComplianceAssessmentsClient) ListComplete(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string, filter string) (result RegulatoryComplianceAssessmentListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (RegulatoryComplianceAssessmentsClient) ListPreparer ¶
func (client RegulatoryComplianceAssessmentsClient) ListPreparer(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string, filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (RegulatoryComplianceAssessmentsClient) ListResponder ¶
func (client RegulatoryComplianceAssessmentsClient) ListResponder(resp *http.Response) (result RegulatoryComplianceAssessmentList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (RegulatoryComplianceAssessmentsClient) ListSender ¶
func (client RegulatoryComplianceAssessmentsClient) 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 RegulatoryComplianceControl ¶
type RegulatoryComplianceControl struct { autorest.Response `json:"-"` // RegulatoryComplianceControlProperties - Regulatory compliance control data *RegulatoryComplianceControlProperties `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"` }
RegulatoryComplianceControl regulatory compliance control details and state
func (RegulatoryComplianceControl) MarshalJSON ¶
func (rcc RegulatoryComplianceControl) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegulatoryComplianceControl.
func (*RegulatoryComplianceControl) UnmarshalJSON ¶
func (rcc *RegulatoryComplianceControl) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RegulatoryComplianceControl struct.
type RegulatoryComplianceControlList ¶
type RegulatoryComplianceControlList struct { autorest.Response `json:"-"` // Value - List of regulatory compliance controls Value *[]RegulatoryComplianceControl `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
RegulatoryComplianceControlList list of regulatory compliance controls response
func (RegulatoryComplianceControlList) IsEmpty ¶
func (rccl RegulatoryComplianceControlList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (RegulatoryComplianceControlList) MarshalJSON ¶
func (rccl RegulatoryComplianceControlList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegulatoryComplianceControlList.
type RegulatoryComplianceControlListIterator ¶
type RegulatoryComplianceControlListIterator struct {
// contains filtered or unexported fields
}
RegulatoryComplianceControlListIterator provides access to a complete listing of RegulatoryComplianceControl values.
func NewRegulatoryComplianceControlListIterator ¶
func NewRegulatoryComplianceControlListIterator(page RegulatoryComplianceControlListPage) RegulatoryComplianceControlListIterator
Creates a new instance of the RegulatoryComplianceControlListIterator type.
func (*RegulatoryComplianceControlListIterator) Next ¶
func (iter *RegulatoryComplianceControlListIterator) 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 (*RegulatoryComplianceControlListIterator) NextWithContext ¶
func (iter *RegulatoryComplianceControlListIterator) 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 (RegulatoryComplianceControlListIterator) NotDone ¶
func (iter RegulatoryComplianceControlListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RegulatoryComplianceControlListIterator) Response ¶
func (iter RegulatoryComplianceControlListIterator) Response() RegulatoryComplianceControlList
Response returns the raw server response from the last page request.
func (RegulatoryComplianceControlListIterator) Value ¶
func (iter RegulatoryComplianceControlListIterator) Value() RegulatoryComplianceControl
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RegulatoryComplianceControlListPage ¶
type RegulatoryComplianceControlListPage struct {
// contains filtered or unexported fields
}
RegulatoryComplianceControlListPage contains a page of RegulatoryComplianceControl values.
func NewRegulatoryComplianceControlListPage ¶
func NewRegulatoryComplianceControlListPage(getNextPage func(context.Context, RegulatoryComplianceControlList) (RegulatoryComplianceControlList, error)) RegulatoryComplianceControlListPage
Creates a new instance of the RegulatoryComplianceControlListPage type.
func (*RegulatoryComplianceControlListPage) Next ¶
func (page *RegulatoryComplianceControlListPage) 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 (*RegulatoryComplianceControlListPage) NextWithContext ¶
func (page *RegulatoryComplianceControlListPage) 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 (RegulatoryComplianceControlListPage) NotDone ¶
func (page RegulatoryComplianceControlListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RegulatoryComplianceControlListPage) Response ¶
func (page RegulatoryComplianceControlListPage) Response() RegulatoryComplianceControlList
Response returns the raw server response from the last page request.
func (RegulatoryComplianceControlListPage) Values ¶
func (page RegulatoryComplianceControlListPage) Values() []RegulatoryComplianceControl
Values returns the slice of values for the current page or nil if there are no values.
type RegulatoryComplianceControlProperties ¶
type RegulatoryComplianceControlProperties struct { // Description - READ-ONLY; The description of the regulatory compliance control Description *string `json:"description,omitempty"` // State - Aggregative state based on the control's supported assessments states. Possible values include: 'StatePassed', 'StateFailed', 'StateSkipped', 'StateUnsupported' State State `json:"state,omitempty"` // PassedAssessments - READ-ONLY; The number of supported regulatory compliance assessments of the given control with a passed state PassedAssessments *int32 `json:"passedAssessments,omitempty"` // FailedAssessments - READ-ONLY; The number of supported regulatory compliance assessments of the given control with a failed state FailedAssessments *int32 `json:"failedAssessments,omitempty"` // SkippedAssessments - READ-ONLY; The number of supported regulatory compliance assessments of the given control with a skipped state SkippedAssessments *int32 `json:"skippedAssessments,omitempty"` }
RegulatoryComplianceControlProperties regulatory compliance control data
func (RegulatoryComplianceControlProperties) MarshalJSON ¶
func (rccp RegulatoryComplianceControlProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegulatoryComplianceControlProperties.
type RegulatoryComplianceControlsClient ¶
type RegulatoryComplianceControlsClient struct {
BaseClient
}
RegulatoryComplianceControlsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewRegulatoryComplianceControlsClient ¶
func NewRegulatoryComplianceControlsClient(subscriptionID string, ascLocation string) RegulatoryComplianceControlsClient
NewRegulatoryComplianceControlsClient creates an instance of the RegulatoryComplianceControlsClient client.
func NewRegulatoryComplianceControlsClientWithBaseURI ¶
func NewRegulatoryComplianceControlsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) RegulatoryComplianceControlsClient
NewRegulatoryComplianceControlsClientWithBaseURI creates an instance of the RegulatoryComplianceControlsClient 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 (RegulatoryComplianceControlsClient) Get ¶
func (client RegulatoryComplianceControlsClient) Get(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string) (result RegulatoryComplianceControl, err error)
Get selected regulatory compliance control details and state Parameters: regulatoryComplianceStandardName - name of the regulatory compliance standard object regulatoryComplianceControlName - name of the regulatory compliance control object
func (RegulatoryComplianceControlsClient) GetPreparer ¶
func (client RegulatoryComplianceControlsClient) GetPreparer(ctx context.Context, regulatoryComplianceStandardName string, regulatoryComplianceControlName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RegulatoryComplianceControlsClient) GetResponder ¶
func (client RegulatoryComplianceControlsClient) GetResponder(resp *http.Response) (result RegulatoryComplianceControl, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RegulatoryComplianceControlsClient) GetSender ¶
func (client RegulatoryComplianceControlsClient) 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 (RegulatoryComplianceControlsClient) List ¶
func (client RegulatoryComplianceControlsClient) List(ctx context.Context, regulatoryComplianceStandardName string, filter string) (result RegulatoryComplianceControlListPage, err error)
List all supported regulatory compliance controls details and state for selected standard Parameters: regulatoryComplianceStandardName - name of the regulatory compliance standard object filter - oData filter. Optional.
func (RegulatoryComplianceControlsClient) ListComplete ¶
func (client RegulatoryComplianceControlsClient) ListComplete(ctx context.Context, regulatoryComplianceStandardName string, filter string) (result RegulatoryComplianceControlListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (RegulatoryComplianceControlsClient) ListPreparer ¶
func (client RegulatoryComplianceControlsClient) ListPreparer(ctx context.Context, regulatoryComplianceStandardName string, filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (RegulatoryComplianceControlsClient) ListResponder ¶
func (client RegulatoryComplianceControlsClient) ListResponder(resp *http.Response) (result RegulatoryComplianceControlList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (RegulatoryComplianceControlsClient) ListSender ¶
func (client RegulatoryComplianceControlsClient) 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 RegulatoryComplianceStandard ¶
type RegulatoryComplianceStandard struct { autorest.Response `json:"-"` // RegulatoryComplianceStandardProperties - Regulatory compliance standard data *RegulatoryComplianceStandardProperties `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"` }
RegulatoryComplianceStandard regulatory compliance standard details and state
func (RegulatoryComplianceStandard) MarshalJSON ¶
func (rcs RegulatoryComplianceStandard) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegulatoryComplianceStandard.
func (*RegulatoryComplianceStandard) UnmarshalJSON ¶
func (rcs *RegulatoryComplianceStandard) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RegulatoryComplianceStandard struct.
type RegulatoryComplianceStandardList ¶
type RegulatoryComplianceStandardList struct { autorest.Response `json:"-"` Value *[]RegulatoryComplianceStandard `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
RegulatoryComplianceStandardList list of regulatory compliance standards response
func (RegulatoryComplianceStandardList) IsEmpty ¶
func (rcsl RegulatoryComplianceStandardList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (RegulatoryComplianceStandardList) MarshalJSON ¶
func (rcsl RegulatoryComplianceStandardList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegulatoryComplianceStandardList.
type RegulatoryComplianceStandardListIterator ¶
type RegulatoryComplianceStandardListIterator struct {
// contains filtered or unexported fields
}
RegulatoryComplianceStandardListIterator provides access to a complete listing of RegulatoryComplianceStandard values.
func NewRegulatoryComplianceStandardListIterator ¶
func NewRegulatoryComplianceStandardListIterator(page RegulatoryComplianceStandardListPage) RegulatoryComplianceStandardListIterator
Creates a new instance of the RegulatoryComplianceStandardListIterator type.
func (*RegulatoryComplianceStandardListIterator) Next ¶
func (iter *RegulatoryComplianceStandardListIterator) 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 (*RegulatoryComplianceStandardListIterator) NextWithContext ¶
func (iter *RegulatoryComplianceStandardListIterator) 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 (RegulatoryComplianceStandardListIterator) NotDone ¶
func (iter RegulatoryComplianceStandardListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RegulatoryComplianceStandardListIterator) Response ¶
func (iter RegulatoryComplianceStandardListIterator) Response() RegulatoryComplianceStandardList
Response returns the raw server response from the last page request.
func (RegulatoryComplianceStandardListIterator) Value ¶
func (iter RegulatoryComplianceStandardListIterator) Value() RegulatoryComplianceStandard
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RegulatoryComplianceStandardListPage ¶
type RegulatoryComplianceStandardListPage struct {
// contains filtered or unexported fields
}
RegulatoryComplianceStandardListPage contains a page of RegulatoryComplianceStandard values.
func NewRegulatoryComplianceStandardListPage ¶
func NewRegulatoryComplianceStandardListPage(getNextPage func(context.Context, RegulatoryComplianceStandardList) (RegulatoryComplianceStandardList, error)) RegulatoryComplianceStandardListPage
Creates a new instance of the RegulatoryComplianceStandardListPage type.
func (*RegulatoryComplianceStandardListPage) Next ¶
func (page *RegulatoryComplianceStandardListPage) 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 (*RegulatoryComplianceStandardListPage) NextWithContext ¶
func (page *RegulatoryComplianceStandardListPage) 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 (RegulatoryComplianceStandardListPage) NotDone ¶
func (page RegulatoryComplianceStandardListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RegulatoryComplianceStandardListPage) Response ¶
func (page RegulatoryComplianceStandardListPage) Response() RegulatoryComplianceStandardList
Response returns the raw server response from the last page request.
func (RegulatoryComplianceStandardListPage) Values ¶
func (page RegulatoryComplianceStandardListPage) Values() []RegulatoryComplianceStandard
Values returns the slice of values for the current page or nil if there are no values.
type RegulatoryComplianceStandardProperties ¶
type RegulatoryComplianceStandardProperties struct { // State - Aggregative state based on the standard's supported controls states. Possible values include: 'StatePassed', 'StateFailed', 'StateSkipped', 'StateUnsupported' State State `json:"state,omitempty"` // PassedControls - READ-ONLY; The number of supported regulatory compliance controls of the given standard with a passed state PassedControls *int32 `json:"passedControls,omitempty"` // FailedControls - READ-ONLY; The number of supported regulatory compliance controls of the given standard with a failed state FailedControls *int32 `json:"failedControls,omitempty"` // SkippedControls - READ-ONLY; The number of supported regulatory compliance controls of the given standard with a skipped state SkippedControls *int32 `json:"skippedControls,omitempty"` // UnsupportedControls - READ-ONLY; The number of regulatory compliance controls of the given standard which are unsupported by automated assessments UnsupportedControls *int32 `json:"unsupportedControls,omitempty"` }
RegulatoryComplianceStandardProperties regulatory compliance standard data
func (RegulatoryComplianceStandardProperties) MarshalJSON ¶
func (rcsp RegulatoryComplianceStandardProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegulatoryComplianceStandardProperties.
type RegulatoryComplianceStandardsClient ¶
type RegulatoryComplianceStandardsClient struct {
BaseClient
}
RegulatoryComplianceStandardsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewRegulatoryComplianceStandardsClient ¶
func NewRegulatoryComplianceStandardsClient(subscriptionID string, ascLocation string) RegulatoryComplianceStandardsClient
NewRegulatoryComplianceStandardsClient creates an instance of the RegulatoryComplianceStandardsClient client.
func NewRegulatoryComplianceStandardsClientWithBaseURI ¶
func NewRegulatoryComplianceStandardsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) RegulatoryComplianceStandardsClient
NewRegulatoryComplianceStandardsClientWithBaseURI creates an instance of the RegulatoryComplianceStandardsClient 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 (RegulatoryComplianceStandardsClient) Get ¶
func (client RegulatoryComplianceStandardsClient) Get(ctx context.Context, regulatoryComplianceStandardName string) (result RegulatoryComplianceStandard, err error)
Get supported regulatory compliance details state for selected standard Parameters: regulatoryComplianceStandardName - name of the regulatory compliance standard object
func (RegulatoryComplianceStandardsClient) GetPreparer ¶
func (client RegulatoryComplianceStandardsClient) GetPreparer(ctx context.Context, regulatoryComplianceStandardName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RegulatoryComplianceStandardsClient) GetResponder ¶
func (client RegulatoryComplianceStandardsClient) GetResponder(resp *http.Response) (result RegulatoryComplianceStandard, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RegulatoryComplianceStandardsClient) GetSender ¶
func (client RegulatoryComplianceStandardsClient) 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 (RegulatoryComplianceStandardsClient) List ¶
func (client RegulatoryComplianceStandardsClient) List(ctx context.Context, filter string) (result RegulatoryComplianceStandardListPage, err error)
List supported regulatory compliance standards details and state Parameters: filter - oData filter. Optional.
func (RegulatoryComplianceStandardsClient) ListComplete ¶
func (client RegulatoryComplianceStandardsClient) ListComplete(ctx context.Context, filter string) (result RegulatoryComplianceStandardListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (RegulatoryComplianceStandardsClient) ListPreparer ¶
func (client RegulatoryComplianceStandardsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (RegulatoryComplianceStandardsClient) ListResponder ¶
func (client RegulatoryComplianceStandardsClient) ListResponder(resp *http.Response) (result RegulatoryComplianceStandardList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (RegulatoryComplianceStandardsClient) ListSender ¶
func (client RegulatoryComplianceStandardsClient) 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 ReportedSeverity ¶
type ReportedSeverity string
ReportedSeverity enumerates the values for reported severity.
const ( // High ... High ReportedSeverity = "High" // Informational ... Informational ReportedSeverity = "Informational" // Low ... Low ReportedSeverity = "Low" // Medium ... Medium ReportedSeverity = "Medium" )
func PossibleReportedSeverityValues ¶
func PossibleReportedSeverityValues() []ReportedSeverity
PossibleReportedSeverityValues returns an array of possible values for the ReportedSeverity const type.
type Resource ¶
type Resource struct { // 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"` }
Resource describes an Azure resource.
type ResourceDetails ¶
type ResourceDetails struct { // Source - Possible values include: 'SourceResourceDetails', 'SourceOnPremiseSQL', 'SourceOnPremise', 'SourceAzure' Source Source `json:"source,omitempty"` }
ResourceDetails details of the resource that was assessed
func (ResourceDetails) AsAzureResourceDetails ¶
func (rd ResourceDetails) AsAzureResourceDetails() (*AzureResourceDetails, bool)
AsAzureResourceDetails is the BasicResourceDetails implementation for ResourceDetails.
func (ResourceDetails) AsBasicOnPremiseResourceDetails ¶
func (rd ResourceDetails) AsBasicOnPremiseResourceDetails() (BasicOnPremiseResourceDetails, bool)
AsBasicOnPremiseResourceDetails is the BasicResourceDetails implementation for ResourceDetails.
func (ResourceDetails) AsBasicResourceDetails ¶
func (rd ResourceDetails) AsBasicResourceDetails() (BasicResourceDetails, bool)
AsBasicResourceDetails is the BasicResourceDetails implementation for ResourceDetails.
func (ResourceDetails) AsOnPremiseResourceDetails ¶
func (rd ResourceDetails) AsOnPremiseResourceDetails() (*OnPremiseResourceDetails, bool)
AsOnPremiseResourceDetails is the BasicResourceDetails implementation for ResourceDetails.
func (ResourceDetails) AsOnPremiseSQLResourceDetails ¶
func (rd ResourceDetails) AsOnPremiseSQLResourceDetails() (*OnPremiseSQLResourceDetails, bool)
AsOnPremiseSQLResourceDetails is the BasicResourceDetails implementation for ResourceDetails.
func (ResourceDetails) AsResourceDetails ¶
func (rd ResourceDetails) AsResourceDetails() (*ResourceDetails, bool)
AsResourceDetails is the BasicResourceDetails implementation for ResourceDetails.
func (ResourceDetails) MarshalJSON ¶
func (rd ResourceDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceDetails.
type Rule ¶
type Rule struct { // Name - The name of the rule Name *string `json:"name,omitempty"` // Direction - The rule's direction. Possible values include: 'Inbound', 'Outbound' Direction Direction `json:"direction,omitempty"` // DestinationPort - The rule's destination port DestinationPort *int32 `json:"destinationPort,omitempty"` // Protocols - The rule's transport protocols Protocols *[]TransportProtocol `json:"protocols,omitempty"` // IPAddresses - The remote IP addresses that should be able to communicate with the Azure resource on the rule's destination port and protocol IPAddresses *[]string `json:"ipAddresses,omitempty"` }
Rule describes remote addresses that is recommended to communicate with the Azure resource on some (Protocol, Port, Direction). All other remote addresses are recommended to be blocked
type RuleState ¶
type RuleState string
RuleState enumerates the values for rule state.
func PossibleRuleStateValues ¶
func PossibleRuleStateValues() []RuleState
PossibleRuleStateValues returns an array of possible values for the RuleState const type.
type SQLServerVulnerabilityProperties ¶
type SQLServerVulnerabilityProperties struct { // Type - READ-ONLY; The resource type the sub assessment refers to in its resource details Type *string `json:"type,omitempty"` // Query - READ-ONLY; The T-SQL query that runs on your SQL database to perform the particular check Query *string `json:"query,omitempty"` // AssessedResourceType - Possible values include: 'AssessedResourceTypeAdditionalData', 'AssessedResourceTypeSQLServerVulnerability', 'AssessedResourceTypeContainerRegistryVulnerability', 'AssessedResourceTypeServerVulnerabilityAssessment' AssessedResourceType AssessedResourceType `json:"assessedResourceType,omitempty"` }
SQLServerVulnerabilityProperties details of the resource that was assessed
func (SQLServerVulnerabilityProperties) AsAdditionalData ¶
func (ssvp SQLServerVulnerabilityProperties) AsAdditionalData() (*AdditionalData, bool)
AsAdditionalData is the BasicAdditionalData implementation for SQLServerVulnerabilityProperties.
func (SQLServerVulnerabilityProperties) AsBasicAdditionalData ¶
func (ssvp SQLServerVulnerabilityProperties) AsBasicAdditionalData() (BasicAdditionalData, bool)
AsBasicAdditionalData is the BasicAdditionalData implementation for SQLServerVulnerabilityProperties.
func (SQLServerVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties ¶
func (ssvp SQLServerVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)
AsContainerRegistryVulnerabilityProperties is the BasicAdditionalData implementation for SQLServerVulnerabilityProperties.
func (SQLServerVulnerabilityProperties) AsSQLServerVulnerabilityProperties ¶
func (ssvp SQLServerVulnerabilityProperties) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)
AsSQLServerVulnerabilityProperties is the BasicAdditionalData implementation for SQLServerVulnerabilityProperties.
func (SQLServerVulnerabilityProperties) AsServerVulnerabilityProperties ¶
func (ssvp SQLServerVulnerabilityProperties) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)
AsServerVulnerabilityProperties is the BasicAdditionalData implementation for SQLServerVulnerabilityProperties.
func (SQLServerVulnerabilityProperties) MarshalJSON ¶
func (ssvp SQLServerVulnerabilityProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SQLServerVulnerabilityProperties.
type ScopeElement ¶
type ScopeElement struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Field - The alert entity type to suppress by. Field *string `json:"field,omitempty"` }
ScopeElement a more specific scope used to identify the alerts to suppress.
func (ScopeElement) MarshalJSON ¶
func (se ScopeElement) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ScopeElement.
func (*ScopeElement) UnmarshalJSON ¶
func (se *ScopeElement) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ScopeElement struct.
type ScoreDetails ¶
type ScoreDetails struct { // Max - READ-ONLY; Maximum score available Max *int32 `json:"max,omitempty"` // Current - READ-ONLY; Current score Current *float64 `json:"current,omitempty"` }
ScoreDetails calculation result data
type Script ¶
type Script string
Script enumerates the values for script.
func PossibleScriptValues ¶
func PossibleScriptValues() []Script
PossibleScriptValues returns an array of possible values for the Script const type.
type SecureScoreControlDefinitionItem ¶
type SecureScoreControlDefinitionItem struct { *SecureScoreControlDefinitionItemProperties `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"` }
SecureScoreControlDefinitionItem information about the security control.
func (SecureScoreControlDefinitionItem) MarshalJSON ¶
func (sscdi SecureScoreControlDefinitionItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecureScoreControlDefinitionItem.
func (*SecureScoreControlDefinitionItem) UnmarshalJSON ¶
func (sscdi *SecureScoreControlDefinitionItem) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecureScoreControlDefinitionItem struct.
type SecureScoreControlDefinitionItemProperties ¶
type SecureScoreControlDefinitionItemProperties struct { // DisplayName - READ-ONLY; User friendly display name of the control DisplayName *string `json:"displayName,omitempty"` // Description - READ-ONLY; User friendly description of the control Description *string `json:"description,omitempty"` // MaxScore - READ-ONLY; Maximum control score (0..10) MaxScore *int32 `json:"maxScore,omitempty"` // Source - READ-ONLY; Source object from which the control was created Source *SecureScoreControlDefinitionSource `json:"source,omitempty"` // AssessmentDefinitions - READ-ONLY; Array of assessments metadata IDs that are included in this security control AssessmentDefinitions *[]AzureResourceLink `json:"assessmentDefinitions,omitempty"` }
SecureScoreControlDefinitionItemProperties security Control Definition Properties.
type SecureScoreControlDefinitionList ¶
type SecureScoreControlDefinitionList struct { autorest.Response `json:"-"` // Value - READ-ONLY; Collection of security controls definition in this page Value *[]SecureScoreControlDefinitionItem `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
SecureScoreControlDefinitionList list of security controls definition
func (SecureScoreControlDefinitionList) IsEmpty ¶
func (sscdl SecureScoreControlDefinitionList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SecureScoreControlDefinitionListIterator ¶
type SecureScoreControlDefinitionListIterator struct {
// contains filtered or unexported fields
}
SecureScoreControlDefinitionListIterator provides access to a complete listing of SecureScoreControlDefinitionItem values.
func NewSecureScoreControlDefinitionListIterator ¶
func NewSecureScoreControlDefinitionListIterator(page SecureScoreControlDefinitionListPage) SecureScoreControlDefinitionListIterator
Creates a new instance of the SecureScoreControlDefinitionListIterator type.
func (*SecureScoreControlDefinitionListIterator) Next ¶
func (iter *SecureScoreControlDefinitionListIterator) 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 (*SecureScoreControlDefinitionListIterator) NextWithContext ¶
func (iter *SecureScoreControlDefinitionListIterator) 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 (SecureScoreControlDefinitionListIterator) NotDone ¶
func (iter SecureScoreControlDefinitionListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SecureScoreControlDefinitionListIterator) Response ¶
func (iter SecureScoreControlDefinitionListIterator) Response() SecureScoreControlDefinitionList
Response returns the raw server response from the last page request.
func (SecureScoreControlDefinitionListIterator) Value ¶
func (iter SecureScoreControlDefinitionListIterator) Value() SecureScoreControlDefinitionItem
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SecureScoreControlDefinitionListPage ¶
type SecureScoreControlDefinitionListPage struct {
// contains filtered or unexported fields
}
SecureScoreControlDefinitionListPage contains a page of SecureScoreControlDefinitionItem values.
func NewSecureScoreControlDefinitionListPage ¶
func NewSecureScoreControlDefinitionListPage(getNextPage func(context.Context, SecureScoreControlDefinitionList) (SecureScoreControlDefinitionList, error)) SecureScoreControlDefinitionListPage
Creates a new instance of the SecureScoreControlDefinitionListPage type.
func (*SecureScoreControlDefinitionListPage) Next ¶
func (page *SecureScoreControlDefinitionListPage) 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 (*SecureScoreControlDefinitionListPage) NextWithContext ¶
func (page *SecureScoreControlDefinitionListPage) 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 (SecureScoreControlDefinitionListPage) NotDone ¶
func (page SecureScoreControlDefinitionListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SecureScoreControlDefinitionListPage) Response ¶
func (page SecureScoreControlDefinitionListPage) Response() SecureScoreControlDefinitionList
Response returns the raw server response from the last page request.
func (SecureScoreControlDefinitionListPage) Values ¶
func (page SecureScoreControlDefinitionListPage) Values() []SecureScoreControlDefinitionItem
Values returns the slice of values for the current page or nil if there are no values.
type SecureScoreControlDefinitionSource ¶
type SecureScoreControlDefinitionSource struct { // SourceType - The type of security control (for example, BuiltIn). Possible values include: 'BuiltIn', 'Custom' SourceType ControlType `json:"sourceType,omitempty"` }
SecureScoreControlDefinitionSource the type of the security control (For example, BuiltIn)
type SecureScoreControlDefinitionsClient ¶
type SecureScoreControlDefinitionsClient struct {
BaseClient
}
SecureScoreControlDefinitionsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewSecureScoreControlDefinitionsClient ¶
func NewSecureScoreControlDefinitionsClient(subscriptionID string, ascLocation string) SecureScoreControlDefinitionsClient
NewSecureScoreControlDefinitionsClient creates an instance of the SecureScoreControlDefinitionsClient client.
func NewSecureScoreControlDefinitionsClientWithBaseURI ¶
func NewSecureScoreControlDefinitionsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) SecureScoreControlDefinitionsClient
NewSecureScoreControlDefinitionsClientWithBaseURI creates an instance of the SecureScoreControlDefinitionsClient 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 (SecureScoreControlDefinitionsClient) List ¶
func (client SecureScoreControlDefinitionsClient) List(ctx context.Context) (result SecureScoreControlDefinitionListPage, err error)
List list the available security controls, their assessments, and the max score
func (SecureScoreControlDefinitionsClient) ListBySubscription ¶
func (client SecureScoreControlDefinitionsClient) ListBySubscription(ctx context.Context) (result SecureScoreControlDefinitionListPage, err error)
ListBySubscription for a specified subscription, list the available security controls, their assessments, and the max score
func (SecureScoreControlDefinitionsClient) ListBySubscriptionComplete ¶
func (client SecureScoreControlDefinitionsClient) ListBySubscriptionComplete(ctx context.Context) (result SecureScoreControlDefinitionListIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (SecureScoreControlDefinitionsClient) ListBySubscriptionPreparer ¶
func (client SecureScoreControlDefinitionsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (SecureScoreControlDefinitionsClient) ListBySubscriptionResponder ¶
func (client SecureScoreControlDefinitionsClient) ListBySubscriptionResponder(resp *http.Response) (result SecureScoreControlDefinitionList, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (SecureScoreControlDefinitionsClient) ListBySubscriptionSender ¶
func (client SecureScoreControlDefinitionsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (SecureScoreControlDefinitionsClient) ListComplete ¶
func (client SecureScoreControlDefinitionsClient) ListComplete(ctx context.Context) (result SecureScoreControlDefinitionListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SecureScoreControlDefinitionsClient) ListPreparer ¶
func (client SecureScoreControlDefinitionsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (SecureScoreControlDefinitionsClient) ListResponder ¶
func (client SecureScoreControlDefinitionsClient) ListResponder(resp *http.Response) (result SecureScoreControlDefinitionList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SecureScoreControlDefinitionsClient) ListSender ¶
func (client SecureScoreControlDefinitionsClient) 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 SecureScoreControlDetails ¶
type SecureScoreControlDetails struct { *SecureScoreControlScoreDetails `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"` }
SecureScoreControlDetails details of the security control, its score, and the health status of the relevant resources.
func (SecureScoreControlDetails) MarshalJSON ¶
func (sscd SecureScoreControlDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecureScoreControlDetails.
func (*SecureScoreControlDetails) UnmarshalJSON ¶
func (sscd *SecureScoreControlDetails) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecureScoreControlDetails struct.
type SecureScoreControlList ¶
type SecureScoreControlList struct { autorest.Response `json:"-"` // Value - READ-ONLY; Collection of security controls in this page Value *[]SecureScoreControlDetails `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
SecureScoreControlList list of security controls
func (SecureScoreControlList) IsEmpty ¶
func (sscl SecureScoreControlList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SecureScoreControlListIterator ¶
type SecureScoreControlListIterator struct {
// contains filtered or unexported fields
}
SecureScoreControlListIterator provides access to a complete listing of SecureScoreControlDetails values.
func NewSecureScoreControlListIterator ¶
func NewSecureScoreControlListIterator(page SecureScoreControlListPage) SecureScoreControlListIterator
Creates a new instance of the SecureScoreControlListIterator type.
func (*SecureScoreControlListIterator) Next ¶
func (iter *SecureScoreControlListIterator) 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 (*SecureScoreControlListIterator) NextWithContext ¶
func (iter *SecureScoreControlListIterator) 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 (SecureScoreControlListIterator) NotDone ¶
func (iter SecureScoreControlListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SecureScoreControlListIterator) Response ¶
func (iter SecureScoreControlListIterator) Response() SecureScoreControlList
Response returns the raw server response from the last page request.
func (SecureScoreControlListIterator) Value ¶
func (iter SecureScoreControlListIterator) Value() SecureScoreControlDetails
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SecureScoreControlListPage ¶
type SecureScoreControlListPage struct {
// contains filtered or unexported fields
}
SecureScoreControlListPage contains a page of SecureScoreControlDetails values.
func NewSecureScoreControlListPage ¶
func NewSecureScoreControlListPage(getNextPage func(context.Context, SecureScoreControlList) (SecureScoreControlList, error)) SecureScoreControlListPage
Creates a new instance of the SecureScoreControlListPage type.
func (*SecureScoreControlListPage) Next ¶
func (page *SecureScoreControlListPage) 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 (*SecureScoreControlListPage) NextWithContext ¶
func (page *SecureScoreControlListPage) 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 (SecureScoreControlListPage) NotDone ¶
func (page SecureScoreControlListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SecureScoreControlListPage) Response ¶
func (page SecureScoreControlListPage) Response() SecureScoreControlList
Response returns the raw server response from the last page request.
func (SecureScoreControlListPage) Values ¶
func (page SecureScoreControlListPage) Values() []SecureScoreControlDetails
Values returns the slice of values for the current page or nil if there are no values.
type SecureScoreControlScore ¶
type SecureScoreControlScore struct { // Max - READ-ONLY; Maximum control score (0..10) Max *int32 `json:"max,omitempty"` // Current - READ-ONLY; Actual score for the control = (achieved points / total points) * max score. if total points is zeroed, the return number is 0.00 Current *float64 `json:"current,omitempty"` }
SecureScoreControlScore calculation result data
type SecureScoreControlScoreDetails ¶
type SecureScoreControlScoreDetails struct { // DisplayName - READ-ONLY; User friendly display name of the control DisplayName *string `json:"displayName,omitempty"` // ScoreDetails - Actual score object for the control *ScoreDetails `json:"score,omitempty"` // HealthyResourceCount - READ-ONLY; Number of healthy resources in the control HealthyResourceCount *int32 `json:"healthyResourceCount,omitempty"` // UnhealthyResourceCount - READ-ONLY; Number of unhealthy resources in the control UnhealthyResourceCount *int32 `json:"unhealthyResourceCount,omitempty"` // NotApplicableResourceCount - READ-ONLY; Number of not applicable resources in the control NotApplicableResourceCount *int32 `json:"notApplicableResourceCount,omitempty"` Definition *SecureScoreControlDefinitionItem `json:"definition,omitempty"` }
SecureScoreControlScoreDetails calculation result data in control level
func (SecureScoreControlScoreDetails) MarshalJSON ¶
func (sscsd SecureScoreControlScoreDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecureScoreControlScoreDetails.
func (*SecureScoreControlScoreDetails) UnmarshalJSON ¶
func (sscsd *SecureScoreControlScoreDetails) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecureScoreControlScoreDetails struct.
type SecureScoreControlsClient ¶
type SecureScoreControlsClient struct {
BaseClient
}
SecureScoreControlsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewSecureScoreControlsClient ¶
func NewSecureScoreControlsClient(subscriptionID string, ascLocation string) SecureScoreControlsClient
NewSecureScoreControlsClient creates an instance of the SecureScoreControlsClient client.
func NewSecureScoreControlsClientWithBaseURI ¶
func NewSecureScoreControlsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) SecureScoreControlsClient
NewSecureScoreControlsClientWithBaseURI creates an instance of the SecureScoreControlsClient 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 (SecureScoreControlsClient) List ¶
func (client SecureScoreControlsClient) List(ctx context.Context, expand ExpandControlsEnum) (result SecureScoreControlListPage, err error)
List get all security controls within a scope Parameters: expand - oData expand. Optional.
func (SecureScoreControlsClient) ListBySecureScore ¶
func (client SecureScoreControlsClient) ListBySecureScore(ctx context.Context, secureScoreName string, expand ExpandControlsEnum) (result SecureScoreControlListPage, err error)
ListBySecureScore get all security controls for a specific initiative within a scope Parameters: secureScoreName - the initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below. expand - oData expand. Optional.
func (SecureScoreControlsClient) ListBySecureScoreComplete ¶
func (client SecureScoreControlsClient) ListBySecureScoreComplete(ctx context.Context, secureScoreName string, expand ExpandControlsEnum) (result SecureScoreControlListIterator, err error)
ListBySecureScoreComplete enumerates all values, automatically crossing page boundaries as required.
func (SecureScoreControlsClient) ListBySecureScorePreparer ¶
func (client SecureScoreControlsClient) ListBySecureScorePreparer(ctx context.Context, secureScoreName string, expand ExpandControlsEnum) (*http.Request, error)
ListBySecureScorePreparer prepares the ListBySecureScore request.
func (SecureScoreControlsClient) ListBySecureScoreResponder ¶
func (client SecureScoreControlsClient) ListBySecureScoreResponder(resp *http.Response) (result SecureScoreControlList, err error)
ListBySecureScoreResponder handles the response to the ListBySecureScore request. The method always closes the http.Response Body.
func (SecureScoreControlsClient) ListBySecureScoreSender ¶
func (client SecureScoreControlsClient) ListBySecureScoreSender(req *http.Request) (*http.Response, error)
ListBySecureScoreSender sends the ListBySecureScore request. The method will close the http.Response Body if it receives an error.
func (SecureScoreControlsClient) ListComplete ¶
func (client SecureScoreControlsClient) ListComplete(ctx context.Context, expand ExpandControlsEnum) (result SecureScoreControlListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SecureScoreControlsClient) ListPreparer ¶
func (client SecureScoreControlsClient) ListPreparer(ctx context.Context, expand ExpandControlsEnum) (*http.Request, error)
ListPreparer prepares the List request.
func (SecureScoreControlsClient) ListResponder ¶
func (client SecureScoreControlsClient) ListResponder(resp *http.Response) (result SecureScoreControlList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SecureScoreControlsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type SecureScoreItem ¶
type SecureScoreItem struct { autorest.Response `json:"-"` // SecureScoreItemProperties - READ-ONLY; Secure score item *SecureScoreItemProperties `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"` }
SecureScoreItem secure score item data model
func (SecureScoreItem) MarshalJSON ¶
func (ssi SecureScoreItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecureScoreItem.
func (*SecureScoreItem) UnmarshalJSON ¶
func (ssi *SecureScoreItem) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecureScoreItem struct.
type SecureScoreItemProperties ¶
type SecureScoreItemProperties struct { // DisplayName - READ-ONLY; The initiative’s name DisplayName *string `json:"displayName,omitempty"` // ScoreDetails - READ-ONLY; score object *ScoreDetails `json:"score,omitempty"` }
SecureScoreItemProperties describes properties of a calculated secure score.
func (SecureScoreItemProperties) MarshalJSON ¶
func (ssip SecureScoreItemProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecureScoreItemProperties.
func (*SecureScoreItemProperties) UnmarshalJSON ¶
func (ssip *SecureScoreItemProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecureScoreItemProperties struct.
type SecureScoresClient ¶
type SecureScoresClient struct {
BaseClient
}
SecureScoresClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewSecureScoresClient ¶
func NewSecureScoresClient(subscriptionID string, ascLocation string) SecureScoresClient
NewSecureScoresClient creates an instance of the SecureScoresClient client.
func NewSecureScoresClientWithBaseURI ¶
func NewSecureScoresClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) SecureScoresClient
NewSecureScoresClientWithBaseURI creates an instance of the SecureScoresClient 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 (SecureScoresClient) Get ¶
func (client SecureScoresClient) Get(ctx context.Context, secureScoreName string) (result SecureScoreItem, err error)
Get get secure score for a specific Security Center initiative within your current scope. For the ASC Default initiative, use 'ascScore'. Parameters: secureScoreName - the initiative name. For the ASC Default initiative, use 'ascScore' as in the sample request below.
func (SecureScoresClient) GetPreparer ¶
func (client SecureScoresClient) GetPreparer(ctx context.Context, secureScoreName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SecureScoresClient) GetResponder ¶
func (client SecureScoresClient) GetResponder(resp *http.Response) (result SecureScoreItem, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SecureScoresClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SecureScoresClient) List ¶
func (client SecureScoresClient) List(ctx context.Context) (result SecureScoresListPage, err error)
List list secure scores for all your Security Center initiatives within your current scope.
func (SecureScoresClient) ListComplete ¶
func (client SecureScoresClient) ListComplete(ctx context.Context) (result SecureScoresListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SecureScoresClient) ListPreparer ¶
ListPreparer prepares the List request.
func (SecureScoresClient) ListResponder ¶
func (client SecureScoresClient) ListResponder(resp *http.Response) (result SecureScoresList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SecureScoresClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type SecureScoresList ¶
type SecureScoresList struct { autorest.Response `json:"-"` // Value - READ-ONLY; Collection of secure scores in this page Value *[]SecureScoreItem `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
SecureScoresList list of secure scores
func (SecureScoresList) IsEmpty ¶
func (ssl SecureScoresList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SecureScoresListIterator ¶
type SecureScoresListIterator struct {
// contains filtered or unexported fields
}
SecureScoresListIterator provides access to a complete listing of SecureScoreItem values.
func NewSecureScoresListIterator ¶
func NewSecureScoresListIterator(page SecureScoresListPage) SecureScoresListIterator
Creates a new instance of the SecureScoresListIterator type.
func (*SecureScoresListIterator) Next ¶
func (iter *SecureScoresListIterator) 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 (*SecureScoresListIterator) NextWithContext ¶
func (iter *SecureScoresListIterator) 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 (SecureScoresListIterator) NotDone ¶
func (iter SecureScoresListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SecureScoresListIterator) Response ¶
func (iter SecureScoresListIterator) Response() SecureScoresList
Response returns the raw server response from the last page request.
func (SecureScoresListIterator) Value ¶
func (iter SecureScoresListIterator) Value() SecureScoreItem
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SecureScoresListPage ¶
type SecureScoresListPage struct {
// contains filtered or unexported fields
}
SecureScoresListPage contains a page of SecureScoreItem values.
func NewSecureScoresListPage ¶
func NewSecureScoresListPage(getNextPage func(context.Context, SecureScoresList) (SecureScoresList, error)) SecureScoresListPage
Creates a new instance of the SecureScoresListPage type.
func (*SecureScoresListPage) Next ¶
func (page *SecureScoresListPage) 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 (*SecureScoresListPage) NextWithContext ¶
func (page *SecureScoresListPage) 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 (SecureScoresListPage) NotDone ¶
func (page SecureScoresListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SecureScoresListPage) Response ¶
func (page SecureScoresListPage) Response() SecureScoresList
Response returns the raw server response from the last page request.
func (SecureScoresListPage) Values ¶
func (page SecureScoresListPage) Values() []SecureScoreItem
Values returns the slice of values for the current page or nil if there are no values.
type SensitivityLabel ¶
type SensitivityLabel struct { // DisplayName - The name of the sensitivity label. DisplayName *string `json:"displayName,omitempty"` // Description - The description of the sensitivity label. Description *string `json:"description,omitempty"` // Rank - The rank of the sensitivity label. Possible values include: 'RankNone', 'RankLow', 'RankMedium', 'RankHigh', 'RankCritical' Rank Rank `json:"rank,omitempty"` // Order - The order of the sensitivity label. Order *int32 `json:"order,omitempty"` // Enabled - Indicates whether the label is enabled or not. Enabled *bool `json:"enabled,omitempty"` }
SensitivityLabel the sensitivity label.
type ServerVulnerabilityProperties ¶
type ServerVulnerabilityProperties struct { // Type - READ-ONLY; Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered Type *string `json:"type,omitempty"` // Cvss - READ-ONLY; Dictionary from cvss version to cvss details object Cvss map[string]*CVSS `json:"cvss"` // Patchable - READ-ONLY; Indicates whether a patch is available or not Patchable *bool `json:"patchable,omitempty"` // Cve - READ-ONLY; List of CVEs Cve *[]CVE `json:"cve,omitempty"` // Threat - READ-ONLY; Threat name Threat *string `json:"threat,omitempty"` // PublishedTime - READ-ONLY; Published time PublishedTime *date.Time `json:"publishedTime,omitempty"` // VendorReferences - READ-ONLY VendorReferences *[]VendorReference `json:"vendorReferences,omitempty"` // AssessedResourceType - Possible values include: 'AssessedResourceTypeAdditionalData', 'AssessedResourceTypeSQLServerVulnerability', 'AssessedResourceTypeContainerRegistryVulnerability', 'AssessedResourceTypeServerVulnerabilityAssessment' AssessedResourceType AssessedResourceType `json:"assessedResourceType,omitempty"` }
ServerVulnerabilityProperties additional context fields for server vulnerability assessment
func (ServerVulnerabilityProperties) AsAdditionalData ¶
func (svp ServerVulnerabilityProperties) AsAdditionalData() (*AdditionalData, bool)
AsAdditionalData is the BasicAdditionalData implementation for ServerVulnerabilityProperties.
func (ServerVulnerabilityProperties) AsBasicAdditionalData ¶
func (svp ServerVulnerabilityProperties) AsBasicAdditionalData() (BasicAdditionalData, bool)
AsBasicAdditionalData is the BasicAdditionalData implementation for ServerVulnerabilityProperties.
func (ServerVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties ¶
func (svp ServerVulnerabilityProperties) AsContainerRegistryVulnerabilityProperties() (*ContainerRegistryVulnerabilityProperties, bool)
AsContainerRegistryVulnerabilityProperties is the BasicAdditionalData implementation for ServerVulnerabilityProperties.
func (ServerVulnerabilityProperties) AsSQLServerVulnerabilityProperties ¶
func (svp ServerVulnerabilityProperties) AsSQLServerVulnerabilityProperties() (*SQLServerVulnerabilityProperties, bool)
AsSQLServerVulnerabilityProperties is the BasicAdditionalData implementation for ServerVulnerabilityProperties.
func (ServerVulnerabilityProperties) AsServerVulnerabilityProperties ¶
func (svp ServerVulnerabilityProperties) AsServerVulnerabilityProperties() (*ServerVulnerabilityProperties, bool)
AsServerVulnerabilityProperties is the BasicAdditionalData implementation for ServerVulnerabilityProperties.
func (ServerVulnerabilityProperties) MarshalJSON ¶
func (svp ServerVulnerabilityProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerVulnerabilityProperties.
type ServicePrincipalProperties ¶
type ServicePrincipalProperties struct { // ApplicationID - Application id of service principal. ApplicationID *string `json:"applicationId,omitempty"` // Secret - A secret string that the application uses to prove its identity, also can be referred to as application password (write only). Secret *string `json:"secret,omitempty"` }
ServicePrincipalProperties details of the service principal.
type Setting ¶
type Setting struct { autorest.Response `json:"-"` // Kind - the kind of the settings string (DataExportSetting). Possible values include: 'SettingKindDataExportSetting', 'SettingKindAlertSuppressionSetting' Kind SettingKind `json:"kind,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` }
Setting represents a security setting in Azure Security Center.
func (Setting) MarshalJSON ¶
MarshalJSON is the custom marshaler for Setting.
type SettingKind ¶
type SettingKind string
SettingKind enumerates the values for setting kind.
const ( // SettingKindAlertSuppressionSetting ... SettingKindAlertSuppressionSetting SettingKind = "AlertSuppressionSetting" // SettingKindDataExportSetting ... SettingKindDataExportSetting SettingKind = "DataExportSetting" )
func PossibleSettingKindValues ¶
func PossibleSettingKindValues() []SettingKind
PossibleSettingKindValues returns an array of possible values for the SettingKind const type.
type SettingResource ¶
type SettingResource struct { // Kind - the kind of the settings string (DataExportSetting). Possible values include: 'SettingKindDataExportSetting', 'SettingKindAlertSuppressionSetting' Kind SettingKind `json:"kind,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` }
SettingResource the kind of the security setting
func (SettingResource) MarshalJSON ¶
func (sr SettingResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SettingResource.
type SettingsClient ¶
type SettingsClient struct {
BaseClient
}
SettingsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewSettingsClient ¶
func NewSettingsClient(subscriptionID string, ascLocation string) SettingsClient
NewSettingsClient creates an instance of the SettingsClient client.
func NewSettingsClientWithBaseURI ¶
func NewSettingsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) SettingsClient
NewSettingsClientWithBaseURI creates an instance of the SettingsClient 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 (SettingsClient) Get ¶
func (client SettingsClient) Get(ctx context.Context, settingName string) (result Setting, err error)
Get settings of different configurations in security center Parameters: settingName - name of setting: (MCAS/WDATP)
func (SettingsClient) GetPreparer ¶
func (client SettingsClient) GetPreparer(ctx context.Context, settingName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SettingsClient) GetResponder ¶
func (client SettingsClient) GetResponder(resp *http.Response) (result Setting, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SettingsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SettingsClient) List ¶
func (client SettingsClient) List(ctx context.Context) (result SettingsListPage, err error)
List settings about different configurations in security center
func (SettingsClient) ListComplete ¶
func (client SettingsClient) ListComplete(ctx context.Context) (result SettingsListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SettingsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (SettingsClient) ListResponder ¶
func (client SettingsClient) ListResponder(resp *http.Response) (result SettingsList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SettingsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (SettingsClient) Update ¶
func (client SettingsClient) Update(ctx context.Context, settingName string, setting Setting) (result Setting, err error)
Update updating settings about different configurations in security center Parameters: settingName - name of setting: (MCAS/WDATP) setting - setting object
func (SettingsClient) UpdatePreparer ¶
func (client SettingsClient) UpdatePreparer(ctx context.Context, settingName string, setting Setting) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SettingsClient) UpdateResponder ¶
func (client SettingsClient) UpdateResponder(resp *http.Response) (result Setting, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SettingsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SettingsList ¶
type SettingsList struct { autorest.Response `json:"-"` // Value - The settings list. Value *[]Setting `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
SettingsList subscription settings list.
func (SettingsList) IsEmpty ¶
func (sl SettingsList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (SettingsList) MarshalJSON ¶
func (sl SettingsList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SettingsList.
type SettingsListIterator ¶
type SettingsListIterator struct {
// contains filtered or unexported fields
}
SettingsListIterator provides access to a complete listing of Setting values.
func NewSettingsListIterator ¶
func NewSettingsListIterator(page SettingsListPage) SettingsListIterator
Creates a new instance of the SettingsListIterator type.
func (*SettingsListIterator) Next ¶
func (iter *SettingsListIterator) 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 (*SettingsListIterator) NextWithContext ¶
func (iter *SettingsListIterator) 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 (SettingsListIterator) NotDone ¶
func (iter SettingsListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SettingsListIterator) Response ¶
func (iter SettingsListIterator) Response() SettingsList
Response returns the raw server response from the last page request.
func (SettingsListIterator) Value ¶
func (iter SettingsListIterator) Value() Setting
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SettingsListPage ¶
type SettingsListPage struct {
// contains filtered or unexported fields
}
SettingsListPage contains a page of Setting values.
func NewSettingsListPage ¶
func NewSettingsListPage(getNextPage func(context.Context, SettingsList) (SettingsList, error)) SettingsListPage
Creates a new instance of the SettingsListPage type.
func (*SettingsListPage) Next ¶
func (page *SettingsListPage) 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 (*SettingsListPage) NextWithContext ¶
func (page *SettingsListPage) 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 (SettingsListPage) NotDone ¶
func (page SettingsListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SettingsListPage) Response ¶
func (page SettingsListPage) Response() SettingsList
Response returns the raw server response from the last page request.
func (SettingsListPage) Values ¶
func (page SettingsListPage) Values() []Setting
Values returns the slice of values for the current page or nil if there are no values.
type Severity ¶
type Severity string
Severity enumerates the values for severity.
func PossibleSeverityValues ¶
func PossibleSeverityValues() []Severity
PossibleSeverityValues returns an array of possible values for the Severity const type.
type SolutionStatus ¶
type SolutionStatus string
SolutionStatus enumerates the values for solution status.
const ( // SolutionStatusDisabled ... SolutionStatusDisabled SolutionStatus = "Disabled" // SolutionStatusEnabled ... SolutionStatusEnabled SolutionStatus = "Enabled" )
func PossibleSolutionStatusValues ¶
func PossibleSolutionStatusValues() []SolutionStatus
PossibleSolutionStatusValues returns an array of possible values for the SolutionStatus const type.
type Source ¶
type Source string
Source enumerates the values for source.
func PossibleSourceValues ¶
func PossibleSourceValues() []Source
PossibleSourceValues returns an array of possible values for the Source const type.
type SourceSystem ¶
type SourceSystem string
SourceSystem enumerates the values for source system.
const ( // SourceSystemAzureAppLocker ... SourceSystemAzureAppLocker SourceSystem = "Azure_AppLocker" // SourceSystemAzureAuditD ... SourceSystemAzureAuditD SourceSystem = "Azure_AuditD" // SourceSystemNonAzureAppLocker ... SourceSystemNonAzureAppLocker SourceSystem = "NonAzure_AppLocker" // SourceSystemNonAzureAuditD ... SourceSystemNonAzureAuditD SourceSystem = "NonAzure_AuditD" // SourceSystemNone ... SourceSystemNone SourceSystem = "None" )
func PossibleSourceSystemValues ¶
func PossibleSourceSystemValues() []SourceSystem
PossibleSourceSystemValues returns an array of possible values for the SourceSystem const type.
type State ¶
type State string
State enumerates the values for state.
const ( // StateFailed At least one supported regulatory compliance control in the given standard has a state of // failed StateFailed State = "Failed" // StatePassed All supported regulatory compliance controls in the given standard have a passed state StatePassed State = "Passed" // StateSkipped All supported regulatory compliance controls in the given standard have a state of skipped StateSkipped State = "Skipped" // StateUnsupported No supported regulatory compliance data for the given standard StateUnsupported State = "Unsupported" )
func PossibleStateValues ¶
func PossibleStateValues() []State
PossibleStateValues returns an array of possible values for the State const type.
type Status ¶
type Status string
Status enumerates the values for status.
func PossibleStatusValues ¶
func PossibleStatusValues() []Status
PossibleStatusValues returns an array of possible values for the Status const type.
type StatusReason ¶
type StatusReason string
StatusReason enumerates the values for status reason.
const ( // StatusReasonExpired ... StatusReasonExpired StatusReason = "Expired" // StatusReasonNewerRequestInitiated ... StatusReasonNewerRequestInitiated StatusReason = "NewerRequestInitiated" // StatusReasonUserRequested ... StatusReasonUserRequested StatusReason = "UserRequested" )
func PossibleStatusReasonValues ¶
func PossibleStatusReasonValues() []StatusReason
PossibleStatusReasonValues returns an array of possible values for the StatusReason const type.
type SubAssessment ¶
type SubAssessment struct { autorest.Response `json:"-"` *SubAssessmentProperties `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"` }
SubAssessment security sub-assessment on a resource
func (SubAssessment) MarshalJSON ¶
func (sa SubAssessment) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubAssessment.
func (*SubAssessment) UnmarshalJSON ¶
func (sa *SubAssessment) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SubAssessment struct.
type SubAssessmentList ¶
type SubAssessmentList struct { autorest.Response `json:"-"` // Value - READ-ONLY Value *[]SubAssessment `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
SubAssessmentList list of security sub-assessments
func (SubAssessmentList) IsEmpty ¶
func (sal SubAssessmentList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SubAssessmentListIterator ¶
type SubAssessmentListIterator struct {
// contains filtered or unexported fields
}
SubAssessmentListIterator provides access to a complete listing of SubAssessment values.
func NewSubAssessmentListIterator ¶
func NewSubAssessmentListIterator(page SubAssessmentListPage) SubAssessmentListIterator
Creates a new instance of the SubAssessmentListIterator type.
func (*SubAssessmentListIterator) Next ¶
func (iter *SubAssessmentListIterator) 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 (*SubAssessmentListIterator) NextWithContext ¶
func (iter *SubAssessmentListIterator) 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 (SubAssessmentListIterator) NotDone ¶
func (iter SubAssessmentListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SubAssessmentListIterator) Response ¶
func (iter SubAssessmentListIterator) Response() SubAssessmentList
Response returns the raw server response from the last page request.
func (SubAssessmentListIterator) Value ¶
func (iter SubAssessmentListIterator) Value() SubAssessment
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SubAssessmentListPage ¶
type SubAssessmentListPage struct {
// contains filtered or unexported fields
}
SubAssessmentListPage contains a page of SubAssessment values.
func NewSubAssessmentListPage ¶
func NewSubAssessmentListPage(getNextPage func(context.Context, SubAssessmentList) (SubAssessmentList, error)) SubAssessmentListPage
Creates a new instance of the SubAssessmentListPage type.
func (*SubAssessmentListPage) Next ¶
func (page *SubAssessmentListPage) 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 (*SubAssessmentListPage) NextWithContext ¶
func (page *SubAssessmentListPage) 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 (SubAssessmentListPage) NotDone ¶
func (page SubAssessmentListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SubAssessmentListPage) Response ¶
func (page SubAssessmentListPage) Response() SubAssessmentList
Response returns the raw server response from the last page request.
func (SubAssessmentListPage) Values ¶
func (page SubAssessmentListPage) Values() []SubAssessment
Values returns the slice of values for the current page or nil if there are no values.
type SubAssessmentProperties ¶
type SubAssessmentProperties struct { // ID - READ-ONLY; Vulnerability ID ID *string `json:"id,omitempty"` // DisplayName - READ-ONLY; User friendly display name of the sub-assessment DisplayName *string `json:"displayName,omitempty"` Status *SubAssessmentStatus `json:"status,omitempty"` // Remediation - READ-ONLY; Information on how to remediate this sub-assessment Remediation *string `json:"remediation,omitempty"` // Impact - READ-ONLY; Description of the impact of this sub-assessment Impact *string `json:"impact,omitempty"` // Category - READ-ONLY; Category of the sub-assessment Category *string `json:"category,omitempty"` // Description - READ-ONLY; Human readable description of the assessment status Description *string `json:"description,omitempty"` // TimeGenerated - READ-ONLY; The date and time the sub-assessment was generated TimeGenerated *date.Time `json:"timeGenerated,omitempty"` ResourceDetails BasicResourceDetails `json:"resourceDetails,omitempty"` AdditionalData BasicAdditionalData `json:"additionalData,omitempty"` }
SubAssessmentProperties describes properties of an sub-assessment.
func (SubAssessmentProperties) MarshalJSON ¶
func (sap SubAssessmentProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubAssessmentProperties.
func (*SubAssessmentProperties) UnmarshalJSON ¶
func (sap *SubAssessmentProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SubAssessmentProperties struct.
type SubAssessmentStatus ¶
type SubAssessmentStatus struct { // Code - READ-ONLY; Programmatic code for the status of the assessment. Possible values include: 'Healthy', 'Unhealthy', 'NotApplicable' Code SubAssessmentStatusCode `json:"code,omitempty"` // Cause - READ-ONLY; Programmatic code for the cause of the assessment status Cause *string `json:"cause,omitempty"` // Description - READ-ONLY; Human readable description of the assessment status Description *string `json:"description,omitempty"` // Severity - READ-ONLY; The sub-assessment severity level. Possible values include: 'SeverityLow', 'SeverityMedium', 'SeverityHigh' Severity Severity `json:"severity,omitempty"` }
SubAssessmentStatus status of the sub-assessment
type SubAssessmentStatusCode ¶
type SubAssessmentStatusCode string
SubAssessmentStatusCode enumerates the values for sub assessment status code.
const ( // Healthy The resource is healthy Healthy SubAssessmentStatusCode = "Healthy" // NotApplicable Assessment for this resource did not happen NotApplicable SubAssessmentStatusCode = "NotApplicable" // Unhealthy The resource has a security issue that needs to be addressed Unhealthy SubAssessmentStatusCode = "Unhealthy" )
func PossibleSubAssessmentStatusCodeValues ¶
func PossibleSubAssessmentStatusCodeValues() []SubAssessmentStatusCode
PossibleSubAssessmentStatusCodeValues returns an array of possible values for the SubAssessmentStatusCode const type.
type SubAssessmentsClient ¶
type SubAssessmentsClient struct {
BaseClient
}
SubAssessmentsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewSubAssessmentsClient ¶
func NewSubAssessmentsClient(subscriptionID string, ascLocation string) SubAssessmentsClient
NewSubAssessmentsClient creates an instance of the SubAssessmentsClient client.
func NewSubAssessmentsClientWithBaseURI ¶
func NewSubAssessmentsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) SubAssessmentsClient
NewSubAssessmentsClientWithBaseURI creates an instance of the SubAssessmentsClient 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 (SubAssessmentsClient) Get ¶
func (client SubAssessmentsClient) Get(ctx context.Context, scope string, assessmentName string, subAssessmentName string) (result SubAssessment, err error)
Get get a security sub-assessment on your scanned resource Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). assessmentName - the Assessment Key - Unique key for the assessment type subAssessmentName - the Sub-Assessment Key - Unique key for the sub-assessment type
func (SubAssessmentsClient) GetPreparer ¶
func (client SubAssessmentsClient) GetPreparer(ctx context.Context, scope string, assessmentName string, subAssessmentName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SubAssessmentsClient) GetResponder ¶
func (client SubAssessmentsClient) GetResponder(resp *http.Response) (result SubAssessment, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SubAssessmentsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SubAssessmentsClient) List ¶
func (client SubAssessmentsClient) List(ctx context.Context, scope string, assessmentName string) (result SubAssessmentListPage, err error)
List get security sub-assessments on all your scanned resources inside a scope Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName). assessmentName - the Assessment Key - Unique key for the assessment type
func (SubAssessmentsClient) ListAll ¶
func (client SubAssessmentsClient) ListAll(ctx context.Context, scope string) (result SubAssessmentListPage, err error)
ListAll get security sub-assessments on all your scanned resources inside a subscription scope Parameters: scope - scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
func (SubAssessmentsClient) ListAllComplete ¶
func (client SubAssessmentsClient) ListAllComplete(ctx context.Context, scope string) (result SubAssessmentListIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (SubAssessmentsClient) ListAllPreparer ¶
func (client SubAssessmentsClient) ListAllPreparer(ctx context.Context, scope string) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (SubAssessmentsClient) ListAllResponder ¶
func (client SubAssessmentsClient) ListAllResponder(resp *http.Response) (result SubAssessmentList, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (SubAssessmentsClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (SubAssessmentsClient) ListComplete ¶
func (client SubAssessmentsClient) ListComplete(ctx context.Context, scope string, assessmentName string) (result SubAssessmentListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SubAssessmentsClient) ListPreparer ¶
func (client SubAssessmentsClient) ListPreparer(ctx context.Context, scope string, assessmentName string) (*http.Request, error)
ListPreparer prepares the List request.
func (SubAssessmentsClient) ListResponder ¶
func (client SubAssessmentsClient) ListResponder(resp *http.Response) (result SubAssessmentList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SubAssessmentsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type SuppressionAlertsScope ¶
type SuppressionAlertsScope struct { // AllOf - All the conditions inside need to be true in order to suppress the alert AllOf *[]ScopeElement `json:"allOf,omitempty"` }
SuppressionAlertsScope ...
type Tags ¶
type Tags struct { // Tags - A list of key value pairs that describe the resource. Tags map[string]*string `json:"tags"` }
Tags a list of key value pairs that describe the resource.
func (Tags) MarshalJSON ¶
MarshalJSON is the custom marshaler for Tags.
type TagsResource ¶
TagsResource a container holding only the Tags for a resource, allowing the user to update the tags.
func (TagsResource) MarshalJSON ¶
func (tr TagsResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TagsResource.
type Task ¶
type Task struct { autorest.Response `json:"-"` *TaskProperties `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"` }
Task security task that we recommend to do in order to strengthen security
func (Task) MarshalJSON ¶
MarshalJSON is the custom marshaler for Task.
func (*Task) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Task struct.
type TaskList ¶
type TaskList struct { autorest.Response `json:"-"` // Value - READ-ONLY Value *[]Task `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
TaskList list of security task recommendations
type TaskListIterator ¶
type TaskListIterator struct {
// contains filtered or unexported fields
}
TaskListIterator provides access to a complete listing of Task values.
func NewTaskListIterator ¶
func NewTaskListIterator(page TaskListPage) TaskListIterator
Creates a new instance of the TaskListIterator type.
func (*TaskListIterator) Next ¶
func (iter *TaskListIterator) 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 (*TaskListIterator) NextWithContext ¶
func (iter *TaskListIterator) 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 (TaskListIterator) NotDone ¶
func (iter TaskListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (TaskListIterator) Response ¶
func (iter TaskListIterator) Response() TaskList
Response returns the raw server response from the last page request.
func (TaskListIterator) Value ¶
func (iter TaskListIterator) Value() Task
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type TaskListPage ¶
type TaskListPage struct {
// contains filtered or unexported fields
}
TaskListPage contains a page of Task values.
func NewTaskListPage ¶
Creates a new instance of the TaskListPage type.
func (*TaskListPage) Next ¶
func (page *TaskListPage) 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 (*TaskListPage) NextWithContext ¶
func (page *TaskListPage) 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 (TaskListPage) NotDone ¶
func (page TaskListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (TaskListPage) Response ¶
func (page TaskListPage) Response() TaskList
Response returns the raw server response from the last page request.
func (TaskListPage) Values ¶
func (page TaskListPage) Values() []Task
Values returns the slice of values for the current page or nil if there are no values.
type TaskParameters ¶
type TaskParameters struct { // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // Name - READ-ONLY; Name of the task type Name *string `json:"name,omitempty"` }
TaskParameters changing set of properties, depending on the task type that is derived from the name field
func (TaskParameters) MarshalJSON ¶
func (tp TaskParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TaskParameters.
func (*TaskParameters) UnmarshalJSON ¶
func (tp *TaskParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TaskParameters struct.
type TaskProperties ¶
type TaskProperties struct { // State - READ-ONLY; State of the task (Active, Resolved etc.) State *string `json:"state,omitempty"` // CreationTimeUtc - READ-ONLY; The time this task was discovered in UTC CreationTimeUtc *date.Time `json:"creationTimeUtc,omitempty"` SecurityTaskParameters *TaskParameters `json:"securityTaskParameters,omitempty"` // LastStateChangeTimeUtc - READ-ONLY; The time this task's details were last changed in UTC LastStateChangeTimeUtc *date.Time `json:"lastStateChangeTimeUtc,omitempty"` // SubState - READ-ONLY; Additional data on the state of the task SubState *string `json:"subState,omitempty"` }
TaskProperties describes properties of a task.
func (TaskProperties) MarshalJSON ¶
func (tp TaskProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TaskProperties.
type TasksClient ¶
type TasksClient struct {
BaseClient
}
TasksClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewTasksClient ¶
func NewTasksClient(subscriptionID string, ascLocation string) TasksClient
NewTasksClient creates an instance of the TasksClient client.
func NewTasksClientWithBaseURI ¶
func NewTasksClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) TasksClient
NewTasksClientWithBaseURI creates an instance of the TasksClient 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 (TasksClient) GetResourceGroupLevelTask ¶
func (client TasksClient) GetResourceGroupLevelTask(ctx context.Context, resourceGroupName string, taskName string) (result Task, err error)
GetResourceGroupLevelTask recommended tasks that will help improve the security of the subscription proactively Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. taskName - name of the task object, will be a GUID
func (TasksClient) GetResourceGroupLevelTaskPreparer ¶
func (client TasksClient) GetResourceGroupLevelTaskPreparer(ctx context.Context, resourceGroupName string, taskName string) (*http.Request, error)
GetResourceGroupLevelTaskPreparer prepares the GetResourceGroupLevelTask request.
func (TasksClient) GetResourceGroupLevelTaskResponder ¶
func (client TasksClient) GetResourceGroupLevelTaskResponder(resp *http.Response) (result Task, err error)
GetResourceGroupLevelTaskResponder handles the response to the GetResourceGroupLevelTask request. The method always closes the http.Response Body.
func (TasksClient) GetResourceGroupLevelTaskSender ¶
func (client TasksClient) GetResourceGroupLevelTaskSender(req *http.Request) (*http.Response, error)
GetResourceGroupLevelTaskSender sends the GetResourceGroupLevelTask request. The method will close the http.Response Body if it receives an error.
func (TasksClient) GetSubscriptionLevelTask ¶
func (client TasksClient) GetSubscriptionLevelTask(ctx context.Context, taskName string) (result Task, err error)
GetSubscriptionLevelTask recommended tasks that will help improve the security of the subscription proactively Parameters: taskName - name of the task object, will be a GUID
func (TasksClient) GetSubscriptionLevelTaskPreparer ¶
func (client TasksClient) GetSubscriptionLevelTaskPreparer(ctx context.Context, taskName string) (*http.Request, error)
GetSubscriptionLevelTaskPreparer prepares the GetSubscriptionLevelTask request.
func (TasksClient) GetSubscriptionLevelTaskResponder ¶
func (client TasksClient) GetSubscriptionLevelTaskResponder(resp *http.Response) (result Task, err error)
GetSubscriptionLevelTaskResponder handles the response to the GetSubscriptionLevelTask request. The method always closes the http.Response Body.
func (TasksClient) GetSubscriptionLevelTaskSender ¶
GetSubscriptionLevelTaskSender sends the GetSubscriptionLevelTask request. The method will close the http.Response Body if it receives an error.
func (TasksClient) List ¶
func (client TasksClient) List(ctx context.Context, filter string) (result TaskListPage, err error)
List recommended tasks that will help improve the security of the subscription proactively Parameters: filter - oData filter. Optional.
func (TasksClient) ListByHomeRegion ¶
func (client TasksClient) ListByHomeRegion(ctx context.Context, filter string) (result TaskListPage, err error)
ListByHomeRegion recommended tasks that will help improve the security of the subscription proactively Parameters: filter - oData filter. Optional.
func (TasksClient) ListByHomeRegionComplete ¶
func (client TasksClient) ListByHomeRegionComplete(ctx context.Context, filter string) (result TaskListIterator, err error)
ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.
func (TasksClient) ListByHomeRegionPreparer ¶
func (client TasksClient) ListByHomeRegionPreparer(ctx context.Context, filter string) (*http.Request, error)
ListByHomeRegionPreparer prepares the ListByHomeRegion request.
func (TasksClient) ListByHomeRegionResponder ¶
func (client TasksClient) ListByHomeRegionResponder(resp *http.Response) (result TaskList, err error)
ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.
func (TasksClient) ListByHomeRegionSender ¶
ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.
func (TasksClient) ListByResourceGroup ¶
func (client TasksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result TaskListPage, err error)
ListByResourceGroup recommended tasks that will help improve the security of the subscription proactively Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. filter - oData filter. Optional.
func (TasksClient) ListByResourceGroupComplete ¶
func (client TasksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string) (result TaskListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (TasksClient) ListByResourceGroupPreparer ¶
func (client TasksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (TasksClient) ListByResourceGroupResponder ¶
func (client TasksClient) ListByResourceGroupResponder(resp *http.Response) (result TaskList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (TasksClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (TasksClient) ListComplete ¶
func (client TasksClient) ListComplete(ctx context.Context, filter string) (result TaskListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (TasksClient) ListPreparer ¶
ListPreparer prepares the List request.
func (TasksClient) ListResponder ¶
func (client TasksClient) ListResponder(resp *http.Response) (result TaskList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (TasksClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (TasksClient) UpdateResourceGroupLevelTaskState ¶
func (client TasksClient) UpdateResourceGroupLevelTaskState(ctx context.Context, resourceGroupName string, taskName string, taskUpdateActionType string) (result autorest.Response, err error)
UpdateResourceGroupLevelTaskState recommended tasks that will help improve the security of the subscription proactively Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. taskName - name of the task object, will be a GUID taskUpdateActionType - type of the action to do on the task
func (TasksClient) UpdateResourceGroupLevelTaskStatePreparer ¶
func (client TasksClient) UpdateResourceGroupLevelTaskStatePreparer(ctx context.Context, resourceGroupName string, taskName string, taskUpdateActionType string) (*http.Request, error)
UpdateResourceGroupLevelTaskStatePreparer prepares the UpdateResourceGroupLevelTaskState request.
func (TasksClient) UpdateResourceGroupLevelTaskStateResponder ¶
func (client TasksClient) UpdateResourceGroupLevelTaskStateResponder(resp *http.Response) (result autorest.Response, err error)
UpdateResourceGroupLevelTaskStateResponder handles the response to the UpdateResourceGroupLevelTaskState request. The method always closes the http.Response Body.
func (TasksClient) UpdateResourceGroupLevelTaskStateSender ¶
func (client TasksClient) UpdateResourceGroupLevelTaskStateSender(req *http.Request) (*http.Response, error)
UpdateResourceGroupLevelTaskStateSender sends the UpdateResourceGroupLevelTaskState request. The method will close the http.Response Body if it receives an error.
func (TasksClient) UpdateSubscriptionLevelTaskState ¶
func (client TasksClient) UpdateSubscriptionLevelTaskState(ctx context.Context, taskName string, taskUpdateActionType string) (result autorest.Response, err error)
UpdateSubscriptionLevelTaskState recommended tasks that will help improve the security of the subscription proactively Parameters: taskName - name of the task object, will be a GUID taskUpdateActionType - type of the action to do on the task
func (TasksClient) UpdateSubscriptionLevelTaskStatePreparer ¶
func (client TasksClient) UpdateSubscriptionLevelTaskStatePreparer(ctx context.Context, taskName string, taskUpdateActionType string) (*http.Request, error)
UpdateSubscriptionLevelTaskStatePreparer prepares the UpdateSubscriptionLevelTaskState request.
func (TasksClient) UpdateSubscriptionLevelTaskStateResponder ¶
func (client TasksClient) UpdateSubscriptionLevelTaskStateResponder(resp *http.Response) (result autorest.Response, err error)
UpdateSubscriptionLevelTaskStateResponder handles the response to the UpdateSubscriptionLevelTaskState request. The method always closes the http.Response Body.
func (TasksClient) UpdateSubscriptionLevelTaskStateSender ¶
func (client TasksClient) UpdateSubscriptionLevelTaskStateSender(req *http.Request) (*http.Response, error)
UpdateSubscriptionLevelTaskStateSender sends the UpdateSubscriptionLevelTaskState request. The method will close the http.Response Body if it receives an error.
type ThresholdCustomAlertRule ¶
type ThresholdCustomAlertRule struct { // 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 - Whether the custom alert is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` // RuleType - The type of the custom alert rule. RuleType *string `json:"ruleType,omitempty"` }
ThresholdCustomAlertRule a custom alert rule that checks if a value (depends on the custom alert type) is within the given range.
func (ThresholdCustomAlertRule) MarshalJSON ¶
func (tcar ThresholdCustomAlertRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ThresholdCustomAlertRule.
type TimeWindowCustomAlertRule ¶
type TimeWindowCustomAlertRule struct { // 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 - Whether the custom alert is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` // RuleType - The type of the custom alert rule. RuleType *string `json:"ruleType,omitempty"` // MinThreshold - The minimum threshold. MinThreshold *int32 `json:"minThreshold,omitempty"` // MaxThreshold - The maximum threshold. MaxThreshold *int32 `json:"maxThreshold,omitempty"` // TimeWindowSize - The time window size in iso8601 format. TimeWindowSize *string `json:"timeWindowSize,omitempty"` }
TimeWindowCustomAlertRule a custom alert rule that checks if the number of activities (depends on the custom alert type) in a time window is within the given range.
func (TimeWindowCustomAlertRule) MarshalJSON ¶
func (twcar TimeWindowCustomAlertRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TimeWindowCustomAlertRule.
type TopologyClient ¶
type TopologyClient struct {
BaseClient
}
TopologyClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewTopologyClient ¶
func NewTopologyClient(subscriptionID string, ascLocation string) TopologyClient
NewTopologyClient creates an instance of the TopologyClient client.
func NewTopologyClientWithBaseURI ¶
func NewTopologyClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) TopologyClient
NewTopologyClientWithBaseURI creates an instance of the TopologyClient 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 (TopologyClient) Get ¶
func (client TopologyClient) Get(ctx context.Context, resourceGroupName string, topologyResourceName string) (result TopologyResource, err error)
Get gets a specific topology component. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. topologyResourceName - name of a topology resources collection.
func (TopologyClient) GetPreparer ¶
func (client TopologyClient) GetPreparer(ctx context.Context, resourceGroupName string, topologyResourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (TopologyClient) GetResponder ¶
func (client TopologyClient) GetResponder(resp *http.Response) (result TopologyResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (TopologyClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (TopologyClient) List ¶
func (client TopologyClient) List(ctx context.Context) (result TopologyListPage, err error)
List gets a list that allows to build a topology view of a subscription.
func (TopologyClient) ListByHomeRegion ¶
func (client TopologyClient) ListByHomeRegion(ctx context.Context) (result TopologyListPage, err error)
ListByHomeRegion gets a list that allows to build a topology view of a subscription and location.
func (TopologyClient) ListByHomeRegionComplete ¶
func (client TopologyClient) ListByHomeRegionComplete(ctx context.Context) (result TopologyListIterator, err error)
ListByHomeRegionComplete enumerates all values, automatically crossing page boundaries as required.
func (TopologyClient) ListByHomeRegionPreparer ¶
ListByHomeRegionPreparer prepares the ListByHomeRegion request.
func (TopologyClient) ListByHomeRegionResponder ¶
func (client TopologyClient) ListByHomeRegionResponder(resp *http.Response) (result TopologyList, err error)
ListByHomeRegionResponder handles the response to the ListByHomeRegion request. The method always closes the http.Response Body.
func (TopologyClient) ListByHomeRegionSender ¶
ListByHomeRegionSender sends the ListByHomeRegion request. The method will close the http.Response Body if it receives an error.
func (TopologyClient) ListComplete ¶
func (client TopologyClient) ListComplete(ctx context.Context) (result TopologyListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (TopologyClient) ListPreparer ¶
ListPreparer prepares the List request.
func (TopologyClient) ListResponder ¶
func (client TopologyClient) ListResponder(resp *http.Response) (result TopologyList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (TopologyClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type TopologyList ¶
type TopologyList struct { autorest.Response `json:"-"` // Value - READ-ONLY Value *[]TopologyResource `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
TopologyList ...
func (TopologyList) IsEmpty ¶
func (tl TopologyList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type TopologyListIterator ¶
type TopologyListIterator struct {
// contains filtered or unexported fields
}
TopologyListIterator provides access to a complete listing of TopologyResource values.
func NewTopologyListIterator ¶
func NewTopologyListIterator(page TopologyListPage) TopologyListIterator
Creates a new instance of the TopologyListIterator type.
func (*TopologyListIterator) Next ¶
func (iter *TopologyListIterator) 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 (*TopologyListIterator) NextWithContext ¶
func (iter *TopologyListIterator) 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 (TopologyListIterator) NotDone ¶
func (iter TopologyListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (TopologyListIterator) Response ¶
func (iter TopologyListIterator) Response() TopologyList
Response returns the raw server response from the last page request.
func (TopologyListIterator) Value ¶
func (iter TopologyListIterator) Value() TopologyResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type TopologyListPage ¶
type TopologyListPage struct {
// contains filtered or unexported fields
}
TopologyListPage contains a page of TopologyResource values.
func NewTopologyListPage ¶
func NewTopologyListPage(getNextPage func(context.Context, TopologyList) (TopologyList, error)) TopologyListPage
Creates a new instance of the TopologyListPage type.
func (*TopologyListPage) Next ¶
func (page *TopologyListPage) 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 (*TopologyListPage) NextWithContext ¶
func (page *TopologyListPage) 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 (TopologyListPage) NotDone ¶
func (page TopologyListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (TopologyListPage) Response ¶
func (page TopologyListPage) Response() TopologyList
Response returns the raw server response from the last page request.
func (TopologyListPage) Values ¶
func (page TopologyListPage) Values() []TopologyResource
Values returns the slice of values for the current page or nil if there are no values.
type TopologyResource ¶
type TopologyResource 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"` // TopologyResourceProperties - READ-ONLY *TopologyResourceProperties `json:"properties,omitempty"` }
TopologyResource ...
func (TopologyResource) MarshalJSON ¶
func (tr TopologyResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TopologyResource.
func (*TopologyResource) UnmarshalJSON ¶
func (tr *TopologyResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TopologyResource struct.
type TopologyResourceProperties ¶
type TopologyResourceProperties struct { // CalculatedDateTime - READ-ONLY; The UTC time on which the topology was calculated CalculatedDateTime *date.Time `json:"calculatedDateTime,omitempty"` // TopologyResources - READ-ONLY; Azure resources which are part of this topology resource TopologyResources *[]TopologySingleResource `json:"topologyResources,omitempty"` }
TopologyResourceProperties ...
type TopologySingleResource ¶
type TopologySingleResource struct { // ResourceID - READ-ONLY; Azure resource id ResourceID *string `json:"resourceId,omitempty"` // Severity - READ-ONLY; The security severity of the resource Severity *string `json:"severity,omitempty"` // RecommendationsExist - READ-ONLY; Indicates if the resource has security recommendations RecommendationsExist *bool `json:"recommendationsExist,omitempty"` // NetworkZones - READ-ONLY; Indicates the resource connectivity level to the Internet (InternetFacing, Internal ,etc.) NetworkZones *string `json:"networkZones,omitempty"` // TopologyScore - READ-ONLY; Score of the resource based on its security severity TopologyScore *int32 `json:"topologyScore,omitempty"` // Location - READ-ONLY; The location of this resource Location *string `json:"location,omitempty"` // Parents - READ-ONLY; Azure resources connected to this resource which are in higher level in the topology view Parents *[]TopologySingleResourceParent `json:"parents,omitempty"` // Children - READ-ONLY; Azure resources connected to this resource which are in lower level in the topology view Children *[]TopologySingleResourceChild `json:"children,omitempty"` }
TopologySingleResource ...
type TopologySingleResourceChild ¶
type TopologySingleResourceChild struct { // ResourceID - READ-ONLY; Azure resource id which serves as child resource in topology view ResourceID *string `json:"resourceId,omitempty"` }
TopologySingleResourceChild ...
type TopologySingleResourceParent ¶
type TopologySingleResourceParent struct { // ResourceID - READ-ONLY; Azure resource id which serves as parent resource in topology view ResourceID *string `json:"resourceId,omitempty"` }
TopologySingleResourceParent ...
type TrackedResource ¶
type TrackedResource struct { // 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 - Kind of the resource Kind *string `json:"kind,omitempty"` // Etag - Entity tag is used for comparing two or more entities from the same requested resource. Etag *string `json:"etag,omitempty"` // Tags - A list of key value pairs that describe the resource. Tags map[string]*string `json:"tags"` }
TrackedResource describes an Azure tracked resource.
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type TransportProtocol ¶
type TransportProtocol string
TransportProtocol enumerates the values for transport protocol.
const ( // TransportProtocolTCP ... TransportProtocolTCP TransportProtocol = "TCP" // TransportProtocolUDP ... TransportProtocolUDP TransportProtocol = "UDP" )
func PossibleTransportProtocolValues ¶
func PossibleTransportProtocolValues() []TransportProtocol
PossibleTransportProtocolValues returns an array of possible values for the TransportProtocol const type.
type Type ¶
type Type string
Type enumerates the values for type.
const ( // BinarySignature ... BinarySignature Type = "BinarySignature" // File ... File Type = "File" // FileHash ... FileHash Type = "FileHash" // ProductSignature ... ProductSignature Type = "ProductSignature" // PublisherSignature ... PublisherSignature Type = "PublisherSignature" // VersionAndAboveSignature ... VersionAndAboveSignature Type = "VersionAndAboveSignature" )
func PossibleTypeValues ¶
func PossibleTypeValues() []Type
PossibleTypeValues returns an array of possible values for the Type const type.
type UpdateIotSecuritySolutionData ¶
type UpdateIotSecuritySolutionData struct { UserDefinedResources *UserDefinedResourcesProperties `json:"userDefinedResources,omitempty"` RecommendationsConfiguration *[]RecommendationConfigurationProperties `json:"recommendationsConfiguration,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
UpdateIotSecuritySolutionData ...
func (UpdateIotSecuritySolutionData) MarshalJSON ¶
func (uissd UpdateIotSecuritySolutionData) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateIotSecuritySolutionData.
type UserDefinedResourcesProperties ¶
type UserDefinedResourcesProperties struct { // Query - Azure Resource Graph query which represents the security solution's user defined resources. Required to start with "where type != "Microsoft.Devices/IotHubs"" Query *string `json:"query,omitempty"` // QuerySubscriptions - List of Azure subscription ids on which the user defined resources query should be executed. QuerySubscriptions *[]string `json:"querySubscriptions,omitempty"` }
UserDefinedResourcesProperties properties of the solution's user defined resources.
type UserRecommendation ¶
type UserRecommendation struct { // Username - Represents a user that is recommended to be allowed for a certain rule Username *string `json:"username,omitempty"` // RecommendationAction - Possible values include: 'RecommendationAction1Recommended', 'RecommendationAction1Add', 'RecommendationAction1Remove' RecommendationAction RecommendationAction1 `json:"recommendationAction,omitempty"` }
UserRecommendation represents a user that is recommended to be allowed for a certain rule
type VMRecommendation ¶
type VMRecommendation struct { // ConfigurationStatus - Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' ConfigurationStatus ConfigurationStatus `json:"configurationStatus,omitempty"` // RecommendationAction - Possible values include: 'RecommendationActionRecommended', 'RecommendationActionAdd', 'RecommendationActionRemove' RecommendationAction RecommendationAction `json:"recommendationAction,omitempty"` ResourceID *string `json:"resourceId,omitempty"` // EnforcementSupport - Possible values include: 'Supported', 'NotSupported', 'Unknown' EnforcementSupport EnforcementSupport `json:"enforcementSupport,omitempty"` }
VMRecommendation represents a machine that is part of a VM/server group
type ValueType ¶
type ValueType string
ValueType enumerates the values for value type.
func PossibleValueTypeValues ¶
func PossibleValueTypeValues() []ValueType
PossibleValueTypeValues returns an array of possible values for the ValueType const type.
type VendorReference ¶
type VendorReference struct { // Title - READ-ONLY; Link title Title *string `json:"title,omitempty"` // Link - READ-ONLY; Link url Link *string `json:"link,omitempty"` }
VendorReference vendor reference
type WorkspaceSetting ¶
type WorkspaceSetting struct { autorest.Response `json:"-"` // WorkspaceSettingProperties - Workspace setting data *WorkspaceSettingProperties `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"` }
WorkspaceSetting configures where to store the OMS agent data for workspaces under a scope
func (WorkspaceSetting) MarshalJSON ¶
func (ws WorkspaceSetting) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkspaceSetting.
func (*WorkspaceSetting) UnmarshalJSON ¶
func (ws *WorkspaceSetting) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WorkspaceSetting struct.
type WorkspaceSettingList ¶
type WorkspaceSettingList struct { autorest.Response `json:"-"` // Value - List of workspace settings Value *[]WorkspaceSetting `json:"value,omitempty"` // NextLink - READ-ONLY; The URI to fetch the next page. NextLink *string `json:"nextLink,omitempty"` }
WorkspaceSettingList list of workspace settings response
func (WorkspaceSettingList) IsEmpty ¶
func (wsl WorkspaceSettingList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (WorkspaceSettingList) MarshalJSON ¶
func (wsl WorkspaceSettingList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WorkspaceSettingList.
type WorkspaceSettingListIterator ¶
type WorkspaceSettingListIterator struct {
// contains filtered or unexported fields
}
WorkspaceSettingListIterator provides access to a complete listing of WorkspaceSetting values.
func NewWorkspaceSettingListIterator ¶
func NewWorkspaceSettingListIterator(page WorkspaceSettingListPage) WorkspaceSettingListIterator
Creates a new instance of the WorkspaceSettingListIterator type.
func (*WorkspaceSettingListIterator) Next ¶
func (iter *WorkspaceSettingListIterator) 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 (*WorkspaceSettingListIterator) NextWithContext ¶
func (iter *WorkspaceSettingListIterator) 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 (WorkspaceSettingListIterator) NotDone ¶
func (iter WorkspaceSettingListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (WorkspaceSettingListIterator) Response ¶
func (iter WorkspaceSettingListIterator) Response() WorkspaceSettingList
Response returns the raw server response from the last page request.
func (WorkspaceSettingListIterator) Value ¶
func (iter WorkspaceSettingListIterator) Value() WorkspaceSetting
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type WorkspaceSettingListPage ¶
type WorkspaceSettingListPage struct {
// contains filtered or unexported fields
}
WorkspaceSettingListPage contains a page of WorkspaceSetting values.
func NewWorkspaceSettingListPage ¶
func NewWorkspaceSettingListPage(getNextPage func(context.Context, WorkspaceSettingList) (WorkspaceSettingList, error)) WorkspaceSettingListPage
Creates a new instance of the WorkspaceSettingListPage type.
func (*WorkspaceSettingListPage) Next ¶
func (page *WorkspaceSettingListPage) 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 (*WorkspaceSettingListPage) NextWithContext ¶
func (page *WorkspaceSettingListPage) 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 (WorkspaceSettingListPage) NotDone ¶
func (page WorkspaceSettingListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (WorkspaceSettingListPage) Response ¶
func (page WorkspaceSettingListPage) Response() WorkspaceSettingList
Response returns the raw server response from the last page request.
func (WorkspaceSettingListPage) Values ¶
func (page WorkspaceSettingListPage) Values() []WorkspaceSetting
Values returns the slice of values for the current page or nil if there are no values.
type WorkspaceSettingProperties ¶
type WorkspaceSettingProperties struct { // WorkspaceID - The full Azure ID of the workspace to save the data in WorkspaceID *string `json:"workspaceId,omitempty"` // Scope - All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope Scope *string `json:"scope,omitempty"` }
WorkspaceSettingProperties workspace setting data
type WorkspaceSettingsClient ¶
type WorkspaceSettingsClient struct {
BaseClient
}
WorkspaceSettingsClient is the API spec for Microsoft.Security (Azure Security Center) resource provider
func NewWorkspaceSettingsClient ¶
func NewWorkspaceSettingsClient(subscriptionID string, ascLocation string) WorkspaceSettingsClient
NewWorkspaceSettingsClient creates an instance of the WorkspaceSettingsClient client.
func NewWorkspaceSettingsClientWithBaseURI ¶
func NewWorkspaceSettingsClientWithBaseURI(baseURI string, subscriptionID string, ascLocation string) WorkspaceSettingsClient
NewWorkspaceSettingsClientWithBaseURI creates an instance of the WorkspaceSettingsClient 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 (WorkspaceSettingsClient) Create ¶
func (client WorkspaceSettingsClient) Create(ctx context.Context, workspaceSettingName string, workspaceSetting WorkspaceSetting) (result WorkspaceSetting, err error)
Create creating settings about where we should store your security data and logs Parameters: workspaceSettingName - name of the security setting workspaceSetting - security data setting object
func (WorkspaceSettingsClient) CreatePreparer ¶
func (client WorkspaceSettingsClient) CreatePreparer(ctx context.Context, workspaceSettingName string, workspaceSetting WorkspaceSetting) (*http.Request, error)
CreatePreparer prepares the Create request.
func (WorkspaceSettingsClient) CreateResponder ¶
func (client WorkspaceSettingsClient) CreateResponder(resp *http.Response) (result WorkspaceSetting, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (WorkspaceSettingsClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (WorkspaceSettingsClient) Delete ¶
func (client WorkspaceSettingsClient) Delete(ctx context.Context, workspaceSettingName string) (result autorest.Response, err error)
Delete deletes the custom workspace settings for this subscription. new VMs will report to the default workspace Parameters: workspaceSettingName - name of the security setting
func (WorkspaceSettingsClient) DeletePreparer ¶
func (client WorkspaceSettingsClient) DeletePreparer(ctx context.Context, workspaceSettingName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (WorkspaceSettingsClient) DeleteResponder ¶
func (client WorkspaceSettingsClient) 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 (WorkspaceSettingsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (WorkspaceSettingsClient) Get ¶
func (client WorkspaceSettingsClient) Get(ctx context.Context, workspaceSettingName string) (result WorkspaceSetting, err error)
Get settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set Parameters: workspaceSettingName - name of the security setting
func (WorkspaceSettingsClient) GetPreparer ¶
func (client WorkspaceSettingsClient) GetPreparer(ctx context.Context, workspaceSettingName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (WorkspaceSettingsClient) GetResponder ¶
func (client WorkspaceSettingsClient) GetResponder(resp *http.Response) (result WorkspaceSetting, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (WorkspaceSettingsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (WorkspaceSettingsClient) List ¶
func (client WorkspaceSettingsClient) List(ctx context.Context) (result WorkspaceSettingListPage, err error)
List settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set
func (WorkspaceSettingsClient) ListComplete ¶
func (client WorkspaceSettingsClient) ListComplete(ctx context.Context) (result WorkspaceSettingListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (WorkspaceSettingsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (WorkspaceSettingsClient) ListResponder ¶
func (client WorkspaceSettingsClient) ListResponder(resp *http.Response) (result WorkspaceSettingList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (WorkspaceSettingsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (WorkspaceSettingsClient) Update ¶
func (client WorkspaceSettingsClient) Update(ctx context.Context, workspaceSettingName string, workspaceSetting WorkspaceSetting) (result WorkspaceSetting, err error)
Update settings about where we should store your security data and logs Parameters: workspaceSettingName - name of the security setting workspaceSetting - security data setting object
func (WorkspaceSettingsClient) UpdatePreparer ¶
func (client WorkspaceSettingsClient) UpdatePreparer(ctx context.Context, workspaceSettingName string, workspaceSetting WorkspaceSetting) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (WorkspaceSettingsClient) UpdateResponder ¶
func (client WorkspaceSettingsClient) UpdateResponder(resp *http.Response) (result WorkspaceSetting, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (WorkspaceSettingsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
Source Files ¶
- adaptiveapplicationcontrols.go
- adaptivenetworkhardenings.go
- advancedthreatprotection.go
- alerts.go
- alertssuppressionrules.go
- allowedconnections.go
- automations.go
- autoprovisioningsettings.go
- client.go
- compliances.go
- connectors.go
- contacts.go
- devicesecuritygroups.go
- discoveredsecuritysolutions.go
- enums.go
- externalsecuritysolutions.go
- informationprotectionpolicies.go
- iotsecuritysolution.go
- iotsecuritysolutions.go
- iotsecuritysolutionsanalytics.go
- iotsecuritysolutionsanalyticsaggregatedalert.go
- iotsecuritysolutionsanalyticsaggregatedalerts.go
- iotsecuritysolutionsanalyticsrecommendation.go
- iotsecuritysolutionsanalyticsrecommendations.go
- iotsecuritysolutionsresourcegroup.go
- jitnetworkaccesspolicies.go
- locations.go
- models.go
- operations.go
- pricings.go
- regulatorycomplianceassessments.go
- regulatorycompliancecontrols.go
- regulatorycompliancestandards.go
- securescorecontroldefinitions.go
- securescorecontrols.go
- securescores.go
- settings.go
- subassessments.go
- tasks.go
- topology.go
- version.go
- workspacesettings.go