vendor: update all dependencies to latest versions
This commit is contained in:
+3
-5
@@ -1,5 +1,4 @@
|
||||
// Package scheduler implements the Azure ARM Scheduler service API version
|
||||
// 2016-03-01.
|
||||
// Package scheduler implements the Azure ARM Scheduler service API version 2016-03-01.
|
||||
//
|
||||
//
|
||||
package scheduler
|
||||
@@ -18,9 +17,8 @@ package scheduler
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
|
||||
+121
-37
@@ -14,9 +14,8 @@ package scheduler
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
@@ -24,29 +23,25 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// JobCollectionsClient is the client for the JobCollections methods of the
|
||||
// Scheduler service.
|
||||
// JobCollectionsClient is the client for the JobCollections methods of the Scheduler service.
|
||||
type JobCollectionsClient struct {
|
||||
ManagementClient
|
||||
}
|
||||
|
||||
// NewJobCollectionsClient creates an instance of the JobCollectionsClient
|
||||
// client.
|
||||
// NewJobCollectionsClient creates an instance of the JobCollectionsClient client.
|
||||
func NewJobCollectionsClient(subscriptionID string) JobCollectionsClient {
|
||||
return NewJobCollectionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
|
||||
}
|
||||
|
||||
// NewJobCollectionsClientWithBaseURI creates an instance of the
|
||||
// JobCollectionsClient client.
|
||||
// NewJobCollectionsClientWithBaseURI creates an instance of the JobCollectionsClient client.
|
||||
func NewJobCollectionsClientWithBaseURI(baseURI string, subscriptionID string) JobCollectionsClient {
|
||||
return JobCollectionsClient{NewWithBaseURI(baseURI, subscriptionID)}
|
||||
}
|
||||
|
||||
// CreateOrUpdate provisions a new job collection or updates an existing job
|
||||
// collection.
|
||||
// CreateOrUpdate provisions a new job collection or updates an existing job collection.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name. jobCollection is the job collection definition.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobCollection is the job
|
||||
// collection definition.
|
||||
func (client JobCollectionsClient) CreateOrUpdate(resourceGroupName string, jobCollectionName string, jobCollection JobCollectionDefinition) (result JobCollectionDefinition, err error) {
|
||||
req, err := client.CreateOrUpdatePreparer(resourceGroupName, jobCollectionName, jobCollection)
|
||||
if err != nil {
|
||||
@@ -111,12 +106,10 @@ func (client JobCollectionsClient) CreateOrUpdateResponder(resp *http.Response)
|
||||
return
|
||||
}
|
||||
|
||||
// Delete deletes a job collection. This method may poll for completion.
|
||||
// Polling can be canceled by passing the cancel channel argument. The channel
|
||||
// will be used to cancel polling and any outstanding HTTP requests.
|
||||
// Delete deletes a job collection. This method may poll for completion. Polling can be canceled by passing the cancel
|
||||
// channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name.
|
||||
func (client JobCollectionsClient) Delete(resourceGroupName string, jobCollectionName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
|
||||
resultChan := make(chan autorest.Response, 1)
|
||||
errChan := make(chan error, 1)
|
||||
@@ -124,8 +117,10 @@ func (client JobCollectionsClient) Delete(resourceGroupName string, jobCollectio
|
||||
var err error
|
||||
var result autorest.Response
|
||||
defer func() {
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
}
|
||||
resultChan <- result
|
||||
errChan <- err
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
@@ -191,13 +186,11 @@ func (client JobCollectionsClient) DeleteResponder(resp *http.Response) (result
|
||||
return
|
||||
}
|
||||
|
||||
// Disable disables all of the jobs in the job collection. This method may poll
|
||||
// for completion. Polling can be canceled by passing the cancel channel
|
||||
// argument. The channel will be used to cancel polling and any outstanding
|
||||
// HTTP requests.
|
||||
// Disable disables all of the jobs in the job collection. This method may poll for completion. Polling can be canceled
|
||||
// by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP
|
||||
// requests.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name.
|
||||
func (client JobCollectionsClient) Disable(resourceGroupName string, jobCollectionName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
|
||||
resultChan := make(chan autorest.Response, 1)
|
||||
errChan := make(chan error, 1)
|
||||
@@ -205,8 +198,10 @@ func (client JobCollectionsClient) Disable(resourceGroupName string, jobCollecti
|
||||
var err error
|
||||
var result autorest.Response
|
||||
defer func() {
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
}
|
||||
resultChan <- result
|
||||
errChan <- err
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
@@ -272,13 +267,11 @@ func (client JobCollectionsClient) DisableResponder(resp *http.Response) (result
|
||||
return
|
||||
}
|
||||
|
||||
// Enable enables all of the jobs in the job collection. This method may poll
|
||||
// for completion. Polling can be canceled by passing the cancel channel
|
||||
// argument. The channel will be used to cancel polling and any outstanding
|
||||
// HTTP requests.
|
||||
// Enable enables all of the jobs in the job collection. This method may poll for completion. Polling can be canceled
|
||||
// by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP
|
||||
// requests.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name.
|
||||
func (client JobCollectionsClient) Enable(resourceGroupName string, jobCollectionName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
|
||||
resultChan := make(chan autorest.Response, 1)
|
||||
errChan := make(chan error, 1)
|
||||
@@ -286,8 +279,10 @@ func (client JobCollectionsClient) Enable(resourceGroupName string, jobCollectio
|
||||
var err error
|
||||
var result autorest.Response
|
||||
defer func() {
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
}
|
||||
resultChan <- result
|
||||
errChan <- err
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
@@ -355,8 +350,7 @@ func (client JobCollectionsClient) EnableResponder(resp *http.Response) (result
|
||||
|
||||
// Get gets a job collection.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name.
|
||||
func (client JobCollectionsClient) Get(resourceGroupName string, jobCollectionName string) (result JobCollectionDefinition, err error) {
|
||||
req, err := client.GetPreparer(resourceGroupName, jobCollectionName)
|
||||
if err != nil {
|
||||
@@ -507,6 +501,51 @@ func (client JobCollectionsClient) ListByResourceGroupNextResults(lastResults Jo
|
||||
return
|
||||
}
|
||||
|
||||
// ListByResourceGroupComplete gets all elements from the list without paging.
|
||||
func (client JobCollectionsClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan JobCollectionDefinition, <-chan error) {
|
||||
resultChan := make(chan JobCollectionDefinition)
|
||||
errChan := make(chan error, 1)
|
||||
go func() {
|
||||
defer func() {
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
list, err := client.ListByResourceGroup(resourceGroupName)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
for list.NextLink != nil {
|
||||
list, err = client.ListByResourceGroupNextResults(list)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}()
|
||||
return resultChan, errChan
|
||||
}
|
||||
|
||||
// ListBySubscription gets all job collections under specified subscription.
|
||||
func (client JobCollectionsClient) ListBySubscription() (result JobCollectionListResult, err error) {
|
||||
req, err := client.ListBySubscriptionPreparer()
|
||||
@@ -592,10 +631,55 @@ func (client JobCollectionsClient) ListBySubscriptionNextResults(lastResults Job
|
||||
return
|
||||
}
|
||||
|
||||
// ListBySubscriptionComplete gets all elements from the list without paging.
|
||||
func (client JobCollectionsClient) ListBySubscriptionComplete(cancel <-chan struct{}) (<-chan JobCollectionDefinition, <-chan error) {
|
||||
resultChan := make(chan JobCollectionDefinition)
|
||||
errChan := make(chan error, 1)
|
||||
go func() {
|
||||
defer func() {
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
list, err := client.ListBySubscription()
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
for list.NextLink != nil {
|
||||
list, err = client.ListBySubscriptionNextResults(list)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}()
|
||||
return resultChan, errChan
|
||||
}
|
||||
|
||||
// Patch patches an existing job collection.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name. jobCollection is the job collection definition.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobCollection is the job
|
||||
// collection definition.
|
||||
func (client JobCollectionsClient) Patch(resourceGroupName string, jobCollectionName string, jobCollection JobCollectionDefinition) (result JobCollectionDefinition, err error) {
|
||||
req, err := client.PatchPreparer(resourceGroupName, jobCollectionName, jobCollection)
|
||||
if err != nil {
|
||||
|
||||
+104
-21
@@ -14,9 +14,8 @@ package scheduler
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
@@ -42,8 +41,8 @@ func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient
|
||||
|
||||
// CreateOrUpdate provisions a new job or updates an existing job.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name. jobName is the job name. job is the job definition.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job name.
|
||||
// job is the job definition.
|
||||
func (client JobsClient) CreateOrUpdate(resourceGroupName string, jobCollectionName string, jobName string, job JobDefinition) (result JobDefinition, err error) {
|
||||
req, err := client.CreateOrUpdatePreparer(resourceGroupName, jobCollectionName, jobName, job)
|
||||
if err != nil {
|
||||
@@ -111,8 +110,7 @@ func (client JobsClient) CreateOrUpdateResponder(resp *http.Response) (result Jo
|
||||
|
||||
// Delete deletes a job.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name. jobName is the job name.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job name.
|
||||
func (client JobsClient) Delete(resourceGroupName string, jobCollectionName string, jobName string) (result autorest.Response, err error) {
|
||||
req, err := client.DeletePreparer(resourceGroupName, jobCollectionName, jobName)
|
||||
if err != nil {
|
||||
@@ -177,8 +175,7 @@ func (client JobsClient) DeleteResponder(resp *http.Response) (result autorest.R
|
||||
|
||||
// Get gets a job.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name. jobName is the job name.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job name.
|
||||
func (client JobsClient) Get(resourceGroupName string, jobCollectionName string, jobName string) (result JobDefinition, err error) {
|
||||
req, err := client.GetPreparer(resourceGroupName, jobCollectionName, jobName)
|
||||
if err != nil {
|
||||
@@ -244,9 +241,8 @@ func (client JobsClient) GetResponder(resp *http.Response) (result JobDefinition
|
||||
|
||||
// List lists all jobs under the specified job collection.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name. top is the number of jobs to request, in the of range of
|
||||
// [1..100]. skip is the (0-based) index of the job history list from which to
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name. top is the number of
|
||||
// jobs to request, in the of range of [1..100]. skip is the (0-based) index of the job history list from which to
|
||||
// begin requesting entries. filter is the filter to apply on the job state.
|
||||
func (client JobsClient) List(resourceGroupName string, jobCollectionName string, top *int32, skip *int32, filter string) (result JobListResult, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
@@ -352,13 +348,56 @@ func (client JobsClient) ListNextResults(lastResults JobListResult) (result JobL
|
||||
return
|
||||
}
|
||||
|
||||
// ListComplete gets all elements from the list without paging.
|
||||
func (client JobsClient) ListComplete(resourceGroupName string, jobCollectionName string, top *int32, skip *int32, filter string, cancel <-chan struct{}) (<-chan JobDefinition, <-chan error) {
|
||||
resultChan := make(chan JobDefinition)
|
||||
errChan := make(chan error, 1)
|
||||
go func() {
|
||||
defer func() {
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
list, err := client.List(resourceGroupName, jobCollectionName, top, skip, filter)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
for list.NextLink != nil {
|
||||
list, err = client.ListNextResults(list)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}()
|
||||
return resultChan, errChan
|
||||
}
|
||||
|
||||
// ListJobHistory lists job history.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name. jobName is the job name. top is the number of job history
|
||||
// to request, in the of range of [1..100]. skip is the (0-based) index of the
|
||||
// job history list from which to begin requesting entries. filter is the
|
||||
// filter to apply on the job state.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job name.
|
||||
// top is the number of job history to request, in the of range of [1..100]. skip is the (0-based) index of the job
|
||||
// history list from which to begin requesting entries. filter is the filter to apply on the job state.
|
||||
func (client JobsClient) ListJobHistory(resourceGroupName string, jobCollectionName string, jobName string, top *int32, skip *int32, filter string) (result JobHistoryListResult, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: top,
|
||||
@@ -464,10 +503,55 @@ func (client JobsClient) ListJobHistoryNextResults(lastResults JobHistoryListRes
|
||||
return
|
||||
}
|
||||
|
||||
// ListJobHistoryComplete gets all elements from the list without paging.
|
||||
func (client JobsClient) ListJobHistoryComplete(resourceGroupName string, jobCollectionName string, jobName string, top *int32, skip *int32, filter string, cancel <-chan struct{}) (<-chan JobHistoryDefinition, <-chan error) {
|
||||
resultChan := make(chan JobHistoryDefinition)
|
||||
errChan := make(chan error, 1)
|
||||
go func() {
|
||||
defer func() {
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
list, err := client.ListJobHistory(resourceGroupName, jobCollectionName, jobName, top, skip, filter)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
for list.NextLink != nil {
|
||||
list, err = client.ListJobHistoryNextResults(list)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}()
|
||||
return resultChan, errChan
|
||||
}
|
||||
|
||||
// Patch patches an existing job.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name. jobName is the job name. job is the job definition.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job name.
|
||||
// job is the job definition.
|
||||
func (client JobsClient) Patch(resourceGroupName string, jobCollectionName string, jobName string, job JobDefinition) (result JobDefinition, err error) {
|
||||
req, err := client.PatchPreparer(resourceGroupName, jobCollectionName, jobName, job)
|
||||
if err != nil {
|
||||
@@ -535,8 +619,7 @@ func (client JobsClient) PatchResponder(resp *http.Response) (result JobDefiniti
|
||||
|
||||
// Run runs a job.
|
||||
//
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job
|
||||
// collection name. jobName is the job name.
|
||||
// resourceGroupName is the resource group name. jobCollectionName is the job collection name. jobName is the job name.
|
||||
func (client JobsClient) Run(resourceGroupName string, jobCollectionName string, jobName string) (result autorest.Response, err error) {
|
||||
req, err := client.RunPreparer(resourceGroupName, jobCollectionName, jobName)
|
||||
if err != nil {
|
||||
|
||||
+26
-45
@@ -14,9 +14,8 @@ package scheduler
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
@@ -49,16 +48,13 @@ const (
|
||||
type HTTPAuthenticationType string
|
||||
|
||||
const (
|
||||
// ActiveDirectoryOAuth specifies the active directory o auth state for
|
||||
// http authentication type.
|
||||
// ActiveDirectoryOAuth specifies the active directory o auth state for http authentication type.
|
||||
ActiveDirectoryOAuth HTTPAuthenticationType = "ActiveDirectoryOAuth"
|
||||
// Basic specifies the basic state for http authentication type.
|
||||
Basic HTTPAuthenticationType = "Basic"
|
||||
// ClientCertificate specifies the client certificate state for http
|
||||
// authentication type.
|
||||
// ClientCertificate specifies the client certificate state for http authentication type.
|
||||
ClientCertificate HTTPAuthenticationType = "ClientCertificate"
|
||||
// NotSpecified specifies the not specified state for http authentication
|
||||
// type.
|
||||
// NotSpecified specifies the not specified state for http authentication type.
|
||||
NotSpecified HTTPAuthenticationType = "NotSpecified"
|
||||
)
|
||||
|
||||
@@ -70,11 +66,9 @@ const (
|
||||
HTTP JobActionType = "Http"
|
||||
// HTTPS specifies the https state for job action type.
|
||||
HTTPS JobActionType = "Https"
|
||||
// ServiceBusQueue specifies the service bus queue state for job action
|
||||
// type.
|
||||
// ServiceBusQueue specifies the service bus queue state for job action type.
|
||||
ServiceBusQueue JobActionType = "ServiceBusQueue"
|
||||
// ServiceBusTopic specifies the service bus topic state for job action
|
||||
// type.
|
||||
// ServiceBusTopic specifies the service bus topic state for job action type.
|
||||
ServiceBusTopic JobActionType = "ServiceBusTopic"
|
||||
// StorageQueue specifies the storage queue state for job action type.
|
||||
StorageQueue JobActionType = "StorageQueue"
|
||||
@@ -110,8 +104,7 @@ const (
|
||||
type JobHistoryActionName string
|
||||
|
||||
const (
|
||||
// ErrorAction specifies the error action state for job history action
|
||||
// name.
|
||||
// ErrorAction specifies the error action state for job history action name.
|
||||
ErrorAction JobHistoryActionName = "ErrorAction"
|
||||
// MainAction specifies the main action state for job history action name.
|
||||
MainAction JobHistoryActionName = "MainAction"
|
||||
@@ -121,26 +114,19 @@ const (
|
||||
type JobScheduleDay string
|
||||
|
||||
const (
|
||||
// JobScheduleDayFriday specifies the job schedule day friday state for job
|
||||
// schedule day.
|
||||
// JobScheduleDayFriday specifies the job schedule day friday state for job schedule day.
|
||||
JobScheduleDayFriday JobScheduleDay = "Friday"
|
||||
// JobScheduleDayMonday specifies the job schedule day monday state for job
|
||||
// schedule day.
|
||||
// JobScheduleDayMonday specifies the job schedule day monday state for job schedule day.
|
||||
JobScheduleDayMonday JobScheduleDay = "Monday"
|
||||
// JobScheduleDaySaturday specifies the job schedule day saturday state for
|
||||
// job schedule day.
|
||||
// JobScheduleDaySaturday specifies the job schedule day saturday state for job schedule day.
|
||||
JobScheduleDaySaturday JobScheduleDay = "Saturday"
|
||||
// JobScheduleDaySunday specifies the job schedule day sunday state for job
|
||||
// schedule day.
|
||||
// JobScheduleDaySunday specifies the job schedule day sunday state for job schedule day.
|
||||
JobScheduleDaySunday JobScheduleDay = "Sunday"
|
||||
// JobScheduleDayThursday specifies the job schedule day thursday state for
|
||||
// job schedule day.
|
||||
// JobScheduleDayThursday specifies the job schedule day thursday state for job schedule day.
|
||||
JobScheduleDayThursday JobScheduleDay = "Thursday"
|
||||
// JobScheduleDayTuesday specifies the job schedule day tuesday state for
|
||||
// job schedule day.
|
||||
// JobScheduleDayTuesday specifies the job schedule day tuesday state for job schedule day.
|
||||
JobScheduleDayTuesday JobScheduleDay = "Tuesday"
|
||||
// JobScheduleDayWednesday specifies the job schedule day wednesday state
|
||||
// for job schedule day.
|
||||
// JobScheduleDayWednesday specifies the job schedule day wednesday state for job schedule day.
|
||||
JobScheduleDayWednesday JobScheduleDay = "Wednesday"
|
||||
)
|
||||
|
||||
@@ -184,34 +170,29 @@ const (
|
||||
None RetryType = "None"
|
||||
)
|
||||
|
||||
// ServiceBusAuthenticationType enumerates the values for service bus
|
||||
// authentication type.
|
||||
// ServiceBusAuthenticationType enumerates the values for service bus authentication type.
|
||||
type ServiceBusAuthenticationType string
|
||||
|
||||
const (
|
||||
// ServiceBusAuthenticationTypeNotSpecified specifies the service bus
|
||||
// authentication type not specified state for service bus authentication
|
||||
// type.
|
||||
// ServiceBusAuthenticationTypeNotSpecified specifies the service bus authentication type not specified state for
|
||||
// service bus authentication type.
|
||||
ServiceBusAuthenticationTypeNotSpecified ServiceBusAuthenticationType = "NotSpecified"
|
||||
// ServiceBusAuthenticationTypeSharedAccessKey specifies the service bus
|
||||
// authentication type shared access key state for service bus
|
||||
// authentication type.
|
||||
// ServiceBusAuthenticationTypeSharedAccessKey specifies the service bus authentication type shared access key state
|
||||
// for service bus authentication type.
|
||||
ServiceBusAuthenticationTypeSharedAccessKey ServiceBusAuthenticationType = "SharedAccessKey"
|
||||
)
|
||||
|
||||
// ServiceBusTransportType enumerates the values for service bus transport
|
||||
// type.
|
||||
// ServiceBusTransportType enumerates the values for service bus transport type.
|
||||
type ServiceBusTransportType string
|
||||
|
||||
const (
|
||||
// ServiceBusTransportTypeAMQP specifies the service bus transport type
|
||||
// amqp state for service bus transport type.
|
||||
// ServiceBusTransportTypeAMQP specifies the service bus transport type amqp state for service bus transport type.
|
||||
ServiceBusTransportTypeAMQP ServiceBusTransportType = "AMQP"
|
||||
// ServiceBusTransportTypeNetMessaging specifies the service bus transport
|
||||
// type net messaging state for service bus transport type.
|
||||
// ServiceBusTransportTypeNetMessaging specifies the service bus transport type net messaging state for service bus
|
||||
// transport type.
|
||||
ServiceBusTransportTypeNetMessaging ServiceBusTransportType = "NetMessaging"
|
||||
// ServiceBusTransportTypeNotSpecified specifies the service bus transport
|
||||
// type not specified state for service bus transport type.
|
||||
// ServiceBusTransportTypeNotSpecified specifies the service bus transport type not specified state for service bus
|
||||
// transport type.
|
||||
ServiceBusTransportTypeNotSpecified ServiceBusTransportType = "NotSpecified"
|
||||
)
|
||||
|
||||
|
||||
+4
-5
@@ -14,16 +14,15 @@ package scheduler
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return "Azure-SDK-For-Go/v10.1.0-beta arm-scheduler/2016-03-01"
|
||||
return "Azure-SDK-For-Go/v11.0.0-beta arm-scheduler/2016-03-01"
|
||||
}
|
||||
|
||||
// Version returns the semantic version (see http://semver.org) of the client.
|
||||
func Version() string {
|
||||
return "v10.1.0-beta"
|
||||
return "v11.0.0-beta"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user