Documentation ¶
Index ¶
- func PossibleValuesForActionType() []string
- func PossibleValuesForEventSource() []string
- func PossibleValuesForOperator() []string
- func PossibleValuesForPropertyType() []string
- func ValidateAutomationID(input interface{}, key string) (warnings []string, errors []error)
- type ActionType
- type Automation
- type AutomationAction
- type AutomationActionEventHub
- type AutomationActionLogicApp
- type AutomationActionWorkspace
- type AutomationId
- type AutomationOperationPredicate
- type AutomationProperties
- type AutomationRuleSet
- type AutomationScope
- type AutomationSource
- type AutomationTriggeringRule
- type AutomationValidationStatus
- type AutomationsClient
- func (c AutomationsClient) CreateOrUpdate(ctx context.Context, id AutomationId, input Automation) (result CreateOrUpdateOperationResponse, err error)
- func (c AutomationsClient) Delete(ctx context.Context, id AutomationId) (result DeleteOperationResponse, err error)
- func (c AutomationsClient) Get(ctx context.Context, id AutomationId) (result GetOperationResponse, err error)
- func (c AutomationsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c AutomationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c AutomationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c AutomationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c AutomationsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c AutomationsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c AutomationsClient) Validate(ctx context.Context, id AutomationId, input Automation) (result ValidateOperationResponse, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EventSource
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type Operator
- type PropertyType
- type ValidateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForActionType ¶
func PossibleValuesForActionType() []string
func PossibleValuesForEventSource ¶
func PossibleValuesForEventSource() []string
func PossibleValuesForOperator ¶
func PossibleValuesForOperator() []string
func PossibleValuesForPropertyType ¶
func PossibleValuesForPropertyType() []string
func ValidateAutomationID ¶
ValidateAutomationID checks that 'input' can be parsed as a Automation ID
Types ¶
type ActionType ¶
type ActionType string
const ( ActionTypeEventHub ActionType = "EventHub" ActionTypeLogicApp ActionType = "LogicApp" ActionTypeWorkspace ActionType = "Workspace" )
type Automation ¶
type Automation struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AutomationProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AutomationAction ¶
type AutomationAction interface { }
type AutomationActionEventHub ¶
type AutomationActionEventHub struct { ConnectionString *string `json:"connectionString,omitempty"` EventHubResourceId *string `json:"eventHubResourceId,omitempty"` SasPolicyName *string `json:"sasPolicyName,omitempty"` }
func (AutomationActionEventHub) MarshalJSON ¶
func (s AutomationActionEventHub) MarshalJSON() ([]byte, error)
type AutomationActionLogicApp ¶
type AutomationActionLogicApp struct { LogicAppResourceId *string `json:"logicAppResourceId,omitempty"` Uri *string `json:"uri,omitempty"` }
func (AutomationActionLogicApp) MarshalJSON ¶
func (s AutomationActionLogicApp) MarshalJSON() ([]byte, error)
type AutomationActionWorkspace ¶
type AutomationActionWorkspace struct {
WorkspaceResourceId *string `json:"workspaceResourceId,omitempty"`
}
func (AutomationActionWorkspace) MarshalJSON ¶
func (s AutomationActionWorkspace) MarshalJSON() ([]byte, error)
type AutomationId ¶
AutomationId is a struct representing the Resource ID for a Automation
func NewAutomationID ¶
func NewAutomationID(subscriptionId string, resourceGroupName string, automationName string) AutomationId
NewAutomationID returns a new AutomationId struct
func ParseAutomationID ¶
func ParseAutomationID(input string) (*AutomationId, error)
ParseAutomationID parses 'input' into a AutomationId
func ParseAutomationIDInsensitively ¶
func ParseAutomationIDInsensitively(input string) (*AutomationId, error)
ParseAutomationIDInsensitively parses 'input' case-insensitively into a AutomationId note: this method should only be used for API response data and not user input
func (AutomationId) Segments ¶
func (id AutomationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Automation ID
func (AutomationId) String ¶
func (id AutomationId) String() string
String returns a human-readable description of this Automation ID
type AutomationOperationPredicate ¶
type AutomationOperationPredicate struct { Etag *string Id *string Kind *string Location *string Name *string Type *string }
func (AutomationOperationPredicate) Matches ¶
func (p AutomationOperationPredicate) Matches(input Automation) bool
type AutomationProperties ¶
type AutomationProperties struct { Actions *[]AutomationAction `json:"actions,omitempty"` Description *string `json:"description,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` Scopes *[]AutomationScope `json:"scopes,omitempty"` Sources *[]AutomationSource `json:"sources,omitempty"` }
func (*AutomationProperties) UnmarshalJSON ¶
func (s *AutomationProperties) UnmarshalJSON(bytes []byte) error
type AutomationRuleSet ¶
type AutomationRuleSet struct {
Rules *[]AutomationTriggeringRule `json:"rules,omitempty"`
}
type AutomationScope ¶
type AutomationSource ¶
type AutomationSource struct { EventSource *EventSource `json:"eventSource,omitempty"` RuleSets *[]AutomationRuleSet `json:"ruleSets,omitempty"` }
type AutomationTriggeringRule ¶
type AutomationTriggeringRule struct { ExpectedValue *string `json:"expectedValue,omitempty"` Operator *Operator `json:"operator,omitempty"` PropertyJPath *string `json:"propertyJPath,omitempty"` PropertyType *PropertyType `json:"propertyType,omitempty"` }
type AutomationsClient ¶
func NewAutomationsClientWithBaseURI ¶
func NewAutomationsClientWithBaseURI(endpoint string) AutomationsClient
func (AutomationsClient) CreateOrUpdate ¶
func (c AutomationsClient) CreateOrUpdate(ctx context.Context, id AutomationId, input Automation) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AutomationsClient) Delete ¶
func (c AutomationsClient) Delete(ctx context.Context, id AutomationId) (result DeleteOperationResponse, err error)
Delete ...
func (AutomationsClient) Get ¶
func (c AutomationsClient) Get(ctx context.Context, id AutomationId) (result GetOperationResponse, err error)
Get ...
func (AutomationsClient) List ¶
func (c AutomationsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (AutomationsClient) ListByResourceGroup ¶
func (c AutomationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AutomationsClient) ListByResourceGroupComplete ¶
func (c AutomationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (AutomationsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AutomationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AutomationOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AutomationsClient) ListComplete ¶
func (c AutomationsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (AutomationsClient) ListCompleteMatchingPredicate ¶
func (c AutomationsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AutomationOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AutomationsClient) Validate ¶
func (c AutomationsClient) Validate(ctx context.Context, id AutomationId, input Automation) (result ValidateOperationResponse, err error)
Validate ...
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *Automation }
type DeleteOperationResponse ¶
type EventSource ¶
type EventSource string
const ( EventSourceAlerts EventSource = "Alerts" EventSourceAssessments EventSource = "Assessments" EventSourceAssessmentsSnapshot EventSource = "AssessmentsSnapshot" EventSourceRegulatoryComplianceAssessment EventSource = "RegulatoryComplianceAssessment" EventSourceRegulatoryComplianceAssessmentSnapshot EventSource = "RegulatoryComplianceAssessmentSnapshot" EventSourceSecureScoreControls EventSource = "SecureScoreControls" EventSourceSecureScoreControlsSnapshot EventSource = "SecureScoreControlsSnapshot" EventSourceSecureScores EventSource = "SecureScores" EventSourceSecureScoresSnapshot EventSource = "SecureScoresSnapshot" EventSourceSubAssessments EventSource = "SubAssessments" EventSourceSubAssessmentsSnapshot EventSource = "SubAssessmentsSnapshot" )
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *Automation }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Automation
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Automation // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Automation
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Automation // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type Operator ¶
type Operator string
const ( OperatorContains Operator = "Contains" OperatorEndsWith Operator = "EndsWith" OperatorEquals Operator = "Equals" OperatorGreaterThan Operator = "GreaterThan" OperatorGreaterThanOrEqualTo Operator = "GreaterThanOrEqualTo" OperatorLesserThan Operator = "LesserThan" OperatorLesserThanOrEqualTo Operator = "LesserThanOrEqualTo" OperatorNotEquals Operator = "NotEquals" OperatorStartsWith Operator = "StartsWith" )
type PropertyType ¶
type PropertyType string
const ( PropertyTypeBoolean PropertyType = "Boolean" PropertyTypeInteger PropertyType = "Integer" PropertyTypeNumber PropertyType = "Number" PropertyTypeString PropertyType = "String" )
type ValidateOperationResponse ¶
type ValidateOperationResponse struct { HttpResponse *http.Response Model *AutomationValidationStatus }
Source Files ¶
- client.go
- constants.go
- id_automation.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_validate_autorest.go
- model_automation.go
- model_automationaction.go
- model_automationactioneventhub.go
- model_automationactionlogicapp.go
- model_automationactionworkspace.go
- model_automationproperties.go
- model_automationruleset.go
- model_automationscope.go
- model_automationsource.go
- model_automationtriggeringrule.go
- model_automationvalidationstatus.go
- predicates.go
- version.go