Documentation ¶
Index ¶
- func ValidateActivityID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateModuleID(input interface{}, key string) (warnings []string, errors []error)
- type Activity
- type ActivityClient
- func (c ActivityClient) Get(ctx context.Context, id ActivityId) (result GetOperationResponse, err error)
- func (c ActivityClient) ListByModule(ctx context.Context, id ModuleId) (resp ListByModuleOperationResponse, err error)
- func (c ActivityClient) ListByModuleComplete(ctx context.Context, id ModuleId) (ListByModuleCompleteResult, error)
- func (c ActivityClient) ListByModuleCompleteMatchingPredicate(ctx context.Context, id ModuleId, predicate ActivityOperationPredicate) (resp ListByModuleCompleteResult, err error)
- type ActivityId
- type ActivityOperationPredicate
- type ActivityOutputType
- type ActivityParameter
- type ActivityParameterSet
- type ActivityParameterValidationSet
- type ActivityProperties
- type GetOperationResponse
- type ListByModuleCompleteResult
- type ListByModuleOperationResponse
- type ModuleId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateActivityID ¶
ValidateActivityID checks that 'input' can be parsed as a Activity ID
func ValidateModuleID ¶
ValidateModuleID checks that 'input' can be parsed as a Module ID
Types ¶
type Activity ¶
type Activity struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ActivityProperties `json:"properties,omitempty"` }
type ActivityClient ¶
func NewActivityClientWithBaseURI ¶
func NewActivityClientWithBaseURI(endpoint string) ActivityClient
func (ActivityClient) Get ¶
func (c ActivityClient) Get(ctx context.Context, id ActivityId) (result GetOperationResponse, err error)
Get ...
func (ActivityClient) ListByModule ¶
func (c ActivityClient) ListByModule(ctx context.Context, id ModuleId) (resp ListByModuleOperationResponse, err error)
ListByModule ...
func (ActivityClient) ListByModuleComplete ¶
func (c ActivityClient) ListByModuleComplete(ctx context.Context, id ModuleId) (ListByModuleCompleteResult, error)
ListByModuleComplete retrieves all of the results into a single object
func (ActivityClient) ListByModuleCompleteMatchingPredicate ¶
func (c ActivityClient) ListByModuleCompleteMatchingPredicate(ctx context.Context, id ModuleId, predicate ActivityOperationPredicate) (resp ListByModuleCompleteResult, err error)
ListByModuleCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ActivityId ¶
type ActivityId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string ModuleName string ActivityName string }
ActivityId is a struct representing the Resource ID for a Activity
func NewActivityID ¶
func NewActivityID(subscriptionId string, resourceGroupName string, automationAccountName string, moduleName string, activityName string) ActivityId
NewActivityID returns a new ActivityId struct
func ParseActivityID ¶
func ParseActivityID(input string) (*ActivityId, error)
ParseActivityID parses 'input' into a ActivityId
func ParseActivityIDInsensitively ¶
func ParseActivityIDInsensitively(input string) (*ActivityId, error)
ParseActivityIDInsensitively parses 'input' case-insensitively into a ActivityId note: this method should only be used for API response data and not user input
func (ActivityId) Segments ¶
func (id ActivityId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Activity ID
func (ActivityId) String ¶
func (id ActivityId) String() string
String returns a human-readable description of this Activity ID
type ActivityOperationPredicate ¶
func (ActivityOperationPredicate) Matches ¶
func (p ActivityOperationPredicate) Matches(input Activity) bool
type ActivityOutputType ¶
type ActivityParameter ¶
type ActivityParameter struct { Description *string `json:"description,omitempty"` IsDynamic *bool `json:"isDynamic,omitempty"` IsMandatory *bool `json:"isMandatory,omitempty"` Name *string `json:"name,omitempty"` Position *int64 `json:"position,omitempty"` Type *string `json:"type,omitempty"` ValidationSet *[]ActivityParameterValidationSet `json:"validationSet,omitempty"` ValueFromPipeline *bool `json:"valueFromPipeline,omitempty"` ValueFromPipelineByPropertyName *bool `json:"valueFromPipelineByPropertyName,omitempty"` ValueFromRemainingArguments *bool `json:"valueFromRemainingArguments,omitempty"` }
type ActivityParameterSet ¶
type ActivityParameterSet struct { Name *string `json:"name,omitempty"` Parameters *[]ActivityParameter `json:"parameters,omitempty"` }
type ActivityParameterValidationSet ¶
type ActivityParameterValidationSet struct {
MemberValue *string `json:"memberValue,omitempty"`
}
type ActivityProperties ¶
type ActivityProperties struct { CreationTime *string `json:"creationTime,omitempty"` Definition *string `json:"definition,omitempty"` Description *string `json:"description,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` OutputTypes *[]ActivityOutputType `json:"outputTypes,omitempty"` ParameterSets *[]ActivityParameterSet `json:"parameterSets,omitempty"` }
func (*ActivityProperties) GetCreationTimeAsTime ¶
func (o *ActivityProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*ActivityProperties) GetLastModifiedTimeAsTime ¶
func (o *ActivityProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*ActivityProperties) SetCreationTimeAsTime ¶
func (o *ActivityProperties) SetCreationTimeAsTime(input time.Time)
func (*ActivityProperties) SetLastModifiedTimeAsTime ¶
func (o *ActivityProperties) SetLastModifiedTimeAsTime(input time.Time)
type GetOperationResponse ¶
type ListByModuleCompleteResult ¶
type ListByModuleCompleteResult struct {
Items []Activity
}
type ListByModuleOperationResponse ¶
type ListByModuleOperationResponse struct { HttpResponse *http.Response Model *[]Activity // contains filtered or unexported fields }
func (ListByModuleOperationResponse) HasMore ¶
func (r ListByModuleOperationResponse) HasMore() bool
func (ListByModuleOperationResponse) LoadMore ¶
func (r ListByModuleOperationResponse) LoadMore(ctx context.Context) (resp ListByModuleOperationResponse, err error)
type ModuleId ¶
type ModuleId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string ModuleName string }
ModuleId is a struct representing the Resource ID for a Module
func NewModuleID ¶
func NewModuleID(subscriptionId string, resourceGroupName string, automationAccountName string, moduleName string) ModuleId
NewModuleID returns a new ModuleId struct
func ParseModuleID ¶
ParseModuleID parses 'input' into a ModuleId
func ParseModuleIDInsensitively ¶
ParseModuleIDInsensitively parses 'input' case-insensitively into a ModuleId note: this method should only be used for API response data and not user input
func (ModuleId) Segments ¶
func (id ModuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Module ID