workflowrunactions

package
v0.20240112.1095456 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2024 License: MPL-2.0 Imports: 12 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/logic/2019-05-01/workflowrunactions Documentation

The workflowrunactions SDK allows for interaction with the Azure Resource Manager Service logic (API Version 2019-05-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/logic/2019-05-01/workflowrunactions"

Client Initialization

client := workflowrunactions.NewWorkflowRunActionsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: WorkflowRunActionsClient.CopeRepetitionsGet

ctx := context.TODO()
id := workflowrunactions.NewScopeRepetitionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue", "actionValue", "scopeRepetitionValue")

read, err := client.CopeRepetitionsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowRunActionsClient.CopeRepetitionsList

ctx := context.TODO()
id := workflowrunactions.NewActionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue", "actionValue")

read, err := client.CopeRepetitionsList(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowRunActionsClient.Get

ctx := context.TODO()
id := workflowrunactions.NewActionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue", "actionValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowRunActionsClient.List

ctx := context.TODO()
id := workflowrunactions.NewRunID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue")

// alternatively `client.List(ctx, id, workflowrunactions.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, workflowrunactions.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WorkflowRunActionsClient.ListExpressionTraces

ctx := context.TODO()
id := workflowrunactions.NewActionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue", "actionValue")

read, err := client.ListExpressionTraces(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowRunActionsClient.WorkflowRunActionRepetitionsGet

ctx := context.TODO()
id := workflowrunactions.NewRepetitionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue", "actionValue", "repetitionValue")

read, err := client.WorkflowRunActionRepetitionsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowRunActionsClient.WorkflowRunActionRepetitionsList

ctx := context.TODO()
id := workflowrunactions.NewActionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue", "actionValue")

read, err := client.WorkflowRunActionRepetitionsList(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowRunActionsClient.WorkflowRunActionRepetitionsListExpressionTraces

ctx := context.TODO()
id := workflowrunactions.NewRepetitionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue", "actionValue", "repetitionValue")

read, err := client.WorkflowRunActionRepetitionsListExpressionTraces(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowRunActionsClient.WorkflowRunActionRepetitionsRequestHistoriesGet

ctx := context.TODO()
id := workflowrunactions.NewRepetitionRequestHistoryID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue", "actionValue", "repetitionValue", "requestHistoryValue")

read, err := client.WorkflowRunActionRepetitionsRequestHistoriesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowRunActionsClient.WorkflowRunActionRepetitionsRequestHistoriesList

ctx := context.TODO()
id := workflowrunactions.NewRepetitionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue", "actionValue", "repetitionValue")

// alternatively `client.WorkflowRunActionRepetitionsRequestHistoriesList(ctx, id)` can be used to do batched pagination
items, err := client.WorkflowRunActionRepetitionsRequestHistoriesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: WorkflowRunActionsClient.WorkflowRunActionRequestHistoriesGet

ctx := context.TODO()
id := workflowrunactions.NewRequestHistoryID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue", "actionValue", "requestHistoryValue")

read, err := client.WorkflowRunActionRequestHistoriesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WorkflowRunActionsClient.WorkflowRunActionRequestHistoriesList

ctx := context.TODO()
id := workflowrunactions.NewActionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workflowValue", "runValue", "actionValue")

// alternatively `client.WorkflowRunActionRequestHistoriesList(ctx, id)` can be used to do batched pagination
items, err := client.WorkflowRunActionRequestHistoriesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForWorkflowStatus

func PossibleValuesForWorkflowStatus() []string

func ValidateActionID

func ValidateActionID(input interface{}, key string) (warnings []string, errors []error)

ValidateActionID checks that 'input' can be parsed as a Action ID

func ValidateRepetitionID

func ValidateRepetitionID(input interface{}, key string) (warnings []string, errors []error)

ValidateRepetitionID checks that 'input' can be parsed as a Repetition ID

func ValidateRepetitionRequestHistoryID

func ValidateRepetitionRequestHistoryID(input interface{}, key string) (warnings []string, errors []error)

ValidateRepetitionRequestHistoryID checks that 'input' can be parsed as a Repetition Request History ID

func ValidateRequestHistoryID

func ValidateRequestHistoryID(input interface{}, key string) (warnings []string, errors []error)

ValidateRequestHistoryID checks that 'input' can be parsed as a Request History ID

func ValidateRunID

func ValidateRunID(input interface{}, key string) (warnings []string, errors []error)

ValidateRunID checks that 'input' can be parsed as a Run ID

func ValidateScopeRepetitionID

func ValidateScopeRepetitionID(input interface{}, key string) (warnings []string, errors []error)

ValidateScopeRepetitionID checks that 'input' can be parsed as a Scope Repetition ID

Types

type ActionId

type ActionId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkflowName      string
	RunName           string
	ActionName        string
}

ActionId is a struct representing the Resource ID for a Action

func NewActionID

func NewActionID(subscriptionId string, resourceGroupName string, workflowName string, runName string, actionName string) ActionId

NewActionID returns a new ActionId struct

func ParseActionID

func ParseActionID(input string) (*ActionId, error)

ParseActionID parses 'input' into a ActionId

func ParseActionIDInsensitively

func ParseActionIDInsensitively(input string) (*ActionId, error)

ParseActionIDInsensitively parses 'input' case-insensitively into a ActionId note: this method should only be used for API response data and not user input

func (*ActionId) FromParseResult added in v0.20231127.1171502

func (id *ActionId) FromParseResult(input resourceids.ParseResult) error

func (ActionId) ID

func (id ActionId) ID() string

ID returns the formatted Action ID

func (ActionId) Segments

func (id ActionId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Action ID

func (ActionId) String

func (id ActionId) String() string

String returns a human-readable description of this Action ID

type AzureResourceErrorInfo

type AzureResourceErrorInfo struct {
	Code    string                    `json:"code"`
	Details *[]AzureResourceErrorInfo `json:"details,omitempty"`
	Message string                    `json:"message"`
}

type ContentHash

type ContentHash struct {
	Algorithm *string `json:"algorithm,omitempty"`
	Value     *string `json:"value,omitempty"`
}
type ContentLink struct {
	ContentHash    *ContentHash `json:"contentHash,omitempty"`
	ContentSize    *int64       `json:"contentSize,omitempty"`
	ContentVersion *string      `json:"contentVersion,omitempty"`
	Metadata       *interface{} `json:"metadata,omitempty"`
	Uri            *string      `json:"uri,omitempty"`
}

type CopeRepetitionsGetOperationResponse

type CopeRepetitionsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WorkflowRunActionRepetitionDefinition
}

type CopeRepetitionsListOperationResponse

type CopeRepetitionsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WorkflowRunActionRepetitionDefinitionCollection
}

type ErrorProperties

type ErrorProperties struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

type ErrorResponse

type ErrorResponse struct {
	Error *ErrorProperties `json:"error,omitempty"`
}

type Expression

type Expression struct {
	Error          *AzureResourceErrorInfo `json:"error,omitempty"`
	Subexpressions *[]Expression           `json:"subexpressions,omitempty"`
	Text           *string                 `json:"text,omitempty"`
	Value          *interface{}            `json:"value,omitempty"`
}

type ExpressionRoot

type ExpressionRoot struct {
	Error          *AzureResourceErrorInfo `json:"error,omitempty"`
	Path           *string                 `json:"path,omitempty"`
	Subexpressions *[]Expression           `json:"subexpressions,omitempty"`
	Text           *string                 `json:"text,omitempty"`
	Value          *interface{}            `json:"value,omitempty"`
}

type ExpressionTraces

type ExpressionTraces struct {
	Inputs *[]ExpressionRoot `json:"inputs,omitempty"`
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WorkflowRunAction
}

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []WorkflowRunAction
}

type ListExpressionTracesOperationResponse

type ListExpressionTracesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ExpressionTraces
}

type ListOperationOptions

type ListOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders added in v0.20230712.1163130

func (o ListOperationOptions) ToHeaders() *client.Headers

func (ListOperationOptions) ToOData added in v0.20230712.1163130

func (o ListOperationOptions) ToOData() *odata.Query

func (ListOperationOptions) ToQuery added in v0.20230712.1163130

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]WorkflowRunAction
}

