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 GetOperationResponse
- type JobId
- type JobStream
- type JobStreamClient
- func (c JobStreamClient) Get(ctx context.Context, id StreamId) (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 ListByJobCustomPager
- 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 GetOperationResponse ¶
type JobId ¶
type JobId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string JobId string }
JobId is a struct representing the Resource ID for a Job
func NewJobID ¶
func NewJobID(subscriptionId string, resourceGroupName string, automationAccountName string, jobId 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) FromParseResult ¶
func (id *JobId) FromParseResult(input resourceids.ParseResult) error
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(sdkApi sdkEnv.Api) (*JobStreamClient, error)
func (JobStreamClient) Get ¶
func (c JobStreamClient) Get(ctx context.Context, id StreamId) (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" )
func (*JobStreamType) UnmarshalJSON ¶ added in v0.20240209.1164150
func (s *JobStreamType) UnmarshalJSON(bytes []byte) error
type ListByJobCompleteResult ¶
type ListByJobCustomPager ¶ added in v0.20240628.1153531
func (*ListByJobCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByJobCustomPager) NextPageLink() *odata.Link
type ListByJobOperationOptions ¶
type ListByJobOperationOptions struct {
Filter *string
}
func DefaultListByJobOperationOptions ¶
func DefaultListByJobOperationOptions() ListByJobOperationOptions
func (ListByJobOperationOptions) ToHeaders ¶ added in v0.20240209.1164150
func (o ListByJobOperationOptions) ToHeaders() *client.Headers
func (ListByJobOperationOptions) ToOData ¶ added in v0.20240209.1164150
func (o ListByJobOperationOptions) ToOData() *odata.Query
func (ListByJobOperationOptions) ToQuery ¶ added in v0.20240209.1164150
func (o ListByJobOperationOptions) ToQuery() *client.QueryParams
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) FromParseResult ¶
func (id *StreamId) FromParseResult(input resourceids.ParseResult) error
func (StreamId) Segments ¶
func (id StreamId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Stream ID