Documentation ¶
Index ¶
- func PossibleValuesForJobStreamType() []string
- func ValidateRunbookID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStreamID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type JobStream
- type JobStreamOperationPredicate
- type JobStreamProperties
- type JobStreamType
- type ListByTestJobCompleteResult
- type ListByTestJobOperationOptions
- type ListByTestJobOperationResponse
- type RunbookId
- type StreamId
- type TestJobStreamClient
- func (c TestJobStreamClient) Get(ctx context.Context, id StreamId) (result GetOperationResponse, err error)
- func (c TestJobStreamClient) ListByTestJob(ctx context.Context, id RunbookId, options ListByTestJobOperationOptions) (resp ListByTestJobOperationResponse, err error)
- func (c TestJobStreamClient) ListByTestJobComplete(ctx context.Context, id RunbookId, options ListByTestJobOperationOptions) (ListByTestJobCompleteResult, error)
- func (c TestJobStreamClient) ListByTestJobCompleteMatchingPredicate(ctx context.Context, id RunbookId, options ListByTestJobOperationOptions, ...) (resp ListByTestJobCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForJobStreamType ¶
func PossibleValuesForJobStreamType() []string
func ValidateRunbookID ¶
ValidateRunbookID checks that 'input' can be parsed as a Runbook ID
func ValidateStreamID ¶
ValidateStreamID checks that 'input' can be parsed as a Stream ID
Types ¶
type GetOperationResponse ¶
type JobStream ¶
type JobStream struct { Id *string `json:"id,omitempty"` Properties *JobStreamProperties `json:"properties,omitempty"` }
type JobStreamOperationPredicate ¶
type JobStreamOperationPredicate struct {
Id *string
}
func (JobStreamOperationPredicate) Matches ¶
func (p JobStreamOperationPredicate) Matches(input JobStream) bool
type JobStreamProperties ¶
type JobStreamProperties struct { JobStreamId *string `json:"jobStreamId,omitempty"` StreamText *string `json:"streamText,omitempty"` StreamType *JobStreamType `json:"streamType,omitempty"` Summary *string `json:"summary,omitempty"` Time *string `json:"time,omitempty"` Value *map[string]interface{} `json:"value,omitempty"` }
func (*JobStreamProperties) GetTimeAsTime ¶
func (o *JobStreamProperties) GetTimeAsTime() (*time.Time, error)
func (*JobStreamProperties) SetTimeAsTime ¶
func (o *JobStreamProperties) SetTimeAsTime(input time.Time)
type JobStreamType ¶
type JobStreamType string
const ( JobStreamTypeAny JobStreamType = "Any" JobStreamTypeDebug JobStreamType = "Debug" JobStreamTypeError JobStreamType = "Error" JobStreamTypeOutput JobStreamType = "Output" JobStreamTypeProgress JobStreamType = "Progress" JobStreamTypeVerbose JobStreamType = "Verbose" JobStreamTypeWarning JobStreamType = "Warning" )
type ListByTestJobCompleteResult ¶
type ListByTestJobCompleteResult struct {
Items []JobStream
}
type ListByTestJobOperationOptions ¶
type ListByTestJobOperationOptions struct {
Filter *string
}
func DefaultListByTestJobOperationOptions ¶
func DefaultListByTestJobOperationOptions() ListByTestJobOperationOptions
type ListByTestJobOperationResponse ¶
type ListByTestJobOperationResponse struct { HttpResponse *http.Response Model *[]JobStream // contains filtered or unexported fields }
func (ListByTestJobOperationResponse) HasMore ¶
func (r ListByTestJobOperationResponse) HasMore() bool
func (ListByTestJobOperationResponse) LoadMore ¶
func (r ListByTestJobOperationResponse) LoadMore(ctx context.Context) (resp ListByTestJobOperationResponse, err error)
type RunbookId ¶
type RunbookId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string RunbookName string }
RunbookId is a struct representing the Resource ID for a Runbook
func NewRunbookID ¶
func NewRunbookID(subscriptionId string, resourceGroupName string, automationAccountName string, runbookName string) RunbookId
NewRunbookID returns a new RunbookId struct
func ParseRunbookID ¶
ParseRunbookID parses 'input' into a RunbookId
func ParseRunbookIDInsensitively ¶
ParseRunbookIDInsensitively parses 'input' case-insensitively into a RunbookId note: this method should only be used for API response data and not user input
func (RunbookId) Segments ¶
func (id RunbookId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Runbook ID
type StreamId ¶
type StreamId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string JobId string JobStreamId string }
StreamId is a struct representing the Resource ID for a Stream
func NewStreamID ¶
func NewStreamID(subscriptionId string, resourceGroupName string, automationAccountName string, jobId string, jobStreamId string) StreamId
NewStreamID returns a new StreamId struct
func ParseStreamID ¶
ParseStreamID parses 'input' into a StreamId
func ParseStreamIDInsensitively ¶
ParseStreamIDInsensitively parses 'input' case-insensitively into a StreamId note: this method should only be used for API response data and not user input
func (StreamId) Segments ¶
func (id StreamId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Stream ID
type TestJobStreamClient ¶
type TestJobStreamClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewTestJobStreamClientWithBaseURI ¶
func NewTestJobStreamClientWithBaseURI(endpoint string) TestJobStreamClient
func (TestJobStreamClient) Get ¶
func (c TestJobStreamClient) Get(ctx context.Context, id StreamId) (result GetOperationResponse, err error)
Get ...
func (TestJobStreamClient) ListByTestJob ¶
func (c TestJobStreamClient) ListByTestJob(ctx context.Context, id RunbookId, options ListByTestJobOperationOptions) (resp ListByTestJobOperationResponse, err error)
ListByTestJob ...
func (TestJobStreamClient) ListByTestJobComplete ¶
func (c TestJobStreamClient) ListByTestJobComplete(ctx context.Context, id RunbookId, options ListByTestJobOperationOptions) (ListByTestJobCompleteResult, error)
ListByTestJobComplete retrieves all of the results into a single object
func (TestJobStreamClient) ListByTestJobCompleteMatchingPredicate ¶
func (c TestJobStreamClient) ListByTestJobCompleteMatchingPredicate(ctx context.Context, id RunbookId, options ListByTestJobOperationOptions, predicate JobStreamOperationPredicate) (resp ListByTestJobCompleteResult, err error)
ListByTestJobCompleteMatchingPredicate retrieves all of the results and then applied the predicate