type RepetitionId

type RepetitionId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkflowName      string
	RunName           string
	ActionName        string
	RepetitionName    string
}

RepetitionId is a struct representing the Resource ID for a Repetition

func NewRepetitionID

func NewRepetitionID(subscriptionId string, resourceGroupName string, workflowName string, runName string, actionName string, repetitionName string) RepetitionId

NewRepetitionID returns a new RepetitionId struct

func ParseRepetitionID

func ParseRepetitionID(input string) (*RepetitionId, error)

ParseRepetitionID parses 'input' into a RepetitionId

func ParseRepetitionIDInsensitively

func ParseRepetitionIDInsensitively(input string) (*RepetitionId, error)

ParseRepetitionIDInsensitively parses 'input' case-insensitively into a RepetitionId note: this method should only be used for API response data and not user input

func (*RepetitionId) FromParseResult added in v0.20231127.1171502

func (id *RepetitionId) FromParseResult(input resourceids.ParseResult) error

func (RepetitionId) ID

func (id RepetitionId) ID() string

ID returns the formatted Repetition ID

func (RepetitionId) Segments

func (id RepetitionId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Repetition ID

func (RepetitionId) String

func (id RepetitionId) String() string

String returns a human-readable description of this Repetition ID

type RepetitionIndex

type RepetitionIndex struct {
	ItemIndex int64   `json:"itemIndex"`
	ScopeName *string `json:"scopeName,omitempty"`
}

type RepetitionRequestHistoryId

type RepetitionRequestHistoryId struct {
	SubscriptionId     string
	ResourceGroupName  string
	WorkflowName       string
	RunName            string
	ActionName         string
	RepetitionName     string
	RequestHistoryName string
}

RepetitionRequestHistoryId is a struct representing the Resource ID for a Repetition Request History

func NewRepetitionRequestHistoryID

func NewRepetitionRequestHistoryID(subscriptionId string, resourceGroupName string, workflowName string, runName string, actionName string, repetitionName string, requestHistoryName string) RepetitionRequestHistoryId

NewRepetitionRequestHistoryID returns a new RepetitionRequestHistoryId struct

func ParseRepetitionRequestHistoryID

func ParseRepetitionRequestHistoryID(input string) (*RepetitionRequestHistoryId, error)

ParseRepetitionRequestHistoryID parses 'input' into a RepetitionRequestHistoryId

func ParseRepetitionRequestHistoryIDInsensitively

func ParseRepetitionRequestHistoryIDInsensitively(input string) (*RepetitionRequestHistoryId, error)

ParseRepetitionRequestHistoryIDInsensitively parses 'input' case-insensitively into a RepetitionRequestHistoryId note: this method should only be used for API response data and not user input

func (*RepetitionRequestHistoryId) FromParseResult added in v0.20231127.1171502

func (id *RepetitionRequestHistoryId) FromParseResult(input resourceids.ParseResult) error

func (RepetitionRequestHistoryId) ID

ID returns the formatted Repetition Request History ID

func (RepetitionRequestHistoryId) Segments

Segments returns a slice of Resource ID Segments which comprise this Repetition Request History ID

func (RepetitionRequestHistoryId) String

func (id RepetitionRequestHistoryId) String() string

String returns a human-readable description of this Repetition Request History ID

type Request

type Request struct {
	Headers *interface{} `json:"headers,omitempty"`
	Method  *string      `json:"method,omitempty"`
	Uri     *string      `json:"uri,omitempty"`
}

type RequestHistory

type RequestHistory struct {
	Id         *string                   `json:"id,omitempty"`
	Location   *string                   `json:"location,omitempty"`
	Name       *string                   `json:"name,omitempty"`
	Properties *RequestHistoryProperties `json:"properties,omitempty"`
	Tags       *map[string]string        `json:"tags,omitempty"`
	Type       *string                   `json:"type,omitempty"`
}

type RequestHistoryId

type RequestHistoryId struct {
	SubscriptionId     string
	ResourceGroupName  string
	WorkflowName       string
	RunName            string
	ActionName         string
	RequestHistoryName string
}

RequestHistoryId is a struct representing the Resource ID for a Request History

func NewRequestHistoryID

func NewRequestHistoryID(subscriptionId string, resourceGroupName string, workflowName string, runName string, actionName string, requestHistoryName string) RequestHistoryId

NewRequestHistoryID returns a new RequestHistoryId struct

func ParseRequestHistoryID

func ParseRequestHistoryID(input string) (*RequestHistoryId, error)

ParseRequestHistoryID parses 'input' into a RequestHistoryId

func ParseRequestHistoryIDInsensitively

func ParseRequestHistoryIDInsensitively(input string) (*RequestHistoryId, error)

ParseRequestHistoryIDInsensitively parses 'input' case-insensitively into a RequestHistoryId note: this method should only be used for API response data and not user input

func (*RequestHistoryId) FromParseResult added in v0.20231127.1171502

func (id *RequestHistoryId) FromParseResult(input resourceids.ParseResult) error

func (RequestHistoryId) ID

func (id RequestHistoryId) ID() string

ID returns the formatted Request History ID

func (RequestHistoryId) Segments

func (id RequestHistoryId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Request History ID

func (RequestHistoryId) String

func (id RequestHistoryId) String() string

String returns a human-readable description of this Request History ID

type RequestHistoryOperationPredicate

type RequestHistoryOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (RequestHistoryOperationPredicate) Matches

type RequestHistoryProperties

type RequestHistoryProperties struct {
	EndTime   *string   `json:"endTime,omitempty"`
	Request   *Request  `json:"request,omitempty"`
	Response  *Response `json:"response,omitempty"`
	StartTime *string   `json:"startTime,omitempty"`
}

func (*RequestHistoryProperties) GetEndTimeAsTime

func (o *RequestHistoryProperties) GetEndTimeAsTime() (*time.Time, error)

func (*RequestHistoryProperties) GetStartTimeAsTime

func (o *RequestHistoryProperties) GetStartTimeAsTime() (*time.Time, error)

func (*RequestHistoryProperties) SetEndTimeAsTime

func (o *RequestHistoryProperties) SetEndTimeAsTime(input time.Time)

func (*RequestHistoryProperties) SetStartTimeAsTime

func (o *RequestHistoryProperties) SetStartTimeAsTime(input time.Time)

type Response

type Response struct {
	BodyLink   *ContentLink `json:"bodyLink,omitempty"`
	Headers    *interface{} `json:"headers,omitempty"`
	StatusCode *int64       `json:"statusCode,omitempty"`
}

type RetryHistory

type RetryHistory struct {
	ClientRequestId  *string        `json:"clientRequestId,omitempty"`
	Code             *string        `json:"code,omitempty"`
	EndTime          *string        `json:"endTime,omitempty"`
	Error            *ErrorResponse `json:"error,omitempty"`
	ServiceRequestId *string        `json:"serviceRequestId,omitempty"`
	StartTime        *string        `json:"startTime,omitempty"`
}

func (*RetryHistory) GetEndTimeAsTime

func (o *RetryHistory) GetEndTimeAsTime() (*time.Time, error)

func (*RetryHistory) GetStartTimeAsTime

func (o *RetryHistory) GetStartTimeAsTime() (*time.Time, error)

func (*RetryHistory) SetEndTimeAsTime

func (o *RetryHistory) SetEndTimeAsTime(input time.Time)

func (*RetryHistory) SetStartTimeAsTime

func (o *RetryHistory) SetStartTimeAsTime(input time.Time)

type RunActionCorrelation

type RunActionCorrelation struct {
	ActionTrackingId *string   `json:"actionTrackingId,omitempty"`
	ClientKeywords   *[]string `json:"clientKeywords,omitempty"`
	ClientTrackingId *string   `json:"clientTrackingId,omitempty"`
}

type RunId

type RunId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkflowName      string
	RunName           string
}

RunId is a struct representing the Resource ID for a Run

func NewRunID

func NewRunID(subscriptionId string, resourceGroupName string, workflowName string, runName string) RunId

NewRunID returns a new RunId struct

func ParseRunID

func ParseRunID(input string) (*RunId, error)

ParseRunID parses 'input' into a RunId

func ParseRunIDInsensitively

func ParseRunIDInsensitively(input string) (*RunId, error)

ParseRunIDInsensitively parses 'input' case-insensitively into a RunId note: this method should only be used for API response data and not user input

func (*RunId) FromParseResult added in v0.20231127.1171502

func (id *RunId) FromParseResult(input resourceids.ParseResult) error

func (RunId) ID

func (id RunId) ID() string

ID returns the formatted Run ID

func (RunId) Segments

func (id RunId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Run ID

func (RunId) String

func (id RunId) String() string

String returns a human-readable description of this Run ID

type ScopeRepetitionId

type ScopeRepetitionId struct {
	SubscriptionId      string
	ResourceGroupName   string
	WorkflowName        string
	RunName             string
	ActionName          string
	ScopeRepetitionName string
}

ScopeRepetitionId is a struct representing the Resource ID for a Scope Repetition

func NewScopeRepetitionID

func NewScopeRepetitionID(subscriptionId string, resourceGroupName string, workflowName string, runName string, actionName string, scopeRepetitionName string) ScopeRepetitionId

NewScopeRepetitionID returns a new ScopeRepetitionId struct

func ParseScopeRepetitionID

func ParseScopeRepetitionID(input string) (*ScopeRepetitionId, error)

ParseScopeRepetitionID parses 'input' into a ScopeRepetitionId

func ParseScopeRepetitionIDInsensitively

func ParseScopeRepetitionIDInsensitively(input string) (*ScopeRepetitionId, error)

ParseScopeRepetitionIDInsensitively parses 'input' case-insensitively into a ScopeRepetitionId note: this method should only be used for API response data and not user input

func (*ScopeRepetitionId) FromParseResult added in v0.20231127.1171502

func (id *ScopeRepetitionId) FromParseResult(input resourceids.ParseResult) error

func (ScopeRepetitionId) ID

func (id ScopeRepetitionId) ID() string

ID returns the formatted Scope Repetition ID

func (ScopeRepetitionId) Segments

func (id ScopeRepetitionId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Scope Repetition ID

func (ScopeRepetitionId) String

func (id ScopeRepetitionId) String() string

String returns a human-readable description of this Scope Repetition ID

type WorkflowRunAction

type WorkflowRunAction struct {
	Id         *string                      `json:"id,omitempty"`
	Name       *string                      `json:"name,omitempty"`
	Properties *WorkflowRunActionProperties `json:"properties,omitempty"`
	Type       *string                      `json:"type,omitempty"`
}

type WorkflowRunActionOperationPredicate

type WorkflowRunActionOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (WorkflowRunActionOperationPredicate) Matches

type WorkflowRunActionProperties

type WorkflowRunActionProperties struct {
	Code              *string               `json:"code,omitempty"`
	Correlation       *RunActionCorrelation `json:"correlation,omitempty"`
	EndTime           *string               `json:"endTime,omitempty"`
	Error             *interface{}          `json:"error,omitempty"`
	InputsLink        *ContentLink          `json:"inputsLink,omitempty"`
	OutputsLink       *ContentLink          `json:"outputsLink,omitempty"`
	RetryHistory      *[]RetryHistory       `json:"retryHistory,omitempty"`
	StartTime         *string               `json:"startTime,omitempty"`
	Status            *WorkflowStatus       `json:"status,omitempty"`
	TrackedProperties *interface{}          `json:"trackedProperties,omitempty"`
	TrackingId        *string               `json:"trackingId,omitempty"`
}

func (*WorkflowRunActionProperties) GetEndTimeAsTime

func (o *WorkflowRunActionProperties) GetEndTimeAsTime() (*time.Time, error)

func (*WorkflowRunActionProperties) GetStartTimeAsTime

func (o *WorkflowRunActionProperties) GetStartTimeAsTime() (*time.Time, error)

func (*WorkflowRunActionProperties) SetEndTimeAsTime

func (o *WorkflowRunActionProperties) SetEndTimeAsTime(input time.Time)

func (*WorkflowRunActionProperties) SetStartTimeAsTime

func (o *WorkflowRunActionProperties) SetStartTimeAsTime(input time.Time)

type WorkflowRunActionRepetitionDefinition

type WorkflowRunActionRepetitionDefinition struct {
	Id         *string                               `json:"id,omitempty"`
	Location   *string                               `json:"location,omitempty"`
	Name       *string                               `json:"name,omitempty"`
	Properties WorkflowRunActionRepetitionProperties `json:"properties"`
	Tags       *map[string]string                    `json:"tags,omitempty"`
	Type       *string                               `json:"type,omitempty"`
}

type WorkflowRunActionRepetitionDefinitionCollection

type WorkflowRunActionRepetitionDefinitionCollection struct {
	NextLink *string                                  `json:"nextLink,omitempty"`
	Value    *[]WorkflowRunActionRepetitionDefinition `json:"value,omitempty"`
}

type WorkflowRunActionRepetitionProperties

type WorkflowRunActionRepetitionProperties struct {
	Code              *string               `json:"code,omitempty"`
	Correlation       *RunActionCorrelation `json:"correlation,omitempty"`
	EndTime           *string               `json:"endTime,omitempty"`
	Error             *interface{}          `json:"error,omitempty"`
	Inputs            *interface{}          `json:"inputs,omitempty"`
	InputsLink        *ContentLink          `json:"inputsLink,omitempty"`
	IterationCount    *int64                `json:"iterationCount,omitempty"`
	Outputs           *interface{}          `json:"outputs,omitempty"`
	OutputsLink       *ContentLink          `json:"outputsLink,omitempty"`
	RepetitionIndexes *[]RepetitionIndex    `json:"repetitionIndexes,omitempty"`
	RetryHistory      *[]RetryHistory       `json:"retryHistory,omitempty"`
	StartTime         *string               `json:"startTime,omitempty"`
	Status            *WorkflowStatus       `json:"status,omitempty"`
	TrackedProperties *interface{}          `json:"trackedProperties,omitempty"`
	TrackingId        *string               `json:"trackingId,omitempty"`
}

func (*WorkflowRunActionRepetitionProperties) GetEndTimeAsTime

func (o *WorkflowRunActionRepetitionProperties) GetEndTimeAsTime() (*time.Time, error)

func (*WorkflowRunActionRepetitionProperties) GetStartTimeAsTime

func (o *WorkflowRunActionRepetitionProperties) GetStartTimeAsTime() (*time.Time, error)

func (*WorkflowRunActionRepetitionProperties) SetEndTimeAsTime

func (o *WorkflowRunActionRepetitionProperties) SetEndTimeAsTime(input time.Time)

func (*WorkflowRunActionRepetitionProperties) SetStartTimeAsTime

func (o *WorkflowRunActionRepetitionProperties) SetStartTimeAsTime(input time.Time)

type WorkflowRunActionRepetitionsGetOperationResponse

type WorkflowRunActionRepetitionsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WorkflowRunActionRepetitionDefinition
}

type WorkflowRunActionRepetitionsListExpressionTracesOperationResponse

type WorkflowRunActionRepetitionsListExpressionTracesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ExpressionTraces
}

type WorkflowRunActionRepetitionsListOperationResponse

type WorkflowRunActionRepetitionsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WorkflowRunActionRepetitionDefinitionCollection
}

