Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForJobScheduleType() []string + func ValidateJobAgentID(input interface{}, key string) (warnings []string, errors []error) + func ValidateJobID(input interface{}, key string) (warnings []string, errors []error) + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *Job + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *Job + OData *odata.OData + type Job struct + Id *string + Name *string + Properties *JobProperties + Type *string + type JobAgentId struct + JobAgentName string + ResourceGroupName string + ServerName string + SubscriptionId string + func NewJobAgentID(subscriptionId string, resourceGroupName string, serverName string, ...) JobAgentId + func ParseJobAgentID(input string) (*JobAgentId, error) + func ParseJobAgentIDInsensitively(input string) (*JobAgentId, error) + func (id *JobAgentId) FromParseResult(input resourceids.ParseResult) error + func (id JobAgentId) ID() string + func (id JobAgentId) Segments() []resourceids.Segment + func (id JobAgentId) String() string + type JobId struct + JobAgentName string + JobName string + ResourceGroupName string + ServerName string + SubscriptionId string + func NewJobID(subscriptionId string, resourceGroupName string, serverName string, ...) JobId + func ParseJobID(input string) (*JobId, error) + func ParseJobIDInsensitively(input string) (*JobId, error) + func (id *JobId) FromParseResult(input resourceids.ParseResult) error + func (id JobId) ID() string + func (id JobId) Segments() []resourceids.Segment + func (id JobId) String() string + type JobOperationPredicate struct + Id *string + Name *string + Type *string + func (p JobOperationPredicate) Matches(input Job) bool + type JobProperties struct + Description *string + Schedule *JobSchedule + Version *int64 + type JobSchedule struct + Enabled *bool + EndTime *string + Interval *string + StartTime *string + Type *JobScheduleType + func (o *JobSchedule) GetEndTimeAsTime() (*time.Time, error) + func (o *JobSchedule) GetStartTimeAsTime() (*time.Time, error) + func (o *JobSchedule) SetEndTimeAsTime(input time.Time) + func (o *JobSchedule) SetStartTimeAsTime(input time.Time) + type JobScheduleType string + const JobScheduleTypeOnce + const JobScheduleTypeRecurring + func (s *JobScheduleType) UnmarshalJSON(bytes []byte) error + type JobsClient struct + Client *resourcemanager.Client + func NewJobsClientWithBaseURI(sdkApi sdkEnv.Api) (*JobsClient, error) + func (c JobsClient) CreateOrUpdate(ctx context.Context, id JobId, input Job) (result CreateOrUpdateOperationResponse, err error) + func (c JobsClient) Delete(ctx context.Context, id JobId) (result DeleteOperationResponse, err error) + func (c JobsClient) Get(ctx context.Context, id JobId) (result GetOperationResponse, err error) + func (c JobsClient) ListByAgent(ctx context.Context, id JobAgentId) (result ListByAgentOperationResponse, err error) + func (c JobsClient) ListByAgentComplete(ctx context.Context, id JobAgentId) (ListByAgentCompleteResult, error) + func (c JobsClient) ListByAgentCompleteMatchingPredicate(ctx context.Context, id JobAgentId, predicate JobOperationPredicate) (result ListByAgentCompleteResult, err error) + type ListByAgentCompleteResult struct + Items []Job + LatestHttpResponse *http.Response + type ListByAgentCustomPager struct + NextLink *odata.Link + func (p *ListByAgentCustomPager) NextPageLink() *odata.Link + type ListByAgentOperationResponse struct + HttpResponse *http.Response + Model *[]Job + OData *odata.OData