Documentation ¶
Index ¶
- func PossibleValuesForJobStreamType() []string
- func ValidateJobID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStreamID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationOptions
- type GetOperationResponse
- type JobId
- type JobStream
- type JobStreamClient
- func (c JobStreamClient) Get(ctx context.Context, id StreamId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c JobStreamClient) ListByJob(ctx context.Context, id JobId, options ListByJobOperationOptions) (result ListByJobOperationResponse, err error)
- func (c JobStreamClient) ListByJobComplete(ctx context.Context, id JobId, options ListByJobOperationOptions) (ListByJobCompleteResult, error)
- func (c JobStreamClient) ListByJobCompleteMatchingPredicate(ctx context.Context, id JobId, options ListByJobOperationOptions, ...) (result ListByJobCompleteResult, err error)
- type JobStreamOperationPredicate
- type JobStreamProperties
- type JobStreamType
- type ListByJobCompleteResult
- type ListByJobOperationOptions
- type ListByJobOperationResponse
- type StreamId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForJobStreamType ¶
func PossibleValuesForJobStreamType() []string
func ValidateJobID ¶
ValidateJobID checks that 'input' can be parsed as a Job ID
func ValidateStreamID ¶
ValidateStreamID checks that 'input' can be parsed as a Stream ID
Types ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
ClientRequestId *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶ added in v0.20230216.1112329
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶ added in v0.20230216.1112329
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶ added in v0.20230216.1112329
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type JobId ¶
type JobId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string JobName string }
JobId is a struct representing the Resource ID for a Job
func NewJobID ¶
func NewJobID(subscriptionId string, resourceGroupName string, automationAccountName string, jobName string) JobId
NewJobID returns a new JobId struct
func ParseJobID ¶
ParseJobID parses 'input' into a JobId
func ParseJobIDInsensitively ¶
ParseJobIDInsensitively parses 'input' case-insensitively into a JobId note: this method should only be used for API response data and not user input
func (JobId) Segments ¶
func (id JobId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Job ID
type JobStream ¶
type JobStream struct { Id *string `json:"id,omitempty"` Properties *JobStreamProperties `json:"properties,omitempty"` }
type JobStreamClient ¶
type JobStreamClient struct {
Client *resourcemanager.Client
}
func NewJobStreamClientWithBaseURI ¶
func NewJobStreamClientWithBaseURI(api environments.Api) (*JobStreamClient, error)
func (JobStreamClient) Get ¶
func (c JobStreamClient) Get(ctx context.Context, id StreamId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (JobStreamClient) ListByJob ¶
func (c JobStreamClient) ListByJob(ctx context.Context, id JobId, options ListByJobOperationOptions) (result ListByJobOperationResponse, err error)
ListByJob ...
func (JobStreamClient) ListByJobComplete ¶
func (c JobStreamClient) ListByJobComplete(ctx context.Context, id JobId, options ListByJobOperationOptions) (ListByJobCompleteResult, error)
ListByJobComplete retrieves all the results into a single object
func (JobStreamClient) ListByJobCompleteMatchingPredicate ¶
func (c JobStreamClient) ListByJobCompleteMatchingPredicate(ctx context.Context, id JobId, options ListByJobOperationOptions, predicate JobStreamOperationPredicate) (result ListByJobCompleteResult, err error)
ListByJobCompleteMatchingPredicate retrieves all the results and then applies the predicate
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 ListByJobCompleteResult ¶
type ListByJobCompleteResult struct {
Items []JobStream
}
type ListByJobOperationOptions ¶
func DefaultListByJobOperationOptions ¶
func DefaultListByJobOperationOptions() ListByJobOperationOptions
func (ListByJobOperationOptions) ToHeaders ¶ added in v0.20230216.1112329
func (o ListByJobOperationOptions) ToHeaders() *client.Headers
func (ListByJobOperationOptions) ToOData ¶ added in v0.20230216.1112329
func (o ListByJobOperationOptions) ToOData() *odata.Query
func (ListByJobOperationOptions) ToQuery ¶ added in v0.20230216.1112329
func (o ListByJobOperationOptions) ToQuery() *client.QueryParams
type StreamId ¶
type StreamId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string JobName string JobStreamId string }
StreamId is a struct representing the Resource ID for a Stream
func NewStreamID ¶
func NewStreamID(subscriptionId string, resourceGroupName string, automationAccountName string, jobName 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