type WorkflowRunActionRepetitionsRequestHistoriesGetOperationResponse

type WorkflowRunActionRepetitionsRequestHistoriesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RequestHistory
}

type WorkflowRunActionRepetitionsRequestHistoriesListCompleteResult

type WorkflowRunActionRepetitionsRequestHistoriesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []RequestHistory
}

type WorkflowRunActionRepetitionsRequestHistoriesListOperationResponse

type WorkflowRunActionRepetitionsRequestHistoriesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]RequestHistory
}

type WorkflowRunActionRequestHistoriesGetOperationResponse

type WorkflowRunActionRequestHistoriesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RequestHistory
}

type WorkflowRunActionRequestHistoriesListCompleteResult

type WorkflowRunActionRequestHistoriesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []RequestHistory
}

type WorkflowRunActionRequestHistoriesListOperationResponse

type WorkflowRunActionRequestHistoriesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]RequestHistory
}

type WorkflowRunActionsClient

type WorkflowRunActionsClient struct {
	Client *resourcemanager.Client
}

func NewWorkflowRunActionsClientWithBaseURI

func NewWorkflowRunActionsClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkflowRunActionsClient, error)

func (WorkflowRunActionsClient) CopeRepetitionsGet

CopeRepetitionsGet ...

func (WorkflowRunActionsClient) CopeRepetitionsList

