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 CreateOperationOptions
- type CreateOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type GetOutputOperationOptions
- type GetOutputOperationResponse
- type GetRunbookContentOperationOptions
- 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, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c JobClient) GetOutput(ctx context.Context, id JobId, options GetOutputOperationOptions) (result GetOutputOperationResponse, err error)
- func (c JobClient) GetRunbookContent(ctx context.Context, id JobId, options GetRunbookContentOperationOptions) (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, options ResumeOperationOptions) (result ResumeOperationResponse, err error)
- func (c JobClient) Stop(ctx context.Context, id JobId, options StopOperationOptions) (result StopOperationResponse, err error)
- func (c JobClient) Suspend(ctx context.Context, id JobId, options SuspendOperationOptions) (result SuspendOperationResponse, err error)
- type JobCollectionItem
- type JobCollectionItemOperationPredicate
- type JobCollectionItemProperties
- func (o *JobCollectionItemProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *JobCollectionItemProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *JobCollectionItemProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *JobCollectionItemProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *JobCollectionItemProperties) SetCreationTimeAsTime(input time.Time)
- func (o *JobCollectionItemProperties) SetEndTimeAsTime(input time.Time)
- func (o *JobCollectionItemProperties) SetLastModifiedTimeAsTime(input time.Time)
- func (o *JobCollectionItemProperties) SetStartTimeAsTime(input time.Time)
- type JobCreateParameters
- type JobCreateProperties
- type JobId
- 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 ResumeOperationOptions
- type ResumeOperationResponse
- type RunbookAssociationProperty
- type StopOperationOptions
- type StopOperationResponse
- type SuspendOperationOptions
- 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) 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 CreateOperationOptions ¶
type CreateOperationOptions struct {
ClientRequestId *string
}
func DefaultCreateOperationOptions ¶
func DefaultCreateOperationOptions() CreateOperationOptions
type CreateOperationResponse ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
ClientRequestId *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOutputOperationOptions ¶
type GetOutputOperationOptions struct {
ClientRequestId *string
}
func DefaultGetOutputOperationOptions ¶
func DefaultGetOutputOperationOptions() GetOutputOperationOptions
type GetRunbookContentOperationOptions ¶
type GetRunbookContentOperationOptions struct {
ClientRequestId *string
}
func DefaultGetRunbookContentOperationOptions ¶
func DefaultGetRunbookContentOperationOptions() GetRunbookContentOperationOptions
type Job ¶
type Job struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *JobProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type JobClient ¶
func NewJobClientWithBaseURI ¶
func (JobClient) Create ¶
func (c JobClient) Create(ctx context.Context, id JobId, input JobCreateParameters, options CreateOperationOptions) (result CreateOperationResponse, err error)
Create ...
func (JobClient) Get ¶
func (c JobClient) Get(ctx context.Context, id JobId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (JobClient) GetOutput ¶
func (c JobClient) GetOutput(ctx context.Context, id JobId, options GetOutputOperationOptions) (result GetOutputOperationResponse, err error)
GetOutput ...
func (JobClient) GetRunbookContent ¶
func (c JobClient) GetRunbookContent(ctx context.Context, id JobId, options GetRunbookContentOperationOptions) (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 JobCollectionItemOperationPredicate) (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, options ResumeOperationOptions) (result ResumeOperationResponse, err error)
Resume ...
func (JobClient) Stop ¶
func (c JobClient) Stop(ctx context.Context, id JobId, options StopOperationOptions) (result StopOperationResponse, err error)
Stop ...
func (JobClient) Suspend ¶
func (c JobClient) Suspend(ctx context.Context, id JobId, options SuspendOperationOptions) (result SuspendOperationResponse, err error)
Suspend ...
type JobCollectionItem ¶
type JobCollectionItem struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties JobCollectionItemProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type JobCollectionItemOperationPredicate ¶
func (JobCollectionItemOperationPredicate) Matches ¶
func (p JobCollectionItemOperationPredicate) Matches(input JobCollectionItem) bool
type JobCollectionItemProperties ¶
type JobCollectionItemProperties struct { CreationTime *string `json:"creationTime,omitempty"` EndTime *string `json:"endTime,omitempty"` JobId *string `json:"jobId,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` RunOn *string `json:"runOn,omitempty"` Runbook *RunbookAssociationProperty `json:"runbook"` StartTime *string `json:"startTime,omitempty"` Status *JobStatus `json:"status,omitempty"` }
func (*JobCollectionItemProperties) GetCreationTimeAsTime ¶
func (o *JobCollectionItemProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*JobCollectionItemProperties) GetEndTimeAsTime ¶
func (o *JobCollectionItemProperties) GetEndTimeAsTime() (*time.Time, error)
func (*JobCollectionItemProperties) GetLastModifiedTimeAsTime ¶
func (o *JobCollectionItemProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*JobCollectionItemProperties) GetStartTimeAsTime ¶
func (o *JobCollectionItemProperties) GetStartTimeAsTime() (*time.Time, error)
func (*JobCollectionItemProperties) SetCreationTimeAsTime ¶
func (o *JobCollectionItemProperties) SetCreationTimeAsTime(input time.Time)
func (*JobCollectionItemProperties) SetEndTimeAsTime ¶
func (o *JobCollectionItemProperties) SetEndTimeAsTime(input time.Time)
func (*JobCollectionItemProperties) SetLastModifiedTimeAsTime ¶
func (o *JobCollectionItemProperties) SetLastModifiedTimeAsTime(input time.Time)
func (*JobCollectionItemProperties) SetStartTimeAsTime ¶
func (o *JobCollectionItemProperties) SetStartTimeAsTime(input time.Time)
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 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 JobProperties ¶
type JobProperties struct { CreationTime *string `json:"creationTime,omitempty"` EndTime *string `json:"endTime,omitempty"` Exception *string `json:"exception,omitempty"` JobId *string `json:"jobId,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"` 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 []JobCollectionItem
}
type ListByAutomationAccountOperationOptions ¶
func DefaultListByAutomationAccountOperationOptions ¶
func DefaultListByAutomationAccountOperationOptions() ListByAutomationAccountOperationOptions
type ListByAutomationAccountOperationResponse ¶
type ListByAutomationAccountOperationResponse struct { HttpResponse *http.Response Model *[]JobCollectionItem // 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 ResumeOperationOptions ¶
type ResumeOperationOptions struct {
ClientRequestId *string
}
func DefaultResumeOperationOptions ¶
func DefaultResumeOperationOptions() ResumeOperationOptions
type ResumeOperationResponse ¶
type RunbookAssociationProperty ¶
type RunbookAssociationProperty struct {
Name *string `json:"name,omitempty"`
}
type StopOperationOptions ¶
type StopOperationOptions struct {
ClientRequestId *string
}
func DefaultStopOperationOptions ¶
func DefaultStopOperationOptions() StopOperationOptions
type StopOperationResponse ¶
type SuspendOperationOptions ¶
type SuspendOperationOptions struct {
ClientRequestId *string
}
func DefaultSuspendOperationOptions ¶
func DefaultSuspendOperationOptions() SuspendOperationOptions
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_jobcollectionitem.go
- model_jobcollectionitemproperties.go
- model_jobcreateparameters.go
- model_jobcreateproperties.go
- model_jobproperties.go
- model_runbookassociationproperty.go
- predicates.go
- version.go