Documentation ¶
Index ¶
- func PossibleValuesForRunQueryFilterOperand() []string
- func PossibleValuesForRunQueryFilterOperator() []string
- func PossibleValuesForRunQueryOrder() []string
- func PossibleValuesForRunQueryOrderByField() []string
- func PossibleValuesForTriggerRunStatus() []string
- func ValidateFactoryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTriggerRunID(input interface{}, key string) (warnings []string, errors []error)
- type CancelOperationResponse
- type FactoryId
- type QueryByFactoryOperationResponse
- type RerunOperationResponse
- type RunFilterParameters
- func (o *RunFilterParameters) GetLastUpdatedAfterAsTime() (*time.Time, error)
- func (o *RunFilterParameters) GetLastUpdatedBeforeAsTime() (*time.Time, error)
- func (o *RunFilterParameters) SetLastUpdatedAfterAsTime(input time.Time)
- func (o *RunFilterParameters) SetLastUpdatedBeforeAsTime(input time.Time)
- type RunQueryFilter
- type RunQueryFilterOperand
- type RunQueryFilterOperator
- type RunQueryOrder
- type RunQueryOrderBy
- type RunQueryOrderByField
- type TriggerRun
- type TriggerRunId
- type TriggerRunStatus
- type TriggerRunsQueryResponse
- type TriggerrunsClient
- func (c TriggerrunsClient) Cancel(ctx context.Context, id TriggerRunId) (result CancelOperationResponse, err error)
- func (c TriggerrunsClient) QueryByFactory(ctx context.Context, id FactoryId, input RunFilterParameters) (result QueryByFactoryOperationResponse, err error)
- func (c TriggerrunsClient) Rerun(ctx context.Context, id TriggerRunId) (result RerunOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRunQueryFilterOperand ¶
func PossibleValuesForRunQueryFilterOperand() []string
func PossibleValuesForRunQueryFilterOperator ¶
func PossibleValuesForRunQueryFilterOperator() []string
func PossibleValuesForRunQueryOrder ¶
func PossibleValuesForRunQueryOrder() []string
func PossibleValuesForRunQueryOrderByField ¶
func PossibleValuesForRunQueryOrderByField() []string
func PossibleValuesForTriggerRunStatus ¶
func PossibleValuesForTriggerRunStatus() []string
func ValidateFactoryID ¶
ValidateFactoryID checks that 'input' can be parsed as a Factory ID
func ValidateTriggerRunID ¶
ValidateTriggerRunID checks that 'input' can be parsed as a Trigger Run ID
Types ¶
type CancelOperationResponse ¶
type FactoryId ¶
FactoryId is a struct representing the Resource ID for a Factory
func NewFactoryID ¶
NewFactoryID returns a new FactoryId struct
func ParseFactoryID ¶
ParseFactoryID parses 'input' into a FactoryId
func ParseFactoryIDInsensitively ¶
ParseFactoryIDInsensitively parses 'input' case-insensitively into a FactoryId note: this method should only be used for API response data and not user input
func (*FactoryId) FromParseResult ¶
func (id *FactoryId) FromParseResult(input resourceids.ParseResult) error
func (FactoryId) Segments ¶
func (id FactoryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Factory ID
type QueryByFactoryOperationResponse ¶
type QueryByFactoryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TriggerRunsQueryResponse }
type RerunOperationResponse ¶
type RunFilterParameters ¶
type RunFilterParameters struct { ContinuationToken *string `json:"continuationToken,omitempty"` Filters *[]RunQueryFilter `json:"filters,omitempty"` LastUpdatedAfter string `json:"lastUpdatedAfter"` LastUpdatedBefore string `json:"lastUpdatedBefore"` OrderBy *[]RunQueryOrderBy `json:"orderBy,omitempty"` }
func (*RunFilterParameters) GetLastUpdatedAfterAsTime ¶
func (o *RunFilterParameters) GetLastUpdatedAfterAsTime() (*time.Time, error)
func (*RunFilterParameters) GetLastUpdatedBeforeAsTime ¶
func (o *RunFilterParameters) GetLastUpdatedBeforeAsTime() (*time.Time, error)
func (*RunFilterParameters) SetLastUpdatedAfterAsTime ¶
func (o *RunFilterParameters) SetLastUpdatedAfterAsTime(input time.Time)
func (*RunFilterParameters) SetLastUpdatedBeforeAsTime ¶
func (o *RunFilterParameters) SetLastUpdatedBeforeAsTime(input time.Time)
type RunQueryFilter ¶
type RunQueryFilter struct { Operand RunQueryFilterOperand `json:"operand"` Operator RunQueryFilterOperator `json:"operator"` Values []string `json:"values"` }
type RunQueryFilterOperand ¶
type RunQueryFilterOperand string
const ( RunQueryFilterOperandActivityName RunQueryFilterOperand = "ActivityName" RunQueryFilterOperandActivityRunEnd RunQueryFilterOperand = "ActivityRunEnd" RunQueryFilterOperandActivityRunStart RunQueryFilterOperand = "ActivityRunStart" RunQueryFilterOperandActivityType RunQueryFilterOperand = "ActivityType" RunQueryFilterOperandLatestOnly RunQueryFilterOperand = "LatestOnly" RunQueryFilterOperandPipelineName RunQueryFilterOperand = "PipelineName" RunQueryFilterOperandRunEnd RunQueryFilterOperand = "RunEnd" RunQueryFilterOperandRunGroupId RunQueryFilterOperand = "RunGroupId" RunQueryFilterOperandRunStart RunQueryFilterOperand = "RunStart" RunQueryFilterOperandStatus RunQueryFilterOperand = "Status" RunQueryFilterOperandTriggerName RunQueryFilterOperand = "TriggerName" RunQueryFilterOperandTriggerRunTimestamp RunQueryFilterOperand = "TriggerRunTimestamp" )
func (*RunQueryFilterOperand) UnmarshalJSON ¶
func (s *RunQueryFilterOperand) UnmarshalJSON(bytes []byte) error
type RunQueryFilterOperator ¶
type RunQueryFilterOperator string
const ( RunQueryFilterOperatorEquals RunQueryFilterOperator = "Equals" RunQueryFilterOperatorIn RunQueryFilterOperator = "In" RunQueryFilterOperatorNotEquals RunQueryFilterOperator = "NotEquals" RunQueryFilterOperatorNotIn RunQueryFilterOperator = "NotIn" )
func (*RunQueryFilterOperator) UnmarshalJSON ¶
func (s *RunQueryFilterOperator) UnmarshalJSON(bytes []byte) error
type RunQueryOrder ¶
type RunQueryOrder string
const ( RunQueryOrderASC RunQueryOrder = "ASC" RunQueryOrderDESC RunQueryOrder = "DESC" )
func (*RunQueryOrder) UnmarshalJSON ¶
func (s *RunQueryOrder) UnmarshalJSON(bytes []byte) error
type RunQueryOrderBy ¶
type RunQueryOrderBy struct { Order RunQueryOrder `json:"order"` OrderBy RunQueryOrderByField `json:"orderBy"` }
type RunQueryOrderByField ¶
type RunQueryOrderByField string
const ( RunQueryOrderByFieldActivityName RunQueryOrderByField = "ActivityName" RunQueryOrderByFieldActivityRunEnd RunQueryOrderByField = "ActivityRunEnd" RunQueryOrderByFieldActivityRunStart RunQueryOrderByField = "ActivityRunStart" RunQueryOrderByFieldPipelineName RunQueryOrderByField = "PipelineName" RunQueryOrderByFieldRunEnd RunQueryOrderByField = "RunEnd" RunQueryOrderByFieldRunStart RunQueryOrderByField = "RunStart" RunQueryOrderByFieldStatus RunQueryOrderByField = "Status" RunQueryOrderByFieldTriggerName RunQueryOrderByField = "TriggerName" RunQueryOrderByFieldTriggerRunTimestamp RunQueryOrderByField = "TriggerRunTimestamp" )
func (*RunQueryOrderByField) UnmarshalJSON ¶
func (s *RunQueryOrderByField) UnmarshalJSON(bytes []byte) error
type TriggerRun ¶
type TriggerRun struct { DependencyStatus *map[string]interface{} `json:"dependencyStatus,omitempty"` Message *string `json:"message,omitempty"` Properties *map[string]string `json:"properties,omitempty"` RunDimension *map[string]string `json:"runDimension,omitempty"` Status *TriggerRunStatus `json:"status,omitempty"` TriggerName *string `json:"triggerName,omitempty"` TriggerRunId *string `json:"triggerRunId,omitempty"` TriggerRunTimestamp *string `json:"triggerRunTimestamp,omitempty"` TriggerType *string `json:"triggerType,omitempty"` TriggeredPipelines *map[string]string `json:"triggeredPipelines,omitempty"` }
func (*TriggerRun) GetTriggerRunTimestampAsTime ¶
func (o *TriggerRun) GetTriggerRunTimestampAsTime() (*time.Time, error)
func (*TriggerRun) SetTriggerRunTimestampAsTime ¶
func (o *TriggerRun) SetTriggerRunTimestampAsTime(input time.Time)
type TriggerRunId ¶
type TriggerRunId struct { SubscriptionId string ResourceGroupName string FactoryName string TriggerName string RunId string }
TriggerRunId is a struct representing the Resource ID for a Trigger Run
func NewTriggerRunID ¶
func NewTriggerRunID(subscriptionId string, resourceGroupName string, factoryName string, triggerName string, runId string) TriggerRunId
NewTriggerRunID returns a new TriggerRunId struct
func ParseTriggerRunID ¶
func ParseTriggerRunID(input string) (*TriggerRunId, error)
ParseTriggerRunID parses 'input' into a TriggerRunId
func ParseTriggerRunIDInsensitively ¶
func ParseTriggerRunIDInsensitively(input string) (*TriggerRunId, error)
ParseTriggerRunIDInsensitively parses 'input' case-insensitively into a TriggerRunId note: this method should only be used for API response data and not user input
func (*TriggerRunId) FromParseResult ¶
func (id *TriggerRunId) FromParseResult(input resourceids.ParseResult) error
func (TriggerRunId) Segments ¶
func (id TriggerRunId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Trigger Run ID
func (TriggerRunId) String ¶
func (id TriggerRunId) String() string
String returns a human-readable description of this Trigger Run ID
type TriggerRunStatus ¶
type TriggerRunStatus string
const ( TriggerRunStatusFailed TriggerRunStatus = "Failed" TriggerRunStatusInprogress TriggerRunStatus = "Inprogress" TriggerRunStatusSucceeded TriggerRunStatus = "Succeeded" )
func (*TriggerRunStatus) UnmarshalJSON ¶
func (s *TriggerRunStatus) UnmarshalJSON(bytes []byte) error
type TriggerRunsQueryResponse ¶
type TriggerRunsQueryResponse struct { ContinuationToken *string `json:"continuationToken,omitempty"` Value []TriggerRun `json:"value"` }
type TriggerrunsClient ¶
type TriggerrunsClient struct {
Client *resourcemanager.Client
}
func NewTriggerrunsClientWithBaseURI ¶
func NewTriggerrunsClientWithBaseURI(sdkApi sdkEnv.Api) (*TriggerrunsClient, error)
func (TriggerrunsClient) Cancel ¶
func (c TriggerrunsClient) Cancel(ctx context.Context, id TriggerRunId) (result CancelOperationResponse, err error)
Cancel ...
func (TriggerrunsClient) QueryByFactory ¶
func (c TriggerrunsClient) QueryByFactory(ctx context.Context, id FactoryId, input RunFilterParameters) (result QueryByFactoryOperationResponse, err error)
QueryByFactory ...
func (TriggerrunsClient) Rerun ¶
func (c TriggerrunsClient) Rerun(ctx context.Context, id TriggerRunId) (result RerunOperationResponse, err error)
Rerun ...