Documentation ¶
Index ¶
- func PossibleValuesForActionType() []string
- func PossibleValuesForAutomationRuleBooleanConditionSupportedOperator() []string
- func PossibleValuesForAutomationRulePropertyArrayChangedConditionSupportedArrayType() []string
- func PossibleValuesForAutomationRulePropertyArrayChangedConditionSupportedChangeType() []string
- func PossibleValuesForAutomationRulePropertyArrayConditionSupportedArrayConditionType() []string
- func PossibleValuesForAutomationRulePropertyArrayConditionSupportedArrayType() []string
- func PossibleValuesForAutomationRulePropertyChangedConditionSupportedChangedType() []string
- func PossibleValuesForAutomationRulePropertyChangedConditionSupportedPropertyType() []string
- func PossibleValuesForAutomationRulePropertyConditionSupportedOperator() []string
- func PossibleValuesForAutomationRulePropertyConditionSupportedProperty() []string
- func PossibleValuesForConditionType() []string
- func PossibleValuesForIncidentClassification() []string
- func PossibleValuesForIncidentClassificationReason() []string
- func PossibleValuesForIncidentLabelType() []string
- func PossibleValuesForIncidentSeverity() []string
- func PossibleValuesForIncidentStatus() []string
- func PossibleValuesForOwnerType() []string
- func PossibleValuesForTriggersOn() []string
- func PossibleValuesForTriggersWhen() []string
- func ValidateAutomationRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type ActionType
- type AutomationRule
- type AutomationRuleAction
- type AutomationRuleBooleanCondition
- type AutomationRuleBooleanConditionSupportedOperator
- type AutomationRuleCondition
- type AutomationRuleId
- type AutomationRuleModifyPropertiesAction
- type AutomationRuleOperationPredicate
- type AutomationRuleProperties
- func (o *AutomationRuleProperties) GetCreatedTimeUtcAsTime() (*time.Time, error)
- func (o *AutomationRuleProperties) GetLastModifiedTimeUtcAsTime() (*time.Time, error)
- func (o *AutomationRuleProperties) SetCreatedTimeUtcAsTime(input time.Time)
- func (o *AutomationRuleProperties) SetLastModifiedTimeUtcAsTime(input time.Time)
- func (s *AutomationRuleProperties) UnmarshalJSON(bytes []byte) error
- type AutomationRulePropertyArrayChangedConditionSupportedArrayType
- type AutomationRulePropertyArrayChangedConditionSupportedChangeType
- type AutomationRulePropertyArrayChangedValuesCondition
- type AutomationRulePropertyArrayConditionSupportedArrayConditionType
- type AutomationRulePropertyArrayConditionSupportedArrayType
- type AutomationRulePropertyArrayValuesCondition
- type AutomationRulePropertyChangedConditionSupportedChangedType
- type AutomationRulePropertyChangedConditionSupportedPropertyType
- type AutomationRulePropertyConditionSupportedOperator
- type AutomationRulePropertyConditionSupportedProperty
- type AutomationRulePropertyValuesChangedCondition
- type AutomationRulePropertyValuesCondition
- type AutomationRuleRunPlaybookAction
- type AutomationRuleTriggeringLogic
- type AutomationRulesClient
- func (c AutomationRulesClient) CreateOrUpdate(ctx context.Context, id AutomationRuleId, input AutomationRule) (result CreateOrUpdateOperationResponse, err error)
- func (c AutomationRulesClient) Delete(ctx context.Context, id AutomationRuleId) (result DeleteOperationResponse, err error)
- func (c AutomationRulesClient) Get(ctx context.Context, id AutomationRuleId) (result GetOperationResponse, err error)
- func (c AutomationRulesClient) List(ctx context.Context, id WorkspaceId) (result ListOperationResponse, err error)
- func (c AutomationRulesClient) ListComplete(ctx context.Context, id WorkspaceId) (ListCompleteResult, error)
- func (c AutomationRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result ListCompleteResult, err error)
- type BooleanConditionProperties
- type ClientInfo
- type ConditionType
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type IncidentClassification
- type IncidentClassificationReason
- type IncidentLabel
- type IncidentLabelType
- type IncidentOwnerInfo
- type IncidentPropertiesAction
- type IncidentSeverity
- type IncidentStatus
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type OwnerType
- type PlaybookActionProperties
- type PropertyArrayChangedConditionProperties
- type PropertyArrayConditionProperties
- type PropertyChangedConditionProperties
- type PropertyConditionProperties
- type RawAutomationRuleActionImpl
- type RawAutomationRuleConditionImpl
- type TriggersOn
- type TriggersWhen
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForActionType ¶
func PossibleValuesForActionType() []string
func PossibleValuesForAutomationRuleBooleanConditionSupportedOperator ¶
func PossibleValuesForAutomationRuleBooleanConditionSupportedOperator() []string
func PossibleValuesForAutomationRulePropertyArrayChangedConditionSupportedArrayType ¶
func PossibleValuesForAutomationRulePropertyArrayChangedConditionSupportedArrayType() []string
func PossibleValuesForAutomationRulePropertyArrayChangedConditionSupportedChangeType ¶
func PossibleValuesForAutomationRulePropertyArrayChangedConditionSupportedChangeType() []string
func PossibleValuesForAutomationRulePropertyArrayConditionSupportedArrayConditionType ¶
func PossibleValuesForAutomationRulePropertyArrayConditionSupportedArrayConditionType() []string
func PossibleValuesForAutomationRulePropertyArrayConditionSupportedArrayType ¶
func PossibleValuesForAutomationRulePropertyArrayConditionSupportedArrayType() []string
func PossibleValuesForAutomationRulePropertyChangedConditionSupportedChangedType ¶
func PossibleValuesForAutomationRulePropertyChangedConditionSupportedChangedType() []string
func PossibleValuesForAutomationRulePropertyChangedConditionSupportedPropertyType ¶
func PossibleValuesForAutomationRulePropertyChangedConditionSupportedPropertyType() []string
func PossibleValuesForAutomationRulePropertyConditionSupportedOperator ¶
func PossibleValuesForAutomationRulePropertyConditionSupportedOperator() []string
func PossibleValuesForAutomationRulePropertyConditionSupportedProperty ¶
func PossibleValuesForAutomationRulePropertyConditionSupportedProperty() []string
func PossibleValuesForConditionType ¶
func PossibleValuesForConditionType() []string
func PossibleValuesForIncidentClassification ¶
func PossibleValuesForIncidentClassification() []string
func PossibleValuesForIncidentClassificationReason ¶
func PossibleValuesForIncidentClassificationReason() []string
func PossibleValuesForIncidentLabelType ¶
func PossibleValuesForIncidentLabelType() []string
func PossibleValuesForIncidentSeverity ¶
func PossibleValuesForIncidentSeverity() []string
func PossibleValuesForIncidentStatus ¶
func PossibleValuesForIncidentStatus() []string
func PossibleValuesForOwnerType ¶
func PossibleValuesForOwnerType() []string
func PossibleValuesForTriggersOn ¶
func PossibleValuesForTriggersOn() []string
func PossibleValuesForTriggersWhen ¶
func PossibleValuesForTriggersWhen() []string
func ValidateAutomationRuleID ¶
ValidateAutomationRuleID checks that 'input' can be parsed as a Automation Rule ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type ActionType ¶
type ActionType string
const ( ActionTypeModifyProperties ActionType = "ModifyProperties" ActionTypeRunPlaybook ActionType = "RunPlaybook" )
func (*ActionType) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *ActionType) UnmarshalJSON(bytes []byte) error
type AutomationRule ¶
type AutomationRule struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties AutomationRuleProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AutomationRuleAction ¶
type AutomationRuleAction interface { }
type AutomationRuleBooleanCondition ¶
type AutomationRuleBooleanCondition struct { InnerConditions *[]AutomationRuleCondition `json:"innerConditions,omitempty"` Operator *AutomationRuleBooleanConditionSupportedOperator `json:"operator,omitempty"` }
func (*AutomationRuleBooleanCondition) UnmarshalJSON ¶
func (s *AutomationRuleBooleanCondition) UnmarshalJSON(bytes []byte) error
type AutomationRuleBooleanConditionSupportedOperator ¶
type AutomationRuleBooleanConditionSupportedOperator string
const ( AutomationRuleBooleanConditionSupportedOperatorAnd AutomationRuleBooleanConditionSupportedOperator = "And" AutomationRuleBooleanConditionSupportedOperatorOr AutomationRuleBooleanConditionSupportedOperator = "Or" )
func (*AutomationRuleBooleanConditionSupportedOperator) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *AutomationRuleBooleanConditionSupportedOperator) UnmarshalJSON(bytes []byte) error
type AutomationRuleCondition ¶
type AutomationRuleCondition interface { }
type AutomationRuleId ¶
type AutomationRuleId struct { SubscriptionId string ResourceGroupName string WorkspaceName string AutomationRuleId string }
AutomationRuleId is a struct representing the Resource ID for a Automation Rule
func NewAutomationRuleID ¶
func NewAutomationRuleID(subscriptionId string, resourceGroupName string, workspaceName string, automationRuleId string) AutomationRuleId
NewAutomationRuleID returns a new AutomationRuleId struct
func ParseAutomationRuleID ¶
func ParseAutomationRuleID(input string) (*AutomationRuleId, error)
ParseAutomationRuleID parses 'input' into a AutomationRuleId
func ParseAutomationRuleIDInsensitively ¶
func ParseAutomationRuleIDInsensitively(input string) (*AutomationRuleId, error)
ParseAutomationRuleIDInsensitively parses 'input' case-insensitively into a AutomationRuleId note: this method should only be used for API response data and not user input
func (*AutomationRuleId) FromParseResult ¶
func (id *AutomationRuleId) FromParseResult(input resourceids.ParseResult) error
func (AutomationRuleId) ID ¶
func (id AutomationRuleId) ID() string
ID returns the formatted Automation Rule ID
func (AutomationRuleId) Segments ¶
func (id AutomationRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Automation Rule ID
func (AutomationRuleId) String ¶
func (id AutomationRuleId) String() string
String returns a human-readable description of this Automation Rule ID
type AutomationRuleModifyPropertiesAction ¶
type AutomationRuleModifyPropertiesAction struct { ActionConfiguration *IncidentPropertiesAction `json:"actionConfiguration,omitempty"` // Fields inherited from AutomationRuleAction Order int64 `json:"order"` }
func (AutomationRuleModifyPropertiesAction) MarshalJSON ¶
func (s AutomationRuleModifyPropertiesAction) MarshalJSON() ([]byte, error)
type AutomationRuleOperationPredicate ¶
func (AutomationRuleOperationPredicate) Matches ¶
func (p AutomationRuleOperationPredicate) Matches(input AutomationRule) bool
type AutomationRuleProperties ¶
type AutomationRuleProperties struct { Actions []AutomationRuleAction `json:"actions"` CreatedBy *ClientInfo `json:"createdBy,omitempty"` CreatedTimeUtc *string `json:"createdTimeUtc,omitempty"` DisplayName string `json:"displayName"` LastModifiedBy *ClientInfo `json:"lastModifiedBy,omitempty"` LastModifiedTimeUtc *string `json:"lastModifiedTimeUtc,omitempty"` Order int64 `json:"order"` TriggeringLogic AutomationRuleTriggeringLogic `json:"triggeringLogic"` }
func (*AutomationRuleProperties) GetCreatedTimeUtcAsTime ¶
func (o *AutomationRuleProperties) GetCreatedTimeUtcAsTime() (*time.Time, error)
func (*AutomationRuleProperties) GetLastModifiedTimeUtcAsTime ¶
func (o *AutomationRuleProperties) GetLastModifiedTimeUtcAsTime() (*time.Time, error)
func (*AutomationRuleProperties) SetCreatedTimeUtcAsTime ¶
func (o *AutomationRuleProperties) SetCreatedTimeUtcAsTime(input time.Time)
func (*AutomationRuleProperties) SetLastModifiedTimeUtcAsTime ¶
func (o *AutomationRuleProperties) SetLastModifiedTimeUtcAsTime(input time.Time)
func (*AutomationRuleProperties) UnmarshalJSON ¶
func (s *AutomationRuleProperties) UnmarshalJSON(bytes []byte) error
type AutomationRulePropertyArrayChangedConditionSupportedArrayType ¶
type AutomationRulePropertyArrayChangedConditionSupportedArrayType string
const ( AutomationRulePropertyArrayChangedConditionSupportedArrayTypeAlerts AutomationRulePropertyArrayChangedConditionSupportedArrayType = "Alerts" AutomationRulePropertyArrayChangedConditionSupportedArrayTypeComments AutomationRulePropertyArrayChangedConditionSupportedArrayType = "Comments" AutomationRulePropertyArrayChangedConditionSupportedArrayTypeLabels AutomationRulePropertyArrayChangedConditionSupportedArrayType = "Labels" AutomationRulePropertyArrayChangedConditionSupportedArrayTypeTactics AutomationRulePropertyArrayChangedConditionSupportedArrayType = "Tactics" )
func (*AutomationRulePropertyArrayChangedConditionSupportedArrayType) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *AutomationRulePropertyArrayChangedConditionSupportedArrayType) UnmarshalJSON(bytes []byte) error
type AutomationRulePropertyArrayChangedConditionSupportedChangeType ¶
type AutomationRulePropertyArrayChangedConditionSupportedChangeType string
const (
AutomationRulePropertyArrayChangedConditionSupportedChangeTypeAdded AutomationRulePropertyArrayChangedConditionSupportedChangeType = "Added"
)
func (*AutomationRulePropertyArrayChangedConditionSupportedChangeType) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *AutomationRulePropertyArrayChangedConditionSupportedChangeType) UnmarshalJSON(bytes []byte) error
type AutomationRulePropertyArrayChangedValuesCondition ¶
type AutomationRulePropertyArrayChangedValuesCondition struct { ArrayType *AutomationRulePropertyArrayChangedConditionSupportedArrayType `json:"arrayType,omitempty"` ChangeType *AutomationRulePropertyArrayChangedConditionSupportedChangeType `json:"changeType,omitempty"` }
type AutomationRulePropertyArrayConditionSupportedArrayConditionType ¶
type AutomationRulePropertyArrayConditionSupportedArrayConditionType string
const (
AutomationRulePropertyArrayConditionSupportedArrayConditionTypeAnyItem AutomationRulePropertyArrayConditionSupportedArrayConditionType = "AnyItem"
)
func (*AutomationRulePropertyArrayConditionSupportedArrayConditionType) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *AutomationRulePropertyArrayConditionSupportedArrayConditionType) UnmarshalJSON(bytes []byte) error
type AutomationRulePropertyArrayConditionSupportedArrayType ¶
type AutomationRulePropertyArrayConditionSupportedArrayType string
const ( AutomationRulePropertyArrayConditionSupportedArrayTypeCustomDetailValues AutomationRulePropertyArrayConditionSupportedArrayType = "CustomDetailValues" AutomationRulePropertyArrayConditionSupportedArrayTypeCustomDetails AutomationRulePropertyArrayConditionSupportedArrayType = "CustomDetails" )
func (*AutomationRulePropertyArrayConditionSupportedArrayType) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *AutomationRulePropertyArrayConditionSupportedArrayType) UnmarshalJSON(bytes []byte) error
type AutomationRulePropertyArrayValuesCondition ¶
type AutomationRulePropertyArrayValuesCondition struct { ArrayConditionType *AutomationRulePropertyArrayConditionSupportedArrayConditionType `json:"arrayConditionType,omitempty"` ArrayType *AutomationRulePropertyArrayConditionSupportedArrayType `json:"arrayType,omitempty"` ItemConditions *[]AutomationRuleCondition `json:"itemConditions,omitempty"` }
func (*AutomationRulePropertyArrayValuesCondition) UnmarshalJSON ¶
func (s *AutomationRulePropertyArrayValuesCondition) UnmarshalJSON(bytes []byte) error
type AutomationRulePropertyChangedConditionSupportedChangedType ¶
type AutomationRulePropertyChangedConditionSupportedChangedType string
const ( AutomationRulePropertyChangedConditionSupportedChangedTypeChangedFrom AutomationRulePropertyChangedConditionSupportedChangedType = "ChangedFrom" AutomationRulePropertyChangedConditionSupportedChangedTypeChangedTo AutomationRulePropertyChangedConditionSupportedChangedType = "ChangedTo" )
func (*AutomationRulePropertyChangedConditionSupportedChangedType) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *AutomationRulePropertyChangedConditionSupportedChangedType) UnmarshalJSON(bytes []byte) error
type AutomationRulePropertyChangedConditionSupportedPropertyType ¶
type AutomationRulePropertyChangedConditionSupportedPropertyType string
const ( AutomationRulePropertyChangedConditionSupportedPropertyTypeIncidentOwner AutomationRulePropertyChangedConditionSupportedPropertyType = "IncidentOwner" AutomationRulePropertyChangedConditionSupportedPropertyTypeIncidentSeverity AutomationRulePropertyChangedConditionSupportedPropertyType = "IncidentSeverity" AutomationRulePropertyChangedConditionSupportedPropertyTypeIncidentStatus AutomationRulePropertyChangedConditionSupportedPropertyType = "IncidentStatus" )
func (*AutomationRulePropertyChangedConditionSupportedPropertyType) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *AutomationRulePropertyChangedConditionSupportedPropertyType) UnmarshalJSON(bytes []byte) error
type AutomationRulePropertyConditionSupportedOperator ¶
type AutomationRulePropertyConditionSupportedOperator string
const ( AutomationRulePropertyConditionSupportedOperatorContains AutomationRulePropertyConditionSupportedOperator = "Contains" AutomationRulePropertyConditionSupportedOperatorEndsWith AutomationRulePropertyConditionSupportedOperator = "EndsWith" AutomationRulePropertyConditionSupportedOperatorEquals AutomationRulePropertyConditionSupportedOperator = "Equals" AutomationRulePropertyConditionSupportedOperatorNotContains AutomationRulePropertyConditionSupportedOperator = "NotContains" AutomationRulePropertyConditionSupportedOperatorNotEndsWith AutomationRulePropertyConditionSupportedOperator = "NotEndsWith" AutomationRulePropertyConditionSupportedOperatorNotEquals AutomationRulePropertyConditionSupportedOperator = "NotEquals" AutomationRulePropertyConditionSupportedOperatorNotStartsWith AutomationRulePropertyConditionSupportedOperator = "NotStartsWith" AutomationRulePropertyConditionSupportedOperatorStartsWith AutomationRulePropertyConditionSupportedOperator = "StartsWith" )
func (*AutomationRulePropertyConditionSupportedOperator) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *AutomationRulePropertyConditionSupportedOperator) UnmarshalJSON(bytes []byte) error
type AutomationRulePropertyConditionSupportedProperty ¶
type AutomationRulePropertyConditionSupportedProperty string
const ( AutomationRulePropertyConditionSupportedPropertyAccountAadTenantId AutomationRulePropertyConditionSupportedProperty = "AccountAadTenantId" AutomationRulePropertyConditionSupportedPropertyAccountAadUserId AutomationRulePropertyConditionSupportedProperty = "AccountAadUserId" AutomationRulePropertyConditionSupportedPropertyAccountNTDomain AutomationRulePropertyConditionSupportedProperty = "AccountNTDomain" AutomationRulePropertyConditionSupportedPropertyAccountName AutomationRulePropertyConditionSupportedProperty = "AccountName" AutomationRulePropertyConditionSupportedPropertyAccountObjectGuid AutomationRulePropertyConditionSupportedProperty = "AccountObjectGuid" AutomationRulePropertyConditionSupportedPropertyAccountPUID AutomationRulePropertyConditionSupportedProperty = "AccountPUID" AutomationRulePropertyConditionSupportedPropertyAccountSid AutomationRulePropertyConditionSupportedProperty = "AccountSid" AutomationRulePropertyConditionSupportedPropertyAccountUPNSuffix AutomationRulePropertyConditionSupportedProperty = "AccountUPNSuffix" AutomationRulePropertyConditionSupportedPropertyAlertAnalyticRuleIds AutomationRulePropertyConditionSupportedProperty = "AlertAnalyticRuleIds" AutomationRulePropertyConditionSupportedPropertyAlertProductNames AutomationRulePropertyConditionSupportedProperty = "AlertProductNames" AutomationRulePropertyConditionSupportedPropertyAzureResourceResourceId AutomationRulePropertyConditionSupportedProperty = "AzureResourceResourceId" AutomationRulePropertyConditionSupportedPropertyAzureResourceSubscriptionId AutomationRulePropertyConditionSupportedProperty = "AzureResourceSubscriptionId" AutomationRulePropertyConditionSupportedPropertyCloudApplicationAppId AutomationRulePropertyConditionSupportedProperty = "CloudApplicationAppId" AutomationRulePropertyConditionSupportedPropertyCloudApplicationAppName AutomationRulePropertyConditionSupportedProperty = "CloudApplicationAppName" AutomationRulePropertyConditionSupportedPropertyDNSDomainName AutomationRulePropertyConditionSupportedProperty = "DNSDomainName" AutomationRulePropertyConditionSupportedPropertyFileDirectory AutomationRulePropertyConditionSupportedProperty = "FileDirectory" AutomationRulePropertyConditionSupportedPropertyFileHashValue AutomationRulePropertyConditionSupportedProperty = "FileHashValue" AutomationRulePropertyConditionSupportedPropertyFileName AutomationRulePropertyConditionSupportedProperty = "FileName" AutomationRulePropertyConditionSupportedPropertyHostAzureID AutomationRulePropertyConditionSupportedProperty = "HostAzureID" AutomationRulePropertyConditionSupportedPropertyHostNTDomain AutomationRulePropertyConditionSupportedProperty = "HostNTDomain" AutomationRulePropertyConditionSupportedPropertyHostName AutomationRulePropertyConditionSupportedProperty = "HostName" AutomationRulePropertyConditionSupportedPropertyHostNetBiosName AutomationRulePropertyConditionSupportedProperty = "HostNetBiosName" AutomationRulePropertyConditionSupportedPropertyHostOSVersion AutomationRulePropertyConditionSupportedProperty = "HostOSVersion" AutomationRulePropertyConditionSupportedPropertyIPAddress AutomationRulePropertyConditionSupportedProperty = "IPAddress" AutomationRulePropertyConditionSupportedPropertyIncidentCustomDetailsKey AutomationRulePropertyConditionSupportedProperty = "IncidentCustomDetailsKey" AutomationRulePropertyConditionSupportedPropertyIncidentCustomDetailsValue AutomationRulePropertyConditionSupportedProperty = "IncidentCustomDetailsValue" AutomationRulePropertyConditionSupportedPropertyIncidentDescription AutomationRulePropertyConditionSupportedProperty = "IncidentDescription" AutomationRulePropertyConditionSupportedPropertyIncidentLabel AutomationRulePropertyConditionSupportedProperty = "IncidentLabel" AutomationRulePropertyConditionSupportedPropertyIncidentProviderName AutomationRulePropertyConditionSupportedProperty = "IncidentProviderName" AutomationRulePropertyConditionSupportedPropertyIncidentRelatedAnalyticRuleIds AutomationRulePropertyConditionSupportedProperty = "IncidentRelatedAnalyticRuleIds" AutomationRulePropertyConditionSupportedPropertyIncidentSeverity AutomationRulePropertyConditionSupportedProperty = "IncidentSeverity" AutomationRulePropertyConditionSupportedPropertyIncidentStatus AutomationRulePropertyConditionSupportedProperty = "IncidentStatus" AutomationRulePropertyConditionSupportedPropertyIncidentTactics AutomationRulePropertyConditionSupportedProperty = "IncidentTactics" AutomationRulePropertyConditionSupportedPropertyIncidentTitle AutomationRulePropertyConditionSupportedProperty = "IncidentTitle" AutomationRulePropertyConditionSupportedPropertyIncidentUpdatedBySource AutomationRulePropertyConditionSupportedProperty = "IncidentUpdatedBySource" AutomationRulePropertyConditionSupportedPropertyIoTDeviceId AutomationRulePropertyConditionSupportedProperty = "IoTDeviceId" AutomationRulePropertyConditionSupportedPropertyIoTDeviceModel AutomationRulePropertyConditionSupportedProperty = "IoTDeviceModel" AutomationRulePropertyConditionSupportedPropertyIoTDeviceName AutomationRulePropertyConditionSupportedProperty = "IoTDeviceName" AutomationRulePropertyConditionSupportedPropertyIoTDeviceOperatingSystem AutomationRulePropertyConditionSupportedProperty = "IoTDeviceOperatingSystem" AutomationRulePropertyConditionSupportedPropertyIoTDeviceType AutomationRulePropertyConditionSupportedProperty = "IoTDeviceType" AutomationRulePropertyConditionSupportedPropertyIoTDeviceVendor AutomationRulePropertyConditionSupportedProperty = "IoTDeviceVendor" AutomationRulePropertyConditionSupportedPropertyMailMessageDeliveryAction AutomationRulePropertyConditionSupportedProperty = "MailMessageDeliveryAction" AutomationRulePropertyConditionSupportedPropertyMailMessageDeliveryLocation AutomationRulePropertyConditionSupportedProperty = "MailMessageDeliveryLocation" AutomationRulePropertyConditionSupportedPropertyMailMessagePOneSender AutomationRulePropertyConditionSupportedProperty = "MailMessageP1Sender" AutomationRulePropertyConditionSupportedPropertyMailMessagePTwoSender AutomationRulePropertyConditionSupportedProperty = "MailMessageP2Sender" AutomationRulePropertyConditionSupportedPropertyMailMessageRecipient AutomationRulePropertyConditionSupportedProperty = "MailMessageRecipient" AutomationRulePropertyConditionSupportedPropertyMailMessageSenderIP AutomationRulePropertyConditionSupportedProperty = "MailMessageSenderIP" AutomationRulePropertyConditionSupportedPropertyMailMessageSubject AutomationRulePropertyConditionSupportedProperty = "MailMessageSubject" AutomationRulePropertyConditionSupportedPropertyMailboxDisplayName AutomationRulePropertyConditionSupportedProperty = "MailboxDisplayName" AutomationRulePropertyConditionSupportedPropertyMailboxPrimaryAddress AutomationRulePropertyConditionSupportedProperty = "MailboxPrimaryAddress" AutomationRulePropertyConditionSupportedPropertyMailboxUPN AutomationRulePropertyConditionSupportedProperty = "MailboxUPN" AutomationRulePropertyConditionSupportedPropertyMalwareCategory AutomationRulePropertyConditionSupportedProperty = "MalwareCategory" AutomationRulePropertyConditionSupportedPropertyMalwareName AutomationRulePropertyConditionSupportedProperty = "MalwareName" AutomationRulePropertyConditionSupportedPropertyProcessCommandLine AutomationRulePropertyConditionSupportedProperty = "ProcessCommandLine" AutomationRulePropertyConditionSupportedPropertyProcessId AutomationRulePropertyConditionSupportedProperty = "ProcessId" AutomationRulePropertyConditionSupportedPropertyRegistryKey AutomationRulePropertyConditionSupportedProperty = "RegistryKey" AutomationRulePropertyConditionSupportedPropertyRegistryValueData AutomationRulePropertyConditionSupportedProperty = "RegistryValueData" AutomationRulePropertyConditionSupportedPropertyUrl AutomationRulePropertyConditionSupportedProperty = "Url" )
func (*AutomationRulePropertyConditionSupportedProperty) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *AutomationRulePropertyConditionSupportedProperty) UnmarshalJSON(bytes []byte) error
type AutomationRulePropertyValuesChangedCondition ¶
type AutomationRulePropertyValuesChangedCondition struct { ChangeType *AutomationRulePropertyChangedConditionSupportedChangedType `json:"changeType,omitempty"` Operator *AutomationRulePropertyConditionSupportedOperator `json:"operator,omitempty"` PropertyName *AutomationRulePropertyChangedConditionSupportedPropertyType `json:"propertyName,omitempty"` PropertyValues *[]string `json:"propertyValues,omitempty"` }
type AutomationRulePropertyValuesCondition ¶
type AutomationRulePropertyValuesCondition struct { Operator *AutomationRulePropertyConditionSupportedOperator `json:"operator,omitempty"` PropertyName *AutomationRulePropertyConditionSupportedProperty `json:"propertyName,omitempty"` PropertyValues *[]string `json:"propertyValues,omitempty"` }
type AutomationRuleRunPlaybookAction ¶
type AutomationRuleRunPlaybookAction struct { ActionConfiguration *PlaybookActionProperties `json:"actionConfiguration,omitempty"` // Fields inherited from AutomationRuleAction Order int64 `json:"order"` }
func (AutomationRuleRunPlaybookAction) MarshalJSON ¶
func (s AutomationRuleRunPlaybookAction) MarshalJSON() ([]byte, error)
type AutomationRuleTriggeringLogic ¶
type AutomationRuleTriggeringLogic struct { Conditions *[]AutomationRuleCondition `json:"conditions,omitempty"` ExpirationTimeUtc *string `json:"expirationTimeUtc,omitempty"` IsEnabled bool `json:"isEnabled"` TriggersOn TriggersOn `json:"triggersOn"` TriggersWhen TriggersWhen `json:"triggersWhen"` }
func (*AutomationRuleTriggeringLogic) GetExpirationTimeUtcAsTime ¶
func (o *AutomationRuleTriggeringLogic) GetExpirationTimeUtcAsTime() (*time.Time, error)
func (*AutomationRuleTriggeringLogic) SetExpirationTimeUtcAsTime ¶
func (o *AutomationRuleTriggeringLogic) SetExpirationTimeUtcAsTime(input time.Time)
func (*AutomationRuleTriggeringLogic) UnmarshalJSON ¶
func (s *AutomationRuleTriggeringLogic) UnmarshalJSON(bytes []byte) error
type AutomationRulesClient ¶
type AutomationRulesClient struct {
Client *resourcemanager.Client
}
func NewAutomationRulesClientWithBaseURI ¶
func NewAutomationRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*AutomationRulesClient, error)
func (AutomationRulesClient) CreateOrUpdate ¶
func (c AutomationRulesClient) CreateOrUpdate(ctx context.Context, id AutomationRuleId, input AutomationRule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AutomationRulesClient) Delete ¶
func (c AutomationRulesClient) Delete(ctx context.Context, id AutomationRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (AutomationRulesClient) Get ¶
func (c AutomationRulesClient) Get(ctx context.Context, id AutomationRuleId) (result GetOperationResponse, err error)
Get ...
func (AutomationRulesClient) List ¶
func (c AutomationRulesClient) List(ctx context.Context, id WorkspaceId) (result ListOperationResponse, err error)
List ...
func (AutomationRulesClient) ListComplete ¶
func (c AutomationRulesClient) ListComplete(ctx context.Context, id WorkspaceId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AutomationRulesClient) ListCompleteMatchingPredicate ¶
func (c AutomationRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate AutomationRuleOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type BooleanConditionProperties ¶
type BooleanConditionProperties struct {
ConditionProperties *AutomationRuleBooleanCondition `json:"conditionProperties,omitempty"`
}
func (BooleanConditionProperties) MarshalJSON ¶
func (s BooleanConditionProperties) MarshalJSON() ([]byte, error)
type ClientInfo ¶
type ConditionType ¶
type ConditionType string
const ( ConditionTypeBoolean ConditionType = "Boolean" ConditionTypeProperty ConditionType = "Property" ConditionTypePropertyArray ConditionType = "PropertyArray" ConditionTypePropertyArrayChanged ConditionType = "PropertyArrayChanged" ConditionTypePropertyChanged ConditionType = "PropertyChanged" )
func (*ConditionType) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *ConditionType) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutomationRule }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutomationRule }
type IncidentClassification ¶
type IncidentClassification string
const ( IncidentClassificationBenignPositive IncidentClassification = "BenignPositive" IncidentClassificationFalsePositive IncidentClassification = "FalsePositive" IncidentClassificationTruePositive IncidentClassification = "TruePositive" IncidentClassificationUndetermined IncidentClassification = "Undetermined" )
func (*IncidentClassification) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *IncidentClassification) UnmarshalJSON(bytes []byte) error
type IncidentClassificationReason ¶
type IncidentClassificationReason string
const ( IncidentClassificationReasonInaccurateData IncidentClassificationReason = "InaccurateData" IncidentClassificationReasonIncorrectAlertLogic IncidentClassificationReason = "IncorrectAlertLogic" IncidentClassificationReasonSuspiciousActivity IncidentClassificationReason = "SuspiciousActivity" IncidentClassificationReasonSuspiciousButExpected IncidentClassificationReason = "SuspiciousButExpected" )
func (*IncidentClassificationReason) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *IncidentClassificationReason) UnmarshalJSON(bytes []byte) error
type IncidentLabel ¶
type IncidentLabel struct { LabelName string `json:"labelName"` LabelType *IncidentLabelType `json:"labelType,omitempty"` }
type IncidentLabelType ¶
type IncidentLabelType string
const ( IncidentLabelTypeAutoAssigned IncidentLabelType = "AutoAssigned" IncidentLabelTypeUser IncidentLabelType = "User" )
func (*IncidentLabelType) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *IncidentLabelType) UnmarshalJSON(bytes []byte) error
type IncidentOwnerInfo ¶
type IncidentPropertiesAction ¶
type IncidentPropertiesAction struct { Classification *IncidentClassification `json:"classification,omitempty"` ClassificationComment *string `json:"classificationComment,omitempty"` ClassificationReason *IncidentClassificationReason `json:"classificationReason,omitempty"` Labels *[]IncidentLabel `json:"labels,omitempty"` Owner *IncidentOwnerInfo `json:"owner,omitempty"` Severity *IncidentSeverity `json:"severity,omitempty"` Status *IncidentStatus `json:"status,omitempty"` }
type IncidentSeverity ¶
type IncidentSeverity string
const ( IncidentSeverityHigh IncidentSeverity = "High" IncidentSeverityInformational IncidentSeverity = "Informational" IncidentSeverityLow IncidentSeverity = "Low" IncidentSeverityMedium IncidentSeverity = "Medium" )
func (*IncidentSeverity) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *IncidentSeverity) UnmarshalJSON(bytes []byte) error
type IncidentStatus ¶
type IncidentStatus string
const ( IncidentStatusActive IncidentStatus = "Active" IncidentStatusClosed IncidentStatus = "Closed" IncidentStatusNew IncidentStatus = "New" )
func (*IncidentStatus) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *IncidentStatus) UnmarshalJSON(bytes []byte) error
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []AutomationRule }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AutomationRule }
type OwnerType ¶
type OwnerType string
func (*OwnerType) UnmarshalJSON ¶ added in v0.20240221.1115631
type PropertyArrayChangedConditionProperties ¶
type PropertyArrayChangedConditionProperties struct {
ConditionProperties *AutomationRulePropertyArrayChangedValuesCondition `json:"conditionProperties,omitempty"`
}
func (PropertyArrayChangedConditionProperties) MarshalJSON ¶
func (s PropertyArrayChangedConditionProperties) MarshalJSON() ([]byte, error)
type PropertyArrayConditionProperties ¶
type PropertyArrayConditionProperties struct {
ConditionProperties *AutomationRulePropertyArrayValuesCondition `json:"conditionProperties,omitempty"`
}
func (PropertyArrayConditionProperties) MarshalJSON ¶
func (s PropertyArrayConditionProperties) MarshalJSON() ([]byte, error)
type PropertyChangedConditionProperties ¶
type PropertyChangedConditionProperties struct {
ConditionProperties *AutomationRulePropertyValuesChangedCondition `json:"conditionProperties,omitempty"`
}
func (PropertyChangedConditionProperties) MarshalJSON ¶
func (s PropertyChangedConditionProperties) MarshalJSON() ([]byte, error)
type PropertyConditionProperties ¶
type PropertyConditionProperties struct {
ConditionProperties *AutomationRulePropertyValuesCondition `json:"conditionProperties,omitempty"`
}
func (PropertyConditionProperties) MarshalJSON ¶
func (s PropertyConditionProperties) MarshalJSON() ([]byte, error)
type RawAutomationRuleActionImpl ¶
RawAutomationRuleActionImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawAutomationRuleConditionImpl ¶
RawAutomationRuleConditionImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type TriggersOn ¶
type TriggersOn string
const ( TriggersOnAlerts TriggersOn = "Alerts" TriggersOnIncidents TriggersOn = "Incidents" )
func (*TriggersOn) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *TriggersOn) UnmarshalJSON(bytes []byte) error
type TriggersWhen ¶
type TriggersWhen string
const ( TriggersWhenCreated TriggersWhen = "Created" TriggersWhenUpdated TriggersWhen = "Updated" )
func (*TriggersWhen) UnmarshalJSON ¶ added in v0.20240221.1115631
func (s *TriggersWhen) UnmarshalJSON(bytes []byte) error
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
Source Files ¶
- client.go
- constants.go
- id_automationrule.go
- id_workspace.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_automationrule.go
- model_automationruleaction.go
- model_automationrulebooleancondition.go
- model_automationrulecondition.go
- model_automationrulemodifypropertiesaction.go
- model_automationruleproperties.go
- model_automationrulepropertyarraychangedvaluescondition.go
- model_automationrulepropertyarrayvaluescondition.go
- model_automationrulepropertyvalueschangedcondition.go
- model_automationrulepropertyvaluescondition.go
- model_automationrulerunplaybookaction.go
- model_automationruletriggeringlogic.go
- model_booleanconditionproperties.go
- model_clientinfo.go
- model_incidentlabel.go
- model_incidentownerinfo.go
- model_incidentpropertiesaction.go
- model_playbookactionproperties.go
- model_propertyarraychangedconditionproperties.go
- model_propertyarrayconditionproperties.go
- model_propertychangedconditionproperties.go
- model_propertyconditionproperties.go
- predicates.go
- version.go