func (c WorkflowRunActionsClient) CopeRepetitionsList(ctx context.Context, id ActionId) (result CopeRepetitionsListOperationResponse, err error)

CopeRepetitionsList ...

func (WorkflowRunActionsClient) Get

Get ...

func (WorkflowRunActionsClient) List

List ...

func (WorkflowRunActionsClient) ListComplete

ListComplete retrieves all the results into a single object

func (WorkflowRunActionsClient) ListCompleteMatchingPredicate

func (c WorkflowRunActionsClient) ListCompleteMatchingPredicate(ctx context.Context, id RunId, options ListOperationOptions, predicate WorkflowRunActionOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WorkflowRunActionsClient) ListExpressionTraces

func (c WorkflowRunActionsClient) ListExpressionTraces(ctx context.Context, id ActionId) (result ListExpressionTracesOperationResponse, err error)

ListExpressionTraces ...

func (WorkflowRunActionsClient) WorkflowRunActionRepetitionsGet

func (c WorkflowRunActionsClient) WorkflowRunActionRepetitionsGet(ctx context.Context, id RepetitionId) (result WorkflowRunActionRepetitionsGetOperationResponse, err error)

WorkflowRunActionRepetitionsGet ...

func (WorkflowRunActionsClient) WorkflowRunActionRepetitionsList

