Documentation ¶
Index ¶
- func PossibleValuesForJobProvisioningState() []string
- func PossibleValuesForJobStatus() []string
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateJobID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type CreateOperationResponse
- type GetOperationResponse
- type GetOutputOperationResponse
- type GetRunbookContentOperationResponse
- type Job
- type JobClient
- func (c JobClient) Create(ctx context.Context, id JobId, input JobCreateParameters) (result CreateOperationResponse, err error)
- func (c JobClient) Get(ctx context.Context, id JobId) (result GetOperationResponse, err error)
- func (c JobClient) GetOutput(ctx context.Context, id JobId) (result GetOutputOperationResponse, err error)
- func (c JobClient) GetRunbookContent(ctx context.Context, id JobId) (result GetRunbookContentOperationResponse, err error)
- func (c JobClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId, ...) (resp ListByAutomationAccountOperationResponse, err error)
- func (c JobClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, ...) (ListByAutomationAccountCompleteResult, error)
- func (c JobClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (resp ListByAutomationAccountCompleteResult, err error)
- func (c JobClient) Resume(ctx context.Context, id JobId) (result ResumeOperationResponse, err error)
- func (c JobClient) Stop(ctx context.Context, id JobId) (result StopOperationResponse, err error)
- func (c JobClient) Suspend(ctx context.Context, id JobId) (result SuspendOperationResponse, err error)
- type JobCreateParameters
- type JobCreateProperties
- type JobId
- type JobOperationPredicate
- type JobProperties
- func (o *JobProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *JobProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *JobProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *JobProperties) GetLastStatusModifiedTimeAsTime() (*time.Time, error)
- func (o *JobProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *JobProperties) SetCreationTimeAsTime(input time.Time)
- func (o *JobProperties) SetEndTimeAsTime(input time.Time)
- func (o *JobProperties) SetLastModifiedTimeAsTime(input time.Time)
- func (o *JobProperties) SetLastStatusModifiedTimeAsTime(input time.Time)
- func (o *JobProperties) SetStartTimeAsTime(input time.Time)
- type JobProvisioningState
- type JobStatus
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountOperationOptions
- type ListByAutomationAccountOperationResponse
- type ResumeOperationResponse
- type RunbookAssociationProperty
- type ScheduleAssociationProperty
- type StopOperationResponse
- type SuspendOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForJobProvisioningState ¶
func PossibleValuesForJobProvisioningState() []string
func PossibleValuesForJobStatus ¶
func PossibleValuesForJobStatus() []string
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
func ValidateJobID ¶
ValidateJobID checks that 'input' can be parsed as a Job ID
Types ¶
type AutomationAccountId ¶
type AutomationAccountId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string }
AutomationAccountId is a struct representing the Resource ID for a Automation Account
func NewAutomationAccountID ¶
func NewAutomationAccountID(subscriptionId string, resourceGroupName string, automationAccountName string) AutomationAccountId
NewAutomationAccountID returns a new AutomationAccountId struct
func ParseAutomationAccountID ¶
func ParseAutomationAccountID(input string) (*AutomationAccountId, error)
ParseAutomationAccountID parses 'input' into a AutomationAccountId
func ParseAutomationAccountIDInsensitively ¶
func ParseAutomationAccountIDInsensitively(input string) (*AutomationAccountId, error)
ParseAutomationAccountIDInsensitively parses 'input' case-insensitively into a AutomationAccountId note: this method should only be used for API response data and not user input
func (*AutomationAccountId) FromParseResult ¶
func (id *AutomationAccountId) FromParseResult(input resourceids.ParseResult) error
func (AutomationAccountId) ID ¶
func (id AutomationAccountId) ID() string
ID returns the formatted Automation Account ID
func (AutomationAccountId) Segments ¶
func (id AutomationAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Automation Account ID
func (AutomationAccountId) String ¶
func (id AutomationAccountId) String() string
String returns a human-readable description of this Automation Account ID
type CreateOperationResponse ¶
type GetOperationResponse ¶
type Job ¶
type Job struct { Id *string `json:"id,omitempty"` Properties *JobProperties `json:"properties,omitempty"` }
type JobClient ¶
func NewJobClientWithBaseURI ¶
func (JobClient) Create ¶
func (c JobClient) Create(ctx context.Context, id JobId, input JobCreateParameters) (result CreateOperationResponse, err error)
Create ...
func (JobClient) GetOutput ¶
func (c JobClient) GetOutput(ctx context.Context, id JobId) (result GetOutputOperationResponse, err error)
GetOutput ...
func (JobClient) GetRunbookContent ¶
func (c JobClient) GetRunbookContent(ctx context.Context, id JobId) (result GetRunbookContentOperationResponse, err error)
GetRunbookContent ...
func (JobClient) ListByAutomationAccount ¶
func (c JobClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (resp ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (JobClient) ListByAutomationAccountComplete ¶
func (c JobClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all of the results into a single object
func (JobClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c JobClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions, predicate JobOperationPredicate) (resp ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (JobClient) Resume ¶
func (c JobClient) Resume(ctx context.Context, id JobId) (result ResumeOperationResponse, err error)
Resume ...
type JobCreateParameters ¶
type JobCreateParameters struct {
Properties JobCreateProperties `json:"properties"`
}
type JobCreateProperties ¶
type JobCreateProperties struct { Parameters *map[string]string `json:"parameters,omitempty"` RunOn *string `json:"runOn,omitempty"` Runbook RunbookAssociationProperty `json:"runbook"` }
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 JobOperationPredicate ¶
type JobOperationPredicate struct {
Id *string
}
func (JobOperationPredicate) Matches ¶
func (p JobOperationPredicate) Matches(input Job) bool
type JobProperties ¶
type JobProperties struct { CreationTime *string `json:"creationTime,omitempty"` EndTime *string `json:"endTime,omitempty"` Exception *string `json:"exception,omitempty"` JobId *string `json:"jobId,omitempty"` JobScheduleId *string `json:"jobScheduleId,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` LastStatusModifiedTime *string `json:"lastStatusModifiedTime,omitempty"` Parameters *map[string]string `json:"parameters,omitempty"` ProvisioningState *JobProvisioningState `json:"provisioningState,omitempty"` RunOn *string `json:"runOn,omitempty"` Runbook *RunbookAssociationProperty `json:"runbook,omitempty"` Schedule *ScheduleAssociationProperty `json:"schedule,omitempty"` StartTime *string `json:"startTime,omitempty"` StartedBy *string `json:"startedBy,omitempty"` Status *JobStatus `json:"status,omitempty"` StatusDetails *string `json:"statusDetails,omitempty"` }
func (*JobProperties) GetCreationTimeAsTime ¶
func (o *JobProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*JobProperties) GetEndTimeAsTime ¶
func (o *JobProperties) GetEndTimeAsTime() (*time.Time, error)
func (*JobProperties) GetLastModifiedTimeAsTime ¶
func (o *JobProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*JobProperties) GetLastStatusModifiedTimeAsTime ¶
func (o *JobProperties) GetLastStatusModifiedTimeAsTime() (*time.Time, error)
func (*JobProperties) GetStartTimeAsTime ¶
func (o *JobProperties) GetStartTimeAsTime() (*time.Time, error)
func (*JobProperties) SetCreationTimeAsTime ¶
func (o *JobProperties) SetCreationTimeAsTime(input time.Time)
func (*JobProperties) SetEndTimeAsTime ¶
func (o *JobProperties) SetEndTimeAsTime(input time.Time)
func (*JobProperties) SetLastModifiedTimeAsTime ¶
func (o *JobProperties) SetLastModifiedTimeAsTime(input time.Time)
func (*JobProperties) SetLastStatusModifiedTimeAsTime ¶
func (o *JobProperties) SetLastStatusModifiedTimeAsTime(input time.Time)
func (*JobProperties) SetStartTimeAsTime ¶
func (o *JobProperties) SetStartTimeAsTime(input time.Time)
type JobProvisioningState ¶
type JobProvisioningState string
const ( JobProvisioningStateFailed JobProvisioningState = "Failed" JobProvisioningStateProcessing JobProvisioningState = "Processing" JobProvisioningStateSucceeded JobProvisioningState = "Succeeded" JobProvisioningStateSuspended JobProvisioningState = "Suspended" )
type JobStatus ¶
type JobStatus string
const ( JobStatusActivating JobStatus = "Activating" JobStatusBlocked JobStatus = "Blocked" JobStatusCompleted JobStatus = "Completed" JobStatusDisconnected JobStatus = "Disconnected" JobStatusFailed JobStatus = "Failed" JobStatusNew JobStatus = "New" JobStatusRemoving JobStatus = "Removing" JobStatusResuming JobStatus = "Resuming" JobStatusRunning JobStatus = "Running" JobStatusStopped JobStatus = "Stopped" JobStatusStopping JobStatus = "Stopping" JobStatusSuspended JobStatus = "Suspended" JobStatusSuspending JobStatus = "Suspending" )
type ListByAutomationAccountCompleteResult ¶
type ListByAutomationAccountCompleteResult struct {
Items []Job
}
type ListByAutomationAccountOperationOptions ¶
type ListByAutomationAccountOperationOptions struct {
Filter *string
}
func DefaultListByAutomationAccountOperationOptions ¶
func DefaultListByAutomationAccountOperationOptions() ListByAutomationAccountOperationOptions
type ListByAutomationAccountOperationResponse ¶
type ListByAutomationAccountOperationResponse struct { HttpResponse *http.Response Model *[]Job // contains filtered or unexported fields }
func (ListByAutomationAccountOperationResponse) HasMore ¶
func (r ListByAutomationAccountOperationResponse) HasMore() bool
func (ListByAutomationAccountOperationResponse) LoadMore ¶
func (r ListByAutomationAccountOperationResponse) LoadMore(ctx context.Context) (resp ListByAutomationAccountOperationResponse, err error)
type ResumeOperationResponse ¶
type RunbookAssociationProperty ¶
type RunbookAssociationProperty struct {
Name *string `json:"name,omitempty"`
}
type ScheduleAssociationProperty ¶
type ScheduleAssociationProperty struct {
Name *string `json:"name,omitempty"`
}
type StopOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_automationaccount.go
- id_job.go
- method_create_autorest.go
- method_get_autorest.go
- method_getoutput_autorest.go
- method_getrunbookcontent_autorest.go
- method_listbyautomationaccount_autorest.go
- method_resume_autorest.go
- method_stop_autorest.go
- method_suspend_autorest.go
- model_job.go
- model_jobcreateparameters.go
- model_jobcreateproperties.go
- model_jobproperties.go
- model_runbookassociationproperty.go
- model_scheduleassociationproperty.go
- predicates.go
- version.go