Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

azure-arm-scheduler

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-arm-scheduler - npm Package Compare versions

Comparing version 1.0.0-preview to 1.1.0-preview

16

lib/models/basicAuthentication.js

@@ -16,12 +16,12 @@ /*

/**
* @class
* Initializes a new instance of the BasicAuthentication class.
* @constructor
* @member {string} [username] Gets or sets the username.
*
* @member {string} [password] Gets or sets the password, return value will
* always be empty.
*
* Class representing a BasicAuthentication.
* @extends models['HttpAuthentication']
*/
class BasicAuthentication extends models['HttpAuthentication'] {
/**
* Create a BasicAuthentication.
* @member {string} [username] Gets or sets the username.
* @member {string} [password] Gets or sets the password, return value will
* always be empty.
*/
constructor() {

@@ -28,0 +28,0 @@ super();

@@ -16,22 +16,19 @@ /*

/**
* @class
* Initializes a new instance of the ClientCertAuthentication class.
* @constructor
* @member {string} [password] Gets or sets the certificate password, return
* value will always be empty.
*
* @member {string} [pfx] Gets or sets the pfx certificate. Accepts
* certification in base64 encoding, return value will always be empty.
*
* @member {string} [certificateThumbprint] Gets or sets the certificate
* thumbprint.
*
* @member {date} [certificateExpirationDate] Gets or sets the certificate
* expiration date.
*
* @member {string} [certificateSubjectName] Gets or sets the certificate
* subject name.
*
* Class representing a ClientCertAuthentication.
* @extends models['HttpAuthentication']
*/
class ClientCertAuthentication extends models['HttpAuthentication'] {
/**
* Create a ClientCertAuthentication.
* @member {string} [password] Gets or sets the certificate password, return
* value will always be empty.
* @member {string} [pfx] Gets or sets the pfx certificate. Accepts
* certification in base64 encoding, return value will always be empty.
* @member {string} [certificateThumbprint] Gets or sets the certificate
* thumbprint.
* @member {date} [certificateExpirationDate] Gets or sets the certificate
* expiration date.
* @member {string} [certificateSubjectName] Gets or sets the certificate
* subject name.
*/
constructor() {

@@ -38,0 +35,0 @@ super();

@@ -14,11 +14,11 @@ /*

/**
* @class
* Initializes a new instance of the HttpAuthentication class.
* @constructor
* @member {string} [type] Gets or sets the HTTP authentication type. Possible
* values include: 'NotSpecified', 'ClientCertificate', 'ActiveDirectoryOAuth',
* 'Basic'
*
* Class representing a HttpAuthentication.
*/
class HttpAuthentication {
/**
* Create a HttpAuthentication.
* @member {string} [type] Gets or sets the HTTP authentication type.
* Possible values include: 'NotSpecified', 'ClientCertificate',
* 'ActiveDirectoryOAuth', 'Basic'
*/
constructor() {

@@ -25,0 +25,0 @@ }

@@ -16,22 +16,17 @@ /*

/**
* @class
* Initializes a new instance of the HttpRequest class.
* @constructor
* @member {object} [authentication] Gets or sets the authentication method of
* the request.
*
* @member {string} [authentication.type] Gets or sets the HTTP authentication
* type. Possible values include: 'NotSpecified', 'ClientCertificate',
* 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [uri] Gets or sets the URI of the request.
*
* @member {string} [method] Gets or sets the method of the request.
*
* @member {string} [body] Gets or sets the request body.
*
* @member {object} [headers] Gets or sets the headers.
*
* Class representing a HttpRequest.
*/
class HttpRequest {
/**
* Create a HttpRequest.
* @member {object} [authentication] Gets or sets the authentication method
* of the request.
* @member {string} [authentication.type] Gets or sets the HTTP
* authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
* @member {string} [uri] Gets or sets the URI of the request.
* @member {string} [method] Gets or sets the method of the request.
* @member {string} [body] Gets or sets the request body.
* @member {object} [headers] Gets or sets the headers.
*/
constructor() {

@@ -38,0 +33,0 @@ }

@@ -13,2 +13,3 @@ /*

import { CloudError } from 'ms-rest-azure';
import * as moment from 'moment';

@@ -25,3 +26,2 @@ export { BaseResource } from 'ms-rest-azure';

* 'Standard', 'Free', 'P10Premium', 'P20Premium'
*
*/

@@ -39,5 +39,3 @@ export interface Sku {

* 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [interval] Gets or sets the interval between retries.
*
*/

@@ -54,14 +52,9 @@ export interface JobMaxRecurrence {

* @member {number} [maxJobCount] Gets or set the maximum job count.
*
* @member {number} [maxJobOccurrence] Gets or sets the maximum job occurrence.
*
* @member {object} [maxRecurrence] Gets or set the maximum recurrence.
*
* @member {string} [maxRecurrence.frequency] Gets or sets the frequency of
* recurrence (second, minute, hour, day, week, month). Possible values
* include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [maxRecurrence.interval] Gets or sets the interval between
* retries.
*
*/

@@ -79,25 +72,16 @@ export interface JobCollectionQuota {

* @member {object} [sku] Gets or sets the SKU.
*
* @member {string} [sku.name] Gets or set the SKU. Possible values include:
* 'Standard', 'Free', 'P10Premium', 'P20Premium'
*
* @member {string} [state] Gets or sets the state. Possible values include:
* 'Enabled', 'Disabled', 'Suspended', 'Deleted'
*
* @member {object} [quota] Gets or sets the job collection quota.
*
* @member {number} [quota.maxJobCount] Gets or set the maximum job count.
*
* @member {number} [quota.maxJobOccurrence] Gets or sets the maximum job
* occurrence.
*
* @member {object} [quota.maxRecurrence] Gets or set the maximum recurrence.
*
* @member {string} [quota.maxRecurrence.frequency] Gets or sets the frequency
* of recurrence (second, minute, hour, day, week, month). Possible values
* include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [quota.maxRecurrence.interval] Gets or sets the interval
* between retries.
*
*/

@@ -115,39 +99,24 @@ export interface JobCollectionProperties {

* @member {string} [id] Gets the job collection resource identifier.
*
* @member {string} [type] Gets the job collection resource type.
*
* @member {string} [name] Gets or sets the job collection resource name.
*
* @member {string} [location] Gets or sets the storage account location.
*
* @member {object} [tags] Gets or sets the tags.
*
* @member {object} [properties] Gets or sets the job collection properties.
*
* @member {object} [properties.sku] Gets or sets the SKU.
*
* @member {string} [properties.sku.name] Gets or set the SKU. Possible values
* include: 'Standard', 'Free', 'P10Premium', 'P20Premium'
*
* @member {string} [properties.state] Gets or sets the state. Possible values
* include: 'Enabled', 'Disabled', 'Suspended', 'Deleted'
*
* @member {object} [properties.quota] Gets or sets the job collection quota.
*
* @member {number} [properties.quota.maxJobCount] Gets or set the maximum job
* count.
*
* @member {number} [properties.quota.maxJobOccurrence] Gets or sets the
* maximum job occurrence.
*
* @member {object} [properties.quota.maxRecurrence] Gets or set the maximum
* recurrence.
*
* @member {string} [properties.quota.maxRecurrence.frequency] Gets or sets the
* frequency of recurrence (second, minute, hour, day, week, month). Possible
* values include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [properties.quota.maxRecurrence.interval] Gets or sets the
* interval between retries.
*
*/

@@ -165,17 +134,2 @@ export interface JobCollectionDefinition {

* @class
* Initializes a new instance of the JobCollectionListResult class.
* @constructor
* @member {array} [value] Gets the job collections.
*
* @member {string} [nextLink] Gets or sets the URL to get the next set of job
* collections.
*
*/
export interface JobCollectionListResult {
readonly value?: JobCollectionDefinition[];
nextLink?: string;
}
/**
* @class
* Initializes a new instance of the HttpAuthentication class.

@@ -186,3 +140,2 @@ * @constructor

* 'Basic'
*
*/

@@ -199,15 +152,9 @@ export interface HttpAuthentication {

* the request.
*
* @member {string} [authentication.type] Gets or sets the HTTP authentication
* type. Possible values include: 'NotSpecified', 'ClientCertificate',
* 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [uri] Gets or sets the URI of the request.
*
* @member {string} [method] Gets or sets the method of the request.
*
* @member {string} [body] Gets or sets the request body.
*
* @member {object} [headers] Gets or sets the headers.
*
*/

@@ -227,9 +174,5 @@ export interface HttpRequest {

* @member {string} [storageAccount] Gets or sets the storage account name.
*
* @member {string} [queueName] Gets or sets the queue name.
*
* @member {string} [sasToken] Gets or sets the SAS key.
*
* @member {string} [message] Gets or sets the message.
*
*/

@@ -249,60 +192,38 @@ export interface StorageQueueMessage {

* authentication.
*
* @member {string} [authentication.sasKey] Gets or sets the SAS key.
*
* @member {string} [authentication.sasKeyName] Gets or sets the SAS key name.
*
* @member {string} [authentication.type] Gets or sets the authentication type.
* Possible values include: 'NotSpecified', 'SharedAccessKey'
*
* @member {object} [brokeredMessageProperties] Gets or sets the brokered
* message properties.
*
* @member {string} [brokeredMessageProperties.contentType] Gets or sets the
* content type.
*
* @member {string} [brokeredMessageProperties.correlationId] Gets or sets the
* correlation ID.
*
* @member {boolean} [brokeredMessageProperties.forcePersistence] Gets or sets
* the force persistence.
*
* @member {string} [brokeredMessageProperties.label] Gets or sets the label.
*
* @member {string} [brokeredMessageProperties.messageId] Gets or sets the
* message ID.
*
* @member {string} [brokeredMessageProperties.partitionKey] Gets or sets the
* partition key.
*
* @member {string} [brokeredMessageProperties.replyTo] Gets or sets the reply
* to.
*
* @member {string} [brokeredMessageProperties.replyToSessionId] Gets or sets
* the reply to session ID.
*
* @member {date} [brokeredMessageProperties.scheduledEnqueueTimeUtc] Gets or
* sets the scheduled enqueue time UTC.
*
* @member {string} [brokeredMessageProperties.sessionId] Gets or sets the
* session ID.
*
* @member {moment.duration} [brokeredMessageProperties.timeToLive] Gets or
* sets the time to live.
*
* @member {string} [brokeredMessageProperties.to] Gets or sets the to.
*
* @member {string} [brokeredMessageProperties.viaPartitionKey] Gets or sets
* the via partition key.
*
* @member {object} [customMessageProperties] Gets or sets the custom message
* properties.
*
* @member {string} [message] Gets or sets the message.
*
* @member {string} [namespace] Gets or sets the namespace.
*
* @member {string} [transportType] Gets or sets the transport type. Possible
* values include: 'NotSpecified', 'NetMessaging', 'AMQP'
*
*/

@@ -323,3 +244,2 @@ export interface ServiceBusMessage {

* @member {string} [queueName] Gets or sets the queue name.
*
*/

@@ -335,3 +255,2 @@ export interface ServiceBusQueueMessage extends ServiceBusMessage {

* @member {string} [topicPath] Gets or sets the topic path.
*
*/

@@ -348,9 +267,6 @@ export interface ServiceBusTopicMessage extends ServiceBusMessage {

* Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [retryInterval] Gets or sets the retry interval
* between retries, specify duration in ISO 8601 format.
*
* @member {number} [retryCount] Gets or sets the number of times a retry
* should be attempted.
*
*/

@@ -370,54 +286,33 @@ export interface RetryPolicy {

* 'ServiceBusTopic'
*
* @member {object} [request] Gets or sets the http requests.
*
* @member {object} [request.authentication] Gets or sets the authentication
* method of the request.
*
* @member {string} [request.authentication.type] Gets or sets the HTTP
* authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [request.uri] Gets or sets the URI of the request.
*
* @member {string} [request.method] Gets or sets the method of the request.
*
* @member {string} [request.body] Gets or sets the request body.
*
* @member {object} [request.headers] Gets or sets the headers.
*
* @member {object} [queueMessage] Gets or sets the storage queue message.
*
* @member {string} [queueMessage.storageAccount] Gets or sets the storage
* account name.
*
* @member {string} [queueMessage.queueName] Gets or sets the queue name.
*
* @member {string} [queueMessage.sasToken] Gets or sets the SAS key.
*
* @member {string} [queueMessage.message] Gets or sets the message.
*
* @member {object} [serviceBusQueueMessage] Gets or sets the service bus queue
* message.
*
* @member {string} [serviceBusQueueMessage.queueName] Gets or sets the queue
* name.
*
* @member {object} [serviceBusTopicMessage] Gets or sets the service bus topic
* message.
*
* @member {string} [serviceBusTopicMessage.topicPath] Gets or sets the topic
* path.
*
* @member {object} [retryPolicy] Gets or sets the retry policy.
*
* @member {string} [retryPolicy.retryType] Gets or sets the retry strategy to
* be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [retryPolicy.retryInterval] Gets or sets the retry
* interval between retries, specify duration in ISO 8601 format.
*
* @member {number} [retryPolicy.retryCount] Gets or sets the number of times a
* retry should be attempted.
*
*/

@@ -440,118 +335,75 @@ export interface JobErrorAction {

* 'ServiceBusTopic'
*
* @member {object} [request] Gets or sets the http requests.
*
* @member {object} [request.authentication] Gets or sets the authentication
* method of the request.
*
* @member {string} [request.authentication.type] Gets or sets the HTTP
* authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [request.uri] Gets or sets the URI of the request.
*
* @member {string} [request.method] Gets or sets the method of the request.
*
* @member {string} [request.body] Gets or sets the request body.
*
* @member {object} [request.headers] Gets or sets the headers.
*
* @member {object} [queueMessage] Gets or sets the storage queue message.
*
* @member {string} [queueMessage.storageAccount] Gets or sets the storage
* account name.
*
* @member {string} [queueMessage.queueName] Gets or sets the queue name.
*
* @member {string} [queueMessage.sasToken] Gets or sets the SAS key.
*
* @member {string} [queueMessage.message] Gets or sets the message.
*
* @member {object} [serviceBusQueueMessage] Gets or sets the service bus queue
* message.
*
* @member {string} [serviceBusQueueMessage.queueName] Gets or sets the queue
* name.
*
* @member {object} [serviceBusTopicMessage] Gets or sets the service bus topic
* message.
*
* @member {string} [serviceBusTopicMessage.topicPath] Gets or sets the topic
* path.
*
* @member {object} [retryPolicy] Gets or sets the retry policy.
*
* @member {string} [retryPolicy.retryType] Gets or sets the retry strategy to
* be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [retryPolicy.retryInterval] Gets or sets the retry
* interval between retries, specify duration in ISO 8601 format.
*
* @member {number} [retryPolicy.retryCount] Gets or sets the number of times a
* retry should be attempted.
*
* @member {object} [errorAction] Gets or sets the error action.
*
* @member {string} [errorAction.type] Gets or sets the job error action type.
* Possible values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',
* 'ServiceBusTopic'
*
* @member {object} [errorAction.request] Gets or sets the http requests.
*
* @member {object} [errorAction.request.authentication] Gets or sets the
* authentication method of the request.
*
* @member {string} [errorAction.request.authentication.type] Gets or sets the
* HTTP authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [errorAction.request.uri] Gets or sets the URI of the
* request.
*
* @member {string} [errorAction.request.method] Gets or sets the method of the
* request.
*
* @member {string} [errorAction.request.body] Gets or sets the request body.
*
* @member {object} [errorAction.request.headers] Gets or sets the headers.
*
* @member {object} [errorAction.queueMessage] Gets or sets the storage queue
* message.
*
* @member {string} [errorAction.queueMessage.storageAccount] Gets or sets the
* storage account name.
*
* @member {string} [errorAction.queueMessage.queueName] Gets or sets the queue
* name.
*
* @member {string} [errorAction.queueMessage.sasToken] Gets or sets the SAS
* key.
*
* @member {string} [errorAction.queueMessage.message] Gets or sets the
* message.
*
* @member {object} [errorAction.serviceBusQueueMessage] Gets or sets the
* service bus queue message.
*
* @member {string} [errorAction.serviceBusQueueMessage.queueName] Gets or sets
* the queue name.
*
* @member {object} [errorAction.serviceBusTopicMessage] Gets or sets the
* service bus topic message.
*
* @member {string} [errorAction.serviceBusTopicMessage.topicPath] Gets or sets
* the topic path.
*
* @member {object} [errorAction.retryPolicy] Gets or sets the retry policy.
*
* @member {string} [errorAction.retryPolicy.retryType] Gets or sets the retry
* strategy to be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [errorAction.retryPolicy.retryInterval] Gets or
* sets the retry interval between retries, specify duration in ISO 8601
* format.
*
* @member {number} [errorAction.retryPolicy.retryCount] Gets or sets the
* number of times a retry should be attempted.
*
*/

@@ -575,6 +427,4 @@ export interface JobAction {

* 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'
*
* @member {number} [occurrence] Gets or sets the occurrence. Must be between
* -5 and 5.
*
*/

@@ -592,15 +442,10 @@ export interface JobRecurrenceScheduleMonthlyOccurrence {

* should execute on.
*
* @member {array} [hours] Gets or sets the hours of the day that the job
* should execute at.
*
* @member {array} [minutes] Gets or sets the minutes of the hour that the job
* should execute at.
*
* @member {array} [monthDays] Gets or sets the days of the month that the job
* should execute on. Must be between 1 and 31.
*
* @member {array} [monthlyOccurrences] Gets or sets the occurrences of days
* within a month.
*
*/

@@ -622,28 +467,18 @@ export interface JobRecurrenceSchedule {

* 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [interval] Gets or sets the interval between retries.
*
* @member {number} [count] Gets or sets the maximum number of times that the
* job should run.
*
* @member {date} [endTime] Gets or sets the time at which the job will
* complete.
*
* @member {object} [schedule]
*
* @member {array} [schedule.weekDays] Gets or sets the days of the week that
* the job should execute on.
*
* @member {array} [schedule.hours] Gets or sets the hours of the day that the
* job should execute at.
*
* @member {array} [schedule.minutes] Gets or sets the minutes of the hour that
* the job should execute at.
*
* @member {array} [schedule.monthDays] Gets or sets the days of the month that
* the job should execute on. Must be between 1 and 31.
*
* @member {array} [schedule.monthlyOccurrences] Gets or sets the occurrences
* of days within a month.
*
*/

@@ -664,16 +499,11 @@ export interface JobRecurrence {

* executed.
*
* @member {number} [failureCount] Gets the number of times this job has
* failed.
*
* @member {number} [faultedCount] Gets the number of faulted occurrences
* (occurrences that were retried and failed as many times as the retry policy
* states).
*
* @member {date} [lastExecutionTime] Gets the time the last occurrence
* executed in ISO-8601 format. Could be empty if job has not run yet.
*
* @member {date} [nextExecutionTime] Gets the time of the next occurrence in
* ISO-8601 format. Could be empty if the job is completed.
*
*/

@@ -693,184 +523,121 @@ export interface JobStatus {

* @member {date} [startTime] Gets or sets the job start time.
*
* @member {object} [action] Gets or sets the job action.
*
* @member {string} [action.type] Gets or sets the job action type. Possible
* values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',
* 'ServiceBusTopic'
*
* @member {object} [action.request] Gets or sets the http requests.
*
* @member {object} [action.request.authentication] Gets or sets the
* authentication method of the request.
*
* @member {string} [action.request.authentication.type] Gets or sets the HTTP
* authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [action.request.uri] Gets or sets the URI of the request.
*
* @member {string} [action.request.method] Gets or sets the method of the
* request.
*
* @member {string} [action.request.body] Gets or sets the request body.
*
* @member {object} [action.request.headers] Gets or sets the headers.
*
* @member {object} [action.queueMessage] Gets or sets the storage queue
* message.
*
* @member {string} [action.queueMessage.storageAccount] Gets or sets the
* storage account name.
*
* @member {string} [action.queueMessage.queueName] Gets or sets the queue
* name.
*
* @member {string} [action.queueMessage.sasToken] Gets or sets the SAS key.
*
* @member {string} [action.queueMessage.message] Gets or sets the message.
*
* @member {object} [action.serviceBusQueueMessage] Gets or sets the service
* bus queue message.
*
* @member {string} [action.serviceBusQueueMessage.queueName] Gets or sets the
* queue name.
*
* @member {object} [action.serviceBusTopicMessage] Gets or sets the service
* bus topic message.
*
* @member {string} [action.serviceBusTopicMessage.topicPath] Gets or sets the
* topic path.
*
* @member {object} [action.retryPolicy] Gets or sets the retry policy.
*
* @member {string} [action.retryPolicy.retryType] Gets or sets the retry
* strategy to be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [action.retryPolicy.retryInterval] Gets or sets
* the retry interval between retries, specify duration in ISO 8601 format.
*
* @member {number} [action.retryPolicy.retryCount] Gets or sets the number of
* times a retry should be attempted.
*
* @member {object} [action.errorAction] Gets or sets the error action.
*
* @member {string} [action.errorAction.type] Gets or sets the job error action
* type. Possible values include: 'Http', 'Https', 'StorageQueue',
* 'ServiceBusQueue', 'ServiceBusTopic'
*
* @member {object} [action.errorAction.request] Gets or sets the http
* requests.
*
* @member {object} [action.errorAction.request.authentication] Gets or sets
* the authentication method of the request.
*
* @member {string} [action.errorAction.request.authentication.type] Gets or
* sets the HTTP authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [action.errorAction.request.uri] Gets or sets the URI of
* the request.
*
* @member {string} [action.errorAction.request.method] Gets or sets the method
* of the request.
*
* @member {string} [action.errorAction.request.body] Gets or sets the request
* body.
*
* @member {object} [action.errorAction.request.headers] Gets or sets the
* headers.
*
* @member {object} [action.errorAction.queueMessage] Gets or sets the storage
* queue message.
*
* @member {string} [action.errorAction.queueMessage.storageAccount] Gets or
* sets the storage account name.
*
* @member {string} [action.errorAction.queueMessage.queueName] Gets or sets
* the queue name.
*
* @member {string} [action.errorAction.queueMessage.sasToken] Gets or sets the
* SAS key.
*
* @member {string} [action.errorAction.queueMessage.message] Gets or sets the
* message.
*
* @member {object} [action.errorAction.serviceBusQueueMessage] Gets or sets
* the service bus queue message.
*
* @member {string} [action.errorAction.serviceBusQueueMessage.queueName] Gets
* or sets the queue name.
*
* @member {object} [action.errorAction.serviceBusTopicMessage] Gets or sets
* the service bus topic message.
*
* @member {string} [action.errorAction.serviceBusTopicMessage.topicPath] Gets
* or sets the topic path.
*
* @member {object} [action.errorAction.retryPolicy] Gets or sets the retry
* policy.
*
* @member {string} [action.errorAction.retryPolicy.retryType] Gets or sets the
* retry strategy to be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [action.errorAction.retryPolicy.retryInterval]
* Gets or sets the retry interval between retries, specify duration in ISO
* 8601 format.
*
* @member {number} [action.errorAction.retryPolicy.retryCount] Gets or sets
* the number of times a retry should be attempted.
*
* @member {object} [recurrence] Gets or sets the job recurrence.
*
* @member {string} [recurrence.frequency] Gets or sets the frequency of
* recurrence (second, minute, hour, day, week, month). Possible values
* include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [recurrence.interval] Gets or sets the interval between
* retries.
*
* @member {number} [recurrence.count] Gets or sets the maximum number of times
* that the job should run.
*
* @member {date} [recurrence.endTime] Gets or sets the time at which the job
* will complete.
*
* @member {object} [recurrence.schedule]
*
* @member {array} [recurrence.schedule.weekDays] Gets or sets the days of the
* week that the job should execute on.
*
* @member {array} [recurrence.schedule.hours] Gets or sets the hours of the
* day that the job should execute at.
*
* @member {array} [recurrence.schedule.minutes] Gets or sets the minutes of
* the hour that the job should execute at.
*
* @member {array} [recurrence.schedule.monthDays] Gets or sets the days of the
* month that the job should execute on. Must be between 1 and 31.
*
* @member {array} [recurrence.schedule.monthlyOccurrences] Gets or sets the
* occurrences of days within a month.
*
* @member {string} [state] Gets or set the job state. Possible values include:
* 'Enabled', 'Disabled', 'Faulted', 'Completed'
*
* @member {object} [status] Gets the job status.
*
* @member {number} [status.executionCount] Gets the number of times this job
* has executed.
*
* @member {number} [status.failureCount] Gets the number of times this job has
* failed.
*
* @member {number} [status.faultedCount] Gets the number of faulted
* occurrences (occurrences that were retried and failed as many times as the
* retry policy states).
*
* @member {date} [status.lastExecutionTime] Gets the time the last occurrence
* executed in ISO-8601 format. Could be empty if job has not run yet.
*
* @member {date} [status.nextExecutionTime] Gets the time of the next
* occurrence in ISO-8601 format. Could be empty if the job is completed.
*
*/

@@ -890,204 +657,137 @@ export interface JobProperties {

* @member {string} [id] Gets the job resource identifier.
*
* @member {string} [type] Gets the job resource type.
*
* @member {string} [name] Gets the job resource name.
*
* @member {object} [properties] Gets or sets the job properties.
*
* @member {date} [properties.startTime] Gets or sets the job start time.
*
* @member {object} [properties.action] Gets or sets the job action.
*
* @member {string} [properties.action.type] Gets or sets the job action type.
* Possible values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',
* 'ServiceBusTopic'
*
* @member {object} [properties.action.request] Gets or sets the http requests.
*
* @member {object} [properties.action.request.authentication] Gets or sets the
* authentication method of the request.
*
* @member {string} [properties.action.request.authentication.type] Gets or
* sets the HTTP authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [properties.action.request.uri] Gets or sets the URI of the
* request.
*
* @member {string} [properties.action.request.method] Gets or sets the method
* of the request.
*
* @member {string} [properties.action.request.body] Gets or sets the request
* body.
*
* @member {object} [properties.action.request.headers] Gets or sets the
* headers.
*
* @member {object} [properties.action.queueMessage] Gets or sets the storage
* queue message.
*
* @member {string} [properties.action.queueMessage.storageAccount] Gets or
* sets the storage account name.
*
* @member {string} [properties.action.queueMessage.queueName] Gets or sets the
* queue name.
*
* @member {string} [properties.action.queueMessage.sasToken] Gets or sets the
* SAS key.
*
* @member {string} [properties.action.queueMessage.message] Gets or sets the
* message.
*
* @member {object} [properties.action.serviceBusQueueMessage] Gets or sets the
* service bus queue message.
*
* @member {string} [properties.action.serviceBusQueueMessage.queueName] Gets
* or sets the queue name.
*
* @member {object} [properties.action.serviceBusTopicMessage] Gets or sets the
* service bus topic message.
*
* @member {string} [properties.action.serviceBusTopicMessage.topicPath] Gets
* or sets the topic path.
*
* @member {object} [properties.action.retryPolicy] Gets or sets the retry
* policy.
*
* @member {string} [properties.action.retryPolicy.retryType] Gets or sets the
* retry strategy to be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [properties.action.retryPolicy.retryInterval] Gets
* or sets the retry interval between retries, specify duration in ISO 8601
* format.
*
* @member {number} [properties.action.retryPolicy.retryCount] Gets or sets the
* number of times a retry should be attempted.
*
* @member {object} [properties.action.errorAction] Gets or sets the error
* action.
*
* @member {string} [properties.action.errorAction.type] Gets or sets the job
* error action type. Possible values include: 'Http', 'Https', 'StorageQueue',
* 'ServiceBusQueue', 'ServiceBusTopic'
*
* @member {object} [properties.action.errorAction.request] Gets or sets the
* http requests.
*
* @member {object} [properties.action.errorAction.request.authentication] Gets
* or sets the authentication method of the request.
*
* @member {string} [properties.action.errorAction.request.authentication.type]
* Gets or sets the HTTP authentication type. Possible values include:
* 'NotSpecified', 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [properties.action.errorAction.request.uri] Gets or sets
* the URI of the request.
*
* @member {string} [properties.action.errorAction.request.method] Gets or sets
* the method of the request.
*
* @member {string} [properties.action.errorAction.request.body] Gets or sets
* the request body.
*
* @member {object} [properties.action.errorAction.request.headers] Gets or
* sets the headers.
*
* @member {object} [properties.action.errorAction.queueMessage] Gets or sets
* the storage queue message.
*
* @member {string} [properties.action.errorAction.queueMessage.storageAccount]
* Gets or sets the storage account name.
*
* @member {string} [properties.action.errorAction.queueMessage.queueName] Gets
* or sets the queue name.
*
* @member {string} [properties.action.errorAction.queueMessage.sasToken] Gets
* or sets the SAS key.
*
* @member {string} [properties.action.errorAction.queueMessage.message] Gets
* or sets the message.
*
* @member {object} [properties.action.errorAction.serviceBusQueueMessage] Gets
* or sets the service bus queue message.
*
* @member {string}
* [properties.action.errorAction.serviceBusQueueMessage.queueName] Gets or
* sets the queue name.
*
* @member {object} [properties.action.errorAction.serviceBusTopicMessage] Gets
* or sets the service bus topic message.
*
* @member {string}
* [properties.action.errorAction.serviceBusTopicMessage.topicPath] Gets or
* sets the topic path.
*
* @member {object} [properties.action.errorAction.retryPolicy] Gets or sets
* the retry policy.
*
* @member {string} [properties.action.errorAction.retryPolicy.retryType] Gets
* or sets the retry strategy to be used. Possible values include: 'None',
* 'Fixed'
*
* @member {moment.duration}
* [properties.action.errorAction.retryPolicy.retryInterval] Gets or sets the
* retry interval between retries, specify duration in ISO 8601 format.
*
* @member {number} [properties.action.errorAction.retryPolicy.retryCount] Gets
* or sets the number of times a retry should be attempted.
*
* @member {object} [properties.recurrence] Gets or sets the job recurrence.
*
* @member {string} [properties.recurrence.frequency] Gets or sets the
* frequency of recurrence (second, minute, hour, day, week, month). Possible
* values include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [properties.recurrence.interval] Gets or sets the interval
* between retries.
*
* @member {number} [properties.recurrence.count] Gets or sets the maximum
* number of times that the job should run.
*
* @member {date} [properties.recurrence.endTime] Gets or sets the time at
* which the job will complete.
*
* @member {object} [properties.recurrence.schedule]
*
* @member {array} [properties.recurrence.schedule.weekDays] Gets or sets the
* days of the week that the job should execute on.
*
* @member {array} [properties.recurrence.schedule.hours] Gets or sets the
* hours of the day that the job should execute at.
*
* @member {array} [properties.recurrence.schedule.minutes] Gets or sets the
* minutes of the hour that the job should execute at.
*
* @member {array} [properties.recurrence.schedule.monthDays] Gets or sets the
* days of the month that the job should execute on. Must be between 1 and 31.
*
* @member {array} [properties.recurrence.schedule.monthlyOccurrences] Gets or
* sets the occurrences of days within a month.
*
* @member {string} [properties.state] Gets or set the job state. Possible
* values include: 'Enabled', 'Disabled', 'Faulted', 'Completed'
*
* @member {object} [properties.status] Gets the job status.
*
* @member {number} [properties.status.executionCount] Gets the number of times
* this job has executed.
*
* @member {number} [properties.status.failureCount] Gets the number of times
* this job has failed.
*
* @member {number} [properties.status.faultedCount] Gets the number of faulted
* occurrences (occurrences that were retried and failed as many times as the
* retry policy states).
*
* @member {date} [properties.status.lastExecutionTime] Gets the time the last
* occurrence executed in ISO-8601 format. Could be empty if job has not run
* yet.
*
* @member {date} [properties.status.nextExecutionTime] Gets the time of the
* next occurrence in ISO-8601 format. Could be empty if the job is completed.
*
*/

@@ -1103,38 +803,15 @@ export interface JobDefinition {

* @class
* Initializes a new instance of the JobListResult class.
* @constructor
* @member {array} [value] Gets or sets all jobs under job collection.
*
* @member {string} [nextLink] Gets or sets the URL to get the next set of
* jobs.
*
*/
export interface JobListResult {
value?: JobDefinition[];
nextLink?: string;
}
/**
* @class
* Initializes a new instance of the JobHistoryDefinitionProperties class.
* @constructor
* @member {date} [startTime] Gets the start time for this job.
*
* @member {date} [endTime] Gets the end time for this job.
*
* @member {date} [expectedExecutionTime] Gets the expected execution time for
* this job.
*
* @member {string} [actionName] Gets the job history action name. Possible
* values include: 'MainAction', 'ErrorAction'
*
* @member {string} [status] Gets the job history status. Possible values
* include: 'Completed', 'Failed', 'Postponed'
*
* @member {string} [message] Gets the message for the job history.
*
* @member {number} [retryCount] Gets the retry count for job.
*
* @member {number} [repeatCount] Gets the repeat count for the job.
*
*/

@@ -1157,28 +834,16 @@ export interface JobHistoryDefinitionProperties {

* @member {string} [id] Gets the job history identifier.
*
* @member {string} [type] Gets the job history resource type.
*
* @member {string} [name] Gets the job history name.
*
* @member {object} [properties] Gets or sets the job history properties.
*
* @member {date} [properties.startTime] Gets the start time for this job.
*
* @member {date} [properties.endTime] Gets the end time for this job.
*
* @member {date} [properties.expectedExecutionTime] Gets the expected
* execution time for this job.
*
* @member {string} [properties.actionName] Gets the job history action name.
* Possible values include: 'MainAction', 'ErrorAction'
*
* @member {string} [properties.status] Gets the job history status. Possible
* values include: 'Completed', 'Failed', 'Postponed'
*
* @member {string} [properties.message] Gets the message for the job history.
*
* @member {number} [properties.retryCount] Gets the retry count for job.
*
* @member {number} [properties.repeatCount] Gets the repeat count for the job.
*
*/

@@ -1194,17 +859,2 @@ export interface JobHistoryDefinition {

* @class
* Initializes a new instance of the JobHistoryListResult class.
* @constructor
* @member {array} [value] Gets or sets the job histories under job.
*
* @member {string} [nextLink] Gets or sets the URL to get the next set of job
* histories.
*
*/
export interface JobHistoryListResult {
value?: JobHistoryDefinition[];
nextLink?: string;
}
/**
* @class
* Initializes a new instance of the ClientCertAuthentication class.

@@ -1214,15 +864,10 @@ * @constructor

* value will always be empty.
*
* @member {string} [pfx] Gets or sets the pfx certificate. Accepts
* certification in base64 encoding, return value will always be empty.
*
* @member {string} [certificateThumbprint] Gets or sets the certificate
* thumbprint.
*
* @member {date} [certificateExpirationDate] Gets or sets the certificate
* expiration date.
*
* @member {string} [certificateSubjectName] Gets or sets the certificate
* subject name.
*
*/

@@ -1242,6 +887,4 @@ export interface ClientCertAuthentication extends HttpAuthentication {

* @member {string} [username] Gets or sets the username.
*
* @member {string} [password] Gets or sets the password, return value will
* always be empty.
*
*/

@@ -1259,9 +902,5 @@ export interface BasicAuthentication extends HttpAuthentication {

* be empty.
*
* @member {string} [tenant] Gets or sets the tenant.
*
* @member {string} [audience] Gets or sets the audience.
*
* @member {string} [clientId] Gets or sets the client identifier.
*
*/

@@ -1280,8 +919,5 @@ export interface OAuthAuthentication extends HttpAuthentication {

* @member {string} [sasKey] Gets or sets the SAS key.
*
* @member {string} [sasKeyName] Gets or sets the SAS key name.
*
* @member {string} [type] Gets or sets the authentication type. Possible
* values include: 'NotSpecified', 'SharedAccessKey'
*
*/

@@ -1299,28 +935,15 @@ export interface ServiceBusAuthentication {

* @member {string} [contentType] Gets or sets the content type.
*
* @member {string} [correlationId] Gets or sets the correlation ID.
*
* @member {boolean} [forcePersistence] Gets or sets the force persistence.
*
* @member {string} [label] Gets or sets the label.
*
* @member {string} [messageId] Gets or sets the message ID.
*
* @member {string} [partitionKey] Gets or sets the partition key.
*
* @member {string} [replyTo] Gets or sets the reply to.
*
* @member {string} [replyToSessionId] Gets or sets the reply to session ID.
*
* @member {date} [scheduledEnqueueTimeUtc] Gets or sets the scheduled enqueue
* time UTC.
*
* @member {string} [sessionId] Gets or sets the session ID.
*
* @member {moment.duration} [timeToLive] Gets or sets the time to live.
*
* @member {string} [to] Gets or sets the to.
*
* @member {string} [viaPartitionKey] Gets or sets the via partition key.
*
*/

@@ -1349,3 +972,2 @@ export interface ServiceBusBrokeredMessageProperties {

* include: 'Enabled', 'Disabled', 'Faulted', 'Completed'
*
*/

@@ -1362,3 +984,2 @@ export interface JobStateFilter {

* values include: 'Completed', 'Failed', 'Postponed'
*
*/

@@ -1369,50 +990,5 @@ export interface JobHistoryFilter {

/**
* @class
* Initializes a new instance of the JobCollectionListResult class.
* @constructor
* @member {array} [value] Gets the job collections.
*
* @member {string} [nextLink] Gets or sets the URL to get the next set of job
* collections.
*
*/
export interface JobCollectionListResult {
readonly value?: JobCollectionDefinition[];
nextLink?: string;
}
/**
* @class
* Initializes a new instance of the JobListResult class.
* @constructor
* @member {array} [value] Gets or sets all jobs under job collection.
*
* @member {string} [nextLink] Gets or sets the URL to get the next set of
* jobs.
*
*/
export interface JobListResult {
value?: JobDefinition[];
nextLink?: string;
}
/**
* @class
* Initializes a new instance of the JobHistoryListResult class.
* @constructor
* @member {array} [value] Gets or sets the job histories under job.
*
* @member {string} [nextLink] Gets or sets the URL to get the next set of job
* histories.
*
*/
export interface JobHistoryListResult {
value?: JobHistoryDefinition[];
nextLink?: string;
}
/**
* @class
* Initializes a new instance of the JobCollectionListResult class.

@@ -1422,3 +998,2 @@ * @constructor

* collections.
*
*/

@@ -1435,3 +1010,2 @@ export interface JobCollectionListResult extends Array<JobCollectionDefinition> {

* jobs.
*
*/

@@ -1448,3 +1022,2 @@ export interface JobListResult extends Array<JobDefinition> {

* histories.
*
*/

@@ -1451,0 +1024,0 @@ export interface JobHistoryListResult extends Array<JobHistoryDefinition> {

@@ -26,3 +26,2 @@ /*

exports.JobCollectionDefinition = require('./jobCollectionDefinition');
exports.JobCollectionListResult = require('./jobCollectionListResult');
exports.HttpAuthentication = require('./httpAuthentication');

@@ -43,6 +42,4 @@ exports.HttpRequest = require('./httpRequest');

exports.JobDefinition = require('./jobDefinition');
exports.JobListResult = require('./jobListResult');
exports.JobHistoryDefinitionProperties = require('./jobHistoryDefinitionProperties');
exports.JobHistoryDefinition = require('./jobHistoryDefinition');
exports.JobHistoryListResult = require('./jobHistoryListResult');
exports.ClientCertAuthentication = require('./clientCertAuthentication');

@@ -49,0 +46,0 @@ exports.BasicAuthentication = require('./basicAuthentication');

@@ -16,126 +16,84 @@ /*

/**
* @class
* Initializes a new instance of the JobAction class.
* @constructor
* @member {string} [type] Gets or sets the job action type. Possible values
* include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',
* 'ServiceBusTopic'
*
* @member {object} [request] Gets or sets the http requests.
*
* @member {object} [request.authentication] Gets or sets the authentication
* method of the request.
*
* @member {string} [request.authentication.type] Gets or sets the HTTP
* authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [request.uri] Gets or sets the URI of the request.
*
* @member {string} [request.method] Gets or sets the method of the request.
*
* @member {string} [request.body] Gets or sets the request body.
*
* @member {object} [request.headers] Gets or sets the headers.
*
* @member {object} [queueMessage] Gets or sets the storage queue message.
*
* @member {string} [queueMessage.storageAccount] Gets or sets the storage
* account name.
*
* @member {string} [queueMessage.queueName] Gets or sets the queue name.
*
* @member {string} [queueMessage.sasToken] Gets or sets the SAS key.
*
* @member {string} [queueMessage.message] Gets or sets the message.
*
* @member {object} [serviceBusQueueMessage] Gets or sets the service bus queue
* message.
*
* @member {string} [serviceBusQueueMessage.queueName] Gets or sets the queue
* name.
*
* @member {object} [serviceBusTopicMessage] Gets or sets the service bus topic
* message.
*
* @member {string} [serviceBusTopicMessage.topicPath] Gets or sets the topic
* path.
*
* @member {object} [retryPolicy] Gets or sets the retry policy.
*
* @member {string} [retryPolicy.retryType] Gets or sets the retry strategy to
* be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [retryPolicy.retryInterval] Gets or sets the retry
* interval between retries, specify duration in ISO 8601 format.
*
* @member {number} [retryPolicy.retryCount] Gets or sets the number of times a
* retry should be attempted.
*
* @member {object} [errorAction] Gets or sets the error action.
*
* @member {string} [errorAction.type] Gets or sets the job error action type.
* Possible values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',
* 'ServiceBusTopic'
*
* @member {object} [errorAction.request] Gets or sets the http requests.
*
* @member {object} [errorAction.request.authentication] Gets or sets the
* authentication method of the request.
*
* @member {string} [errorAction.request.authentication.type] Gets or sets the
* HTTP authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [errorAction.request.uri] Gets or sets the URI of the
* request.
*
* @member {string} [errorAction.request.method] Gets or sets the method of the
* request.
*
* @member {string} [errorAction.request.body] Gets or sets the request body.
*
* @member {object} [errorAction.request.headers] Gets or sets the headers.
*
* @member {object} [errorAction.queueMessage] Gets or sets the storage queue
* message.
*
* @member {string} [errorAction.queueMessage.storageAccount] Gets or sets the
* storage account name.
*
* @member {string} [errorAction.queueMessage.queueName] Gets or sets the queue
* name.
*
* @member {string} [errorAction.queueMessage.sasToken] Gets or sets the SAS
* key.
*
* @member {string} [errorAction.queueMessage.message] Gets or sets the
* message.
*
* @member {object} [errorAction.serviceBusQueueMessage] Gets or sets the
* service bus queue message.
*
* @member {string} [errorAction.serviceBusQueueMessage.queueName] Gets or sets
* the queue name.
*
* @member {object} [errorAction.serviceBusTopicMessage] Gets or sets the
* service bus topic message.
*
* @member {string} [errorAction.serviceBusTopicMessage.topicPath] Gets or sets
* the topic path.
*
* @member {object} [errorAction.retryPolicy] Gets or sets the retry policy.
*
* @member {string} [errorAction.retryPolicy.retryType] Gets or sets the retry
* strategy to be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [errorAction.retryPolicy.retryInterval] Gets or
* sets the retry interval between retries, specify duration in ISO 8601
* format.
*
* @member {number} [errorAction.retryPolicy.retryCount] Gets or sets the
* number of times a retry should be attempted.
*
* Class representing a JobAction.
*/
class JobAction {
/**
* Create a JobAction.
* @member {string} [type] Gets or sets the job action type. Possible values
* include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',
* 'ServiceBusTopic'
* @member {object} [request] Gets or sets the http requests.
* @member {object} [request.authentication] Gets or sets the authentication
* method of the request.
* @member {string} [request.authentication.type] Gets or sets the HTTP
* authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
* @member {string} [request.uri] Gets or sets the URI of the request.
* @member {string} [request.method] Gets or sets the method of the request.
* @member {string} [request.body] Gets or sets the request body.
* @member {object} [request.headers] Gets or sets the headers.
* @member {object} [queueMessage] Gets or sets the storage queue message.
* @member {string} [queueMessage.storageAccount] Gets or sets the storage
* account name.
* @member {string} [queueMessage.queueName] Gets or sets the queue name.
* @member {string} [queueMessage.sasToken] Gets or sets the SAS key.
* @member {string} [queueMessage.message] Gets or sets the message.
* @member {object} [serviceBusQueueMessage] Gets or sets the service bus
* queue message.
* @member {string} [serviceBusQueueMessage.queueName] Gets or sets the queue
* name.
* @member {object} [serviceBusTopicMessage] Gets or sets the service bus
* topic message.
* @member {string} [serviceBusTopicMessage.topicPath] Gets or sets the topic
* path.
* @member {object} [retryPolicy] Gets or sets the retry policy.
* @member {string} [retryPolicy.retryType] Gets or sets the retry strategy
* to be used. Possible values include: 'None', 'Fixed'
* @member {moment.duration} [retryPolicy.retryInterval] Gets or sets the
* retry interval between retries, specify duration in ISO 8601 format.
* @member {number} [retryPolicy.retryCount] Gets or sets the number of times
* a retry should be attempted.
* @member {object} [errorAction] Gets or sets the error action.
* @member {string} [errorAction.type] Gets or sets the job error action
* type. Possible values include: 'Http', 'Https', 'StorageQueue',
* 'ServiceBusQueue', 'ServiceBusTopic'
* @member {object} [errorAction.request] Gets or sets the http requests.
* @member {object} [errorAction.request.authentication] Gets or sets the
* authentication method of the request.
* @member {string} [errorAction.request.authentication.type] Gets or sets
* the HTTP authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
* @member {string} [errorAction.request.uri] Gets or sets the URI of the
* request.
* @member {string} [errorAction.request.method] Gets or sets the method of
* the request.
* @member {string} [errorAction.request.body] Gets or sets the request body.
* @member {object} [errorAction.request.headers] Gets or sets the headers.
* @member {object} [errorAction.queueMessage] Gets or sets the storage queue
* message.
* @member {string} [errorAction.queueMessage.storageAccount] Gets or sets
* the storage account name.
* @member {string} [errorAction.queueMessage.queueName] Gets or sets the
* queue name.
* @member {string} [errorAction.queueMessage.sasToken] Gets or sets the SAS
* key.
* @member {string} [errorAction.queueMessage.message] Gets or sets the
* message.
* @member {object} [errorAction.serviceBusQueueMessage] Gets or sets the
* service bus queue message.
* @member {string} [errorAction.serviceBusQueueMessage.queueName] Gets or
* sets the queue name.
* @member {object} [errorAction.serviceBusTopicMessage] Gets or sets the
* service bus topic message.
* @member {string} [errorAction.serviceBusTopicMessage.topicPath] Gets or
* sets the topic path.
* @member {object} [errorAction.retryPolicy] Gets or sets the retry policy.
* @member {string} [errorAction.retryPolicy.retryType] Gets or sets the
* retry strategy to be used. Possible values include: 'None', 'Fixed'
* @member {moment.duration} [errorAction.retryPolicy.retryInterval] Gets or
* sets the retry interval between retries, specify duration in ISO 8601
* format.
* @member {number} [errorAction.retryPolicy.retryCount] Gets or sets the
* number of times a retry should be attempted.
*/
constructor() {

@@ -142,0 +100,0 @@ }

@@ -16,45 +16,31 @@ /*

/**
* @class
* Initializes a new instance of the JobCollectionDefinition class.
* @constructor
* @member {string} [id] Gets the job collection resource identifier.
*
* @member {string} [type] Gets the job collection resource type.
*
* @member {string} [name] Gets or sets the job collection resource name.
*
* @member {string} [location] Gets or sets the storage account location.
*
* @member {object} [tags] Gets or sets the tags.
*
* @member {object} [properties] Gets or sets the job collection properties.
*
* @member {object} [properties.sku] Gets or sets the SKU.
*
* @member {string} [properties.sku.name] Gets or set the SKU. Possible values
* include: 'Standard', 'Free', 'P10Premium', 'P20Premium'
*
* @member {string} [properties.state] Gets or sets the state. Possible values
* include: 'Enabled', 'Disabled', 'Suspended', 'Deleted'
*
* @member {object} [properties.quota] Gets or sets the job collection quota.
*
* @member {number} [properties.quota.maxJobCount] Gets or set the maximum job
* count.
*
* @member {number} [properties.quota.maxJobOccurrence] Gets or sets the
* maximum job occurrence.
*
* @member {object} [properties.quota.maxRecurrence] Gets or set the maximum
* recurrence.
*
* @member {string} [properties.quota.maxRecurrence.frequency] Gets or sets the
* frequency of recurrence (second, minute, hour, day, week, month). Possible
* values include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [properties.quota.maxRecurrence.interval] Gets or sets the
* interval between retries.
*
* Class representing a JobCollectionDefinition.
*/
class JobCollectionDefinition {
/**
* Create a JobCollectionDefinition.
* @member {string} [id] Gets the job collection resource identifier.
* @member {string} [type] Gets the job collection resource type.
* @member {string} [name] Gets or sets the job collection resource name.
* @member {string} [location] Gets or sets the storage account location.
* @member {object} [tags] Gets or sets the tags.
* @member {object} [properties] Gets or sets the job collection properties.
* @member {object} [properties.sku] Gets or sets the SKU.
* @member {string} [properties.sku.name] Gets or set the SKU. Possible
* values include: 'Standard', 'Free', 'P10Premium', 'P20Premium'
* @member {string} [properties.state] Gets or sets the state. Possible
* values include: 'Enabled', 'Disabled', 'Suspended', 'Deleted'
* @member {object} [properties.quota] Gets or sets the job collection quota.
* @member {number} [properties.quota.maxJobCount] Gets or set the maximum
* job count.
* @member {number} [properties.quota.maxJobOccurrence] Gets or sets the
* maximum job occurrence.
* @member {object} [properties.quota.maxRecurrence] Gets or set the maximum
* recurrence.
* @member {string} [properties.quota.maxRecurrence.frequency] Gets or sets
* the frequency of recurrence (second, minute, hour, day, week, month).
* Possible values include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
* @member {number} [properties.quota.maxRecurrence.interval] Gets or sets
* the interval between retries.
*/
constructor() {

@@ -61,0 +47,0 @@ }

@@ -14,10 +14,10 @@ /*

/**
* @class
* Initializes a new instance of the JobCollectionListResult class.
* @constructor
* @member {string} [nextLink] Gets or sets the URL to get the next set of job
* collections.
*
* Class representing a JobCollectionListResult.
*/
class JobCollectionListResult extends Array {
/**
* Create a JobCollectionListResult.
* @member {string} [nextLink] Gets or sets the URL to get the next set of
* job collections.
*/
constructor() {

@@ -24,0 +24,0 @@ super();

@@ -16,31 +16,23 @@ /*

/**
* @class
* Initializes a new instance of the JobCollectionProperties class.
* @constructor
* @member {object} [sku] Gets or sets the SKU.
*
* @member {string} [sku.name] Gets or set the SKU. Possible values include:
* 'Standard', 'Free', 'P10Premium', 'P20Premium'
*
* @member {string} [state] Gets or sets the state. Possible values include:
* 'Enabled', 'Disabled', 'Suspended', 'Deleted'
*
* @member {object} [quota] Gets or sets the job collection quota.
*
* @member {number} [quota.maxJobCount] Gets or set the maximum job count.
*
* @member {number} [quota.maxJobOccurrence] Gets or sets the maximum job
* occurrence.
*
* @member {object} [quota.maxRecurrence] Gets or set the maximum recurrence.
*
* @member {string} [quota.maxRecurrence.frequency] Gets or sets the frequency
* of recurrence (second, minute, hour, day, week, month). Possible values
* include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [quota.maxRecurrence.interval] Gets or sets the interval
* between retries.
*
* Class representing a JobCollectionProperties.
*/
class JobCollectionProperties {
/**
* Create a JobCollectionProperties.
* @member {object} [sku] Gets or sets the SKU.
* @member {string} [sku.name] Gets or set the SKU. Possible values include:
* 'Standard', 'Free', 'P10Premium', 'P20Premium'
* @member {string} [state] Gets or sets the state. Possible values include:
* 'Enabled', 'Disabled', 'Suspended', 'Deleted'
* @member {object} [quota] Gets or sets the job collection quota.
* @member {number} [quota.maxJobCount] Gets or set the maximum job count.
* @member {number} [quota.maxJobOccurrence] Gets or sets the maximum job
* occurrence.
* @member {object} [quota.maxRecurrence] Gets or set the maximum recurrence.
* @member {string} [quota.maxRecurrence.frequency] Gets or sets the
* frequency of recurrence (second, minute, hour, day, week, month). Possible
* values include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
* @member {number} [quota.maxRecurrence.interval] Gets or sets the interval
* between retries.
*/
constructor() {

@@ -47,0 +39,0 @@ }

@@ -16,20 +16,17 @@ /*

/**
* @class
* Initializes a new instance of the JobCollectionQuota class.
* @constructor
* @member {number} [maxJobCount] Gets or set the maximum job count.
*
* @member {number} [maxJobOccurrence] Gets or sets the maximum job occurrence.
*
* @member {object} [maxRecurrence] Gets or set the maximum recurrence.
*
* @member {string} [maxRecurrence.frequency] Gets or sets the frequency of
* recurrence (second, minute, hour, day, week, month). Possible values
* include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [maxRecurrence.interval] Gets or sets the interval between
* retries.
*
* Class representing a JobCollectionQuota.
*/
class JobCollectionQuota {
/**
* Create a JobCollectionQuota.
* @member {number} [maxJobCount] Gets or set the maximum job count.
* @member {number} [maxJobOccurrence] Gets or sets the maximum job
* occurrence.
* @member {object} [maxRecurrence] Gets or set the maximum recurrence.
* @member {string} [maxRecurrence.frequency] Gets or sets the frequency of
* recurrence (second, minute, hour, day, week, month). Possible values
* include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
* @member {number} [maxRecurrence.interval] Gets or sets the interval
* between retries.
*/
constructor() {

@@ -36,0 +33,0 @@ }

@@ -16,210 +16,149 @@ /*

/**
* @class
* Initializes a new instance of the JobDefinition class.
* @constructor
* @member {string} [id] Gets the job resource identifier.
*
* @member {string} [type] Gets the job resource type.
*
* @member {string} [name] Gets the job resource name.
*
* @member {object} [properties] Gets or sets the job properties.
*
* @member {date} [properties.startTime] Gets or sets the job start time.
*
* @member {object} [properties.action] Gets or sets the job action.
*
* @member {string} [properties.action.type] Gets or sets the job action type.
* Possible values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',
* 'ServiceBusTopic'
*
* @member {object} [properties.action.request] Gets or sets the http requests.
*
* @member {object} [properties.action.request.authentication] Gets or sets the
* authentication method of the request.
*
* @member {string} [properties.action.request.authentication.type] Gets or
* sets the HTTP authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [properties.action.request.uri] Gets or sets the URI of the
* request.
*
* @member {string} [properties.action.request.method] Gets or sets the method
* of the request.
*
* @member {string} [properties.action.request.body] Gets or sets the request
* body.
*
* @member {object} [properties.action.request.headers] Gets or sets the
* headers.
*
* @member {object} [properties.action.queueMessage] Gets or sets the storage
* queue message.
*
* @member {string} [properties.action.queueMessage.storageAccount] Gets or
* sets the storage account name.
*
* @member {string} [properties.action.queueMessage.queueName] Gets or sets the
* queue name.
*
* @member {string} [properties.action.queueMessage.sasToken] Gets or sets the
* SAS key.
*
* @member {string} [properties.action.queueMessage.message] Gets or sets the
* message.
*
* @member {object} [properties.action.serviceBusQueueMessage] Gets or sets the
* service bus queue message.
*
* @member {string} [properties.action.serviceBusQueueMessage.queueName] Gets
* or sets the queue name.
*
* @member {object} [properties.action.serviceBusTopicMessage] Gets or sets the
* service bus topic message.
*
* @member {string} [properties.action.serviceBusTopicMessage.topicPath] Gets
* or sets the topic path.
*
* @member {object} [properties.action.retryPolicy] Gets or sets the retry
* policy.
*
* @member {string} [properties.action.retryPolicy.retryType] Gets or sets the
* retry strategy to be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [properties.action.retryPolicy.retryInterval] Gets
* or sets the retry interval between retries, specify duration in ISO 8601
* format.
*
* @member {number} [properties.action.retryPolicy.retryCount] Gets or sets the
* number of times a retry should be attempted.
*
* @member {object} [properties.action.errorAction] Gets or sets the error
* action.
*
* @member {string} [properties.action.errorAction.type] Gets or sets the job
* error action type. Possible values include: 'Http', 'Https', 'StorageQueue',
* 'ServiceBusQueue', 'ServiceBusTopic'
*
* @member {object} [properties.action.errorAction.request] Gets or sets the
* http requests.
*
* @member {object} [properties.action.errorAction.request.authentication] Gets
* or sets the authentication method of the request.
*
* @member {string} [properties.action.errorAction.request.authentication.type]
* Gets or sets the HTTP authentication type. Possible values include:
* 'NotSpecified', 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [properties.action.errorAction.request.uri] Gets or sets
* the URI of the request.
*
* @member {string} [properties.action.errorAction.request.method] Gets or sets
* the method of the request.
*
* @member {string} [properties.action.errorAction.request.body] Gets or sets
* the request body.
*
* @member {object} [properties.action.errorAction.request.headers] Gets or
* sets the headers.
*
* @member {object} [properties.action.errorAction.queueMessage] Gets or sets
* the storage queue message.
*
* @member {string} [properties.action.errorAction.queueMessage.storageAccount]
* Gets or sets the storage account name.
*
* @member {string} [properties.action.errorAction.queueMessage.queueName] Gets
* or sets the queue name.
*
* @member {string} [properties.action.errorAction.queueMessage.sasToken] Gets
* or sets the SAS key.
*
* @member {string} [properties.action.errorAction.queueMessage.message] Gets
* or sets the message.
*
* @member {object} [properties.action.errorAction.serviceBusQueueMessage] Gets
* or sets the service bus queue message.
*
* @member {string}
* [properties.action.errorAction.serviceBusQueueMessage.queueName] Gets or
* sets the queue name.
*
* @member {object} [properties.action.errorAction.serviceBusTopicMessage] Gets
* or sets the service bus topic message.
*
* @member {string}
* [properties.action.errorAction.serviceBusTopicMessage.topicPath] Gets or
* sets the topic path.
*
* @member {object} [properties.action.errorAction.retryPolicy] Gets or sets
* the retry policy.
*
* @member {string} [properties.action.errorAction.retryPolicy.retryType] Gets
* or sets the retry strategy to be used. Possible values include: 'None',
* 'Fixed'
*
* @member {moment.duration}
* [properties.action.errorAction.retryPolicy.retryInterval] Gets or sets the
* retry interval between retries, specify duration in ISO 8601 format.
*
* @member {number} [properties.action.errorAction.retryPolicy.retryCount] Gets
* or sets the number of times a retry should be attempted.
*
* @member {object} [properties.recurrence] Gets or sets the job recurrence.
*
* @member {string} [properties.recurrence.frequency] Gets or sets the
* frequency of recurrence (second, minute, hour, day, week, month). Possible
* values include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [properties.recurrence.interval] Gets or sets the interval
* between retries.
*
* @member {number} [properties.recurrence.count] Gets or sets the maximum
* number of times that the job should run.
*
* @member {date} [properties.recurrence.endTime] Gets or sets the time at
* which the job will complete.
*
* @member {object} [properties.recurrence.schedule]
*
* @member {array} [properties.recurrence.schedule.weekDays] Gets or sets the
* days of the week that the job should execute on.
*
* @member {array} [properties.recurrence.schedule.hours] Gets or sets the
* hours of the day that the job should execute at.
*
* @member {array} [properties.recurrence.schedule.minutes] Gets or sets the
* minutes of the hour that the job should execute at.
*
* @member {array} [properties.recurrence.schedule.monthDays] Gets or sets the
* days of the month that the job should execute on. Must be between 1 and 31.
*
* @member {array} [properties.recurrence.schedule.monthlyOccurrences] Gets or
* sets the occurrences of days within a month.
*
* @member {string} [properties.state] Gets or set the job state. Possible
* values include: 'Enabled', 'Disabled', 'Faulted', 'Completed'
*
* @member {object} [properties.status] Gets the job status.
*
* @member {number} [properties.status.executionCount] Gets the number of times
* this job has executed.
*
* @member {number} [properties.status.failureCount] Gets the number of times
* this job has failed.
*
* @member {number} [properties.status.faultedCount] Gets the number of faulted
* occurrences (occurrences that were retried and failed as many times as the
* retry policy states).
*
* @member {date} [properties.status.lastExecutionTime] Gets the time the last
* occurrence executed in ISO-8601 format. Could be empty if job has not run
* yet.
*
* @member {date} [properties.status.nextExecutionTime] Gets the time of the
* next occurrence in ISO-8601 format. Could be empty if the job is completed.
*
* Class representing a JobDefinition.
*/
class JobDefinition {
/**
* Create a JobDefinition.
* @member {string} [id] Gets the job resource identifier.
* @member {string} [type] Gets the job resource type.
* @member {string} [name] Gets the job resource name.
* @member {object} [properties] Gets or sets the job properties.
* @member {date} [properties.startTime] Gets or sets the job start time.
* @member {object} [properties.action] Gets or sets the job action.
* @member {string} [properties.action.type] Gets or sets the job action
* type. Possible values include: 'Http', 'Https', 'StorageQueue',
* 'ServiceBusQueue', 'ServiceBusTopic'
* @member {object} [properties.action.request] Gets or sets the http
* requests.
* @member {object} [properties.action.request.authentication] Gets or sets
* the authentication method of the request.
* @member {string} [properties.action.request.authentication.type] Gets or
* sets the HTTP authentication type. Possible values include:
* 'NotSpecified', 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
* @member {string} [properties.action.request.uri] Gets or sets the URI of
* the request.
* @member {string} [properties.action.request.method] Gets or sets the
* method of the request.
* @member {string} [properties.action.request.body] Gets or sets the request
* body.
* @member {object} [properties.action.request.headers] Gets or sets the
* headers.
* @member {object} [properties.action.queueMessage] Gets or sets the storage
* queue message.
* @member {string} [properties.action.queueMessage.storageAccount] Gets or
* sets the storage account name.
* @member {string} [properties.action.queueMessage.queueName] Gets or sets
* the queue name.
* @member {string} [properties.action.queueMessage.sasToken] Gets or sets
* the SAS key.
* @member {string} [properties.action.queueMessage.message] Gets or sets the
* message.
* @member {object} [properties.action.serviceBusQueueMessage] Gets or sets
* the service bus queue message.
* @member {string} [properties.action.serviceBusQueueMessage.queueName] Gets
* or sets the queue name.
* @member {object} [properties.action.serviceBusTopicMessage] Gets or sets
* the service bus topic message.
* @member {string} [properties.action.serviceBusTopicMessage.topicPath] Gets
* or sets the topic path.
* @member {object} [properties.action.retryPolicy] Gets or sets the retry
* policy.
* @member {string} [properties.action.retryPolicy.retryType] Gets or sets
* the retry strategy to be used. Possible values include: 'None', 'Fixed'
* @member {moment.duration} [properties.action.retryPolicy.retryInterval]
* Gets or sets the retry interval between retries, specify duration in ISO
* 8601 format.
* @member {number} [properties.action.retryPolicy.retryCount] Gets or sets
* the number of times a retry should be attempted.
* @member {object} [properties.action.errorAction] Gets or sets the error
* action.
* @member {string} [properties.action.errorAction.type] Gets or sets the job
* error action type. Possible values include: 'Http', 'Https',
* 'StorageQueue', 'ServiceBusQueue', 'ServiceBusTopic'
* @member {object} [properties.action.errorAction.request] Gets or sets the
* http requests.
* @member {object} [properties.action.errorAction.request.authentication]
* Gets or sets the authentication method of the request.
* @member {string}
* [properties.action.errorAction.request.authentication.type] Gets or sets
* the HTTP authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
* @member {string} [properties.action.errorAction.request.uri] Gets or sets
* the URI of the request.
* @member {string} [properties.action.errorAction.request.method] Gets or
* sets the method of the request.
* @member {string} [properties.action.errorAction.request.body] Gets or sets
* the request body.
* @member {object} [properties.action.errorAction.request.headers] Gets or
* sets the headers.
* @member {object} [properties.action.errorAction.queueMessage] Gets or sets
* the storage queue message.
* @member {string}
* [properties.action.errorAction.queueMessage.storageAccount] Gets or sets
* the storage account name.
* @member {string} [properties.action.errorAction.queueMessage.queueName]
* Gets or sets the queue name.
* @member {string} [properties.action.errorAction.queueMessage.sasToken]
* Gets or sets the SAS key.
* @member {string} [properties.action.errorAction.queueMessage.message] Gets
* or sets the message.
* @member {object} [properties.action.errorAction.serviceBusQueueMessage]
* Gets or sets the service bus queue message.
* @member {string}
* [properties.action.errorAction.serviceBusQueueMessage.queueName] Gets or
* sets the queue name.
* @member {object} [properties.action.errorAction.serviceBusTopicMessage]
* Gets or sets the service bus topic message.
* @member {string}
* [properties.action.errorAction.serviceBusTopicMessage.topicPath] Gets or
* sets the topic path.
* @member {object} [properties.action.errorAction.retryPolicy] Gets or sets
* the retry policy.
* @member {string} [properties.action.errorAction.retryPolicy.retryType]
* Gets or sets the retry strategy to be used. Possible values include:
* 'None', 'Fixed'
* @member {moment.duration}
* [properties.action.errorAction.retryPolicy.retryInterval] Gets or sets the
* retry interval between retries, specify duration in ISO 8601 format.
* @member {number} [properties.action.errorAction.retryPolicy.retryCount]
* Gets or sets the number of times a retry should be attempted.
* @member {object} [properties.recurrence] Gets or sets the job recurrence.
* @member {string} [properties.recurrence.frequency] Gets or sets the
* frequency of recurrence (second, minute, hour, day, week, month). Possible
* values include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
* @member {number} [properties.recurrence.interval] Gets or sets the
* interval between retries.
* @member {number} [properties.recurrence.count] Gets or sets the maximum
* number of times that the job should run.
* @member {date} [properties.recurrence.endTime] Gets or sets the time at
* which the job will complete.
* @member {object} [properties.recurrence.schedule]
* @member {array} [properties.recurrence.schedule.weekDays] Gets or sets the
* days of the week that the job should execute on.
* @member {array} [properties.recurrence.schedule.hours] Gets or sets the
* hours of the day that the job should execute at.
* @member {array} [properties.recurrence.schedule.minutes] Gets or sets the
* minutes of the hour that the job should execute at.
* @member {array} [properties.recurrence.schedule.monthDays] Gets or sets
* the days of the month that the job should execute on. Must be between 1
* and 31.
* @member {array} [properties.recurrence.schedule.monthlyOccurrences] Gets
* or sets the occurrences of days within a month.
* @member {string} [properties.state] Gets or set the job state. Possible
* values include: 'Enabled', 'Disabled', 'Faulted', 'Completed'
* @member {object} [properties.status] Gets the job status.
* @member {number} [properties.status.executionCount] Gets the number of
* times this job has executed.
* @member {number} [properties.status.failureCount] Gets the number of times
* this job has failed.
* @member {number} [properties.status.faultedCount] Gets the number of
* faulted occurrences (occurrences that were retried and failed as many
* times as the retry policy states).
* @member {date} [properties.status.lastExecutionTime] Gets the time the
* last occurrence executed in ISO-8601 format. Could be empty if job has
* not run yet.
* @member {date} [properties.status.nextExecutionTime] Gets the time of the
* next occurrence in ISO-8601 format. Could be empty if the job is
* completed.
*/
constructor() {

@@ -226,0 +165,0 @@ }

@@ -16,62 +16,42 @@ /*

/**
* @class
* Initializes a new instance of the JobErrorAction class.
* @constructor
* @member {string} [type] Gets or sets the job error action type. Possible
* values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',
* 'ServiceBusTopic'
*
* @member {object} [request] Gets or sets the http requests.
*
* @member {object} [request.authentication] Gets or sets the authentication
* method of the request.
*
* @member {string} [request.authentication.type] Gets or sets the HTTP
* authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [request.uri] Gets or sets the URI of the request.
*
* @member {string} [request.method] Gets or sets the method of the request.
*
* @member {string} [request.body] Gets or sets the request body.
*
* @member {object} [request.headers] Gets or sets the headers.
*
* @member {object} [queueMessage] Gets or sets the storage queue message.
*
* @member {string} [queueMessage.storageAccount] Gets or sets the storage
* account name.
*
* @member {string} [queueMessage.queueName] Gets or sets the queue name.
*
* @member {string} [queueMessage.sasToken] Gets or sets the SAS key.
*
* @member {string} [queueMessage.message] Gets or sets the message.
*
* @member {object} [serviceBusQueueMessage] Gets or sets the service bus queue
* message.
*
* @member {string} [serviceBusQueueMessage.queueName] Gets or sets the queue
* name.
*
* @member {object} [serviceBusTopicMessage] Gets or sets the service bus topic
* message.
*
* @member {string} [serviceBusTopicMessage.topicPath] Gets or sets the topic
* path.
*
* @member {object} [retryPolicy] Gets or sets the retry policy.
*
* @member {string} [retryPolicy.retryType] Gets or sets the retry strategy to
* be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [retryPolicy.retryInterval] Gets or sets the retry
* interval between retries, specify duration in ISO 8601 format.
*
* @member {number} [retryPolicy.retryCount] Gets or sets the number of times a
* retry should be attempted.
*
* Class representing a JobErrorAction.
*/
class JobErrorAction {
/**
* Create a JobErrorAction.
* @member {string} [type] Gets or sets the job error action type. Possible
* values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',
* 'ServiceBusTopic'
* @member {object} [request] Gets or sets the http requests.
* @member {object} [request.authentication] Gets or sets the authentication
* method of the request.
* @member {string} [request.authentication.type] Gets or sets the HTTP
* authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
* @member {string} [request.uri] Gets or sets the URI of the request.
* @member {string} [request.method] Gets or sets the method of the request.
* @member {string} [request.body] Gets or sets the request body.
* @member {object} [request.headers] Gets or sets the headers.
* @member {object} [queueMessage] Gets or sets the storage queue message.
* @member {string} [queueMessage.storageAccount] Gets or sets the storage
* account name.
* @member {string} [queueMessage.queueName] Gets or sets the queue name.
* @member {string} [queueMessage.sasToken] Gets or sets the SAS key.
* @member {string} [queueMessage.message] Gets or sets the message.
* @member {object} [serviceBusQueueMessage] Gets or sets the service bus
* queue message.
* @member {string} [serviceBusQueueMessage.queueName] Gets or sets the queue
* name.
* @member {object} [serviceBusTopicMessage] Gets or sets the service bus
* topic message.
* @member {string} [serviceBusTopicMessage.topicPath] Gets or sets the topic
* path.
* @member {object} [retryPolicy] Gets or sets the retry policy.
* @member {string} [retryPolicy.retryType] Gets or sets the retry strategy
* to be used. Possible values include: 'None', 'Fixed'
* @member {moment.duration} [retryPolicy.retryInterval] Gets or sets the
* retry interval between retries, specify duration in ISO 8601 format.
* @member {number} [retryPolicy.retryCount] Gets or sets the number of times
* a retry should be attempted.
*/
constructor() {

@@ -78,0 +58,0 @@ }

@@ -16,34 +16,25 @@ /*

/**
* @class
* Initializes a new instance of the JobHistoryDefinition class.
* @constructor
* @member {string} [id] Gets the job history identifier.
*
* @member {string} [type] Gets the job history resource type.
*
* @member {string} [name] Gets the job history name.
*
* @member {object} [properties] Gets or sets the job history properties.
*
* @member {date} [properties.startTime] Gets the start time for this job.
*
* @member {date} [properties.endTime] Gets the end time for this job.
*
* @member {date} [properties.expectedExecutionTime] Gets the expected
* execution time for this job.
*
* @member {string} [properties.actionName] Gets the job history action name.
* Possible values include: 'MainAction', 'ErrorAction'
*
* @member {string} [properties.status] Gets the job history status. Possible
* values include: 'Completed', 'Failed', 'Postponed'
*
* @member {string} [properties.message] Gets the message for the job history.
*
* @member {number} [properties.retryCount] Gets the retry count for job.
*
* @member {number} [properties.repeatCount] Gets the repeat count for the job.
*
* Class representing a JobHistoryDefinition.
*/
class JobHistoryDefinition {
/**
* Create a JobHistoryDefinition.
* @member {string} [id] Gets the job history identifier.
* @member {string} [type] Gets the job history resource type.
* @member {string} [name] Gets the job history name.
* @member {object} [properties] Gets or sets the job history properties.
* @member {date} [properties.startTime] Gets the start time for this job.
* @member {date} [properties.endTime] Gets the end time for this job.
* @member {date} [properties.expectedExecutionTime] Gets the expected
* execution time for this job.
* @member {string} [properties.actionName] Gets the job history action name.
* Possible values include: 'MainAction', 'ErrorAction'
* @member {string} [properties.status] Gets the job history status. Possible
* values include: 'Completed', 'Failed', 'Postponed'
* @member {string} [properties.message] Gets the message for the job
* history.
* @member {number} [properties.retryCount] Gets the retry count for job.
* @member {number} [properties.repeatCount] Gets the repeat count for the
* job.
*/
constructor() {

@@ -50,0 +41,0 @@ }

@@ -14,26 +14,19 @@ /*

/**
* @class
* Initializes a new instance of the JobHistoryDefinitionProperties class.
* @constructor
* @member {date} [startTime] Gets the start time for this job.
*
* @member {date} [endTime] Gets the end time for this job.
*
* @member {date} [expectedExecutionTime] Gets the expected execution time for
* this job.
*
* @member {string} [actionName] Gets the job history action name. Possible
* values include: 'MainAction', 'ErrorAction'
*
* @member {string} [status] Gets the job history status. Possible values
* include: 'Completed', 'Failed', 'Postponed'
*
* @member {string} [message] Gets the message for the job history.
*
* @member {number} [retryCount] Gets the retry count for job.
*
* @member {number} [repeatCount] Gets the repeat count for the job.
*
* Class representing a JobHistoryDefinitionProperties.
*/
class JobHistoryDefinitionProperties {
/**
* Create a JobHistoryDefinitionProperties.
* @member {date} [startTime] Gets the start time for this job.
* @member {date} [endTime] Gets the end time for this job.
* @member {date} [expectedExecutionTime] Gets the expected execution time
* for this job.
* @member {string} [actionName] Gets the job history action name. Possible
* values include: 'MainAction', 'ErrorAction'
* @member {string} [status] Gets the job history status. Possible values
* include: 'Completed', 'Failed', 'Postponed'
* @member {string} [message] Gets the message for the job history.
* @member {number} [retryCount] Gets the retry count for job.
* @member {number} [repeatCount] Gets the repeat count for the job.
*/
constructor() {

@@ -40,0 +33,0 @@ }

@@ -14,10 +14,10 @@ /*

/**
* @class
* Initializes a new instance of the JobHistoryFilter class.
* @constructor
* @member {string} [status] Gets or sets the job execution status. Possible
* values include: 'Completed', 'Failed', 'Postponed'
*
* Class representing a JobHistoryFilter.
*/
class JobHistoryFilter {
/**
* Create a JobHistoryFilter.
* @member {string} [status] Gets or sets the job execution status. Possible
* values include: 'Completed', 'Failed', 'Postponed'
*/
constructor() {

@@ -24,0 +24,0 @@ }

@@ -14,10 +14,10 @@ /*

/**
* @class
* Initializes a new instance of the JobHistoryListResult class.
* @constructor
* @member {string} [nextLink] Gets or sets the URL to get the next set of job
* histories.
*
* Class representing a JobHistoryListResult.
*/
class JobHistoryListResult extends Array {
/**
* Create a JobHistoryListResult.
* @member {string} [nextLink] Gets or sets the URL to get the next set of
* job histories.
*/
constructor() {

@@ -24,0 +24,0 @@ super();

@@ -14,10 +14,10 @@ /*

/**
* @class
* Initializes a new instance of the JobListResult class.
* @constructor
* @member {string} [nextLink] Gets or sets the URL to get the next set of
* jobs.
*
* Class representing a JobListResult.
*/
class JobListResult extends Array {
/**
* Create a JobListResult.
* @member {string} [nextLink] Gets or sets the URL to get the next set of
* jobs.
*/
constructor() {

@@ -24,0 +24,0 @@ super();

@@ -14,13 +14,12 @@ /*

/**
* @class
* Initializes a new instance of the JobMaxRecurrence class.
* @constructor
* @member {string} [frequency] Gets or sets the frequency of recurrence
* (second, minute, hour, day, week, month). Possible values include: 'Minute',
* 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [interval] Gets or sets the interval between retries.
*
* Class representing a JobMaxRecurrence.
*/
class JobMaxRecurrence {
/**
* Create a JobMaxRecurrence.
* @member {string} [frequency] Gets or sets the frequency of recurrence
* (second, minute, hour, day, week, month). Possible values include:
* 'Minute', 'Hour', 'Day', 'Week', 'Month'
* @member {number} [interval] Gets or sets the interval between retries.
*/
constructor() {

@@ -27,0 +26,0 @@ }

@@ -16,190 +16,129 @@ /*

/**
* @class
* Initializes a new instance of the JobProperties class.
* @constructor
* @member {date} [startTime] Gets or sets the job start time.
*
* @member {object} [action] Gets or sets the job action.
*
* @member {string} [action.type] Gets or sets the job action type. Possible
* values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',
* 'ServiceBusTopic'
*
* @member {object} [action.request] Gets or sets the http requests.
*
* @member {object} [action.request.authentication] Gets or sets the
* authentication method of the request.
*
* @member {string} [action.request.authentication.type] Gets or sets the HTTP
* authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [action.request.uri] Gets or sets the URI of the request.
*
* @member {string} [action.request.method] Gets or sets the method of the
* request.
*
* @member {string} [action.request.body] Gets or sets the request body.
*
* @member {object} [action.request.headers] Gets or sets the headers.
*
* @member {object} [action.queueMessage] Gets or sets the storage queue
* message.
*
* @member {string} [action.queueMessage.storageAccount] Gets or sets the
* storage account name.
*
* @member {string} [action.queueMessage.queueName] Gets or sets the queue
* name.
*
* @member {string} [action.queueMessage.sasToken] Gets or sets the SAS key.
*
* @member {string} [action.queueMessage.message] Gets or sets the message.
*
* @member {object} [action.serviceBusQueueMessage] Gets or sets the service
* bus queue message.
*
* @member {string} [action.serviceBusQueueMessage.queueName] Gets or sets the
* queue name.
*
* @member {object} [action.serviceBusTopicMessage] Gets or sets the service
* bus topic message.
*
* @member {string} [action.serviceBusTopicMessage.topicPath] Gets or sets the
* topic path.
*
* @member {object} [action.retryPolicy] Gets or sets the retry policy.
*
* @member {string} [action.retryPolicy.retryType] Gets or sets the retry
* strategy to be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [action.retryPolicy.retryInterval] Gets or sets
* the retry interval between retries, specify duration in ISO 8601 format.
*
* @member {number} [action.retryPolicy.retryCount] Gets or sets the number of
* times a retry should be attempted.
*
* @member {object} [action.errorAction] Gets or sets the error action.
*
* @member {string} [action.errorAction.type] Gets or sets the job error action
* type. Possible values include: 'Http', 'Https', 'StorageQueue',
* 'ServiceBusQueue', 'ServiceBusTopic'
*
* @member {object} [action.errorAction.request] Gets or sets the http
* requests.
*
* @member {object} [action.errorAction.request.authentication] Gets or sets
* the authentication method of the request.
*
* @member {string} [action.errorAction.request.authentication.type] Gets or
* sets the HTTP authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
*
* @member {string} [action.errorAction.request.uri] Gets or sets the URI of
* the request.
*
* @member {string} [action.errorAction.request.method] Gets or sets the method
* of the request.
*
* @member {string} [action.errorAction.request.body] Gets or sets the request
* body.
*
* @member {object} [action.errorAction.request.headers] Gets or sets the
* headers.
*
* @member {object} [action.errorAction.queueMessage] Gets or sets the storage
* queue message.
*
* @member {string} [action.errorAction.queueMessage.storageAccount] Gets or
* sets the storage account name.
*
* @member {string} [action.errorAction.queueMessage.queueName] Gets or sets
* the queue name.
*
* @member {string} [action.errorAction.queueMessage.sasToken] Gets or sets the
* SAS key.
*
* @member {string} [action.errorAction.queueMessage.message] Gets or sets the
* message.
*
* @member {object} [action.errorAction.serviceBusQueueMessage] Gets or sets
* the service bus queue message.
*
* @member {string} [action.errorAction.serviceBusQueueMessage.queueName] Gets
* or sets the queue name.
*
* @member {object} [action.errorAction.serviceBusTopicMessage] Gets or sets
* the service bus topic message.
*
* @member {string} [action.errorAction.serviceBusTopicMessage.topicPath] Gets
* or sets the topic path.
*
* @member {object} [action.errorAction.retryPolicy] Gets or sets the retry
* policy.
*
* @member {string} [action.errorAction.retryPolicy.retryType] Gets or sets the
* retry strategy to be used. Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [action.errorAction.retryPolicy.retryInterval]
* Gets or sets the retry interval between retries, specify duration in ISO
* 8601 format.
*
* @member {number} [action.errorAction.retryPolicy.retryCount] Gets or sets
* the number of times a retry should be attempted.
*
* @member {object} [recurrence] Gets or sets the job recurrence.
*
* @member {string} [recurrence.frequency] Gets or sets the frequency of
* recurrence (second, minute, hour, day, week, month). Possible values
* include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [recurrence.interval] Gets or sets the interval between
* retries.
*
* @member {number} [recurrence.count] Gets or sets the maximum number of times
* that the job should run.
*
* @member {date} [recurrence.endTime] Gets or sets the time at which the job
* will complete.
*
* @member {object} [recurrence.schedule]
*
* @member {array} [recurrence.schedule.weekDays] Gets or sets the days of the
* week that the job should execute on.
*
* @member {array} [recurrence.schedule.hours] Gets or sets the hours of the
* day that the job should execute at.
*
* @member {array} [recurrence.schedule.minutes] Gets or sets the minutes of
* the hour that the job should execute at.
*
* @member {array} [recurrence.schedule.monthDays] Gets or sets the days of the
* month that the job should execute on. Must be between 1 and 31.
*
* @member {array} [recurrence.schedule.monthlyOccurrences] Gets or sets the
* occurrences of days within a month.
*
* @member {string} [state] Gets or set the job state. Possible values include:
* 'Enabled', 'Disabled', 'Faulted', 'Completed'
*
* @member {object} [status] Gets the job status.
*
* @member {number} [status.executionCount] Gets the number of times this job
* has executed.
*
* @member {number} [status.failureCount] Gets the number of times this job has
* failed.
*
* @member {number} [status.faultedCount] Gets the number of faulted
* occurrences (occurrences that were retried and failed as many times as the
* retry policy states).
*
* @member {date} [status.lastExecutionTime] Gets the time the last occurrence
* executed in ISO-8601 format. Could be empty if job has not run yet.
*
* @member {date} [status.nextExecutionTime] Gets the time of the next
* occurrence in ISO-8601 format. Could be empty if the job is completed.
*
* Class representing a JobProperties.
*/
class JobProperties {
/**
* Create a JobProperties.
* @member {date} [startTime] Gets or sets the job start time.
* @member {object} [action] Gets or sets the job action.
* @member {string} [action.type] Gets or sets the job action type. Possible
* values include: 'Http', 'Https', 'StorageQueue', 'ServiceBusQueue',
* 'ServiceBusTopic'
* @member {object} [action.request] Gets or sets the http requests.
* @member {object} [action.request.authentication] Gets or sets the
* authentication method of the request.
* @member {string} [action.request.authentication.type] Gets or sets the
* HTTP authentication type. Possible values include: 'NotSpecified',
* 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
* @member {string} [action.request.uri] Gets or sets the URI of the request.
* @member {string} [action.request.method] Gets or sets the method of the
* request.
* @member {string} [action.request.body] Gets or sets the request body.
* @member {object} [action.request.headers] Gets or sets the headers.
* @member {object} [action.queueMessage] Gets or sets the storage queue
* message.
* @member {string} [action.queueMessage.storageAccount] Gets or sets the
* storage account name.
* @member {string} [action.queueMessage.queueName] Gets or sets the queue
* name.
* @member {string} [action.queueMessage.sasToken] Gets or sets the SAS key.
* @member {string} [action.queueMessage.message] Gets or sets the message.
* @member {object} [action.serviceBusQueueMessage] Gets or sets the service
* bus queue message.
* @member {string} [action.serviceBusQueueMessage.queueName] Gets or sets
* the queue name.
* @member {object} [action.serviceBusTopicMessage] Gets or sets the service
* bus topic message.
* @member {string} [action.serviceBusTopicMessage.topicPath] Gets or sets
* the topic path.
* @member {object} [action.retryPolicy] Gets or sets the retry policy.
* @member {string} [action.retryPolicy.retryType] Gets or sets the retry
* strategy to be used. Possible values include: 'None', 'Fixed'
* @member {moment.duration} [action.retryPolicy.retryInterval] Gets or sets
* the retry interval between retries, specify duration in ISO 8601 format.
* @member {number} [action.retryPolicy.retryCount] Gets or sets the number
* of times a retry should be attempted.
* @member {object} [action.errorAction] Gets or sets the error action.
* @member {string} [action.errorAction.type] Gets or sets the job error
* action type. Possible values include: 'Http', 'Https', 'StorageQueue',
* 'ServiceBusQueue', 'ServiceBusTopic'
* @member {object} [action.errorAction.request] Gets or sets the http
* requests.
* @member {object} [action.errorAction.request.authentication] Gets or sets
* the authentication method of the request.
* @member {string} [action.errorAction.request.authentication.type] Gets or
* sets the HTTP authentication type. Possible values include:
* 'NotSpecified', 'ClientCertificate', 'ActiveDirectoryOAuth', 'Basic'
* @member {string} [action.errorAction.request.uri] Gets or sets the URI of
* the request.
* @member {string} [action.errorAction.request.method] Gets or sets the
* method of the request.
* @member {string} [action.errorAction.request.body] Gets or sets the
* request body.
* @member {object} [action.errorAction.request.headers] Gets or sets the
* headers.
* @member {object} [action.errorAction.queueMessage] Gets or sets the
* storage queue message.
* @member {string} [action.errorAction.queueMessage.storageAccount] Gets or
* sets the storage account name.
* @member {string} [action.errorAction.queueMessage.queueName] Gets or sets
* the queue name.
* @member {string} [action.errorAction.queueMessage.sasToken] Gets or sets
* the SAS key.
* @member {string} [action.errorAction.queueMessage.message] Gets or sets
* the message.
* @member {object} [action.errorAction.serviceBusQueueMessage] Gets or sets
* the service bus queue message.
* @member {string} [action.errorAction.serviceBusQueueMessage.queueName]
* Gets or sets the queue name.
* @member {object} [action.errorAction.serviceBusTopicMessage] Gets or sets
* the service bus topic message.
* @member {string} [action.errorAction.serviceBusTopicMessage.topicPath]
* Gets or sets the topic path.
* @member {object} [action.errorAction.retryPolicy] Gets or sets the retry
* policy.
* @member {string} [action.errorAction.retryPolicy.retryType] Gets or sets
* the retry strategy to be used. Possible values include: 'None', 'Fixed'
* @member {moment.duration} [action.errorAction.retryPolicy.retryInterval]
* Gets or sets the retry interval between retries, specify duration in ISO
* 8601 format.
* @member {number} [action.errorAction.retryPolicy.retryCount] Gets or sets
* the number of times a retry should be attempted.
* @member {object} [recurrence] Gets or sets the job recurrence.
* @member {string} [recurrence.frequency] Gets or sets the frequency of
* recurrence (second, minute, hour, day, week, month). Possible values
* include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
* @member {number} [recurrence.interval] Gets or sets the interval between
* retries.
* @member {number} [recurrence.count] Gets or sets the maximum number of
* times that the job should run.
* @member {date} [recurrence.endTime] Gets or sets the time at which the job
* will complete.
* @member {object} [recurrence.schedule]
* @member {array} [recurrence.schedule.weekDays] Gets or sets the days of
* the week that the job should execute on.
* @member {array} [recurrence.schedule.hours] Gets or sets the hours of the
* day that the job should execute at.
* @member {array} [recurrence.schedule.minutes] Gets or sets the minutes of
* the hour that the job should execute at.
* @member {array} [recurrence.schedule.monthDays] Gets or sets the days of
* the month that the job should execute on. Must be between 1 and 31.
* @member {array} [recurrence.schedule.monthlyOccurrences] Gets or sets the
* occurrences of days within a month.
* @member {string} [state] Gets or set the job state. Possible values
* include: 'Enabled', 'Disabled', 'Faulted', 'Completed'
* @member {object} [status] Gets the job status.
* @member {number} [status.executionCount] Gets the number of times this job
* has executed.
* @member {number} [status.failureCount] Gets the number of times this job
* has failed.
* @member {number} [status.faultedCount] Gets the number of faulted
* occurrences (occurrences that were retried and failed as many times as the
* retry policy states).
* @member {date} [status.lastExecutionTime] Gets the time the last
* occurrence executed in ISO-8601 format. Could be empty if job has not run
* yet.
* @member {date} [status.nextExecutionTime] Gets the time of the next
* occurrence in ISO-8601 format. Could be empty if the job is completed.
*/
constructor() {

@@ -206,0 +145,0 @@ }

@@ -16,36 +16,27 @@ /*

/**
* @class
* Initializes a new instance of the JobRecurrence class.
* @constructor
* @member {string} [frequency] Gets or sets the frequency of recurrence
* (second, minute, hour, day, week, month). Possible values include: 'Minute',
* 'Hour', 'Day', 'Week', 'Month'
*
* @member {number} [interval] Gets or sets the interval between retries.
*
* @member {number} [count] Gets or sets the maximum number of times that the
* job should run.
*
* @member {date} [endTime] Gets or sets the time at which the job will
* complete.
*
* @member {object} [schedule]
*
* @member {array} [schedule.weekDays] Gets or sets the days of the week that
* the job should execute on.
*
* @member {array} [schedule.hours] Gets or sets the hours of the day that the
* job should execute at.
*
* @member {array} [schedule.minutes] Gets or sets the minutes of the hour that
* the job should execute at.
*
* @member {array} [schedule.monthDays] Gets or sets the days of the month that
* the job should execute on. Must be between 1 and 31.
*
* @member {array} [schedule.monthlyOccurrences] Gets or sets the occurrences
* of days within a month.
*
* Class representing a JobRecurrence.
*/
class JobRecurrence {
/**
* Create a JobRecurrence.
* @member {string} [frequency] Gets or sets the frequency of recurrence
* (second, minute, hour, day, week, month). Possible values include:
* 'Minute', 'Hour', 'Day', 'Week', 'Month'
* @member {number} [interval] Gets or sets the interval between retries.
* @member {number} [count] Gets or sets the maximum number of times that the
* job should run.
* @member {date} [endTime] Gets or sets the time at which the job will
* complete.
* @member {object} [schedule]
* @member {array} [schedule.weekDays] Gets or sets the days of the week that
* the job should execute on.
* @member {array} [schedule.hours] Gets or sets the hours of the day that
* the job should execute at.
* @member {array} [schedule.minutes] Gets or sets the minutes of the hour
* that the job should execute at.
* @member {array} [schedule.monthDays] Gets or sets the days of the month
* that the job should execute on. Must be between 1 and 31.
* @member {array} [schedule.monthlyOccurrences] Gets or sets the occurrences
* of days within a month.
*/
constructor() {

@@ -52,0 +43,0 @@ }

@@ -16,22 +16,18 @@ /*

/**
* @class
* Initializes a new instance of the JobRecurrenceSchedule class.
* @constructor
* @member {array} [weekDays] Gets or sets the days of the week that the job
* should execute on.
*
* @member {array} [hours] Gets or sets the hours of the day that the job
* should execute at.
*
* @member {array} [minutes] Gets or sets the minutes of the hour that the job
* should execute at.
*
* @member {array} [monthDays] Gets or sets the days of the month that the job
* should execute on. Must be between 1 and 31.
*
* @member {array} [monthlyOccurrences] Gets or sets the occurrences of days
* within a month.
*
* Class representing a JobRecurrenceSchedule.
*/
class JobRecurrenceSchedule {
/**
* Create a JobRecurrenceSchedule.
* @member {array} [weekDays] Gets or sets the days of the week that the job
* should execute on.
* @member {array} [hours] Gets or sets the hours of the day that the job
* should execute at.
* @member {array} [minutes] Gets or sets the minutes of the hour that the
* job should execute at.
* @member {array} [monthDays] Gets or sets the days of the month that the
* job should execute on. Must be between 1 and 31.
* @member {array} [monthlyOccurrences] Gets or sets the occurrences of days
* within a month.
*/
constructor() {

@@ -38,0 +34,0 @@ }

@@ -14,14 +14,14 @@ /*

/**
* @class
* Initializes a new instance of the JobRecurrenceScheduleMonthlyOccurrence class.
* @constructor
* @member {string} [day] Gets or sets the day. Must be one of monday, tuesday,
* wednesday, thursday, friday, saturday, sunday. Possible values include:
* 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'
*
* @member {number} [occurrence] Gets or sets the occurrence. Must be between
* -5 and 5.
*
* Class representing a JobRecurrenceScheduleMonthlyOccurrence.
*/
class JobRecurrenceScheduleMonthlyOccurrence {
/**
* Create a JobRecurrenceScheduleMonthlyOccurrence.
* @member {string} [day] Gets or sets the day. Must be one of monday,
* tuesday, wednesday, thursday, friday, saturday, sunday. Possible values
* include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday',
* 'Saturday', 'Sunday'
* @member {number} [occurrence] Gets or sets the occurrence. Must be between
* -5 and 5.
*/
constructor() {

@@ -28,0 +28,0 @@ }

@@ -14,10 +14,10 @@ /*

/**
* @class
* Initializes a new instance of the JobStateFilter class.
* @constructor
* @member {string} [state] Gets or sets the job state. Possible values
* include: 'Enabled', 'Disabled', 'Faulted', 'Completed'
*
* Class representing a JobStateFilter.
*/
class JobStateFilter {
/**
* Create a JobStateFilter.
* @member {string} [state] Gets or sets the job state. Possible values
* include: 'Enabled', 'Disabled', 'Faulted', 'Completed'
*/
constructor() {

@@ -24,0 +24,0 @@ }

@@ -14,23 +14,19 @@ /*

/**
* @class
* Initializes a new instance of the JobStatus class.
* @constructor
* @member {number} [executionCount] Gets the number of times this job has
* executed.
*
* @member {number} [failureCount] Gets the number of times this job has
* failed.
*
* @member {number} [faultedCount] Gets the number of faulted occurrences
* (occurrences that were retried and failed as many times as the retry policy
* states).
*
* @member {date} [lastExecutionTime] Gets the time the last occurrence
* executed in ISO-8601 format. Could be empty if job has not run yet.
*
* @member {date} [nextExecutionTime] Gets the time of the next occurrence in
* ISO-8601 format. Could be empty if the job is completed.
*
* Class representing a JobStatus.
*/
class JobStatus {
/**
* Create a JobStatus.
* @member {number} [executionCount] Gets the number of times this job has
* executed.
* @member {number} [failureCount] Gets the number of times this job has
* failed.
* @member {number} [faultedCount] Gets the number of faulted occurrences
* (occurrences that were retried and failed as many times as the retry
* policy states).
* @member {date} [lastExecutionTime] Gets the time the last occurrence
* executed in ISO-8601 format. Could be empty if job has not run yet.
* @member {date} [nextExecutionTime] Gets the time of the next occurrence in
* ISO-8601 format. Could be empty if the job is completed.
*/
constructor() {

@@ -37,0 +33,0 @@ }

@@ -16,16 +16,14 @@ /*

/**
* @class
* Initializes a new instance of the OAuthAuthentication class.
* @constructor
* @member {string} [secret] Gets or sets the secret, return value will always
* be empty.
*
* @member {string} [tenant] Gets or sets the tenant.
*
* @member {string} [audience] Gets or sets the audience.
*
* @member {string} [clientId] Gets or sets the client identifier.
*
* Class representing a OAuthAuthentication.
* @extends models['HttpAuthentication']
*/
class OAuthAuthentication extends models['HttpAuthentication'] {
/**
* Create a OAuthAuthentication.
* @member {string} [secret] Gets or sets the secret, return value will
* always be empty.
* @member {string} [tenant] Gets or sets the tenant.
* @member {string} [audience] Gets or sets the audience.
* @member {string} [clientId] Gets or sets the client identifier.
*/
constructor() {

@@ -32,0 +30,0 @@ super();

@@ -14,16 +14,14 @@ /*

/**
* @class
* Initializes a new instance of the RetryPolicy class.
* @constructor
* @member {string} [retryType] Gets or sets the retry strategy to be used.
* Possible values include: 'None', 'Fixed'
*
* @member {moment.duration} [retryInterval] Gets or sets the retry interval
* between retries, specify duration in ISO 8601 format.
*
* @member {number} [retryCount] Gets or sets the number of times a retry
* should be attempted.
*
* Class representing a RetryPolicy.
*/
class RetryPolicy {
/**
* Create a RetryPolicy.
* @member {string} [retryType] Gets or sets the retry strategy to be used.
* Possible values include: 'None', 'Fixed'
* @member {moment.duration} [retryInterval] Gets or sets the retry interval
* between retries, specify duration in ISO 8601 format.
* @member {number} [retryCount] Gets or sets the number of times a retry
* should be attempted.
*/
constructor() {

@@ -30,0 +28,0 @@ }

@@ -14,14 +14,12 @@ /*

/**
* @class
* Initializes a new instance of the ServiceBusAuthentication class.
* @constructor
* @member {string} [sasKey] Gets or sets the SAS key.
*
* @member {string} [sasKeyName] Gets or sets the SAS key name.
*
* @member {string} [type] Gets or sets the authentication type. Possible
* values include: 'NotSpecified', 'SharedAccessKey'
*
* Class representing a ServiceBusAuthentication.
*/
class ServiceBusAuthentication {
/**
* Create a ServiceBusAuthentication.
* @member {string} [sasKey] Gets or sets the SAS key.
* @member {string} [sasKeyName] Gets or sets the SAS key name.
* @member {string} [type] Gets or sets the authentication type. Possible
* values include: 'NotSpecified', 'SharedAccessKey'
*/
constructor() {

@@ -28,0 +26,0 @@ }

@@ -14,34 +14,22 @@ /*

/**
* @class
* Initializes a new instance of the ServiceBusBrokeredMessageProperties class.
* @constructor
* @member {string} [contentType] Gets or sets the content type.
*
* @member {string} [correlationId] Gets or sets the correlation ID.
*
* @member {boolean} [forcePersistence] Gets or sets the force persistence.
*
* @member {string} [label] Gets or sets the label.
*
* @member {string} [messageId] Gets or sets the message ID.
*
* @member {string} [partitionKey] Gets or sets the partition key.
*
* @member {string} [replyTo] Gets or sets the reply to.
*
* @member {string} [replyToSessionId] Gets or sets the reply to session ID.
*
* @member {date} [scheduledEnqueueTimeUtc] Gets or sets the scheduled enqueue
* time UTC.
*
* @member {string} [sessionId] Gets or sets the session ID.
*
* @member {moment.duration} [timeToLive] Gets or sets the time to live.
*
* @member {string} [to] Gets or sets the to.
*
* @member {string} [viaPartitionKey] Gets or sets the via partition key.
*
* Class representing a ServiceBusBrokeredMessageProperties.
*/
class ServiceBusBrokeredMessageProperties {
/**
* Create a ServiceBusBrokeredMessageProperties.
* @member {string} [contentType] Gets or sets the content type.
* @member {string} [correlationId] Gets or sets the correlation ID.
* @member {boolean} [forcePersistence] Gets or sets the force persistence.
* @member {string} [label] Gets or sets the label.
* @member {string} [messageId] Gets or sets the message ID.
* @member {string} [partitionKey] Gets or sets the partition key.
* @member {string} [replyTo] Gets or sets the reply to.
* @member {string} [replyToSessionId] Gets or sets the reply to session ID.
* @member {date} [scheduledEnqueueTimeUtc] Gets or sets the scheduled
* enqueue time UTC.
* @member {string} [sessionId] Gets or sets the session ID.
* @member {moment.duration} [timeToLive] Gets or sets the time to live.
* @member {string} [to] Gets or sets the to.
* @member {string} [viaPartitionKey] Gets or sets the via partition key.
*/
constructor() {

@@ -48,0 +36,0 @@ }

@@ -16,67 +16,47 @@ /*

/**
* @class
* Initializes a new instance of the ServiceBusMessage class.
* @constructor
* @member {object} [authentication] Gets or sets the Service Bus
* authentication.
*
* @member {string} [authentication.sasKey] Gets or sets the SAS key.
*
* @member {string} [authentication.sasKeyName] Gets or sets the SAS key name.
*
* @member {string} [authentication.type] Gets or sets the authentication type.
* Possible values include: 'NotSpecified', 'SharedAccessKey'
*
* @member {object} [brokeredMessageProperties] Gets or sets the brokered
* message properties.
*
* @member {string} [brokeredMessageProperties.contentType] Gets or sets the
* content type.
*
* @member {string} [brokeredMessageProperties.correlationId] Gets or sets the
* correlation ID.
*
* @member {boolean} [brokeredMessageProperties.forcePersistence] Gets or sets
* the force persistence.
*
* @member {string} [brokeredMessageProperties.label] Gets or sets the label.
*
* @member {string} [brokeredMessageProperties.messageId] Gets or sets the
* message ID.
*
* @member {string} [brokeredMessageProperties.partitionKey] Gets or sets the
* partition key.
*
* @member {string} [brokeredMessageProperties.replyTo] Gets or sets the reply
* to.
*
* @member {string} [brokeredMessageProperties.replyToSessionId] Gets or sets
* the reply to session ID.
*
* @member {date} [brokeredMessageProperties.scheduledEnqueueTimeUtc] Gets or
* sets the scheduled enqueue time UTC.
*
* @member {string} [brokeredMessageProperties.sessionId] Gets or sets the
* session ID.
*
* @member {moment.duration} [brokeredMessageProperties.timeToLive] Gets or
* sets the time to live.
*
* @member {string} [brokeredMessageProperties.to] Gets or sets the to.
*
* @member {string} [brokeredMessageProperties.viaPartitionKey] Gets or sets
* the via partition key.
*
* @member {object} [customMessageProperties] Gets or sets the custom message
* properties.
*
* @member {string} [message] Gets or sets the message.
*
* @member {string} [namespace] Gets or sets the namespace.
*
* @member {string} [transportType] Gets or sets the transport type. Possible
* values include: 'NotSpecified', 'NetMessaging', 'AMQP'
*
* Class representing a ServiceBusMessage.
*/
class ServiceBusMessage {
/**
* Create a ServiceBusMessage.
* @member {object} [authentication] Gets or sets the Service Bus
* authentication.
* @member {string} [authentication.sasKey] Gets or sets the SAS key.
* @member {string} [authentication.sasKeyName] Gets or sets the SAS key
* name.
* @member {string} [authentication.type] Gets or sets the authentication
* type. Possible values include: 'NotSpecified', 'SharedAccessKey'
* @member {object} [brokeredMessageProperties] Gets or sets the brokered
* message properties.
* @member {string} [brokeredMessageProperties.contentType] Gets or sets the
* content type.
* @member {string} [brokeredMessageProperties.correlationId] Gets or sets
* the correlation ID.
* @member {boolean} [brokeredMessageProperties.forcePersistence] Gets or
* sets the force persistence.
* @member {string} [brokeredMessageProperties.label] Gets or sets the label.
* @member {string} [brokeredMessageProperties.messageId] Gets or sets the
* message ID.
* @member {string} [brokeredMessageProperties.partitionKey] Gets or sets the
* partition key.
* @member {string} [brokeredMessageProperties.replyTo] Gets or sets the
* reply to.
* @member {string} [brokeredMessageProperties.replyToSessionId] Gets or sets
* the reply to session ID.
* @member {date} [brokeredMessageProperties.scheduledEnqueueTimeUtc] Gets or
* sets the scheduled enqueue time UTC.
* @member {string} [brokeredMessageProperties.sessionId] Gets or sets the
* session ID.
* @member {moment.duration} [brokeredMessageProperties.timeToLive] Gets or
* sets the time to live.
* @member {string} [brokeredMessageProperties.to] Gets or sets the to.
* @member {string} [brokeredMessageProperties.viaPartitionKey] Gets or sets
* the via partition key.
* @member {object} [customMessageProperties] Gets or sets the custom message
* properties.
* @member {string} [message] Gets or sets the message.
* @member {string} [namespace] Gets or sets the namespace.
* @member {string} [transportType] Gets or sets the transport type. Possible
* values include: 'NotSpecified', 'NetMessaging', 'AMQP'
*/
constructor() {

@@ -83,0 +63,0 @@ }

@@ -16,9 +16,10 @@ /*

/**
* @class
* Initializes a new instance of the ServiceBusQueueMessage class.
* @constructor
* @member {string} [queueName] Gets or sets the queue name.
*
* Class representing a ServiceBusQueueMessage.
* @extends models['ServiceBusMessage']
*/
class ServiceBusQueueMessage extends models['ServiceBusMessage'] {
/**
* Create a ServiceBusQueueMessage.
* @member {string} [queueName] Gets or sets the queue name.
*/
constructor() {

@@ -25,0 +26,0 @@ super();

@@ -16,9 +16,10 @@ /*

/**
* @class
* Initializes a new instance of the ServiceBusTopicMessage class.
* @constructor
* @member {string} [topicPath] Gets or sets the topic path.
*
* Class representing a ServiceBusTopicMessage.
* @extends models['ServiceBusMessage']
*/
class ServiceBusTopicMessage extends models['ServiceBusMessage'] {
/**
* Create a ServiceBusTopicMessage.
* @member {string} [topicPath] Gets or sets the topic path.
*/
constructor() {

@@ -25,0 +26,0 @@ super();

@@ -14,10 +14,10 @@ /*

/**
* @class
* Initializes a new instance of the Sku class.
* @constructor
* @member {string} [name] Gets or set the SKU. Possible values include:
* 'Standard', 'Free', 'P10Premium', 'P20Premium'
*
* Class representing a Sku.
*/
class Sku {
/**
* Create a Sku.
* @member {string} [name] Gets or set the SKU. Possible values include:
* 'Standard', 'Free', 'P10Premium', 'P20Premium'
*/
constructor() {

@@ -24,0 +24,0 @@ }

@@ -14,15 +14,12 @@ /*

/**
* @class
* Initializes a new instance of the StorageQueueMessage class.
* @constructor
* @member {string} [storageAccount] Gets or sets the storage account name.
*
* @member {string} [queueName] Gets or sets the queue name.
*
* @member {string} [sasToken] Gets or sets the SAS key.
*
* @member {string} [message] Gets or sets the message.
*
* Class representing a StorageQueueMessage.
*/
class StorageQueueMessage {
/**
* Create a StorageQueueMessage.
* @member {string} [storageAccount] Gets or sets the storage account name.
* @member {string} [queueName] Gets or sets the queue name.
* @member {string} [sasToken] Gets or sets the SAS key.
* @member {string} [message] Gets or sets the message.
*/
constructor() {

@@ -29,0 +26,0 @@ }

@@ -11,6 +11,7 @@ /*

import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationResponse, ServiceClientCredentials } from 'ms-rest';
import { ServiceClientCredentials } from 'ms-rest';
import { AzureServiceClient, AzureServiceClientOptions } from 'ms-rest-azure';
import * as operations from "./operations";
declare class SchedulerManagementClient {
declare class SchedulerManagementClient extends AzureServiceClient {
/**

@@ -36,4 +37,2 @@ * Initializes a new instance of the SchedulerManagementClient class.

*
* @param {string} [options.apiVersion] - The API version.
*
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.

@@ -46,3 +45,3 @@ *

*/
constructor(credentials: ServiceClientCredentials, subscriptionId: string, baseUri?: string, options?: ServiceClientOptions);
constructor(credentials: ServiceClientCredentials, subscriptionId: string, baseUri?: string, options?: AzureServiceClientOptions);

@@ -49,0 +48,0 @@ credentials: ServiceClientCredentials;

@@ -25,32 +25,18 @@ /*

/**
* @class
* Initializes a new instance of the SchedulerManagementClient class.
* @constructor
*
* @param {credentials} credentials - Credentials needed for the client to connect to Azure.
*
* @param {string} subscriptionId - The subscription id.
*
* @param {string} [baseUri] - The base URI of the service.
*
* @param {object} [options] - The parameter options
*
* @param {Array} [options.filters] - Filters to be added to the request pipeline
*
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
*
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
*
* @param {string} [options.apiVersion] - The API version.
*
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
*
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
*/
/** Class representing a SchedulerManagementClient. */
class SchedulerManagementClient extends ServiceClient {
/**
* Create a SchedulerManagementClient.
* @param {credentials} credentials - Credentials needed for the client to connect to Azure.
* @param {string} subscriptionId - The subscription id.
* @param {string} [baseUri] - The base URI of the service.
* @param {object} [options] - The parameter options
* @param {Array} [options.filters] - Filters to be added to the request pipeline
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*/
constructor(credentials, subscriptionId, baseUri, options) {

@@ -81,5 +67,2 @@ if (credentials === null || credentials === undefined) {

this.addUserAgentInfo(`${packageInfo.name}/${packageInfo.version}`);
if(options.apiVersion !== null && options.apiVersion !== undefined) {
this.apiVersion = options.apiVersion;
}
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {

@@ -86,0 +69,0 @@ this.acceptLanguage = options.acceptLanguage;

@@ -7,3 +7,3 @@ {

],
"version": "1.0.0-preview",
"version": "1.1.0-preview",
"description": "Microsoft Azure Scheduler Management Client Library for node",

@@ -22,4 +22,4 @@ "tags": [

"dependencies": {
"ms-rest": "^2.0.0",
"ms-rest-azure": "^2.0.0"
"ms-rest": "^2.2.2",
"ms-rest-azure": "^2.3.3"
},

@@ -26,0 +26,0 @@ "homepage": "http://github.com/Azure/azure-sdk-for-node",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc