diff --git a/packages/@azure/arm-scheduler/.npmignore b/packages/@azure/arm-scheduler/.npmignore new file mode 100644 index 000000000000..3b46bc6202d8 --- /dev/null +++ b/packages/@azure/arm-scheduler/.npmignore @@ -0,0 +1,35 @@ +#git +.git +.gitignore +#gulp +gulpfile.js +#documentation +doc/ +docs/ +#dependencies +node_modules/ +#samples +sample/ +samples/ +#tests +test/ +tests/ +coverage/ +#tools and scripts +tools/ +scripts/ +#IDE settings +*.sln +.vscode/ +.idea +.editorconfig +.ntvs_analysis.* +#build tools +.travis.yml +.jenkins.yml +.codeclimate.yml +appveyor.yml +# Nuget packages # +.nuget/ +packages/ +packages.config diff --git a/packages/@azure/arm-scheduler/LICENSE.txt b/packages/@azure/arm-scheduler/LICENSE.txt new file mode 100644 index 000000000000..a70e8cf66038 --- /dev/null +++ b/packages/@azure/arm-scheduler/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/@azure/arm-scheduler/README.md b/packages/@azure/arm-scheduler/README.md new file mode 100644 index 000000000000..049a19b05c9a --- /dev/null +++ b/packages/@azure/arm-scheduler/README.md @@ -0,0 +1,77 @@ +# Azure SchedulerManagementClient SDK for JavaScript +This package contains an isomorphic SDK for SchedulerManagementClient. + +## Currently supported environments +- Node.js version 6.x.x or higher +- Browser JavaScript + +## How to Install +``` +npm install @azure/arm-scheduler +``` + + +## How to use + +### nodejs - Authentication, client creation and listBySubscription jobCollections as an example written in TypeScript. + +```ts +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; +import * as msRestNodeAuth from "ms-rest-nodeauth"; +import { SchedulerManagementClient, SchedulerManagementModels, SchedulerManagementMappers } from "@azure/arm-scheduler"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new SchedulerManagementClient(creds, subscriptionId); + client.jobCollections.listBySubscription().then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +### browser - Authentication, client creation and listBySubscription jobCollections as an example written in JavaScript. +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. + +- index.html +```html + + + + @azure/arm-scheduler sample + + + + + + + + + +``` + +# Related projects + - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-scheduler/dist/arm-scheduler.js b/packages/@azure/arm-scheduler/dist/arm-scheduler.js new file mode 100644 index 000000000000..468619c9f4d7 --- /dev/null +++ b/packages/@azure/arm-scheduler/dist/arm-scheduler.js @@ -0,0 +1,2496 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ms-rest-azure-js'), require('ms-rest-js')) : + typeof define === 'function' && define.amd ? define(['exports', 'ms-rest-azure-js', 'ms-rest-js'], factory) : + (factory((global.Azure = global.Azure || {}, global.Azure.ArmScheduler = {}),global.msRestAzure,global.msRest)); +}(this, (function (exports,msRestAzure,msRest) { 'use strict'; + + /*! ***************************************************************************** + Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of the + License at http://www.apache.org/licenses/LICENSE-2.0 + + THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED + WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, + MERCHANTABLITY OR NON-INFRINGEMENT. + + See the Apache Version 2.0 License for specific language governing permissions + and limitations under the License. + ***************************************************************************** */ + /* global Reflect, Promise */ + + var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + + function __extends(d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + } + + var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); + }; + + /* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + /** + * Defines values for SkuDefinition. + * Possible values include: 'Standard', 'Free', 'P10Premium', 'P20Premium' + * @readonly + * @enum {string} + */ + var SkuDefinition; + (function (SkuDefinition) { + SkuDefinition["Standard"] = "Standard"; + SkuDefinition["Free"] = "Free"; + SkuDefinition["P10Premium"] = "P10Premium"; + SkuDefinition["P20Premium"] = "P20Premium"; + })(SkuDefinition || (SkuDefinition = {})); + /** + * Defines values for JobCollectionState. + * Possible values include: 'Enabled', 'Disabled', 'Suspended', 'Deleted' + * @readonly + * @enum {string} + */ + var JobCollectionState; + (function (JobCollectionState) { + JobCollectionState["Enabled"] = "Enabled"; + JobCollectionState["Disabled"] = "Disabled"; + JobCollectionState["Suspended"] = "Suspended"; + JobCollectionState["Deleted"] = "Deleted"; + })(JobCollectionState || (JobCollectionState = {})); + /** + * Defines values for RecurrenceFrequency. + * Possible values include: 'Minute', 'Hour', 'Day', 'Week', 'Month' + * @readonly + * @enum {string} + */ + var RecurrenceFrequency; + (function (RecurrenceFrequency) { + RecurrenceFrequency["Minute"] = "Minute"; + RecurrenceFrequency["Hour"] = "Hour"; + RecurrenceFrequency["Day"] = "Day"; + RecurrenceFrequency["Week"] = "Week"; + RecurrenceFrequency["Month"] = "Month"; + })(RecurrenceFrequency || (RecurrenceFrequency = {})); + /** + * Defines values for JobActionType. + * Possible values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue', + * 'ServiceBusTopic' + * @readonly + * @enum {string} + */ + var JobActionType; + (function (JobActionType) { + JobActionType["Http"] = "Http"; + JobActionType["Https"] = "Https"; + JobActionType["StorageQueue"] = "StorageQueue"; + JobActionType["ServiceBusQueue"] = "ServiceBusQueue"; + JobActionType["ServiceBusTopic"] = "ServiceBusTopic"; + })(JobActionType || (JobActionType = {})); + /** + * Defines values for RetryType. + * Possible values include: 'None', 'Fixed' + * @readonly + * @enum {string} + */ + var RetryType; + (function (RetryType) { + RetryType["None"] = "None"; + RetryType["Fixed"] = "Fixed"; + })(RetryType || (RetryType = {})); + /** + * Defines values for DayOfWeek. + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', + * 'Thursday', 'Friday', 'Saturday' + * @readonly + * @enum {string} + */ + var DayOfWeek; + (function (DayOfWeek) { + DayOfWeek["Sunday"] = "Sunday"; + DayOfWeek["Monday"] = "Monday"; + DayOfWeek["Tuesday"] = "Tuesday"; + DayOfWeek["Wednesday"] = "Wednesday"; + DayOfWeek["Thursday"] = "Thursday"; + DayOfWeek["Friday"] = "Friday"; + DayOfWeek["Saturday"] = "Saturday"; + })(DayOfWeek || (DayOfWeek = {})); + /** + * Defines values for JobScheduleDay. + * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', + * 'Friday', 'Saturday', 'Sunday' + * @readonly + * @enum {string} + */ + var JobScheduleDay; + (function (JobScheduleDay) { + JobScheduleDay["Monday"] = "Monday"; + JobScheduleDay["Tuesday"] = "Tuesday"; + JobScheduleDay["Wednesday"] = "Wednesday"; + JobScheduleDay["Thursday"] = "Thursday"; + JobScheduleDay["Friday"] = "Friday"; + JobScheduleDay["Saturday"] = "Saturday"; + JobScheduleDay["Sunday"] = "Sunday"; + })(JobScheduleDay || (JobScheduleDay = {})); + /** + * Defines values for JobState. + * Possible values include: 'Enabled', 'Disabled', 'Faulted', 'Completed' + * @readonly + * @enum {string} + */ + var JobState; + (function (JobState) { + JobState["Enabled"] = "Enabled"; + JobState["Disabled"] = "Disabled"; + JobState["Faulted"] = "Faulted"; + JobState["Completed"] = "Completed"; + })(JobState || (JobState = {})); + /** + * Defines values for JobHistoryActionName. + * Possible values include: 'MainAction', 'ErrorAction' + * @readonly + * @enum {string} + */ + var JobHistoryActionName; + (function (JobHistoryActionName) { + JobHistoryActionName["MainAction"] = "MainAction"; + JobHistoryActionName["ErrorAction"] = "ErrorAction"; + })(JobHistoryActionName || (JobHistoryActionName = {})); + /** + * Defines values for JobExecutionStatus. + * Possible values include: 'Completed', 'Failed', 'Postponed' + * @readonly + * @enum {string} + */ + var JobExecutionStatus; + (function (JobExecutionStatus) { + JobExecutionStatus["Completed"] = "Completed"; + JobExecutionStatus["Failed"] = "Failed"; + JobExecutionStatus["Postponed"] = "Postponed"; + })(JobExecutionStatus || (JobExecutionStatus = {})); + /** + * Defines values for ServiceBusAuthenticationType. + * Possible values include: 'NotSpecified', 'SharedAccessKey' + * @readonly + * @enum {string} + */ + var ServiceBusAuthenticationType; + (function (ServiceBusAuthenticationType) { + ServiceBusAuthenticationType["NotSpecified"] = "NotSpecified"; + ServiceBusAuthenticationType["SharedAccessKey"] = "SharedAccessKey"; + })(ServiceBusAuthenticationType || (ServiceBusAuthenticationType = {})); + /** + * Defines values for ServiceBusTransportType. + * Possible values include: 'NotSpecified', 'NetMessaging', 'AMQP' + * @readonly + * @enum {string} + */ + var ServiceBusTransportType; + (function (ServiceBusTransportType) { + ServiceBusTransportType["NotSpecified"] = "NotSpecified"; + ServiceBusTransportType["NetMessaging"] = "NetMessaging"; + ServiceBusTransportType["AMQP"] = "AMQP"; + })(ServiceBusTransportType || (ServiceBusTransportType = {})); + + var index = /*#__PURE__*/Object.freeze({ + get SkuDefinition () { return SkuDefinition; }, + get JobCollectionState () { return JobCollectionState; }, + get RecurrenceFrequency () { return RecurrenceFrequency; }, + get JobActionType () { return JobActionType; }, + get RetryType () { return RetryType; }, + get DayOfWeek () { return DayOfWeek; }, + get JobScheduleDay () { return JobScheduleDay; }, + get JobState () { return JobState; }, + get JobHistoryActionName () { return JobHistoryActionName; }, + get JobExecutionStatus () { return JobExecutionStatus; }, + get ServiceBusAuthenticationType () { return ServiceBusAuthenticationType; }, + get ServiceBusTransportType () { return ServiceBusTransportType; } + }); + + /* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + var CloudError = msRestAzure.CloudErrorMapper; + var BaseResource = msRestAzure.BaseResourceMapper; + var Sku = { + serializedName: "Sku", + type: { + name: "Composite", + className: "Sku", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "Enum", + allowedValues: [ + "Standard", + "Free", + "P10Premium", + "P20Premium" + ] + } + } + } + } + }; + var JobMaxRecurrence = { + serializedName: "JobMaxRecurrence", + type: { + name: "Composite", + className: "JobMaxRecurrence", + modelProperties: { + frequency: { + serializedName: "frequency", + type: { + name: "Enum", + allowedValues: [ + "Minute", + "Hour", + "Day", + "Week", + "Month" + ] + } + }, + interval: { + serializedName: "interval", + type: { + name: "Number" + } + } + } + } + }; + var JobCollectionQuota = { + serializedName: "JobCollectionQuota", + type: { + name: "Composite", + className: "JobCollectionQuota", + modelProperties: { + maxJobCount: { + serializedName: "maxJobCount", + type: { + name: "Number" + } + }, + maxJobOccurrence: { + serializedName: "maxJobOccurrence", + type: { + name: "Number" + } + }, + maxRecurrence: { + serializedName: "maxRecurrence", + type: { + name: "Composite", + className: "JobMaxRecurrence" + } + } + } + } + }; + var JobCollectionProperties = { + serializedName: "JobCollectionProperties", + type: { + name: "Composite", + className: "JobCollectionProperties", + modelProperties: { + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + state: { + serializedName: "state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled", + "Suspended", + "Deleted" + ] + } + }, + quota: { + serializedName: "quota", + type: { + name: "Composite", + className: "JobCollectionQuota" + } + } + } + } + }; + var JobCollectionDefinition = { + serializedName: "JobCollectionDefinition", + type: { + name: "Composite", + className: "JobCollectionDefinition", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "JobCollectionProperties" + } + } + } + } + }; + var HttpAuthentication = { + serializedName: "HttpAuthentication", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "HttpAuthentication", + className: "HttpAuthentication", + modelProperties: { + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } + }; + var HttpRequest = { + serializedName: "HttpRequest", + type: { + name: "Composite", + className: "HttpRequest", + modelProperties: { + authentication: { + serializedName: "authentication", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "HttpAuthentication", + className: "HttpAuthentication" + } + }, + uri: { + serializedName: "uri", + type: { + name: "String" + } + }, + method: { + serializedName: "method", + type: { + name: "String" + } + }, + body: { + serializedName: "body", + type: { + name: "String" + } + }, + headers: { + serializedName: "headers", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } + }; + var StorageQueueMessage = { + serializedName: "StorageQueueMessage", + type: { + name: "Composite", + className: "StorageQueueMessage", + modelProperties: { + storageAccount: { + serializedName: "storageAccount", + type: { + name: "String" + } + }, + queueName: { + serializedName: "queueName", + type: { + name: "String" + } + }, + sasToken: { + serializedName: "sasToken", + type: { + name: "String" + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + } + } + } + }; + var ServiceBusMessage = { + serializedName: "ServiceBusMessage", + type: { + name: "Composite", + className: "ServiceBusMessage", + modelProperties: { + authentication: { + serializedName: "authentication", + type: { + name: "Composite", + className: "ServiceBusAuthentication" + } + }, + brokeredMessageProperties: { + serializedName: "brokeredMessageProperties", + type: { + name: "Composite", + className: "ServiceBusBrokeredMessageProperties" + } + }, + customMessageProperties: { + serializedName: "customMessageProperties", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + }, + namespace: { + serializedName: "namespace", + type: { + name: "String" + } + }, + transportType: { + serializedName: "transportType", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "NetMessaging", + "AMQP" + ] + } + } + } + } + }; + var ServiceBusQueueMessage = { + serializedName: "ServiceBusQueueMessage", + type: { + name: "Composite", + className: "ServiceBusQueueMessage", + modelProperties: __assign({}, ServiceBusMessage.type.modelProperties, { queueName: { + serializedName: "queueName", + type: { + name: "String" + } + } }) + } + }; + var ServiceBusTopicMessage = { + serializedName: "ServiceBusTopicMessage", + type: { + name: "Composite", + className: "ServiceBusTopicMessage", + modelProperties: __assign({}, ServiceBusMessage.type.modelProperties, { topicPath: { + serializedName: "topicPath", + type: { + name: "String" + } + } }) + } + }; + var RetryPolicy = { + serializedName: "RetryPolicy", + type: { + name: "Composite", + className: "RetryPolicy", + modelProperties: { + retryType: { + serializedName: "retryType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Fixed" + ] + } + }, + retryInterval: { + serializedName: "retryInterval", + type: { + name: "TimeSpan" + } + }, + retryCount: { + serializedName: "retryCount", + type: { + name: "Number" + } + } + } + } + }; + var JobErrorAction = { + serializedName: "JobErrorAction", + type: { + name: "Composite", + className: "JobErrorAction", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "Http", + "Https", + "StorageQueue", + "ServiceBusQueue", + "ServiceBusTopic" + ] + } + }, + request: { + serializedName: "request", + type: { + name: "Composite", + className: "HttpRequest" + } + }, + queueMessage: { + serializedName: "queueMessage", + type: { + name: "Composite", + className: "StorageQueueMessage" + } + }, + serviceBusQueueMessage: { + serializedName: "serviceBusQueueMessage", + type: { + name: "Composite", + className: "ServiceBusQueueMessage" + } + }, + serviceBusTopicMessage: { + serializedName: "serviceBusTopicMessage", + type: { + name: "Composite", + className: "ServiceBusTopicMessage" + } + }, + retryPolicy: { + serializedName: "retryPolicy", + type: { + name: "Composite", + className: "RetryPolicy" + } + } + } + } + }; + var JobAction = { + serializedName: "JobAction", + type: { + name: "Composite", + className: "JobAction", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "Http", + "Https", + "StorageQueue", + "ServiceBusQueue", + "ServiceBusTopic" + ] + } + }, + request: { + serializedName: "request", + type: { + name: "Composite", + className: "HttpRequest" + } + }, + queueMessage: { + serializedName: "queueMessage", + type: { + name: "Composite", + className: "StorageQueueMessage" + } + }, + serviceBusQueueMessage: { + serializedName: "serviceBusQueueMessage", + type: { + name: "Composite", + className: "ServiceBusQueueMessage" + } + }, + serviceBusTopicMessage: { + serializedName: "serviceBusTopicMessage", + type: { + name: "Composite", + className: "ServiceBusTopicMessage" + } + }, + retryPolicy: { + serializedName: "retryPolicy", + type: { + name: "Composite", + className: "RetryPolicy" + } + }, + errorAction: { + serializedName: "errorAction", + type: { + name: "Composite", + className: "JobErrorAction" + } + } + } + } + }; + var JobRecurrenceScheduleMonthlyOccurrence = { + serializedName: "JobRecurrenceScheduleMonthlyOccurrence", + type: { + name: "Composite", + className: "JobRecurrenceScheduleMonthlyOccurrence", + modelProperties: { + day: { + serializedName: "day", + type: { + name: "Enum", + allowedValues: [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ] + } + }, + occurrence: { + serializedName: "Occurrence", + type: { + name: "Number" + } + } + } + } + }; + var JobRecurrenceSchedule = { + serializedName: "JobRecurrenceSchedule", + type: { + name: "Composite", + className: "JobRecurrenceSchedule", + modelProperties: { + weekDays: { + serializedName: "weekDays", + type: { + name: "Sequence", + element: { + type: { + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + } + } + }, + hours: { + serializedName: "hours", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + minutes: { + serializedName: "minutes", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + monthDays: { + serializedName: "monthDays", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + monthlyOccurrences: { + serializedName: "monthlyOccurrences", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobRecurrenceScheduleMonthlyOccurrence" + } + } + } + } + } + } + }; + var JobRecurrence = { + serializedName: "JobRecurrence", + type: { + name: "Composite", + className: "JobRecurrence", + modelProperties: { + frequency: { + serializedName: "frequency", + type: { + name: "Enum", + allowedValues: [ + "Minute", + "Hour", + "Day", + "Week", + "Month" + ] + } + }, + interval: { + serializedName: "interval", + type: { + name: "Number" + } + }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "JobRecurrenceSchedule" + } + } + } + } + }; + var JobStatus = { + serializedName: "JobStatus", + type: { + name: "Composite", + className: "JobStatus", + modelProperties: { + executionCount: { + readOnly: true, + serializedName: "executionCount", + type: { + name: "Number" + } + }, + failureCount: { + readOnly: true, + serializedName: "failureCount", + type: { + name: "Number" + } + }, + faultedCount: { + readOnly: true, + serializedName: "faultedCount", + type: { + name: "Number" + } + }, + lastExecutionTime: { + readOnly: true, + serializedName: "lastExecutionTime", + type: { + name: "DateTime" + } + }, + nextExecutionTime: { + readOnly: true, + serializedName: "nextExecutionTime", + type: { + name: "DateTime" + } + } + } + } + }; + var JobProperties = { + serializedName: "JobProperties", + type: { + name: "Composite", + className: "JobProperties", + modelProperties: { + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "JobAction" + } + }, + recurrence: { + serializedName: "recurrence", + type: { + name: "Composite", + className: "JobRecurrence" + } + }, + state: { + serializedName: "state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled", + "Faulted", + "Completed" + ] + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Composite", + className: "JobStatus" + } + } + } + } + }; + var JobDefinition = { + serializedName: "JobDefinition", + type: { + name: "Composite", + className: "JobDefinition", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "JobProperties" + } + } + } + } + }; + var JobHistoryDefinitionProperties = { + serializedName: "JobHistoryDefinitionProperties", + type: { + name: "Composite", + className: "JobHistoryDefinitionProperties", + modelProperties: { + startTime: { + readOnly: true, + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + readOnly: true, + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + expectedExecutionTime: { + readOnly: true, + serializedName: "expectedExecutionTime", + type: { + name: "DateTime" + } + }, + actionName: { + readOnly: true, + serializedName: "actionName", + type: { + name: "Enum", + allowedValues: [ + "MainAction", + "ErrorAction" + ] + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Completed", + "Failed", + "Postponed" + ] + } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + }, + retryCount: { + readOnly: true, + serializedName: "retryCount", + type: { + name: "Number" + } + }, + repeatCount: { + readOnly: true, + serializedName: "repeatCount", + type: { + name: "Number" + } + } + } + } + }; + var JobHistoryDefinition = { + serializedName: "JobHistoryDefinition", + type: { + name: "Composite", + className: "JobHistoryDefinition", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + properties: { + readOnly: true, + serializedName: "properties", + type: { + name: "Composite", + className: "JobHistoryDefinitionProperties" + } + } + } + } + }; + var ClientCertAuthentication = { + serializedName: "ClientCertificate", + type: { + name: "Composite", + polymorphicDiscriminator: HttpAuthentication.type.polymorphicDiscriminator, + uberParent: "HttpAuthentication", + className: "ClientCertAuthentication", + modelProperties: __assign({}, HttpAuthentication.type.modelProperties, { password: { + serializedName: "password", + type: { + name: "String" + } + }, pfx: { + serializedName: "pfx", + type: { + name: "String" + } + }, certificateThumbprint: { + serializedName: "certificateThumbprint", + type: { + name: "String" + } + }, certificateExpirationDate: { + serializedName: "certificateExpirationDate", + type: { + name: "DateTime" + } + }, certificateSubjectName: { + serializedName: "certificateSubjectName", + type: { + name: "String" + } + } }) + } + }; + var BasicAuthentication = { + serializedName: "Basic", + type: { + name: "Composite", + polymorphicDiscriminator: HttpAuthentication.type.polymorphicDiscriminator, + uberParent: "HttpAuthentication", + className: "BasicAuthentication", + modelProperties: __assign({}, HttpAuthentication.type.modelProperties, { username: { + serializedName: "username", + type: { + name: "String" + } + }, password: { + serializedName: "password", + type: { + name: "String" + } + } }) + } + }; + var OAuthAuthentication = { + serializedName: "ActiveDirectoryOAuth", + type: { + name: "Composite", + polymorphicDiscriminator: HttpAuthentication.type.polymorphicDiscriminator, + uberParent: "HttpAuthentication", + className: "OAuthAuthentication", + modelProperties: __assign({}, HttpAuthentication.type.modelProperties, { secret: { + serializedName: "secret", + type: { + name: "String" + } + }, tenant: { + serializedName: "tenant", + type: { + name: "String" + } + }, audience: { + serializedName: "audience", + type: { + name: "String" + } + }, clientId: { + serializedName: "clientId", + type: { + name: "String" + } + } }) + } + }; + var ServiceBusAuthentication = { + serializedName: "ServiceBusAuthentication", + type: { + name: "Composite", + className: "ServiceBusAuthentication", + modelProperties: { + sasKey: { + serializedName: "sasKey", + type: { + name: "String" + } + }, + sasKeyName: { + serializedName: "sasKeyName", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "SharedAccessKey" + ] + } + } + } + } + }; + var ServiceBusBrokeredMessageProperties = { + serializedName: "ServiceBusBrokeredMessageProperties", + type: { + name: "Composite", + className: "ServiceBusBrokeredMessageProperties", + modelProperties: { + contentType: { + serializedName: "contentType", + type: { + name: "String" + } + }, + correlationId: { + serializedName: "correlationId", + type: { + name: "String" + } + }, + forcePersistence: { + serializedName: "forcePersistence", + type: { + name: "Boolean" + } + }, + label: { + serializedName: "label", + type: { + name: "String" + } + }, + messageId: { + serializedName: "messageId", + type: { + name: "String" + } + }, + partitionKey: { + serializedName: "partitionKey", + type: { + name: "String" + } + }, + replyTo: { + serializedName: "replyTo", + type: { + name: "String" + } + }, + replyToSessionId: { + serializedName: "replyToSessionId", + type: { + name: "String" + } + }, + scheduledEnqueueTimeUtc: { + serializedName: "scheduledEnqueueTimeUtc", + type: { + name: "DateTime" + } + }, + sessionId: { + serializedName: "sessionId", + type: { + name: "String" + } + }, + timeToLive: { + serializedName: "timeToLive", + type: { + name: "TimeSpan" + } + }, + to: { + serializedName: "to", + type: { + name: "String" + } + }, + viaPartitionKey: { + serializedName: "viaPartitionKey", + type: { + name: "String" + } + } + } + } + }; + var JobStateFilter = { + serializedName: "JobStateFilter", + type: { + name: "Composite", + className: "JobStateFilter", + modelProperties: { + state: { + serializedName: "state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled", + "Faulted", + "Completed" + ] + } + } + } + } + }; + var JobHistoryFilter = { + serializedName: "JobHistoryFilter", + type: { + name: "Composite", + className: "JobHistoryFilter", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Completed", + "Failed", + "Postponed" + ] + } + } + } + } + }; + var JobCollectionListResult = { + serializedName: "JobCollectionListResult", + type: { + name: "Composite", + className: "JobCollectionListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobCollectionDefinition" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } + }; + var JobListResult = { + serializedName: "JobListResult", + type: { + name: "Composite", + className: "JobListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobDefinition" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } + }; + var JobHistoryListResult = { + serializedName: "JobHistoryListResult", + type: { + name: "Composite", + className: "JobHistoryListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobHistoryDefinition" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } + }; + var discriminators = { + 'HttpAuthentication': HttpAuthentication, + 'HttpAuthentication.ClientCertificate': ClientCertAuthentication, + 'HttpAuthentication.Basic': BasicAuthentication, + 'HttpAuthentication.ActiveDirectoryOAuth': OAuthAuthentication + }; + + var mappers = /*#__PURE__*/Object.freeze({ + CloudError: CloudError, + BaseResource: BaseResource, + Sku: Sku, + JobMaxRecurrence: JobMaxRecurrence, + JobCollectionQuota: JobCollectionQuota, + JobCollectionProperties: JobCollectionProperties, + JobCollectionDefinition: JobCollectionDefinition, + HttpAuthentication: HttpAuthentication, + HttpRequest: HttpRequest, + StorageQueueMessage: StorageQueueMessage, + ServiceBusMessage: ServiceBusMessage, + ServiceBusQueueMessage: ServiceBusQueueMessage, + ServiceBusTopicMessage: ServiceBusTopicMessage, + RetryPolicy: RetryPolicy, + JobErrorAction: JobErrorAction, + JobAction: JobAction, + JobRecurrenceScheduleMonthlyOccurrence: JobRecurrenceScheduleMonthlyOccurrence, + JobRecurrenceSchedule: JobRecurrenceSchedule, + JobRecurrence: JobRecurrence, + JobStatus: JobStatus, + JobProperties: JobProperties, + JobDefinition: JobDefinition, + JobHistoryDefinitionProperties: JobHistoryDefinitionProperties, + JobHistoryDefinition: JobHistoryDefinition, + ClientCertAuthentication: ClientCertAuthentication, + BasicAuthentication: BasicAuthentication, + OAuthAuthentication: OAuthAuthentication, + ServiceBusAuthentication: ServiceBusAuthentication, + ServiceBusBrokeredMessageProperties: ServiceBusBrokeredMessageProperties, + JobStateFilter: JobStateFilter, + JobHistoryFilter: JobHistoryFilter, + JobCollectionListResult: JobCollectionListResult, + JobListResult: JobListResult, + JobHistoryListResult: JobHistoryListResult, + discriminators: discriminators + }); + + /* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + + var Mappers = /*#__PURE__*/Object.freeze({ + discriminators: discriminators, + JobCollectionListResult: JobCollectionListResult, + JobCollectionDefinition: JobCollectionDefinition, + JobCollectionProperties: JobCollectionProperties, + Sku: Sku, + JobCollectionQuota: JobCollectionQuota, + JobMaxRecurrence: JobMaxRecurrence, + CloudError: CloudError + }); + + /* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + var acceptLanguage = { + parameterPath: "acceptLanguage", + mapper: { + serializedName: "accept-language", + defaultValue: 'en-US', + type: { + name: "String" + } + } + }; + var apiVersion = { + parameterPath: "apiVersion", + mapper: { + required: true, + serializedName: "api-version", + type: { + name: "String" + } + } + }; + var filter = { + parameterPath: [ + "options", + "filter" + ], + mapper: { + serializedName: "$filter", + type: { + name: "String" + } + } + }; + var jobCollectionName = { + parameterPath: "jobCollectionName", + mapper: { + required: true, + serializedName: "jobCollectionName", + type: { + name: "String" + } + } + }; + var jobName = { + parameterPath: "jobName", + mapper: { + required: true, + serializedName: "jobName", + type: { + name: "String" + } + } + }; + var nextPageLink = { + parameterPath: "nextPageLink", + mapper: { + required: true, + serializedName: "nextLink", + type: { + name: "String" + } + }, + skipEncoding: true + }; + var resourceGroupName = { + parameterPath: "resourceGroupName", + mapper: { + required: true, + serializedName: "resourceGroupName", + type: { + name: "String" + } + } + }; + var skip = { + parameterPath: [ + "options", + "skip" + ], + mapper: { + serializedName: "$skip", + type: { + name: "Number" + } + } + }; + var subscriptionId = { + parameterPath: "subscriptionId", + mapper: { + required: true, + serializedName: "subscriptionId", + type: { + name: "String" + } + } + }; + var top = { + parameterPath: [ + "options", + "top" + ], + mapper: { + serializedName: "$top", + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + } + }; + + /* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + /** Class representing a JobCollections. */ + var JobCollections = /** @class */ (function () { + /** + * Create a JobCollections. + * @param {SchedulerManagementClientContext} client Reference to the service client. + */ + function JobCollections(client) { + this.client = client; + } + JobCollections.prototype.listBySubscription = function (options, callback) { + return this.client.sendOperationRequest({ + options: options + }, listBySubscriptionOperationSpec, callback); + }; + JobCollections.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + options: options + }, listByResourceGroupOperationSpec, callback); + }; + JobCollections.prototype.get = function (resourceGroupName$$1, jobCollectionName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + options: options + }, getOperationSpec, callback); + }; + JobCollections.prototype.createOrUpdate = function (resourceGroupName$$1, jobCollectionName$$1, jobCollection, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + jobCollection: jobCollection, + options: options + }, createOrUpdateOperationSpec, callback); + }; + JobCollections.prototype.patch = function (resourceGroupName$$1, jobCollectionName$$1, jobCollection, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + jobCollection: jobCollection, + options: options + }, patchOperationSpec, callback); + }; + /** + * Deletes a job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + JobCollections.prototype.deleteMethod = function (resourceGroupName$$1, jobCollectionName$$1, options) { + return this.beginDeleteMethod(resourceGroupName$$1, jobCollectionName$$1, options) + .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); + }; + /** + * Enables all of the jobs in the job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + JobCollections.prototype.enable = function (resourceGroupName$$1, jobCollectionName$$1, options) { + return this.beginEnable(resourceGroupName$$1, jobCollectionName$$1, options) + .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); + }; + /** + * Disables all of the jobs in the job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + JobCollections.prototype.disable = function (resourceGroupName$$1, jobCollectionName$$1, options) { + return this.beginDisable(resourceGroupName$$1, jobCollectionName$$1, options) + .then(function (lroPoller) { return lroPoller.pollUntilFinished(); }); + }; + /** + * Deletes a job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + JobCollections.prototype.beginDeleteMethod = function (resourceGroupName$$1, jobCollectionName$$1, options) { + return this.client.sendLRORequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + options: options + }, beginDeleteMethodOperationSpec, options); + }; + /** + * Enables all of the jobs in the job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + JobCollections.prototype.beginEnable = function (resourceGroupName$$1, jobCollectionName$$1, options) { + return this.client.sendLRORequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + options: options + }, beginEnableOperationSpec, options); + }; + /** + * Disables all of the jobs in the job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + JobCollections.prototype.beginDisable = function (resourceGroupName$$1, jobCollectionName$$1, options) { + return this.client.sendLRORequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + options: options + }, beginDisableOperationSpec, options); + }; + JobCollections.prototype.listBySubscriptionNext = function (nextPageLink$$1, options, callback) { + return this.client.sendOperationRequest({ + nextPageLink: nextPageLink$$1, + options: options + }, listBySubscriptionNextOperationSpec, callback); + }; + JobCollections.prototype.listByResourceGroupNext = function (nextPageLink$$1, options, callback) { + return this.client.sendOperationRequest({ + nextPageLink: nextPageLink$$1, + options: options + }, listByResourceGroupNextOperationSpec, callback); + }; + return JobCollections; + }()); + // Operation Specifications + var serializer = new msRest.Serializer(Mappers); + var listBySubscriptionOperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Scheduler/jobCollections", + urlParameters: [ + subscriptionId + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: JobCollectionListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + var listByResourceGroupOperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections", + urlParameters: [ + subscriptionId, + resourceGroupName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: JobCollectionListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + var getOperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: JobCollectionDefinition + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + var createOrUpdateOperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "jobCollection", + mapper: __assign({}, JobCollectionDefinition, { required: true }) + }, + responses: { + 200: { + bodyMapper: JobCollectionDefinition + }, + 201: { + bodyMapper: JobCollectionDefinition + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + var patchOperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "jobCollection", + mapper: __assign({}, JobCollectionDefinition, { required: true }) + }, + responses: { + 200: { + bodyMapper: JobCollectionDefinition + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + var beginDeleteMethodOperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + var beginEnableOperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/enable", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + var beginDisableOperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/disable", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + var listBySubscriptionNextOperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + nextPageLink + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: JobCollectionListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + var listByResourceGroupNextOperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + nextPageLink + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: JobCollectionListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer + }; + + /* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + + var Mappers$1 = /*#__PURE__*/Object.freeze({ + discriminators: discriminators, + JobDefinition: JobDefinition, + JobProperties: JobProperties, + JobAction: JobAction, + HttpRequest: HttpRequest, + HttpAuthentication: HttpAuthentication, + StorageQueueMessage: StorageQueueMessage, + ServiceBusQueueMessage: ServiceBusQueueMessage, + ServiceBusMessage: ServiceBusMessage, + ServiceBusAuthentication: ServiceBusAuthentication, + ServiceBusBrokeredMessageProperties: ServiceBusBrokeredMessageProperties, + ServiceBusTopicMessage: ServiceBusTopicMessage, + RetryPolicy: RetryPolicy, + JobErrorAction: JobErrorAction, + JobRecurrence: JobRecurrence, + JobRecurrenceSchedule: JobRecurrenceSchedule, + JobRecurrenceScheduleMonthlyOccurrence: JobRecurrenceScheduleMonthlyOccurrence, + JobStatus: JobStatus, + CloudError: CloudError, + JobListResult: JobListResult, + JobHistoryListResult: JobHistoryListResult, + JobHistoryDefinition: JobHistoryDefinition, + JobHistoryDefinitionProperties: JobHistoryDefinitionProperties, + ClientCertAuthentication: ClientCertAuthentication, + BasicAuthentication: BasicAuthentication, + OAuthAuthentication: OAuthAuthentication + }); + + /* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + /** Class representing a Jobs. */ + var Jobs = /** @class */ (function () { + /** + * Create a Jobs. + * @param {SchedulerManagementClientContext} client Reference to the service client. + */ + function Jobs(client) { + this.client = client; + } + Jobs.prototype.get = function (resourceGroupName$$1, jobCollectionName$$1, jobName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + jobName: jobName$$1, + options: options + }, getOperationSpec$1, callback); + }; + Jobs.prototype.createOrUpdate = function (resourceGroupName$$1, jobCollectionName$$1, jobName$$1, job, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + jobName: jobName$$1, + job: job, + options: options + }, createOrUpdateOperationSpec$1, callback); + }; + Jobs.prototype.patch = function (resourceGroupName$$1, jobCollectionName$$1, jobName$$1, job, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + jobName: jobName$$1, + job: job, + options: options + }, patchOperationSpec$1, callback); + }; + Jobs.prototype.deleteMethod = function (resourceGroupName$$1, jobCollectionName$$1, jobName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + jobName: jobName$$1, + options: options + }, deleteMethodOperationSpec, callback); + }; + Jobs.prototype.run = function (resourceGroupName$$1, jobCollectionName$$1, jobName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + jobName: jobName$$1, + options: options + }, runOperationSpec, callback); + }; + Jobs.prototype.list = function (resourceGroupName$$1, jobCollectionName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + options: options + }, listOperationSpec, callback); + }; + Jobs.prototype.listJobHistory = function (resourceGroupName$$1, jobCollectionName$$1, jobName$$1, options, callback) { + return this.client.sendOperationRequest({ + resourceGroupName: resourceGroupName$$1, + jobCollectionName: jobCollectionName$$1, + jobName: jobName$$1, + options: options + }, listJobHistoryOperationSpec, callback); + }; + Jobs.prototype.listNext = function (nextPageLink$$1, options, callback) { + return this.client.sendOperationRequest({ + nextPageLink: nextPageLink$$1, + options: options + }, listNextOperationSpec, callback); + }; + Jobs.prototype.listJobHistoryNext = function (nextPageLink$$1, options, callback) { + return this.client.sendOperationRequest({ + nextPageLink: nextPageLink$$1, + options: options + }, listJobHistoryNextOperationSpec, callback); + }; + return Jobs; + }()); + // Operation Specifications + var serializer$1 = new msRest.Serializer(Mappers$1); + var getOperationSpec$1 = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName, + jobName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: JobDefinition + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var createOrUpdateOperationSpec$1 = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName, + jobName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "job", + mapper: __assign({}, JobDefinition, { required: true }) + }, + responses: { + 200: { + bodyMapper: JobDefinition + }, + 201: { + bodyMapper: JobDefinition + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var patchOperationSpec$1 = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName, + jobName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + requestBody: { + parameterPath: "job", + mapper: __assign({}, JobDefinition, { required: true }) + }, + responses: { + 200: { + bodyMapper: JobDefinition + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var deleteMethodOperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName, + jobName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var runOperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}/run", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName, + jobName + ], + queryParameters: [ + apiVersion + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var listOperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName + ], + queryParameters: [ + apiVersion, + top, + skip, + filter + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: JobListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var listJobHistoryOperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}/history", + urlParameters: [ + subscriptionId, + resourceGroupName, + jobCollectionName, + jobName + ], + queryParameters: [ + apiVersion, + top, + skip, + filter + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: JobHistoryListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var listNextOperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + nextPageLink + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: JobListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + var listJobHistoryNextOperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + nextPageLink + ], + headerParameters: [ + acceptLanguage + ], + responses: { + 200: { + bodyMapper: JobHistoryListResult + }, + default: { + bodyMapper: CloudError + } + }, + serializer: serializer$1 + }; + + /* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + + /* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + var packageName = "@azure/arm-scheduler"; + var packageVersion = "1.0.0"; + var SchedulerManagementClientContext = /** @class */ (function (_super) { + __extends(SchedulerManagementClientContext, _super); + /** + * Initializes a new instance of the SchedulerManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The subscription id. + * @param [options] The parameter options + */ + function SchedulerManagementClientContext(credentials, subscriptionId, options) { + var _this = this; + if (credentials == undefined) { + throw new Error('\'credentials\' cannot be null.'); + } + if (subscriptionId == undefined) { + throw new Error('\'subscriptionId\' cannot be null.'); + } + if (!options) { + options = {}; + } + _this = _super.call(this, credentials, options) || this; + _this.apiVersion = '2016-03-01'; + _this.acceptLanguage = 'en-US'; + _this.longRunningOperationRetryTimeout = 30; + _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com"; + _this.requestContentType = "application/json; charset=utf-8"; + _this.credentials = credentials; + _this.subscriptionId = subscriptionId; + _this.addUserAgentInfo(packageName + "/" + packageVersion); + if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + _this.acceptLanguage = options.acceptLanguage; + } + if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; + } + return _this; + } + return SchedulerManagementClientContext; + }(msRestAzure.AzureServiceClient)); + + /* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + var SchedulerManagementClient = /** @class */ (function (_super) { + __extends(SchedulerManagementClient, _super); + /** + * Initializes a new instance of the SchedulerManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The subscription id. + * @param [options] The parameter options + */ + function SchedulerManagementClient(credentials, subscriptionId, options) { + var _this = _super.call(this, credentials, subscriptionId, options) || this; + _this.jobCollections = new JobCollections(_this); + _this.jobs = new Jobs(_this); + return _this; + } + return SchedulerManagementClient; + }(SchedulerManagementClientContext)); + + exports.SchedulerManagementClient = SchedulerManagementClient; + exports.SchedulerManagementClientContext = SchedulerManagementClientContext; + exports.SchedulerManagementModels = index; + exports.SchedulerManagementMappers = mappers; + exports.JobCollections = JobCollections; + exports.Jobs = Jobs; + + Object.defineProperty(exports, '__esModule', { value: true }); + +}))); +//# sourceMappingURL=arm-scheduler.js.map diff --git a/packages/@azure/arm-scheduler/dist/arm-scheduler.js.map b/packages/@azure/arm-scheduler/dist/arm-scheduler.js.map new file mode 100644 index 000000000000..79ce89311a7a --- /dev/null +++ b/packages/@azure/arm-scheduler/dist/arm-scheduler.js.map @@ -0,0 +1 @@ +{"version":3,"file":"arm-scheduler.js","sources":["../node_modules/tslib/tslib.es6.js","../esm/models/index.js","../esm/models/mappers.js","../esm/models/jobCollectionsMappers.js","../esm/models/parameters.js","../esm/operations/jobCollections.js","../esm/models/jobsMappers.js","../esm/operations/jobs.js","../esm/operations/index.js","../esm/schedulerManagementClientContext.js","../esm/schedulerManagementClient.js"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\n/**\r\n * Defines values for SkuDefinition.\r\n * Possible values include: 'Standard', 'Free', 'P10Premium', 'P20Premium'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var SkuDefinition;\r\n(function (SkuDefinition) {\r\n SkuDefinition[\"Standard\"] = \"Standard\";\r\n SkuDefinition[\"Free\"] = \"Free\";\r\n SkuDefinition[\"P10Premium\"] = \"P10Premium\";\r\n SkuDefinition[\"P20Premium\"] = \"P20Premium\";\r\n})(SkuDefinition || (SkuDefinition = {}));\r\n/**\r\n * Defines values for JobCollectionState.\r\n * Possible values include: 'Enabled', 'Disabled', 'Suspended', 'Deleted'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var JobCollectionState;\r\n(function (JobCollectionState) {\r\n JobCollectionState[\"Enabled\"] = \"Enabled\";\r\n JobCollectionState[\"Disabled\"] = \"Disabled\";\r\n JobCollectionState[\"Suspended\"] = \"Suspended\";\r\n JobCollectionState[\"Deleted\"] = \"Deleted\";\r\n})(JobCollectionState || (JobCollectionState = {}));\r\n/**\r\n * Defines values for RecurrenceFrequency.\r\n * Possible values include: 'Minute', 'Hour', 'Day', 'Week', 'Month'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var RecurrenceFrequency;\r\n(function (RecurrenceFrequency) {\r\n RecurrenceFrequency[\"Minute\"] = \"Minute\";\r\n RecurrenceFrequency[\"Hour\"] = \"Hour\";\r\n RecurrenceFrequency[\"Day\"] = \"Day\";\r\n RecurrenceFrequency[\"Week\"] = \"Week\";\r\n RecurrenceFrequency[\"Month\"] = \"Month\";\r\n})(RecurrenceFrequency || (RecurrenceFrequency = {}));\r\n/**\r\n * Defines values for JobActionType.\r\n * Possible values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',\r\n * 'ServiceBusTopic'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var JobActionType;\r\n(function (JobActionType) {\r\n JobActionType[\"Http\"] = \"Http\";\r\n JobActionType[\"Https\"] = \"Https\";\r\n JobActionType[\"StorageQueue\"] = \"StorageQueue\";\r\n JobActionType[\"ServiceBusQueue\"] = \"ServiceBusQueue\";\r\n JobActionType[\"ServiceBusTopic\"] = \"ServiceBusTopic\";\r\n})(JobActionType || (JobActionType = {}));\r\n/**\r\n * Defines values for RetryType.\r\n * Possible values include: 'None', 'Fixed'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var RetryType;\r\n(function (RetryType) {\r\n RetryType[\"None\"] = \"None\";\r\n RetryType[\"Fixed\"] = \"Fixed\";\r\n})(RetryType || (RetryType = {}));\r\n/**\r\n * Defines values for DayOfWeek.\r\n * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday',\r\n * 'Thursday', 'Friday', 'Saturday'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var DayOfWeek;\r\n(function (DayOfWeek) {\r\n DayOfWeek[\"Sunday\"] = \"Sunday\";\r\n DayOfWeek[\"Monday\"] = \"Monday\";\r\n DayOfWeek[\"Tuesday\"] = \"Tuesday\";\r\n DayOfWeek[\"Wednesday\"] = \"Wednesday\";\r\n DayOfWeek[\"Thursday\"] = \"Thursday\";\r\n DayOfWeek[\"Friday\"] = \"Friday\";\r\n DayOfWeek[\"Saturday\"] = \"Saturday\";\r\n})(DayOfWeek || (DayOfWeek = {}));\r\n/**\r\n * Defines values for JobScheduleDay.\r\n * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday',\r\n * 'Friday', 'Saturday', 'Sunday'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var JobScheduleDay;\r\n(function (JobScheduleDay) {\r\n JobScheduleDay[\"Monday\"] = \"Monday\";\r\n JobScheduleDay[\"Tuesday\"] = \"Tuesday\";\r\n JobScheduleDay[\"Wednesday\"] = \"Wednesday\";\r\n JobScheduleDay[\"Thursday\"] = \"Thursday\";\r\n JobScheduleDay[\"Friday\"] = \"Friday\";\r\n JobScheduleDay[\"Saturday\"] = \"Saturday\";\r\n JobScheduleDay[\"Sunday\"] = \"Sunday\";\r\n})(JobScheduleDay || (JobScheduleDay = {}));\r\n/**\r\n * Defines values for JobState.\r\n * Possible values include: 'Enabled', 'Disabled', 'Faulted', 'Completed'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var JobState;\r\n(function (JobState) {\r\n JobState[\"Enabled\"] = \"Enabled\";\r\n JobState[\"Disabled\"] = \"Disabled\";\r\n JobState[\"Faulted\"] = \"Faulted\";\r\n JobState[\"Completed\"] = \"Completed\";\r\n})(JobState || (JobState = {}));\r\n/**\r\n * Defines values for JobHistoryActionName.\r\n * Possible values include: 'MainAction', 'ErrorAction'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var JobHistoryActionName;\r\n(function (JobHistoryActionName) {\r\n JobHistoryActionName[\"MainAction\"] = \"MainAction\";\r\n JobHistoryActionName[\"ErrorAction\"] = \"ErrorAction\";\r\n})(JobHistoryActionName || (JobHistoryActionName = {}));\r\n/**\r\n * Defines values for JobExecutionStatus.\r\n * Possible values include: 'Completed', 'Failed', 'Postponed'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var JobExecutionStatus;\r\n(function (JobExecutionStatus) {\r\n JobExecutionStatus[\"Completed\"] = \"Completed\";\r\n JobExecutionStatus[\"Failed\"] = \"Failed\";\r\n JobExecutionStatus[\"Postponed\"] = \"Postponed\";\r\n})(JobExecutionStatus || (JobExecutionStatus = {}));\r\n/**\r\n * Defines values for ServiceBusAuthenticationType.\r\n * Possible values include: 'NotSpecified', 'SharedAccessKey'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var ServiceBusAuthenticationType;\r\n(function (ServiceBusAuthenticationType) {\r\n ServiceBusAuthenticationType[\"NotSpecified\"] = \"NotSpecified\";\r\n ServiceBusAuthenticationType[\"SharedAccessKey\"] = \"SharedAccessKey\";\r\n})(ServiceBusAuthenticationType || (ServiceBusAuthenticationType = {}));\r\n/**\r\n * Defines values for ServiceBusTransportType.\r\n * Possible values include: 'NotSpecified', 'NetMessaging', 'AMQP'\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var ServiceBusTransportType;\r\n(function (ServiceBusTransportType) {\r\n ServiceBusTransportType[\"NotSpecified\"] = \"NotSpecified\";\r\n ServiceBusTransportType[\"NetMessaging\"] = \"NetMessaging\";\r\n ServiceBusTransportType[\"AMQP\"] = \"AMQP\";\r\n})(ServiceBusTransportType || (ServiceBusTransportType = {}));\r\n//# sourceMappingURL=index.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport { CloudErrorMapper, BaseResourceMapper } from \"ms-rest-azure-js\";\r\nexport var CloudError = CloudErrorMapper;\r\nexport var BaseResource = BaseResourceMapper;\r\nexport var Sku = {\r\n serializedName: \"Sku\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Sku\",\r\n modelProperties: {\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Standard\",\r\n \"Free\",\r\n \"P10Premium\",\r\n \"P20Premium\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobMaxRecurrence = {\r\n serializedName: \"JobMaxRecurrence\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobMaxRecurrence\",\r\n modelProperties: {\r\n frequency: {\r\n serializedName: \"frequency\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Minute\",\r\n \"Hour\",\r\n \"Day\",\r\n \"Week\",\r\n \"Month\"\r\n ]\r\n }\r\n },\r\n interval: {\r\n serializedName: \"interval\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobCollectionQuota = {\r\n serializedName: \"JobCollectionQuota\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobCollectionQuota\",\r\n modelProperties: {\r\n maxJobCount: {\r\n serializedName: \"maxJobCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n maxJobOccurrence: {\r\n serializedName: \"maxJobOccurrence\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n maxRecurrence: {\r\n serializedName: \"maxRecurrence\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobMaxRecurrence\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobCollectionProperties = {\r\n serializedName: \"JobCollectionProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobCollectionProperties\",\r\n modelProperties: {\r\n sku: {\r\n serializedName: \"sku\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Sku\"\r\n }\r\n },\r\n state: {\r\n serializedName: \"state\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Enabled\",\r\n \"Disabled\",\r\n \"Suspended\",\r\n \"Deleted\"\r\n ]\r\n }\r\n },\r\n quota: {\r\n serializedName: \"quota\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobCollectionQuota\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobCollectionDefinition = {\r\n serializedName: \"JobCollectionDefinition\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobCollectionDefinition\",\r\n modelProperties: {\r\n id: {\r\n readOnly: true,\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n readOnly: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n location: {\r\n serializedName: \"location\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n tags: {\r\n serializedName: \"tags\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobCollectionProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var HttpAuthentication = {\r\n serializedName: \"HttpAuthentication\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"type\",\r\n clientName: \"type\"\r\n },\r\n uberParent: \"HttpAuthentication\",\r\n className: \"HttpAuthentication\",\r\n modelProperties: {\r\n type: {\r\n required: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var HttpRequest = {\r\n serializedName: \"HttpRequest\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"HttpRequest\",\r\n modelProperties: {\r\n authentication: {\r\n serializedName: \"authentication\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"type\",\r\n clientName: \"type\"\r\n },\r\n uberParent: \"HttpAuthentication\",\r\n className: \"HttpAuthentication\"\r\n }\r\n },\r\n uri: {\r\n serializedName: \"uri\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n method: {\r\n serializedName: \"method\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n body: {\r\n serializedName: \"body\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n headers: {\r\n serializedName: \"headers\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var StorageQueueMessage = {\r\n serializedName: \"StorageQueueMessage\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageQueueMessage\",\r\n modelProperties: {\r\n storageAccount: {\r\n serializedName: \"storageAccount\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n queueName: {\r\n serializedName: \"queueName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sasToken: {\r\n serializedName: \"sasToken\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n message: {\r\n serializedName: \"message\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ServiceBusMessage = {\r\n serializedName: \"ServiceBusMessage\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceBusMessage\",\r\n modelProperties: {\r\n authentication: {\r\n serializedName: \"authentication\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceBusAuthentication\"\r\n }\r\n },\r\n brokeredMessageProperties: {\r\n serializedName: \"brokeredMessageProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceBusBrokeredMessageProperties\"\r\n }\r\n },\r\n customMessageProperties: {\r\n serializedName: \"customMessageProperties\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n message: {\r\n serializedName: \"message\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n namespace: {\r\n serializedName: \"namespace\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n transportType: {\r\n serializedName: \"transportType\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"NotSpecified\",\r\n \"NetMessaging\",\r\n \"AMQP\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ServiceBusQueueMessage = {\r\n serializedName: \"ServiceBusQueueMessage\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceBusQueueMessage\",\r\n modelProperties: tslib_1.__assign({}, ServiceBusMessage.type.modelProperties, { queueName: {\r\n serializedName: \"queueName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ServiceBusTopicMessage = {\r\n serializedName: \"ServiceBusTopicMessage\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceBusTopicMessage\",\r\n modelProperties: tslib_1.__assign({}, ServiceBusMessage.type.modelProperties, { topicPath: {\r\n serializedName: \"topicPath\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RetryPolicy = {\r\n serializedName: \"RetryPolicy\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RetryPolicy\",\r\n modelProperties: {\r\n retryType: {\r\n serializedName: \"retryType\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"None\",\r\n \"Fixed\"\r\n ]\r\n }\r\n },\r\n retryInterval: {\r\n serializedName: \"retryInterval\",\r\n type: {\r\n name: \"TimeSpan\"\r\n }\r\n },\r\n retryCount: {\r\n serializedName: \"retryCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobErrorAction = {\r\n serializedName: \"JobErrorAction\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobErrorAction\",\r\n modelProperties: {\r\n type: {\r\n serializedName: \"type\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Http\",\r\n \"Https\",\r\n \"StorageQueue\",\r\n \"ServiceBusQueue\",\r\n \"ServiceBusTopic\"\r\n ]\r\n }\r\n },\r\n request: {\r\n serializedName: \"request\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"HttpRequest\"\r\n }\r\n },\r\n queueMessage: {\r\n serializedName: \"queueMessage\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageQueueMessage\"\r\n }\r\n },\r\n serviceBusQueueMessage: {\r\n serializedName: \"serviceBusQueueMessage\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceBusQueueMessage\"\r\n }\r\n },\r\n serviceBusTopicMessage: {\r\n serializedName: \"serviceBusTopicMessage\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceBusTopicMessage\"\r\n }\r\n },\r\n retryPolicy: {\r\n serializedName: \"retryPolicy\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RetryPolicy\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobAction = {\r\n serializedName: \"JobAction\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobAction\",\r\n modelProperties: {\r\n type: {\r\n serializedName: \"type\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Http\",\r\n \"Https\",\r\n \"StorageQueue\",\r\n \"ServiceBusQueue\",\r\n \"ServiceBusTopic\"\r\n ]\r\n }\r\n },\r\n request: {\r\n serializedName: \"request\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"HttpRequest\"\r\n }\r\n },\r\n queueMessage: {\r\n serializedName: \"queueMessage\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageQueueMessage\"\r\n }\r\n },\r\n serviceBusQueueMessage: {\r\n serializedName: \"serviceBusQueueMessage\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceBusQueueMessage\"\r\n }\r\n },\r\n serviceBusTopicMessage: {\r\n serializedName: \"serviceBusTopicMessage\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceBusTopicMessage\"\r\n }\r\n },\r\n retryPolicy: {\r\n serializedName: \"retryPolicy\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RetryPolicy\"\r\n }\r\n },\r\n errorAction: {\r\n serializedName: \"errorAction\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobErrorAction\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobRecurrenceScheduleMonthlyOccurrence = {\r\n serializedName: \"JobRecurrenceScheduleMonthlyOccurrence\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobRecurrenceScheduleMonthlyOccurrence\",\r\n modelProperties: {\r\n day: {\r\n serializedName: \"day\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Monday\",\r\n \"Tuesday\",\r\n \"Wednesday\",\r\n \"Thursday\",\r\n \"Friday\",\r\n \"Saturday\",\r\n \"Sunday\"\r\n ]\r\n }\r\n },\r\n occurrence: {\r\n serializedName: \"Occurrence\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobRecurrenceSchedule = {\r\n serializedName: \"JobRecurrenceSchedule\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobRecurrenceSchedule\",\r\n modelProperties: {\r\n weekDays: {\r\n serializedName: \"weekDays\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Sunday\",\r\n \"Monday\",\r\n \"Tuesday\",\r\n \"Wednesday\",\r\n \"Thursday\",\r\n \"Friday\",\r\n \"Saturday\"\r\n ]\r\n }\r\n }\r\n }\r\n },\r\n hours: {\r\n serializedName: \"hours\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n },\r\n minutes: {\r\n serializedName: \"minutes\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n },\r\n monthDays: {\r\n serializedName: \"monthDays\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n },\r\n monthlyOccurrences: {\r\n serializedName: \"monthlyOccurrences\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobRecurrenceScheduleMonthlyOccurrence\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobRecurrence = {\r\n serializedName: \"JobRecurrence\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobRecurrence\",\r\n modelProperties: {\r\n frequency: {\r\n serializedName: \"frequency\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Minute\",\r\n \"Hour\",\r\n \"Day\",\r\n \"Week\",\r\n \"Month\"\r\n ]\r\n }\r\n },\r\n interval: {\r\n serializedName: \"interval\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n count: {\r\n serializedName: \"count\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n endTime: {\r\n serializedName: \"endTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n schedule: {\r\n serializedName: \"schedule\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobRecurrenceSchedule\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobStatus = {\r\n serializedName: \"JobStatus\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobStatus\",\r\n modelProperties: {\r\n executionCount: {\r\n readOnly: true,\r\n serializedName: \"executionCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n failureCount: {\r\n readOnly: true,\r\n serializedName: \"failureCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n faultedCount: {\r\n readOnly: true,\r\n serializedName: \"faultedCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n lastExecutionTime: {\r\n readOnly: true,\r\n serializedName: \"lastExecutionTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n nextExecutionTime: {\r\n readOnly: true,\r\n serializedName: \"nextExecutionTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobProperties = {\r\n serializedName: \"JobProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobProperties\",\r\n modelProperties: {\r\n startTime: {\r\n serializedName: \"startTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n action: {\r\n serializedName: \"action\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobAction\"\r\n }\r\n },\r\n recurrence: {\r\n serializedName: \"recurrence\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobRecurrence\"\r\n }\r\n },\r\n state: {\r\n serializedName: \"state\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Enabled\",\r\n \"Disabled\",\r\n \"Faulted\",\r\n \"Completed\"\r\n ]\r\n }\r\n },\r\n status: {\r\n readOnly: true,\r\n serializedName: \"status\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobStatus\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobDefinition = {\r\n serializedName: \"JobDefinition\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobDefinition\",\r\n modelProperties: {\r\n id: {\r\n readOnly: true,\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n readOnly: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n readOnly: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobHistoryDefinitionProperties = {\r\n serializedName: \"JobHistoryDefinitionProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobHistoryDefinitionProperties\",\r\n modelProperties: {\r\n startTime: {\r\n readOnly: true,\r\n serializedName: \"startTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n endTime: {\r\n readOnly: true,\r\n serializedName: \"endTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n expectedExecutionTime: {\r\n readOnly: true,\r\n serializedName: \"expectedExecutionTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n actionName: {\r\n readOnly: true,\r\n serializedName: \"actionName\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"MainAction\",\r\n \"ErrorAction\"\r\n ]\r\n }\r\n },\r\n status: {\r\n readOnly: true,\r\n serializedName: \"status\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Completed\",\r\n \"Failed\",\r\n \"Postponed\"\r\n ]\r\n }\r\n },\r\n message: {\r\n readOnly: true,\r\n serializedName: \"message\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n retryCount: {\r\n readOnly: true,\r\n serializedName: \"retryCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n repeatCount: {\r\n readOnly: true,\r\n serializedName: \"repeatCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobHistoryDefinition = {\r\n serializedName: \"JobHistoryDefinition\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobHistoryDefinition\",\r\n modelProperties: {\r\n id: {\r\n readOnly: true,\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n readOnly: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n readOnly: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n properties: {\r\n readOnly: true,\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobHistoryDefinitionProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ClientCertAuthentication = {\r\n serializedName: \"ClientCertificate\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: HttpAuthentication.type.polymorphicDiscriminator,\r\n uberParent: \"HttpAuthentication\",\r\n className: \"ClientCertAuthentication\",\r\n modelProperties: tslib_1.__assign({}, HttpAuthentication.type.modelProperties, { password: {\r\n serializedName: \"password\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, pfx: {\r\n serializedName: \"pfx\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, certificateThumbprint: {\r\n serializedName: \"certificateThumbprint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, certificateExpirationDate: {\r\n serializedName: \"certificateExpirationDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, certificateSubjectName: {\r\n serializedName: \"certificateSubjectName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var BasicAuthentication = {\r\n serializedName: \"Basic\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: HttpAuthentication.type.polymorphicDiscriminator,\r\n uberParent: \"HttpAuthentication\",\r\n className: \"BasicAuthentication\",\r\n modelProperties: tslib_1.__assign({}, HttpAuthentication.type.modelProperties, { username: {\r\n serializedName: \"username\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, password: {\r\n serializedName: \"password\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var OAuthAuthentication = {\r\n serializedName: \"ActiveDirectoryOAuth\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: HttpAuthentication.type.polymorphicDiscriminator,\r\n uberParent: \"HttpAuthentication\",\r\n className: \"OAuthAuthentication\",\r\n modelProperties: tslib_1.__assign({}, HttpAuthentication.type.modelProperties, { secret: {\r\n serializedName: \"secret\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, tenant: {\r\n serializedName: \"tenant\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, audience: {\r\n serializedName: \"audience\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, clientId: {\r\n serializedName: \"clientId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ServiceBusAuthentication = {\r\n serializedName: \"ServiceBusAuthentication\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceBusAuthentication\",\r\n modelProperties: {\r\n sasKey: {\r\n serializedName: \"sasKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sasKeyName: {\r\n serializedName: \"sasKeyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n serializedName: \"type\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"NotSpecified\",\r\n \"SharedAccessKey\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ServiceBusBrokeredMessageProperties = {\r\n serializedName: \"ServiceBusBrokeredMessageProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceBusBrokeredMessageProperties\",\r\n modelProperties: {\r\n contentType: {\r\n serializedName: \"contentType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n correlationId: {\r\n serializedName: \"correlationId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n forcePersistence: {\r\n serializedName: \"forcePersistence\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n label: {\r\n serializedName: \"label\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n messageId: {\r\n serializedName: \"messageId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n partitionKey: {\r\n serializedName: \"partitionKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n replyTo: {\r\n serializedName: \"replyTo\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n replyToSessionId: {\r\n serializedName: \"replyToSessionId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n scheduledEnqueueTimeUtc: {\r\n serializedName: \"scheduledEnqueueTimeUtc\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n sessionId: {\r\n serializedName: \"sessionId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n timeToLive: {\r\n serializedName: \"timeToLive\",\r\n type: {\r\n name: \"TimeSpan\"\r\n }\r\n },\r\n to: {\r\n serializedName: \"to\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n viaPartitionKey: {\r\n serializedName: \"viaPartitionKey\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobStateFilter = {\r\n serializedName: \"JobStateFilter\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobStateFilter\",\r\n modelProperties: {\r\n state: {\r\n serializedName: \"state\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Enabled\",\r\n \"Disabled\",\r\n \"Faulted\",\r\n \"Completed\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobHistoryFilter = {\r\n serializedName: \"JobHistoryFilter\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobHistoryFilter\",\r\n modelProperties: {\r\n status: {\r\n serializedName: \"status\",\r\n type: {\r\n name: \"Enum\",\r\n allowedValues: [\r\n \"Completed\",\r\n \"Failed\",\r\n \"Postponed\"\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobCollectionListResult = {\r\n serializedName: \"JobCollectionListResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobCollectionListResult\",\r\n modelProperties: {\r\n value: {\r\n readOnly: true,\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobCollectionDefinition\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobListResult = {\r\n serializedName: \"JobListResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobListResult\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobDefinition\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobHistoryListResult = {\r\n serializedName: \"JobHistoryListResult\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobHistoryListResult\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobHistoryDefinition\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var discriminators = {\r\n 'HttpAuthentication': HttpAuthentication,\r\n 'HttpAuthentication.ClientCertificate': ClientCertAuthentication,\r\n 'HttpAuthentication.Basic': BasicAuthentication,\r\n 'HttpAuthentication.ActiveDirectoryOAuth': OAuthAuthentication\r\n};\r\n//# sourceMappingURL=mappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, JobCollectionListResult, JobCollectionDefinition, JobCollectionProperties, Sku, JobCollectionQuota, JobMaxRecurrence, CloudError } from \"../models/mappers\";\r\n//# sourceMappingURL=jobCollectionsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport var acceptLanguage = {\r\n parameterPath: \"acceptLanguage\",\r\n mapper: {\r\n serializedName: \"accept-language\",\r\n defaultValue: 'en-US',\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var apiVersion = {\r\n parameterPath: \"apiVersion\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"api-version\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var filter = {\r\n parameterPath: [\r\n \"options\",\r\n \"filter\"\r\n ],\r\n mapper: {\r\n serializedName: \"$filter\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var jobCollectionName = {\r\n parameterPath: \"jobCollectionName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"jobCollectionName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var jobName = {\r\n parameterPath: \"jobName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"jobName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var nextPageLink = {\r\n parameterPath: \"nextPageLink\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n skipEncoding: true\r\n};\r\nexport var resourceGroupName = {\r\n parameterPath: \"resourceGroupName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"resourceGroupName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var skip = {\r\n parameterPath: [\r\n \"options\",\r\n \"skip\"\r\n ],\r\n mapper: {\r\n serializedName: \"$skip\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n};\r\nexport var subscriptionId = {\r\n parameterPath: \"subscriptionId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"subscriptionId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var top = {\r\n parameterPath: [\r\n \"options\",\r\n \"top\"\r\n ],\r\n mapper: {\r\n serializedName: \"$top\",\r\n constraints: {\r\n InclusiveMaximum: 100,\r\n InclusiveMinimum: 1\r\n },\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n};\r\n//# sourceMappingURL=parameters.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/jobCollectionsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a JobCollections. */\r\nvar JobCollections = /** @class */ (function () {\r\n /**\r\n * Create a JobCollections.\r\n * @param {SchedulerManagementClientContext} client Reference to the service client.\r\n */\r\n function JobCollections(client) {\r\n this.client = client;\r\n }\r\n JobCollections.prototype.listBySubscription = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listBySubscriptionOperationSpec, callback);\r\n };\r\n JobCollections.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n options: options\r\n }, listByResourceGroupOperationSpec, callback);\r\n };\r\n JobCollections.prototype.get = function (resourceGroupName, jobCollectionName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n JobCollections.prototype.createOrUpdate = function (resourceGroupName, jobCollectionName, jobCollection, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n jobCollection: jobCollection,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n JobCollections.prototype.patch = function (resourceGroupName, jobCollectionName, jobCollection, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n jobCollection: jobCollection,\r\n options: options\r\n }, patchOperationSpec, callback);\r\n };\r\n /**\r\n * Deletes a job collection.\r\n * @param resourceGroupName The resource group name.\r\n * @param jobCollectionName The job collection name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n JobCollections.prototype.deleteMethod = function (resourceGroupName, jobCollectionName, options) {\r\n return this.beginDeleteMethod(resourceGroupName, jobCollectionName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Enables all of the jobs in the job collection.\r\n * @param resourceGroupName The resource group name.\r\n * @param jobCollectionName The job collection name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n JobCollections.prototype.enable = function (resourceGroupName, jobCollectionName, options) {\r\n return this.beginEnable(resourceGroupName, jobCollectionName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Disables all of the jobs in the job collection.\r\n * @param resourceGroupName The resource group name.\r\n * @param jobCollectionName The job collection name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n JobCollections.prototype.disable = function (resourceGroupName, jobCollectionName, options) {\r\n return this.beginDisable(resourceGroupName, jobCollectionName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Deletes a job collection.\r\n * @param resourceGroupName The resource group name.\r\n * @param jobCollectionName The job collection name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n JobCollections.prototype.beginDeleteMethod = function (resourceGroupName, jobCollectionName, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n options: options\r\n }, beginDeleteMethodOperationSpec, options);\r\n };\r\n /**\r\n * Enables all of the jobs in the job collection.\r\n * @param resourceGroupName The resource group name.\r\n * @param jobCollectionName The job collection name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n JobCollections.prototype.beginEnable = function (resourceGroupName, jobCollectionName, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n options: options\r\n }, beginEnableOperationSpec, options);\r\n };\r\n /**\r\n * Disables all of the jobs in the job collection.\r\n * @param resourceGroupName The resource group name.\r\n * @param jobCollectionName The job collection name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n JobCollections.prototype.beginDisable = function (resourceGroupName, jobCollectionName, options) {\r\n return this.client.sendLRORequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n options: options\r\n }, beginDisableOperationSpec, options);\r\n };\r\n JobCollections.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listBySubscriptionNextOperationSpec, callback);\r\n };\r\n JobCollections.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByResourceGroupNextOperationSpec, callback);\r\n };\r\n return JobCollections;\r\n}());\r\nexport { JobCollections };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listBySubscriptionOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/providers/Microsoft.Scheduler/jobCollections\",\r\n urlParameters: [\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobCollectionListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByResourceGroupOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobCollectionListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobCollectionDefinition\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"jobCollection\",\r\n mapper: tslib_1.__assign({}, Mappers.JobCollectionDefinition, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobCollectionDefinition\r\n },\r\n 201: {\r\n bodyMapper: Mappers.JobCollectionDefinition\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar patchOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"jobCollection\",\r\n mapper: tslib_1.__assign({}, Mappers.JobCollectionDefinition, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobCollectionDefinition\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDeleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginEnableOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/enable\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDisableOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/disable\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listBySubscriptionNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobCollectionListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByResourceGroupNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobCollectionListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=jobCollections.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, JobDefinition, JobProperties, JobAction, HttpRequest, HttpAuthentication, StorageQueueMessage, ServiceBusQueueMessage, ServiceBusMessage, ServiceBusAuthentication, ServiceBusBrokeredMessageProperties, ServiceBusTopicMessage, RetryPolicy, JobErrorAction, JobRecurrence, JobRecurrenceSchedule, JobRecurrenceScheduleMonthlyOccurrence, JobStatus, CloudError, JobListResult, JobHistoryListResult, JobHistoryDefinition, JobHistoryDefinitionProperties, ClientCertAuthentication, BasicAuthentication, OAuthAuthentication } from \"../models/mappers\";\r\n//# sourceMappingURL=jobsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/jobsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Jobs. */\r\nvar Jobs = /** @class */ (function () {\r\n /**\r\n * Create a Jobs.\r\n * @param {SchedulerManagementClientContext} client Reference to the service client.\r\n */\r\n function Jobs(client) {\r\n this.client = client;\r\n }\r\n Jobs.prototype.get = function (resourceGroupName, jobCollectionName, jobName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n jobName: jobName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n Jobs.prototype.createOrUpdate = function (resourceGroupName, jobCollectionName, jobName, job, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n jobName: jobName,\r\n job: job,\r\n options: options\r\n }, createOrUpdateOperationSpec, callback);\r\n };\r\n Jobs.prototype.patch = function (resourceGroupName, jobCollectionName, jobName, job, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n jobName: jobName,\r\n job: job,\r\n options: options\r\n }, patchOperationSpec, callback);\r\n };\r\n Jobs.prototype.deleteMethod = function (resourceGroupName, jobCollectionName, jobName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n jobName: jobName,\r\n options: options\r\n }, deleteMethodOperationSpec, callback);\r\n };\r\n Jobs.prototype.run = function (resourceGroupName, jobCollectionName, jobName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n jobName: jobName,\r\n options: options\r\n }, runOperationSpec, callback);\r\n };\r\n Jobs.prototype.list = function (resourceGroupName, jobCollectionName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n Jobs.prototype.listJobHistory = function (resourceGroupName, jobCollectionName, jobName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n resourceGroupName: resourceGroupName,\r\n jobCollectionName: jobCollectionName,\r\n jobName: jobName,\r\n options: options\r\n }, listJobHistoryOperationSpec, callback);\r\n };\r\n Jobs.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n Jobs.prototype.listJobHistoryNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listJobHistoryNextOperationSpec, callback);\r\n };\r\n return Jobs;\r\n}());\r\nexport { Jobs };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName,\r\n Parameters.jobName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobDefinition\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOrUpdateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName,\r\n Parameters.jobName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"job\",\r\n mapper: tslib_1.__assign({}, Mappers.JobDefinition, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobDefinition\r\n },\r\n 201: {\r\n bodyMapper: Mappers.JobDefinition\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar patchOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName,\r\n Parameters.jobName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"job\",\r\n mapper: tslib_1.__assign({}, Mappers.JobDefinition, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobDefinition\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar deleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName,\r\n Parameters.jobName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar runOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}/run\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName,\r\n Parameters.jobName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.filter\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listJobHistoryOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}/history\",\r\n urlParameters: [\r\n Parameters.subscriptionId,\r\n Parameters.resourceGroupName,\r\n Parameters.jobCollectionName,\r\n Parameters.jobName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.top,\r\n Parameters.skip,\r\n Parameters.filter\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobHistoryListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listJobHistoryNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobHistoryListResult\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=jobs.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport * from \"./jobCollections\";\r\nexport * from \"./jobs\";\r\n//# sourceMappingURL=index.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRestAzure from \"ms-rest-azure-js\";\r\nvar packageName = \"@azure/arm-scheduler\";\r\nvar packageVersion = \"1.0.0\";\r\nvar SchedulerManagementClientContext = /** @class */ (function (_super) {\r\n tslib_1.__extends(SchedulerManagementClientContext, _super);\r\n /**\r\n * Initializes a new instance of the SchedulerManagementClient class.\r\n * @param credentials Credentials needed for the client to connect to Azure.\r\n * @param subscriptionId The subscription id.\r\n * @param [options] The parameter options\r\n */\r\n function SchedulerManagementClientContext(credentials, subscriptionId, options) {\r\n var _this = this;\r\n if (credentials == undefined) {\r\n throw new Error('\\'credentials\\' cannot be null.');\r\n }\r\n if (subscriptionId == undefined) {\r\n throw new Error('\\'subscriptionId\\' cannot be null.');\r\n }\r\n if (!options) {\r\n options = {};\r\n }\r\n _this = _super.call(this, credentials, options) || this;\r\n _this.apiVersion = '2016-03-01';\r\n _this.acceptLanguage = 'en-US';\r\n _this.longRunningOperationRetryTimeout = 30;\r\n _this.baseUri = options.baseUri || _this.baseUri || \"https://management.azure.com\";\r\n _this.requestContentType = \"application/json; charset=utf-8\";\r\n _this.credentials = credentials;\r\n _this.subscriptionId = subscriptionId;\r\n _this.addUserAgentInfo(packageName + \"/\" + packageVersion);\r\n if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {\r\n _this.acceptLanguage = options.acceptLanguage;\r\n }\r\n if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {\r\n _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;\r\n }\r\n return _this;\r\n }\r\n return SchedulerManagementClientContext;\r\n}(msRestAzure.AzureServiceClient));\r\nexport { SchedulerManagementClientContext };\r\n//# sourceMappingURL=schedulerManagementClientContext.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as Models from \"./models\";\r\nimport * as Mappers from \"./models/mappers\";\r\nimport * as operations from \"./operations\";\r\nimport { SchedulerManagementClientContext } from \"./schedulerManagementClientContext\";\r\nvar SchedulerManagementClient = /** @class */ (function (_super) {\r\n tslib_1.__extends(SchedulerManagementClient, _super);\r\n /**\r\n * Initializes a new instance of the SchedulerManagementClient class.\r\n * @param credentials Credentials needed for the client to connect to Azure.\r\n * @param subscriptionId The subscription id.\r\n * @param [options] The parameter options\r\n */\r\n function SchedulerManagementClient(credentials, subscriptionId, options) {\r\n var _this = _super.call(this, credentials, subscriptionId, options) || this;\r\n _this.jobCollections = new operations.JobCollections(_this);\r\n _this.jobs = new operations.Jobs(_this);\r\n return _this;\r\n }\r\n return SchedulerManagementClient;\r\n}(SchedulerManagementClientContext));\r\n// Operation Specifications\r\nexport { SchedulerManagementClient, SchedulerManagementClientContext, Models as SchedulerManagementModels, Mappers as SchedulerManagementMappers };\r\nexport * from \"./operations\";\r\n//# sourceMappingURL=schedulerManagementClient.js.map"],"names":["CloudErrorMapper","BaseResourceMapper","tslib_1.__assign","resourceGroupName","jobCollectionName","nextPageLink","msRest.Serializer","Parameters.subscriptionId","Parameters.apiVersion","Parameters.acceptLanguage","Mappers.JobCollectionListResult","Mappers.CloudError","Parameters.resourceGroupName","Parameters.jobCollectionName","Mappers.JobCollectionDefinition","Parameters.nextPageLink","jobName","getOperationSpec","createOrUpdateOperationSpec","patchOperationSpec","serializer","Mappers","Parameters.jobName","Mappers.JobDefinition","Parameters.top","Parameters.skip","Parameters.filter","Mappers.JobListResult","Mappers.JobHistoryListResult","tslib_1.__extends","msRestAzure.AzureServiceClient","operations.JobCollections","operations.Jobs"],"mappings":";;;;;;;;;;;;;;;IAAA;IACA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA;IACA;IACA;IACA;;IAEA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;;AAEF,IAAO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS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} \ No newline at end of file diff --git a/packages/@azure/arm-scheduler/dist/arm-scheduler.min.js b/packages/@azure/arm-scheduler/dist/arm-scheduler.min.js new file mode 100644 index 000000000000..fec5d642816f --- /dev/null +++ b/packages/@azure/arm-scheduler/dist/arm-scheduler.min.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("ms-rest-azure-js"),require("ms-rest-js")):"function"==typeof define&&define.amd?define(["exports","ms-rest-azure-js","ms-rest-js"],t):t((e.Azure=e.Azure||{},e.Azure.ArmScheduler={}),e.msRestAzure,e.msRest)}(this,function(e,t,r){"use strict";var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function o(e,t){function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i,s,n,p,m,u,l,c,d,y,N,b,h,z,S,g,P,C,M,f,J,T,v,j,q=function(){return(q=Object.assign||function(e){for(var t,r=1,a=arguments.length;r + */ +export interface JobCollectionListResult extends Array { + /** + * @member {string} [nextLink] Gets or sets the URL to get the next set of + * job collections. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the JobListResult. + * @extends Array + */ +export interface JobListResult extends Array { + /** + * @member {string} [nextLink] Gets or sets the URL to get the next set of + * jobs. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the JobHistoryListResult. + * @extends Array + */ +export interface JobHistoryListResult extends Array { + /** + * @member {string} [nextLink] Gets or sets the URL to get the next set of + * job histories. + */ + nextLink?: string; +} + +/** + * Defines values for SkuDefinition. + * Possible values include: 'Standard', 'Free', 'P10Premium', 'P20Premium' + * @readonly + * @enum {string} + */ +export enum SkuDefinition { + Standard = 'Standard', + Free = 'Free', + P10Premium = 'P10Premium', + P20Premium = 'P20Premium', +} + +/** + * Defines values for JobCollectionState. + * Possible values include: 'Enabled', 'Disabled', 'Suspended', 'Deleted' + * @readonly + * @enum {string} + */ +export enum JobCollectionState { + Enabled = 'Enabled', + Disabled = 'Disabled', + Suspended = 'Suspended', + Deleted = 'Deleted', +} + +/** + * Defines values for RecurrenceFrequency. + * Possible values include: 'Minute', 'Hour', 'Day', 'Week', 'Month' + * @readonly + * @enum {string} + */ +export enum RecurrenceFrequency { + Minute = 'Minute', + Hour = 'Hour', + Day = 'Day', + Week = 'Week', + Month = 'Month', +} + +/** + * Defines values for JobActionType. + * Possible values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue', + * 'ServiceBusTopic' + * @readonly + * @enum {string} + */ +export enum JobActionType { + Http = 'Http', + Https = 'Https', + StorageQueue = 'StorageQueue', + ServiceBusQueue = 'ServiceBusQueue', + ServiceBusTopic = 'ServiceBusTopic', +} + +/** + * Defines values for RetryType. + * Possible values include: 'None', 'Fixed' + * @readonly + * @enum {string} + */ +export enum RetryType { + None = 'None', + Fixed = 'Fixed', +} + +/** + * Defines values for DayOfWeek. + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', + * 'Thursday', 'Friday', 'Saturday' + * @readonly + * @enum {string} + */ +export enum DayOfWeek { + Sunday = 'Sunday', + Monday = 'Monday', + Tuesday = 'Tuesday', + Wednesday = 'Wednesday', + Thursday = 'Thursday', + Friday = 'Friday', + Saturday = 'Saturday', +} + +/** + * Defines values for JobScheduleDay. + * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', + * 'Friday', 'Saturday', 'Sunday' + * @readonly + * @enum {string} + */ +export enum JobScheduleDay { + Monday = 'Monday', + Tuesday = 'Tuesday', + Wednesday = 'Wednesday', + Thursday = 'Thursday', + Friday = 'Friday', + Saturday = 'Saturday', + Sunday = 'Sunday', +} + +/** + * Defines values for JobState. + * Possible values include: 'Enabled', 'Disabled', 'Faulted', 'Completed' + * @readonly + * @enum {string} + */ +export enum JobState { + Enabled = 'Enabled', + Disabled = 'Disabled', + Faulted = 'Faulted', + Completed = 'Completed', +} + +/** + * Defines values for JobHistoryActionName. + * Possible values include: 'MainAction', 'ErrorAction' + * @readonly + * @enum {string} + */ +export enum JobHistoryActionName { + MainAction = 'MainAction', + ErrorAction = 'ErrorAction', +} + +/** + * Defines values for JobExecutionStatus. + * Possible values include: 'Completed', 'Failed', 'Postponed' + * @readonly + * @enum {string} + */ +export enum JobExecutionStatus { + Completed = 'Completed', + Failed = 'Failed', + Postponed = 'Postponed', +} + +/** + * Defines values for ServiceBusAuthenticationType. + * Possible values include: 'NotSpecified', 'SharedAccessKey' + * @readonly + * @enum {string} + */ +export enum ServiceBusAuthenticationType { + NotSpecified = 'NotSpecified', + SharedAccessKey = 'SharedAccessKey', +} + +/** + * Defines values for ServiceBusTransportType. + * Possible values include: 'NotSpecified', 'NetMessaging', 'AMQP' + * @readonly + * @enum {string} + */ +export enum ServiceBusTransportType { + NotSpecified = 'NotSpecified', + NetMessaging = 'NetMessaging', + AMQP = 'AMQP', +} + +/** + * Contains response data for the listBySubscription operation. + */ +export type JobCollectionsListBySubscriptionResponse = JobCollectionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobCollectionListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type JobCollectionsListByResourceGroupResponse = JobCollectionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobCollectionListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type JobCollectionsGetResponse = JobCollectionDefinition & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobCollectionDefinition; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type JobCollectionsCreateOrUpdateResponse = JobCollectionDefinition & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobCollectionDefinition; + }; +}; + +/** + * Contains response data for the patch operation. + */ +export type JobCollectionsPatchResponse = JobCollectionDefinition & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobCollectionDefinition; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type JobCollectionsListBySubscriptionNextResponse = JobCollectionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobCollectionListResult; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type JobCollectionsListByResourceGroupNextResponse = JobCollectionListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobCollectionListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type JobsGetResponse = JobDefinition & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobDefinition; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type JobsCreateOrUpdateResponse = JobDefinition & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobDefinition; + }; +}; + +/** + * Contains response data for the patch operation. + */ +export type JobsPatchResponse = JobDefinition & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobDefinition; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type JobsListResponse = JobListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobListResult; + }; +}; + +/** + * Contains response data for the listJobHistory operation. + */ +export type JobsListJobHistoryResponse = JobHistoryListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobHistoryListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type JobsListNextResponse = JobListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobListResult; + }; +}; + +/** + * Contains response data for the listJobHistoryNext operation. + */ +export type JobsListJobHistoryNextResponse = JobHistoryListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: JobHistoryListResult; + }; +}; diff --git a/packages/@azure/arm-scheduler/lib/models/jobCollectionsMappers.ts b/packages/@azure/arm-scheduler/lib/models/jobCollectionsMappers.ts new file mode 100644 index 000000000000..77619e8272d3 --- /dev/null +++ b/packages/@azure/arm-scheduler/lib/models/jobCollectionsMappers.ts @@ -0,0 +1,21 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + JobCollectionListResult, + JobCollectionDefinition, + JobCollectionProperties, + Sku, + JobCollectionQuota, + JobMaxRecurrence, + CloudError +} from "../models/mappers"; + diff --git a/packages/@azure/arm-scheduler/lib/models/jobsMappers.ts b/packages/@azure/arm-scheduler/lib/models/jobsMappers.ts new file mode 100644 index 000000000000..741ccd7c022b --- /dev/null +++ b/packages/@azure/arm-scheduler/lib/models/jobsMappers.ts @@ -0,0 +1,39 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + JobDefinition, + JobProperties, + JobAction, + HttpRequest, + HttpAuthentication, + StorageQueueMessage, + ServiceBusQueueMessage, + ServiceBusMessage, + ServiceBusAuthentication, + ServiceBusBrokeredMessageProperties, + ServiceBusTopicMessage, + RetryPolicy, + JobErrorAction, + JobRecurrence, + JobRecurrenceSchedule, + JobRecurrenceScheduleMonthlyOccurrence, + JobStatus, + CloudError, + JobListResult, + JobHistoryListResult, + JobHistoryDefinition, + JobHistoryDefinitionProperties, + ClientCertAuthentication, + BasicAuthentication, + OAuthAuthentication +} from "../models/mappers"; + diff --git a/packages/@azure/arm-scheduler/lib/models/mappers.ts b/packages/@azure/arm-scheduler/lib/models/mappers.ts new file mode 100644 index 000000000000..f168952ae8dd --- /dev/null +++ b/packages/@azure/arm-scheduler/lib/models/mappers.ts @@ -0,0 +1,1300 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import { CloudErrorMapper, BaseResourceMapper } from "ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; + +export const CloudError = CloudErrorMapper; +export const BaseResource = BaseResourceMapper; + +export const Sku: msRest.CompositeMapper = { + serializedName: "Sku", + type: { + name: "Composite", + className: "Sku", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "Enum", + allowedValues: [ + "Standard", + "Free", + "P10Premium", + "P20Premium" + ] + } + } + } + } +}; + +export const JobMaxRecurrence: msRest.CompositeMapper = { + serializedName: "JobMaxRecurrence", + type: { + name: "Composite", + className: "JobMaxRecurrence", + modelProperties: { + frequency: { + serializedName: "frequency", + type: { + name: "Enum", + allowedValues: [ + "Minute", + "Hour", + "Day", + "Week", + "Month" + ] + } + }, + interval: { + serializedName: "interval", + type: { + name: "Number" + } + } + } + } +}; + +export const JobCollectionQuota: msRest.CompositeMapper = { + serializedName: "JobCollectionQuota", + type: { + name: "Composite", + className: "JobCollectionQuota", + modelProperties: { + maxJobCount: { + serializedName: "maxJobCount", + type: { + name: "Number" + } + }, + maxJobOccurrence: { + serializedName: "maxJobOccurrence", + type: { + name: "Number" + } + }, + maxRecurrence: { + serializedName: "maxRecurrence", + type: { + name: "Composite", + className: "JobMaxRecurrence" + } + } + } + } +}; + +export const JobCollectionProperties: msRest.CompositeMapper = { + serializedName: "JobCollectionProperties", + type: { + name: "Composite", + className: "JobCollectionProperties", + modelProperties: { + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "Sku" + } + }, + state: { + serializedName: "state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled", + "Suspended", + "Deleted" + ] + } + }, + quota: { + serializedName: "quota", + type: { + name: "Composite", + className: "JobCollectionQuota" + } + } + } + } +}; + +export const JobCollectionDefinition: msRest.CompositeMapper = { + serializedName: "JobCollectionDefinition", + type: { + name: "Composite", + className: "JobCollectionDefinition", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "JobCollectionProperties" + } + } + } + } +}; + +export const HttpAuthentication: msRest.CompositeMapper = { + serializedName: "HttpAuthentication", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "HttpAuthentication", + className: "HttpAuthentication", + modelProperties: { + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const HttpRequest: msRest.CompositeMapper = { + serializedName: "HttpRequest", + type: { + name: "Composite", + className: "HttpRequest", + modelProperties: { + authentication: { + serializedName: "authentication", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "HttpAuthentication", + className: "HttpAuthentication" + } + }, + uri: { + serializedName: "uri", + type: { + name: "String" + } + }, + method: { + serializedName: "method", + type: { + name: "String" + } + }, + body: { + serializedName: "body", + type: { + name: "String" + } + }, + headers: { + serializedName: "headers", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const StorageQueueMessage: msRest.CompositeMapper = { + serializedName: "StorageQueueMessage", + type: { + name: "Composite", + className: "StorageQueueMessage", + modelProperties: { + storageAccount: { + serializedName: "storageAccount", + type: { + name: "String" + } + }, + queueName: { + serializedName: "queueName", + type: { + name: "String" + } + }, + sasToken: { + serializedName: "sasToken", + type: { + name: "String" + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + } + } + } +}; + +export const ServiceBusMessage: msRest.CompositeMapper = { + serializedName: "ServiceBusMessage", + type: { + name: "Composite", + className: "ServiceBusMessage", + modelProperties: { + authentication: { + serializedName: "authentication", + type: { + name: "Composite", + className: "ServiceBusAuthentication" + } + }, + brokeredMessageProperties: { + serializedName: "brokeredMessageProperties", + type: { + name: "Composite", + className: "ServiceBusBrokeredMessageProperties" + } + }, + customMessageProperties: { + serializedName: "customMessageProperties", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + }, + namespace: { + serializedName: "namespace", + type: { + name: "String" + } + }, + transportType: { + serializedName: "transportType", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "NetMessaging", + "AMQP" + ] + } + } + } + } +}; + +export const ServiceBusQueueMessage: msRest.CompositeMapper = { + serializedName: "ServiceBusQueueMessage", + type: { + name: "Composite", + className: "ServiceBusQueueMessage", + modelProperties: { + ...ServiceBusMessage.type.modelProperties, + queueName: { + serializedName: "queueName", + type: { + name: "String" + } + } + } + } +}; + +export const ServiceBusTopicMessage: msRest.CompositeMapper = { + serializedName: "ServiceBusTopicMessage", + type: { + name: "Composite", + className: "ServiceBusTopicMessage", + modelProperties: { + ...ServiceBusMessage.type.modelProperties, + topicPath: { + serializedName: "topicPath", + type: { + name: "String" + } + } + } + } +}; + +export const RetryPolicy: msRest.CompositeMapper = { + serializedName: "RetryPolicy", + type: { + name: "Composite", + className: "RetryPolicy", + modelProperties: { + retryType: { + serializedName: "retryType", + type: { + name: "Enum", + allowedValues: [ + "None", + "Fixed" + ] + } + }, + retryInterval: { + serializedName: "retryInterval", + type: { + name: "TimeSpan" + } + }, + retryCount: { + serializedName: "retryCount", + type: { + name: "Number" + } + } + } + } +}; + +export const JobErrorAction: msRest.CompositeMapper = { + serializedName: "JobErrorAction", + type: { + name: "Composite", + className: "JobErrorAction", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "Http", + "Https", + "StorageQueue", + "ServiceBusQueue", + "ServiceBusTopic" + ] + } + }, + request: { + serializedName: "request", + type: { + name: "Composite", + className: "HttpRequest" + } + }, + queueMessage: { + serializedName: "queueMessage", + type: { + name: "Composite", + className: "StorageQueueMessage" + } + }, + serviceBusQueueMessage: { + serializedName: "serviceBusQueueMessage", + type: { + name: "Composite", + className: "ServiceBusQueueMessage" + } + }, + serviceBusTopicMessage: { + serializedName: "serviceBusTopicMessage", + type: { + name: "Composite", + className: "ServiceBusTopicMessage" + } + }, + retryPolicy: { + serializedName: "retryPolicy", + type: { + name: "Composite", + className: "RetryPolicy" + } + } + } + } +}; + +export const JobAction: msRest.CompositeMapper = { + serializedName: "JobAction", + type: { + name: "Composite", + className: "JobAction", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "Http", + "Https", + "StorageQueue", + "ServiceBusQueue", + "ServiceBusTopic" + ] + } + }, + request: { + serializedName: "request", + type: { + name: "Composite", + className: "HttpRequest" + } + }, + queueMessage: { + serializedName: "queueMessage", + type: { + name: "Composite", + className: "StorageQueueMessage" + } + }, + serviceBusQueueMessage: { + serializedName: "serviceBusQueueMessage", + type: { + name: "Composite", + className: "ServiceBusQueueMessage" + } + }, + serviceBusTopicMessage: { + serializedName: "serviceBusTopicMessage", + type: { + name: "Composite", + className: "ServiceBusTopicMessage" + } + }, + retryPolicy: { + serializedName: "retryPolicy", + type: { + name: "Composite", + className: "RetryPolicy" + } + }, + errorAction: { + serializedName: "errorAction", + type: { + name: "Composite", + className: "JobErrorAction" + } + } + } + } +}; + +export const JobRecurrenceScheduleMonthlyOccurrence: msRest.CompositeMapper = { + serializedName: "JobRecurrenceScheduleMonthlyOccurrence", + type: { + name: "Composite", + className: "JobRecurrenceScheduleMonthlyOccurrence", + modelProperties: { + day: { + serializedName: "day", + type: { + name: "Enum", + allowedValues: [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ] + } + }, + occurrence: { + serializedName: "Occurrence", + type: { + name: "Number" + } + } + } + } +}; + +export const JobRecurrenceSchedule: msRest.CompositeMapper = { + serializedName: "JobRecurrenceSchedule", + type: { + name: "Composite", + className: "JobRecurrenceSchedule", + modelProperties: { + weekDays: { + serializedName: "weekDays", + type: { + name: "Sequence", + element: { + type: { + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + } + } + }, + hours: { + serializedName: "hours", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + minutes: { + serializedName: "minutes", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + monthDays: { + serializedName: "monthDays", + type: { + name: "Sequence", + element: { + type: { + name: "Number" + } + } + } + }, + monthlyOccurrences: { + serializedName: "monthlyOccurrences", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobRecurrenceScheduleMonthlyOccurrence" + } + } + } + } + } + } +}; + +export const JobRecurrence: msRest.CompositeMapper = { + serializedName: "JobRecurrence", + type: { + name: "Composite", + className: "JobRecurrence", + modelProperties: { + frequency: { + serializedName: "frequency", + type: { + name: "Enum", + allowedValues: [ + "Minute", + "Hour", + "Day", + "Week", + "Month" + ] + } + }, + interval: { + serializedName: "interval", + type: { + name: "Number" + } + }, + count: { + serializedName: "count", + type: { + name: "Number" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + schedule: { + serializedName: "schedule", + type: { + name: "Composite", + className: "JobRecurrenceSchedule" + } + } + } + } +}; + +export const JobStatus: msRest.CompositeMapper = { + serializedName: "JobStatus", + type: { + name: "Composite", + className: "JobStatus", + modelProperties: { + executionCount: { + readOnly: true, + serializedName: "executionCount", + type: { + name: "Number" + } + }, + failureCount: { + readOnly: true, + serializedName: "failureCount", + type: { + name: "Number" + } + }, + faultedCount: { + readOnly: true, + serializedName: "faultedCount", + type: { + name: "Number" + } + }, + lastExecutionTime: { + readOnly: true, + serializedName: "lastExecutionTime", + type: { + name: "DateTime" + } + }, + nextExecutionTime: { + readOnly: true, + serializedName: "nextExecutionTime", + type: { + name: "DateTime" + } + } + } + } +}; + +export const JobProperties: msRest.CompositeMapper = { + serializedName: "JobProperties", + type: { + name: "Composite", + className: "JobProperties", + modelProperties: { + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "JobAction" + } + }, + recurrence: { + serializedName: "recurrence", + type: { + name: "Composite", + className: "JobRecurrence" + } + }, + state: { + serializedName: "state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled", + "Faulted", + "Completed" + ] + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Composite", + className: "JobStatus" + } + } + } + } +}; + +export const JobDefinition: msRest.CompositeMapper = { + serializedName: "JobDefinition", + type: { + name: "Composite", + className: "JobDefinition", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "JobProperties" + } + } + } + } +}; + +export const JobHistoryDefinitionProperties: msRest.CompositeMapper = { + serializedName: "JobHistoryDefinitionProperties", + type: { + name: "Composite", + className: "JobHistoryDefinitionProperties", + modelProperties: { + startTime: { + readOnly: true, + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + readOnly: true, + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + expectedExecutionTime: { + readOnly: true, + serializedName: "expectedExecutionTime", + type: { + name: "DateTime" + } + }, + actionName: { + readOnly: true, + serializedName: "actionName", + type: { + name: "Enum", + allowedValues: [ + "MainAction", + "ErrorAction" + ] + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Completed", + "Failed", + "Postponed" + ] + } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + }, + retryCount: { + readOnly: true, + serializedName: "retryCount", + type: { + name: "Number" + } + }, + repeatCount: { + readOnly: true, + serializedName: "repeatCount", + type: { + name: "Number" + } + } + } + } +}; + +export const JobHistoryDefinition: msRest.CompositeMapper = { + serializedName: "JobHistoryDefinition", + type: { + name: "Composite", + className: "JobHistoryDefinition", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + properties: { + readOnly: true, + serializedName: "properties", + type: { + name: "Composite", + className: "JobHistoryDefinitionProperties" + } + } + } + } +}; + +export const ClientCertAuthentication: msRest.CompositeMapper = { + serializedName: "ClientCertificate", + type: { + name: "Composite", + polymorphicDiscriminator: HttpAuthentication.type.polymorphicDiscriminator, + uberParent: "HttpAuthentication", + className: "ClientCertAuthentication", + modelProperties: { + ...HttpAuthentication.type.modelProperties, + password: { + serializedName: "password", + type: { + name: "String" + } + }, + pfx: { + serializedName: "pfx", + type: { + name: "String" + } + }, + certificateThumbprint: { + serializedName: "certificateThumbprint", + type: { + name: "String" + } + }, + certificateExpirationDate: { + serializedName: "certificateExpirationDate", + type: { + name: "DateTime" + } + }, + certificateSubjectName: { + serializedName: "certificateSubjectName", + type: { + name: "String" + } + } + } + } +}; + +export const BasicAuthentication: msRest.CompositeMapper = { + serializedName: "Basic", + type: { + name: "Composite", + polymorphicDiscriminator: HttpAuthentication.type.polymorphicDiscriminator, + uberParent: "HttpAuthentication", + className: "BasicAuthentication", + modelProperties: { + ...HttpAuthentication.type.modelProperties, + username: { + serializedName: "username", + type: { + name: "String" + } + }, + password: { + serializedName: "password", + type: { + name: "String" + } + } + } + } +}; + +export const OAuthAuthentication: msRest.CompositeMapper = { + serializedName: "ActiveDirectoryOAuth", + type: { + name: "Composite", + polymorphicDiscriminator: HttpAuthentication.type.polymorphicDiscriminator, + uberParent: "HttpAuthentication", + className: "OAuthAuthentication", + modelProperties: { + ...HttpAuthentication.type.modelProperties, + secret: { + serializedName: "secret", + type: { + name: "String" + } + }, + tenant: { + serializedName: "tenant", + type: { + name: "String" + } + }, + audience: { + serializedName: "audience", + type: { + name: "String" + } + }, + clientId: { + serializedName: "clientId", + type: { + name: "String" + } + } + } + } +}; + +export const ServiceBusAuthentication: msRest.CompositeMapper = { + serializedName: "ServiceBusAuthentication", + type: { + name: "Composite", + className: "ServiceBusAuthentication", + modelProperties: { + sasKey: { + serializedName: "sasKey", + type: { + name: "String" + } + }, + sasKeyName: { + serializedName: "sasKeyName", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: [ + "NotSpecified", + "SharedAccessKey" + ] + } + } + } + } +}; + +export const ServiceBusBrokeredMessageProperties: msRest.CompositeMapper = { + serializedName: "ServiceBusBrokeredMessageProperties", + type: { + name: "Composite", + className: "ServiceBusBrokeredMessageProperties", + modelProperties: { + contentType: { + serializedName: "contentType", + type: { + name: "String" + } + }, + correlationId: { + serializedName: "correlationId", + type: { + name: "String" + } + }, + forcePersistence: { + serializedName: "forcePersistence", + type: { + name: "Boolean" + } + }, + label: { + serializedName: "label", + type: { + name: "String" + } + }, + messageId: { + serializedName: "messageId", + type: { + name: "String" + } + }, + partitionKey: { + serializedName: "partitionKey", + type: { + name: "String" + } + }, + replyTo: { + serializedName: "replyTo", + type: { + name: "String" + } + }, + replyToSessionId: { + serializedName: "replyToSessionId", + type: { + name: "String" + } + }, + scheduledEnqueueTimeUtc: { + serializedName: "scheduledEnqueueTimeUtc", + type: { + name: "DateTime" + } + }, + sessionId: { + serializedName: "sessionId", + type: { + name: "String" + } + }, + timeToLive: { + serializedName: "timeToLive", + type: { + name: "TimeSpan" + } + }, + to: { + serializedName: "to", + type: { + name: "String" + } + }, + viaPartitionKey: { + serializedName: "viaPartitionKey", + type: { + name: "String" + } + } + } + } +}; + +export const JobStateFilter: msRest.CompositeMapper = { + serializedName: "JobStateFilter", + type: { + name: "Composite", + className: "JobStateFilter", + modelProperties: { + state: { + serializedName: "state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled", + "Faulted", + "Completed" + ] + } + } + } + } +}; + +export const JobHistoryFilter: msRest.CompositeMapper = { + serializedName: "JobHistoryFilter", + type: { + name: "Composite", + className: "JobHistoryFilter", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "Enum", + allowedValues: [ + "Completed", + "Failed", + "Postponed" + ] + } + } + } + } +}; + +export const JobCollectionListResult: msRest.CompositeMapper = { + serializedName: "JobCollectionListResult", + type: { + name: "Composite", + className: "JobCollectionListResult", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobCollectionDefinition" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const JobListResult: msRest.CompositeMapper = { + serializedName: "JobListResult", + type: { + name: "Composite", + className: "JobListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobDefinition" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const JobHistoryListResult: msRest.CompositeMapper = { + serializedName: "JobHistoryListResult", + type: { + name: "Composite", + className: "JobHistoryListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobHistoryDefinition" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const discriminators = { + 'HttpAuthentication' : HttpAuthentication, + 'HttpAuthentication.ClientCertificate' : ClientCertAuthentication, + 'HttpAuthentication.Basic' : BasicAuthentication, + 'HttpAuthentication.ActiveDirectoryOAuth' : OAuthAuthentication +}; diff --git a/packages/@azure/arm-scheduler/lib/models/parameters.ts b/packages/@azure/arm-scheduler/lib/models/parameters.ts new file mode 100644 index 000000000000..21bef17d2a69 --- /dev/null +++ b/packages/@azure/arm-scheduler/lib/models/parameters.ts @@ -0,0 +1,123 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; + +export const acceptLanguage: msRest.OperationParameter = { + parameterPath: "acceptLanguage", + mapper: { + serializedName: "accept-language", + defaultValue: 'en-US', + type: { + name: "String" + } + } +}; +export const apiVersion: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; +export const filter: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "filter" + ], + mapper: { + serializedName: "$filter", + type: { + name: "String" + } + } +}; +export const jobCollectionName: msRest.OperationURLParameter = { + parameterPath: "jobCollectionName", + mapper: { + required: true, + serializedName: "jobCollectionName", + type: { + name: "String" + } + } +}; +export const jobName: msRest.OperationURLParameter = { + parameterPath: "jobName", + mapper: { + required: true, + serializedName: "jobName", + type: { + name: "String" + } + } +}; +export const nextPageLink: msRest.OperationURLParameter = { + parameterPath: "nextPageLink", + mapper: { + required: true, + serializedName: "nextLink", + type: { + name: "String" + } + }, + skipEncoding: true +}; +export const resourceGroupName: msRest.OperationURLParameter = { + parameterPath: "resourceGroupName", + mapper: { + required: true, + serializedName: "resourceGroupName", + type: { + name: "String" + } + } +}; +export const skip: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "skip" + ], + mapper: { + serializedName: "$skip", + type: { + name: "Number" + } + } +}; +export const subscriptionId: msRest.OperationURLParameter = { + parameterPath: "subscriptionId", + mapper: { + required: true, + serializedName: "subscriptionId", + type: { + name: "String" + } + } +}; +export const top: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "top" + ], + mapper: { + serializedName: "$top", + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + } +}; diff --git a/packages/@azure/arm-scheduler/lib/operations/index.ts b/packages/@azure/arm-scheduler/lib/operations/index.ts new file mode 100644 index 000000000000..4036a01af15f --- /dev/null +++ b/packages/@azure/arm-scheduler/lib/operations/index.ts @@ -0,0 +1,12 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export * from "./jobCollections"; +export * from "./jobs"; diff --git a/packages/@azure/arm-scheduler/lib/operations/jobCollections.ts b/packages/@azure/arm-scheduler/lib/operations/jobCollections.ts new file mode 100644 index 000000000000..f86ad564f71f --- /dev/null +++ b/packages/@azure/arm-scheduler/lib/operations/jobCollections.ts @@ -0,0 +1,586 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/jobCollectionsMappers"; +import * as Parameters from "../models/parameters"; +import { SchedulerManagementClientContext } from "../schedulerManagementClientContext"; + +/** Class representing a JobCollections. */ +export class JobCollections { + private readonly client: SchedulerManagementClientContext; + + /** + * Create a JobCollections. + * @param {SchedulerManagementClientContext} client Reference to the service client. + */ + constructor(client: SchedulerManagementClientContext) { + this.client = client; + } + + /** + * Gets all job collections under specified subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Gets all job collections under specified resource group. + * @param resourceGroupName The resource group name. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Gets a job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, jobCollectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param callback The callback + */ + get(resourceGroupName: string, jobCollectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, jobCollectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, jobCollectionName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + jobCollectionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Provisions a new job collection or updates an existing job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobCollection The job collection definition. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, jobCollectionName: string, jobCollection: Models.JobCollectionDefinition, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobCollection The job collection definition. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, jobCollectionName: string, jobCollection: Models.JobCollectionDefinition, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobCollection The job collection definition. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, jobCollectionName: string, jobCollection: Models.JobCollectionDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, jobCollectionName: string, jobCollection: Models.JobCollectionDefinition, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + jobCollectionName, + jobCollection, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Patches an existing job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobCollection The job collection definition. + * @param [options] The optional parameters + * @returns Promise + */ + patch(resourceGroupName: string, jobCollectionName: string, jobCollection: Models.JobCollectionDefinition, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobCollection The job collection definition. + * @param callback The callback + */ + patch(resourceGroupName: string, jobCollectionName: string, jobCollection: Models.JobCollectionDefinition, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobCollection The job collection definition. + * @param options The optional parameters + * @param callback The callback + */ + patch(resourceGroupName: string, jobCollectionName: string, jobCollection: Models.JobCollectionDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + patch(resourceGroupName: string, jobCollectionName: string, jobCollection: Models.JobCollectionDefinition, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + jobCollectionName, + jobCollection, + options + }, + patchOperationSpec, + callback) as Promise; + } + + /** + * Deletes a job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, jobCollectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,jobCollectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Enables all of the jobs in the job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + enable(resourceGroupName: string, jobCollectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginEnable(resourceGroupName,jobCollectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Disables all of the jobs in the job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + disable(resourceGroupName: string, jobCollectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDisable(resourceGroupName,jobCollectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Deletes a job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, jobCollectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + jobCollectionName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Enables all of the jobs in the job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + beginEnable(resourceGroupName: string, jobCollectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + jobCollectionName, + options + }, + beginEnableOperationSpec, + options); + } + + /** + * Disables all of the jobs in the job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + beginDisable(resourceGroupName: string, jobCollectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + jobCollectionName, + options + }, + beginDisableOperationSpec, + options); + } + + /** + * Gets all job collections under specified subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } + + /** + * Gets all job collections under specified resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Scheduler/jobCollections", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.JobCollectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.JobCollectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.JobCollectionDefinition + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "jobCollection", + mapper: { + ...Mappers.JobCollectionDefinition, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.JobCollectionDefinition + }, + 201: { + bodyMapper: Mappers.JobCollectionDefinition + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const patchOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "jobCollection", + mapper: { + ...Mappers.JobCollectionDefinition, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.JobCollectionDefinition + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginEnableOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/enable", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDisableOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/disable", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.JobCollectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.JobCollectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-scheduler/lib/operations/jobs.ts b/packages/@azure/arm-scheduler/lib/operations/jobs.ts new file mode 100644 index 000000000000..1a674b5cc4d9 --- /dev/null +++ b/packages/@azure/arm-scheduler/lib/operations/jobs.ts @@ -0,0 +1,584 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/jobsMappers"; +import * as Parameters from "../models/parameters"; +import { SchedulerManagementClientContext } from "../schedulerManagementClientContext"; + +/** Class representing a Jobs. */ +export class Jobs { + private readonly client: SchedulerManagementClientContext; + + /** + * Create a Jobs. + * @param {SchedulerManagementClientContext} client Reference to the service client. + */ + constructor(client: SchedulerManagementClientContext) { + this.client = client; + } + + /** + * Gets a job. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, jobCollectionName: string, jobName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param callback The callback + */ + get(resourceGroupName: string, jobCollectionName: string, jobName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, jobCollectionName: string, jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, jobCollectionName: string, jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + jobCollectionName, + jobName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Provisions a new job or updates an existing job. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param job The job definition. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, jobCollectionName: string, jobName: string, job: Models.JobDefinition, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param job The job definition. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, jobCollectionName: string, jobName: string, job: Models.JobDefinition, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param job The job definition. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, jobCollectionName: string, jobName: string, job: Models.JobDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, jobCollectionName: string, jobName: string, job: Models.JobDefinition, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + jobCollectionName, + jobName, + job, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Patches an existing job. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param job The job definition. + * @param [options] The optional parameters + * @returns Promise + */ + patch(resourceGroupName: string, jobCollectionName: string, jobName: string, job: Models.JobDefinition, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param job The job definition. + * @param callback The callback + */ + patch(resourceGroupName: string, jobCollectionName: string, jobName: string, job: Models.JobDefinition, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param job The job definition. + * @param options The optional parameters + * @param callback The callback + */ + patch(resourceGroupName: string, jobCollectionName: string, jobName: string, job: Models.JobDefinition, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + patch(resourceGroupName: string, jobCollectionName: string, jobName: string, job: Models.JobDefinition, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + jobCollectionName, + jobName, + job, + options + }, + patchOperationSpec, + callback) as Promise; + } + + /** + * Deletes a job. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, jobCollectionName: string, jobName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, jobCollectionName: string, jobName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(resourceGroupName: string, jobCollectionName: string, jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, jobCollectionName: string, jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + jobCollectionName, + jobName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Runs a job. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param [options] The optional parameters + * @returns Promise + */ + run(resourceGroupName: string, jobCollectionName: string, jobName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param callback The callback + */ + run(resourceGroupName: string, jobCollectionName: string, jobName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param options The optional parameters + * @param callback The callback + */ + run(resourceGroupName: string, jobCollectionName: string, jobName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + run(resourceGroupName: string, jobCollectionName: string, jobName: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + jobCollectionName, + jobName, + options + }, + runOperationSpec, + callback); + } + + /** + * Lists all jobs under the specified job collection. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, jobCollectionName: string, options?: Models.JobsListOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param callback The callback + */ + list(resourceGroupName: string, jobCollectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, jobCollectionName: string, options: Models.JobsListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, jobCollectionName: string, options?: Models.JobsListOptionalParams, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + jobCollectionName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Lists job history. + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param [options] The optional parameters + * @returns Promise + */ + listJobHistory(resourceGroupName: string, jobCollectionName: string, jobName: string, options?: Models.JobsListJobHistoryOptionalParams): Promise; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param callback The callback + */ + listJobHistory(resourceGroupName: string, jobCollectionName: string, jobName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param jobCollectionName The job collection name. + * @param jobName The job name. + * @param options The optional parameters + * @param callback The callback + */ + listJobHistory(resourceGroupName: string, jobCollectionName: string, jobName: string, options: Models.JobsListJobHistoryOptionalParams, callback: msRest.ServiceCallback): void; + listJobHistory(resourceGroupName: string, jobCollectionName: string, jobName: string, options?: Models.JobsListJobHistoryOptionalParams, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + jobCollectionName, + jobName, + options + }, + listJobHistoryOperationSpec, + callback) as Promise; + } + + /** + * Lists all jobs under the specified job collection. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } + + /** + * Lists job history. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listJobHistoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listJobHistoryNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listJobHistoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listJobHistoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listJobHistoryNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName, + Parameters.jobName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.JobDefinition + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName, + Parameters.jobName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "job", + mapper: { + ...Mappers.JobDefinition, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.JobDefinition + }, + 201: { + bodyMapper: Mappers.JobDefinition + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const patchOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName, + Parameters.jobName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "job", + mapper: { + ...Mappers.JobDefinition, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.JobDefinition + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName, + Parameters.jobName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const runOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}/run", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName, + Parameters.jobName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skip, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.JobListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listJobHistoryOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}/jobs/{jobName}/history", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobCollectionName, + Parameters.jobName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.top, + Parameters.skip, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.JobHistoryListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.JobListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listJobHistoryNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.JobHistoryListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-scheduler/lib/schedulerManagementClient.ts b/packages/@azure/arm-scheduler/lib/schedulerManagementClient.ts new file mode 100644 index 000000000000..95ea50703146 --- /dev/null +++ b/packages/@azure/arm-scheduler/lib/schedulerManagementClient.ts @@ -0,0 +1,44 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "./models"; +import * as Mappers from "./models/mappers"; +import * as operations from "./operations"; +import { SchedulerManagementClientContext } from "./schedulerManagementClientContext"; + + +class SchedulerManagementClient extends SchedulerManagementClientContext { + // Operation groups + jobCollections: operations.JobCollections; + jobs: operations.Jobs; + + /** + * Initializes a new instance of the SchedulerManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The subscription id. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SchedulerManagementClientOptions) { + super(credentials, subscriptionId, options); + this.jobCollections = new operations.JobCollections(this); + this.jobs = new operations.Jobs(this); + } +} + +// Operation Specifications + +export { + SchedulerManagementClient, + SchedulerManagementClientContext, + Models as SchedulerManagementModels, + Mappers as SchedulerManagementMappers +}; +export * from "./operations"; diff --git a/packages/@azure/arm-scheduler/lib/schedulerManagementClientContext.ts b/packages/@azure/arm-scheduler/lib/schedulerManagementClientContext.ts new file mode 100644 index 000000000000..2bf642185d5f --- /dev/null +++ b/packages/@azure/arm-scheduler/lib/schedulerManagementClientContext.ts @@ -0,0 +1,65 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as Models from "./models"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; + +const packageName = "@azure/arm-scheduler"; +const packageVersion = "1.0.0"; + +export class SchedulerManagementClientContext extends msRestAzure.AzureServiceClient { + + credentials: msRest.ServiceClientCredentials; + + subscriptionId: string; + + apiVersion: string; + + acceptLanguage: string; + + longRunningOperationRetryTimeout: number; + + /** + * Initializes a new instance of the SchedulerManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. + * @param subscriptionId The subscription id. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SchedulerManagementClientOptions) { + if (credentials == undefined) { + throw new Error('\'credentials\' cannot be null.'); + } + if (subscriptionId == undefined) { + throw new Error('\'subscriptionId\' cannot be null.'); + } + + if (!options) { + options = {}; + } + super(credentials, options); + + this.apiVersion = '2016-03-01'; + this.acceptLanguage = 'en-US'; + this.longRunningOperationRetryTimeout = 30; + this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; + this.requestContentType = "application/json; charset=utf-8"; + this.credentials = credentials; + this.subscriptionId = subscriptionId; + + this.addUserAgentInfo(`${packageName}/${packageVersion}`); + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + this.acceptLanguage = options.acceptLanguage; + } + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; + } + } +} diff --git a/packages/@azure/arm-scheduler/package.json b/packages/@azure/arm-scheduler/package.json new file mode 100644 index 000000000000..70444584d7e6 --- /dev/null +++ b/packages/@azure/arm-scheduler/package.json @@ -0,0 +1,42 @@ +{ + "name": "@azure/arm-scheduler", + "author": "Microsoft Corporation", + "description": "SchedulerManagementClient Library with typescript type definitions for node.js and browser.", + "version": "1.0.0", + "dependencies": { + "ms-rest-azure-js": "^1.0.166", + "ms-rest-js": "^1.0.439", + "tslib": "^1.9.3" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "license": "MIT", + "main": "./dist/arm-scheduler.js", + "module": "./esm/schedulerManagementClient.js", + "types": "./esm/schedulerManagementClient.d.ts", + "devDependencies": { + "typescript": "^3.1.1", + "rollup": "^0.66.2", + "rollup-plugin-node-resolve": "^3.4.0", + "uglify-js": "^3.4.9" + }, + "homepage": "https://github.com/azure/azure-sdk-for-js", + "repository": { + "type": "git", + "url": "https://github.com/azure/azure-sdk-for-js.git" + }, + "bugs": { + "url": "https://github.com/azure/azure-sdk-for-js/issues" + }, + "scripts": { + "build": "tsc && rollup -c rollup.config.js && npm run minify", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-scheduler.js.map'\" -o ./dist/arm-scheduler.min.js ./dist/arm-scheduler.js", + "prepare": "npm run build" + }, + "sideEffects": false +} diff --git a/packages/@azure/arm-scheduler/rollup.config.js b/packages/@azure/arm-scheduler/rollup.config.js new file mode 100644 index 000000000000..ff8b172104fc --- /dev/null +++ b/packages/@azure/arm-scheduler/rollup.config.js @@ -0,0 +1,31 @@ +import nodeResolve from "rollup-plugin-node-resolve"; +/** + * @type {import('rollup').RollupFileOptions} + */ +const config = { + input: './esm/schedulerManagementClient.js', + external: ["ms-rest-js", "ms-rest-azure-js"], + output: { + file: "./dist/arm-scheduler.js", + format: "umd", + name: "Azure.ArmScheduler", + sourcemap: true, + globals: { + "ms-rest-js": "msRest", + "ms-rest-azure-js": "msRestAzure" + }, + banner: `/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */` + }, + plugins: [ + nodeResolve({ module: true }) + ] +}; +export default config; diff --git a/packages/@azure/arm-scheduler/tsconfig.json b/packages/@azure/arm-scheduler/tsconfig.json new file mode 100644 index 000000000000..f32d1664f320 --- /dev/null +++ b/packages/@azure/arm-scheduler/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "es6", + "moduleResolution": "node", + "strict": true, + "target": "es5", + "sourceMap": true, + "declarationMap": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "lib": ["es6"], + "declaration": true, + "outDir": "./esm", + "importHelpers": true + }, + "include": ["./lib/**/*"], + "exclude": ["node_modules"] +}