Documentation ¶
Index ¶
- func PossibleValuesForAutomationRuleActionType() []string
- func PossibleValuesForAutomationRuleConditionType() []string
- func PossibleValuesForAutomationRulePropertyConditionSupportedOperator() []string
- func PossibleValuesForAutomationRulePropertyConditionSupportedProperty() []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 AutomationRule
- type AutomationRuleAction
- type AutomationRuleActionType
- type AutomationRuleCondition
- type AutomationRuleConditionType
- type AutomationRuleId
- type AutomationRuleModifyPropertiesAction
- type AutomationRuleModifyPropertiesActionActionConfiguration
- 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 AutomationRulePropertyConditionSupportedOperator
- type AutomationRulePropertyConditionSupportedProperty
- type AutomationRulePropertyValuesCondition
- type AutomationRulePropertyValuesConditionConditionProperties
- type AutomationRuleRunPlaybookAction
- type AutomationRuleRunPlaybookActionActionConfiguration
- type AutomationRuleTriggeringLogic
- type AutomationRulesClient
- func (c AutomationRulesClient) AutomationRulesCreateOrUpdate(ctx context.Context, id AutomationRuleId, input AutomationRule) (result AutomationRulesCreateOrUpdateOperationResponse, err error)
- func (c AutomationRulesClient) AutomationRulesGet(ctx context.Context, id AutomationRuleId) (result AutomationRulesGetOperationResponse, err error)
- func (c AutomationRulesClient) AutomationRulesList(ctx context.Context, id WorkspaceId) (resp AutomationRulesListOperationResponse, err error)
- func (c AutomationRulesClient) AutomationRulesListComplete(ctx context.Context, id WorkspaceId) (AutomationRulesListCompleteResult, error)
- func (c AutomationRulesClient) AutomationRulesListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (resp AutomationRulesListCompleteResult, err error)
- type AutomationRulesCreateOrUpdateOperationResponse
- type AutomationRulesGetOperationResponse
- type AutomationRulesListCompleteResult
- type AutomationRulesListOperationResponse
- type ClientInfo
- type IncidentClassification
- type IncidentClassificationReason
- type IncidentLabel
- type IncidentLabelType
- type IncidentOwnerInfo
- type IncidentSeverity
- type IncidentStatus
- type OwnerType
- type TriggersOn
- type TriggersWhen
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAutomationRuleActionType ¶
func PossibleValuesForAutomationRuleActionType() []string
func PossibleValuesForAutomationRuleConditionType ¶
func PossibleValuesForAutomationRuleConditionType() []string
func PossibleValuesForAutomationRulePropertyConditionSupportedOperator ¶
func PossibleValuesForAutomationRulePropertyConditionSupportedOperator() []string
func PossibleValuesForAutomationRulePropertyConditionSupportedProperty ¶
func PossibleValuesForAutomationRulePropertyConditionSupportedProperty() []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 AutomationRule ¶
type AutomationRule struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AutomationRuleProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AutomationRuleAction ¶
type AutomationRuleAction interface { }
type AutomationRuleActionType ¶
type AutomationRuleActionType string
const ( AutomationRuleActionTypeModifyProperties AutomationRuleActionType = "ModifyProperties" AutomationRuleActionTypeRunPlaybook AutomationRuleActionType = "RunPlaybook" )
type AutomationRuleCondition ¶
type AutomationRuleCondition interface { }
type AutomationRuleConditionType ¶
type AutomationRuleConditionType string
const (
AutomationRuleConditionTypeProperty AutomationRuleConditionType = "Property"
)
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) 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 AutomationRuleModifyPropertiesActionActionConfiguration `json:"actionConfiguration"` // Fields inherited from AutomationRuleAction Order int64 `json:"order"` }
func (AutomationRuleModifyPropertiesAction) MarshalJSON ¶
func (s AutomationRuleModifyPropertiesAction) MarshalJSON() ([]byte, error)
type AutomationRuleModifyPropertiesActionActionConfiguration ¶
type AutomationRuleModifyPropertiesActionActionConfiguration 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 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 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" )
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" 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" AutomationRulePropertyConditionSupportedPropertyIncidentDescription AutomationRulePropertyConditionSupportedProperty = "IncidentDescription" AutomationRulePropertyConditionSupportedPropertyIncidentProviderName AutomationRulePropertyConditionSupportedProperty = "IncidentProviderName" AutomationRulePropertyConditionSupportedPropertyIncidentRelatedAnalyticRuleIds AutomationRulePropertyConditionSupportedProperty = "IncidentRelatedAnalyticRuleIds" AutomationRulePropertyConditionSupportedPropertyIncidentSeverity AutomationRulePropertyConditionSupportedProperty = "IncidentSeverity" AutomationRulePropertyConditionSupportedPropertyIncidentStatus AutomationRulePropertyConditionSupportedProperty = "IncidentStatus" AutomationRulePropertyConditionSupportedPropertyIncidentTactics AutomationRulePropertyConditionSupportedProperty = "IncidentTactics" AutomationRulePropertyConditionSupportedPropertyIncidentTitle AutomationRulePropertyConditionSupportedProperty = "IncidentTitle" 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" )
type AutomationRulePropertyValuesCondition ¶
type AutomationRulePropertyValuesCondition struct {
ConditionProperties AutomationRulePropertyValuesConditionConditionProperties `json:"conditionProperties"`
}
func (AutomationRulePropertyValuesCondition) MarshalJSON ¶
func (s AutomationRulePropertyValuesCondition) MarshalJSON() ([]byte, error)
type AutomationRulePropertyValuesConditionConditionProperties ¶
type AutomationRulePropertyValuesConditionConditionProperties struct { Operator *AutomationRulePropertyConditionSupportedOperator `json:"operator,omitempty"` PropertyName *AutomationRulePropertyConditionSupportedProperty `json:"propertyName,omitempty"` PropertyValues *[]string `json:"propertyValues,omitempty"` }
type AutomationRuleRunPlaybookAction ¶
type AutomationRuleRunPlaybookAction struct { ActionConfiguration AutomationRuleRunPlaybookActionActionConfiguration `json:"actionConfiguration"` // 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 autorest.Client // contains filtered or unexported fields }
func NewAutomationRulesClientWithBaseURI ¶
func NewAutomationRulesClientWithBaseURI(endpoint string) AutomationRulesClient
func (AutomationRulesClient) AutomationRulesCreateOrUpdate ¶
func (c AutomationRulesClient) AutomationRulesCreateOrUpdate(ctx context.Context, id AutomationRuleId, input AutomationRule) (result AutomationRulesCreateOrUpdateOperationResponse, err error)
AutomationRulesCreateOrUpdate ...
func (AutomationRulesClient) AutomationRulesGet ¶
func (c AutomationRulesClient) AutomationRulesGet(ctx context.Context, id AutomationRuleId) (result AutomationRulesGetOperationResponse, err error)
AutomationRulesGet ...
func (AutomationRulesClient) AutomationRulesList ¶
func (c AutomationRulesClient) AutomationRulesList(ctx context.Context, id WorkspaceId) (resp AutomationRulesListOperationResponse, err error)
AutomationRulesList ...
func (AutomationRulesClient) AutomationRulesListComplete ¶
func (c AutomationRulesClient) AutomationRulesListComplete(ctx context.Context, id WorkspaceId) (AutomationRulesListCompleteResult, error)
AutomationRulesListComplete retrieves all of the results into a single object
func (AutomationRulesClient) AutomationRulesListCompleteMatchingPredicate ¶
func (c AutomationRulesClient) AutomationRulesListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate AutomationRuleOperationPredicate) (resp AutomationRulesListCompleteResult, err error)
AutomationRulesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type AutomationRulesCreateOrUpdateOperationResponse ¶
type AutomationRulesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *AutomationRule }
type AutomationRulesGetOperationResponse ¶
type AutomationRulesGetOperationResponse struct { HttpResponse *http.Response Model *AutomationRule }
type AutomationRulesListCompleteResult ¶
type AutomationRulesListCompleteResult struct {
Items []AutomationRule
}
type AutomationRulesListOperationResponse ¶
type AutomationRulesListOperationResponse struct { HttpResponse *http.Response Model *[]AutomationRule // contains filtered or unexported fields }
func (AutomationRulesListOperationResponse) HasMore ¶
func (r AutomationRulesListOperationResponse) HasMore() bool
func (AutomationRulesListOperationResponse) LoadMore ¶
func (r AutomationRulesListOperationResponse) LoadMore(ctx context.Context) (resp AutomationRulesListOperationResponse, err error)
type ClientInfo ¶
type IncidentClassification ¶
type IncidentClassification string
const ( IncidentClassificationBenignPositive IncidentClassification = "BenignPositive" IncidentClassificationFalsePositive IncidentClassification = "FalsePositive" IncidentClassificationTruePositive IncidentClassification = "TruePositive" IncidentClassificationUndetermined IncidentClassification = "Undetermined" )
type IncidentClassificationReason ¶
type IncidentClassificationReason string
const ( IncidentClassificationReasonInaccurateData IncidentClassificationReason = "InaccurateData" IncidentClassificationReasonIncorrectAlertLogic IncidentClassificationReason = "IncorrectAlertLogic" IncidentClassificationReasonSuspiciousActivity IncidentClassificationReason = "SuspiciousActivity" IncidentClassificationReasonSuspiciousButExpected IncidentClassificationReason = "SuspiciousButExpected" )
type IncidentLabel ¶
type IncidentLabel struct { LabelName string `json:"labelName"` LabelType *IncidentLabelType `json:"labelType,omitempty"` }
type IncidentLabelType ¶
type IncidentLabelType string
const ( IncidentLabelTypeSystem IncidentLabelType = "System" IncidentLabelTypeUser IncidentLabelType = "User" )
type IncidentOwnerInfo ¶
type IncidentSeverity ¶
type IncidentSeverity string
const ( IncidentSeverityHigh IncidentSeverity = "High" IncidentSeverityInformational IncidentSeverity = "Informational" IncidentSeverityLow IncidentSeverity = "Low" IncidentSeverityMedium IncidentSeverity = "Medium" )
type IncidentStatus ¶
type IncidentStatus string
const ( IncidentStatusActive IncidentStatus = "Active" IncidentStatusClosed IncidentStatus = "Closed" IncidentStatusNew IncidentStatus = "New" )
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) 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_automationrulescreateorupdate_autorest.go
- method_automationrulesget_autorest.go
- method_automationruleslist_autorest.go
- model_automationrule.go
- model_automationruleaction.go
- model_automationrulecondition.go
- model_automationrulemodifypropertiesaction.go
- model_automationrulemodifypropertiesactionactionconfiguration.go
- model_automationruleproperties.go
- model_automationrulepropertyvaluescondition.go
- model_automationrulepropertyvaluesconditionconditionproperties.go
- model_automationrulerunplaybookaction.go
- model_automationrulerunplaybookactionactionconfiguration.go
- model_automationruletriggeringlogic.go
- model_clientinfo.go
- model_incidentlabel.go
- model_incidentownerinfo.go
- predicates.go
- version.go