func (c WorkflowRunActionsClient) WorkflowRunActionRepetitionsList(ctx context.Context, id ActionId) (result WorkflowRunActionRepetitionsListOperationResponse, err error)

WorkflowRunActionRepetitionsList ...

func (WorkflowRunActionsClient) WorkflowRunActionRepetitionsListExpressionTraces

func (c WorkflowRunActionsClient) WorkflowRunActionRepetitionsListExpressionTraces(ctx context.Context, id RepetitionId) (result WorkflowRunActionRepetitionsListExpressionTracesOperationResponse, err error)

WorkflowRunActionRepetitionsListExpressionTraces ...

func (WorkflowRunActionsClient) WorkflowRunActionRepetitionsRequestHistoriesGet

WorkflowRunActionRepetitionsRequestHistoriesGet ...

func (WorkflowRunActionsClient) WorkflowRunActionRepetitionsRequestHistoriesList

func (c WorkflowRunActionsClient) WorkflowRunActionRepetitionsRequestHistoriesList(ctx context.Context, id RepetitionId) (result WorkflowRunActionRepetitionsRequestHistoriesListOperationResponse, err error)

WorkflowRunActionRepetitionsRequestHistoriesList ...

func (WorkflowRunActionsClient) WorkflowRunActionRepetitionsRequestHistoriesListComplete

func (c WorkflowRunActionsClient) WorkflowRunActionRepetitionsRequestHistoriesListComplete(ctx context.Context, id RepetitionId) (WorkflowRunActionRepetitionsRequestHistoriesListCompleteResult, error)

WorkflowRunActionRepetitionsRequestHistoriesListComplete retrieves all the results into a single object

func (WorkflowRunActionsClient) WorkflowRunActionRepetitionsRequestHistoriesListCompleteMatchingPredicate

func (c WorkflowRunActionsClient) WorkflowRunActionRepetitionsRequestHistoriesListCompleteMatchingPredicate(ctx context.Context, id RepetitionId, predicate RequestHistoryOperationPredicate) (result WorkflowRunActionRepetitionsRequestHistoriesListCompleteResult, err error)

WorkflowRunActionRepetitionsRequestHistoriesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (WorkflowRunActionsClient) WorkflowRunActionRequestHistoriesGet

func (c WorkflowRunActionsClient) WorkflowRunActionRequestHistoriesGet(ctx context.Context, id RequestHistoryId) (result WorkflowRunActionRequestHistoriesGetOperationResponse, err error)

WorkflowRunActionRequestHistoriesGet ...

func (WorkflowRunActionsClient) WorkflowRunActionRequestHistoriesList

func (c WorkflowRunActionsClient) WorkflowRunActionRequestHistoriesList(ctx context.Context, id ActionId) (result WorkflowRunActionRequestHistoriesListOperationResponse, err error)

WorkflowRunActionRequestHistoriesList ...

func (WorkflowRunActionsClient) WorkflowRunActionRequestHistoriesListComplete

func (c WorkflowRunActionsClient) WorkflowRunActionRequestHistoriesListComplete(ctx context.Context, id ActionId) (WorkflowRunActionRequestHistoriesListCompleteResult, error)

WorkflowRunActionRequestHistoriesListComplete retrieves all the results into a single object

func (WorkflowRunActionsClient) WorkflowRunActionRequestHistoriesListCompleteMatchingPredicate

func (c WorkflowRunActionsClient) WorkflowRunActionRequestHistoriesListCompleteMatchingPredicate(ctx context.Context, id ActionId, predicate RequestHistoryOperationPredicate) (result WorkflowRunActionRequestHistoriesListCompleteResult, err error)

WorkflowRunActionRequestHistoriesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type WorkflowStatus

type WorkflowStatus string
const (
	WorkflowStatusAborted      WorkflowStatus = "Aborted"
	WorkflowStatusCancelled    WorkflowStatus = "Cancelled"
	WorkflowStatusFailed       WorkflowStatus = "Failed"
	WorkflowStatusFaulted      WorkflowStatus = "Faulted"
	WorkflowStatusIgnored      WorkflowStatus = "Ignored"
	WorkflowStatusNotSpecified WorkflowStatus = "NotSpecified"
	WorkflowStatusPaused       WorkflowStatus = "Paused"
	WorkflowStatusRunning      WorkflowStatus = "Running"
	WorkflowStatusSkipped      WorkflowStatus = "Skipped"
	WorkflowStatusSucceeded    WorkflowStatus = "Succeeded"
	WorkflowStatusSuspended    WorkflowStatus = "Suspended"
	WorkflowStatusTimedOut     WorkflowStatus = "TimedOut"
	WorkflowStatusWaiting      WorkflowStatus = "Waiting"
)

func (*WorkflowStatus) UnmarshalJSON added in v0.20230712.1163130

func (s *WorkflowStatus) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL