diff --git a/packages/@azure/batch/LICENSE.txt b/packages/@azure/batch/LICENSE.txt index 5431ba98b936..8f3d856145c5 100644 --- a/packages/@azure/batch/LICENSE.txt +++ b/packages/@azure/batch/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/@azure/batch/README.md b/packages/@azure/batch/README.md index 59280be26b71..b5790eda1432 100644 --- a/packages/@azure/batch/README.md +++ b/packages/@azure/batch/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for BatchServiceClient. ### How to Install -``` +```bash npm install @azure/batch ``` @@ -19,13 +19,13 @@ npm install @azure/batch ##### Install @azure/ms-rest-nodeauth -``` +```bash npm install @azure/ms-rest-nodeauth ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; @@ -52,7 +52,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` diff --git a/packages/@azure/batch/lib/batchServiceClient.ts b/packages/@azure/batch/lib/batchServiceClient.ts index 3c072681bf74..8e4fb1f453ad 100644 --- a/packages/@azure/batch/lib/batchServiceClient.ts +++ b/packages/@azure/batch/lib/batchServiceClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -30,10 +31,11 @@ class BatchServiceClient extends BatchServiceClientContext { /** * Initializes a new instance of the BatchServiceClient class. * @param credentials Credentials needed for the client to connect to Azure. + * @param batchUrl The base URL for all Azure Batch service requests. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.BatchServiceClientOptions) { - super(credentials, options); + constructor(credentials: msRest.ServiceClientCredentials, batchUrl: string, options?: msRestAzure.AzureServiceClientOptions) { + super(credentials, batchUrl, options); this.application = new operations.Application(this); this.pool = new operations.Pool(this); this.account = new operations.Account(this); diff --git a/packages/@azure/batch/lib/batchServiceClientContext.ts b/packages/@azure/batch/lib/batchServiceClientContext.ts index 8a5f3c08e362..a6d87b8768e1 100644 --- a/packages/@azure/batch/lib/batchServiceClientContext.ts +++ b/packages/@azure/batch/lib/batchServiceClientContext.ts @@ -8,26 +8,30 @@ * regenerated. */ -import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/batch"; -const packageVersion = "0.1.0"; +const packageVersion = "6.0.0"; export class BatchServiceClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; apiVersion?: string; + batchUrl: string; /** * Initializes a new instance of the BatchServiceClient class. * @param credentials Credentials needed for the client to connect to Azure. + * @param batchUrl The base URL for all Azure Batch service requests. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.BatchServiceClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials, batchUrl: string, options?: msRestAzure.AzureServiceClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } + if (batchUrl == undefined) { + throw new Error('\'batchUrl\' cannot be null.'); + } if (!options) { options = {}; @@ -39,12 +43,13 @@ export class BatchServiceClientContext extends msRestAzure.AzureServiceClient { super(credentials, options); - this.apiVersion = '2018-08-01.7.0'; + this.apiVersion = '2018-12-01.8.0'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; - this.baseUri = options.baseUri || this.baseUri || "https://batch.core.windows.net"; + this.baseUri = '{batchUrl}'; this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; + this.batchUrl = batchUrl; if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; diff --git a/packages/@azure/batch/lib/models/index.ts b/packages/@azure/batch/lib/models/index.ts index 0c25f5051f41..3bb6d73e2d22 100644 --- a/packages/@azure/batch/lib/models/index.ts +++ b/packages/@azure/batch/lib/models/index.ts @@ -8,7 +8,7 @@ * regenerated. */ -import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; +import { BaseResource, CloudError } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; @@ -49,16 +49,6 @@ export interface PoolUsageMetrics { * during this aggregation interval. */ totalCoreHours: number; - /** - * @member {number} dataIngressGiB The cross data center network ingress to - * the pool during this interval, in GiB. - */ - dataIngressGiB: number; - /** - * @member {number} dataEgressGiB The cross data center network egress from - * the pool during this interval, in GiB. - */ - dataEgressGiB: number; } /** @@ -99,9 +89,8 @@ export interface ImageReference { * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}. * This property is mutually exclusive with other ImageReference properties. * The virtual machine image must be in the same region and subscription as - * the Azure Batch account. For information about the firewall settings for - * the Batch node agent to communicate with the Batch service see - * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. + * the Azure Batch account. For more details, see + * https://docs.microsoft.com/azure/batch/batch-custom-images. */ virtualMachineImageId?: string; } @@ -714,6 +703,28 @@ export interface JobConstraints { maxTaskRetryCount?: number; } +/** + * @interface + * An interface representing JobNetworkConfiguration. + * @summary The network configuration for the job. + * + */ +export interface JobNetworkConfiguration { + /** + * @member {string} subnetId The ARM resource identifier of the virtual + * network subnet which nodes running tasks from the job will join for the + * duration of the task. This is only supported for jobs running on + * VirtualMachineConfiguration pools. This is of the form + * /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. + * The virtual network must be in the same region and subscription as the + * Azure Batch account. The specified subnet should have enough free IP + * addresses to accommodate the number of nodes which will run tasks from the + * job. For more details, see + * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. + */ + subnetId: string; +} + /** * @interface * An interface representing ContainerRegistry. @@ -768,24 +779,63 @@ export interface TaskContainerSettings { /** * @interface * An interface representing ResourceFile. - * @summary A file to be downloaded from Azure blob storage to a compute node. + * @summary A single file or multiple files to be downloaded to a compute node. * */ export interface ResourceFile { /** - * @member {string} blobSource The URL of the file within Azure Blob Storage. - * This URL must be readable using anonymous access; that is, the Batch - * service does not present any credentials when downloading the blob. There - * are two ways to get such a URL for a blob in Azure storage: include a - * Shared Access Signature (SAS) granting read permissions on the blob, or - * set the ACL for the blob or its container to allow public access. - */ - blobSource: string; - /** - * @member {string} filePath The location on the compute node to which to - * download the file, relative to the task's working directory. - */ - filePath: string; + * @member {string} [autoStorageContainerName] The storage container name in + * the auto storage account. The autoStorageContainerName, + * storageContainerUrl and httpUrl properties are mutually exclusive and one + * of them must be specified. + */ + autoStorageContainerName?: string; + /** + * @member {string} [storageContainerUrl] The URL of the blob container + * within Azure Blob Storage. The autoStorageContainerName, + * storageContainerUrl and httpUrl properties are mutually exclusive and one + * of them must be specified. This URL must be readable and listable using + * anonymous access; that is, the Batch service does not present any + * credentials when downloading blobs from the container. There are two ways + * to get such a URL for a container in Azure storage: include a Shared + * Access Signature (SAS) granting read and list permissions on the + * container, or set the ACL for the container to allow public access. + */ + storageContainerUrl?: string; + /** + * @member {string} [httpUrl] The URL of the file to download. The + * autoStorageContainerName, storageContainerUrl and httpUrl properties are + * mutually exclusive and one of them must be specified. If the URL points to + * Azure Blob Storage, it must be readable using anonymous access; that is, + * the Batch service does not present any credentials when downloading the + * blob. There are two ways to get such a URL for a blob in Azure storage: + * include a Shared Access Signature (SAS) granting read permissions on the + * blob, or set the ACL for the blob or its container to allow public access. + */ + httpUrl?: string; + /** + * @member {string} [blobPrefix] The blob prefix to use when downloading + * blobs from an Azure Storage container. Only the blobs whose names begin + * with the specified prefix will be downloaded. The property is valid only + * when autoStorageContainerName or storageContainerUrl is used. This prefix + * can be a partial filename or a subdirectory. If a prefix is not specified, + * all the files in the container will be downloaded. + */ + blobPrefix?: string; + /** + * @member {string} [filePath] The location on the compute node to which to + * download the file(s), relative to the task's working directory. If the + * httpUrl property is specified, the filePath is required and describes the + * path which the file will be downloaded to, including the filename. + * Otherwise, if the autoStorageContainerName or storageContainerUrl property + * is specified, filePath is optional and is the directory to download the + * files to. In the case where filePath is used as a directory, any directory + * structure already associated with the input data will be retained in full + * and appended to the specified filePath directory. The specified relative + * path cannot break out of the task's working directory (for example by + * using '..'). + */ + filePath?: string; /** * @member {string} [fileMode] The file permission mode attribute in octal * format. This property applies only to files being downloaded to Linux @@ -927,7 +977,7 @@ export interface ExitConditions { * code not listed in the exitCodes or exitCodeRanges collection, with a * pre-processing error if the preProcessingError property is not present, or * with a file upload error if the fileUploadError property is not present. - * If you want non-default behaviour on exit code 0, you must list it + * If you want non-default behavior on exit code 0, you must list it * explicitly using the exitCodes or exitCodeRanges collection. */ default?: ExitOptions; @@ -959,10 +1009,7 @@ export interface AutoUserSpecification { * An interface representing UserIdentity. * @summary The definition of the user identity under which the task is run. * - * Specify either the userName or autoUser property, but not both. On - * CloudServiceConfiguration pools, this user is logged in with the INTERACTIVE - * flag. On Windows VirtualMachineConfiguration pools, this user is logged in - * with the BATCH flag. + * Specify either the userName or autoUser property, but not both. * */ export interface UserIdentity { @@ -1012,6 +1059,22 @@ export interface LinuxUserConfiguration { sshPrivateKey?: string; } +/** + * @interface + * An interface representing WindowsUserConfiguration. + * @summary Properties used to create a user account on a Windows node. + * + */ +export interface WindowsUserConfiguration { + /** + * @member {LoginMode} [loginMode] The login mode for the user. The default + * value for VirtualMachineConfiguration pools is batch and for + * CloudServiceConfiguration pools is interactive. Possible values include: + * 'batch', 'interactive' + */ + loginMode?: LoginMode; +} + /** * @interface * An interface representing UserAccount. @@ -1041,6 +1104,13 @@ export interface UserAccount { * created with the default options. */ linuxUserConfiguration?: LinuxUserConfiguration; + /** + * @member {WindowsUserConfiguration} [windowsUserConfiguration] The + * Windows-specific user configuration for the user account. This property + * can only be specified if the user is on a Windows pool. If not specified + * and on a Windows pool, the user is created with the default options. + */ + windowsUserConfiguration?: WindowsUserConfiguration; } /** @@ -1061,8 +1131,9 @@ export interface TaskConstraints { * @member {string} [retentionTime] The minimum time to retain the task * directory on the compute node where it ran, from the time it completes * execution. After this time, the Batch service may delete the task - * directory and all its contents. The default is infinite, i.e. the task - * directory will be retained until the compute node is removed or reimaged. + * directory and all its contents. The default is 7 days, i.e. the task + * directory will be retained for 7 days unless the compute node is removed + * or the job is deleted. */ retentionTime?: string; /** @@ -1075,8 +1146,6 @@ export interface TaskConstraints { * initial try and 3 retries). If the maximum retry count is 0, the Batch * service does not retry the task after the first attempt. If the maximum * retry count is -1, the Batch service retries the task without limit. - * Resource files and application packages are only downloaded again if the - * task is retried on a new compute node. */ maxTaskRetryCount?: number; } @@ -1451,7 +1520,7 @@ export interface JobPreparationTask { /** * @member {UserIdentity} [userIdentity] The user identity under which the * Job Preparation task runs. If omitted, the task runs as a - * non-administrative user unique to the task on Windows nodes, or a a + * non-administrative user unique to the task on Windows nodes, or a * non-administrative user unique to the pool on Linux nodes. */ userIdentity?: UserIdentity; @@ -1555,8 +1624,8 @@ export interface JobReleaseTask { * @member {string} [retentionTime] The minimum time to retain the task * directory for the Job Release task on the compute node. After this time, * the Batch service may delete the task directory and all its contents. The - * default is infinite, i.e. the task directory will be retained until the - * compute node is removed or reimaged. + * default is 7 days, i.e. the task directory will be retained for 7 days + * unless the compute node is removed or the job is deleted. */ retentionTime?: string; /** @@ -1762,41 +1831,11 @@ export interface CloudServiceConfiguration { */ osFamily: string; /** - * @member {string} [targetOSVersion] The Azure Guest OS version to be - * installed on the virtual machines in the pool. The default value is * - * which specifies the latest operating system version for the specified OS - * family. - */ - targetOSVersion?: string; - /** - * @member {string} [currentOSVersion] The Azure Guest OS Version currently - * installed on the virtual machines in the pool. This may differ from - * targetOSVersion if the pool state is Upgrading. In this case some virtual - * machines may be on the targetOSVersion and some may be on the - * currentOSVersion during the upgrade process. Once all virtual machines - * have upgraded, currentOSVersion is updated to be the same as - * targetOSVersion. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * @member {string} [osVersion] The Azure Guest OS version to be installed on + * the virtual machines in the pool. The default value is * which specifies + * the latest operating system version for the specified OS family. */ - readonly currentOSVersion?: string; -} - -/** - * @interface - * An interface representing OSDisk. - * @summary Settings for the operating system disk of the virtual machine. - * - */ -export interface OSDisk { - /** - * @member {CachingType} [caching] The type of caching to enable for the OS - * disk. The default value for caching is readwrite. For information about - * the caching options see: - * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. - * Possible values include: 'none', 'readOnly', 'readWrite' - */ - caching?: CachingType; + osVersion?: string; } /** @@ -1883,11 +1922,6 @@ export interface VirtualMachineConfiguration { * Machines Marketplace image or the custom Virtual Machine image to use. */ imageReference: ImageReference; - /** - * @member {OSDisk} [osDisk] Settings for the operating system disk of the - * Virtual Machine. - */ - osDisk?: OSDisk; /** * @member {string} nodeAgentSKUId The SKU of the Batch node agent to be * provisioned on compute nodes in the pool. The Batch node agent is a @@ -1903,13 +1937,12 @@ export interface VirtualMachineConfiguration { /** * @member {WindowsConfiguration} [windowsConfiguration] Windows operating * system settings on the virtual machine. This property must not be - * specified if the imageReference or osDisk property specifies a Linux OS - * image. + * specified if the imageReference property specifies a Linux OS image. */ windowsConfiguration?: WindowsConfiguration; /** * @member {DataDisk[]} [dataDisks] The configuration for data disks attached - * to the comptue nodes in the pool. This property must be specified if the + * to the compute nodes in the pool. This property must be specified if the * compute nodes in the pool need to have empty data disks attached to them. * This cannot be updated. Each node gets its own disk (the disk is not a * file share). Existing disks cannot be attached, each attached disk is @@ -2068,27 +2101,19 @@ export interface NetworkConfiguration { * Azure Batch account. The specified subnet should have enough free IP * addresses to accommodate the number of nodes in the pool. If the subnet * doesn't have enough free IP addresses, the pool will partially allocate - * compute nodes, and a resize error will occur. The 'MicrosoftAzureBatch' - * service principal must have the 'Classic Virtual Machine Contributor' - * Role-Based Access Control (RBAC) role for the specified VNet. The - * specified subnet must allow communication from the Azure Batch service to - * be able to schedule tasks on the compute nodes. This can be verified by - * checking if the specified VNet has any associated Network Security Groups - * (NSG). If communication to the compute nodes in the specified subnet is - * denied by an NSG, then the Batch service will set the state of the compute - * nodes to unusable. For pools created with virtualMachineConfiguration only - * ARM virtual networks ('Microsoft.Network/virtualNetworks') are supported, - * but for pools created with cloudServiceConfiguration both ARM and classic - * virtual networks are supported. If the specified VNet has any associated - * Network Security Groups (NSG), then a few reserved system ports must be - * enabled for inbound communication. For pools created with a virtual - * machine configuration, enable ports 29876 and 29877, as well as port 22 - * for Linux and port 3389 for Windows. For pools created with a cloud - * service configuration, enable ports 10100, 20100, and 30100. Also enable - * outbound connections to Azure Storage on port 443. For more details see: + * compute nodes, and a resize error will occur. For pools created with + * virtualMachineConfiguration only ARM virtual networks + * ('Microsoft.Network/virtualNetworks') are supported, but for pools created + * with cloudServiceConfiguration both ARM and classic virtual networks are + * supported. For more details, see: * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration */ subnetId?: string; + /** + * @member {DynamicVNetAssignmentScope} [dynamicVNetAssignmentScope] The + * scope of dynamic vnet assignment. Possible values include: 'none', 'job' + */ + dynamicVNetAssignmentScope?: DynamicVNetAssignmentScope; /** * @member {PoolEndpointConfiguration} [endpointConfiguration] The * configuration for endpoints on compute nodes in the Batch pool. Pool @@ -2386,6 +2411,11 @@ export interface JobSpecification { * 'performExitOptionsJobAction' */ onTaskFailure?: OnTaskFailure; + /** + * @member {JobNetworkConfiguration} [networkConfiguration] The network + * configuration for the job. + */ + networkConfiguration?: JobNetworkConfiguration; /** * @member {JobConstraints} [constraints] The execution constraints for jobs * created under this schedule. @@ -2923,6 +2953,11 @@ export interface CloudJob { * 'noAction', 'performExitOptionsJobAction' */ onTaskFailure?: OnTaskFailure; + /** + * @member {JobNetworkConfiguration} [networkConfiguration] The network + * configuration for the job. + */ + networkConfiguration?: JobNetworkConfiguration; /** * @member {MetadataItem[]} [metadata] A list of name-value pairs associated * with the job as metadata. The Batch service does not assign any meaning to @@ -2936,9 +2971,11 @@ export interface CloudJob { executionInfo?: JobExecutionInformation; /** * @member {JobStatistics} [stats] Resource usage statistics for the entire - * lifetime of the job. The statistics may not be immediately available. The - * Batch service performs periodic roll-up of statistics. The typical delay - * is about 30 minutes. + * lifetime of the job. This property is populated only if the CloudJob was + * retrieved with an expand clause including the 'stats' attribute; otherwise + * it is null. The statistics may not be immediately available. The Batch + * service performs periodic roll-up of statistics. The typical delay is + * about 30 minutes. */ stats?: JobStatistics; } @@ -3054,6 +3091,11 @@ export interface JobAddParameter { * define dependencies on each other. The default is false. */ usesTaskDependencies?: boolean; + /** + * @member {JobNetworkConfiguration} [networkConfiguration] The network + * configuration for the job. + */ + networkConfiguration?: JobNetworkConfiguration; } /** @@ -3457,7 +3499,7 @@ export interface CloudPool { creationTime?: Date; /** * @member {PoolState} [state] The current state of the pool. Possible values - * include: 'active', 'deleting', 'upgrading' + * include: 'active', 'deleting' */ state?: PoolState; /** @@ -3627,7 +3669,9 @@ export interface CloudPool { metadata?: MetadataItem[]; /** * @member {PoolStatistics} [stats] Utilization and resource usage statistics - * for the entire lifetime of the pool. The statistics may not be immediately + * for the entire lifetime of the pool. This property is populated only if + * the CloudPool was retrieved with an expand clause including the 'stats' + * attribute; otherwise it is null. The statistics may not be immediately * available. The Batch service performs periodic roll-up of statistics. The * typical delay is about 30 minutes. */ @@ -3985,7 +4029,10 @@ export interface NodeAgentInformation { * An interface representing MultiInstanceSettings. * @summary Settings which specify how to run a multi-instance task. * - * Multi-instance tasks are commonly used to support MPI tasks. + * Multi-instance tasks are commonly used to support MPI tasks. In MPI + * scenario, if any of the subtasks fail, for example, exiting with a non-zero + * return code, the entire multi-instance task fails. The multi-instance task + * is then terminated and retried, up to its retry limit. * */ export interface MultiInstanceSettings { @@ -4431,8 +4478,8 @@ export interface TaskAddParameter { /** * @member {TaskConstraints} [constraints] The execution constraints that * apply to this task. If you do not specify constraints, the - * maxTaskRetryCount is the maxTaskRetryCount specified for the job, and the - * maxWallClockTime and retentionTime are infinite. + * maxTaskRetryCount is the maxTaskRetryCount specified for the job, the + * maxWallClockTime is infinite, and the retentionTime is 7 days. */ constraints?: TaskConstraints; /** @@ -4917,7 +4964,7 @@ export interface ComputeNode { /** * @member {ComputeNodeState} [state] The current state of the compute node. * The low-priority node has been preempted. Tasks which were running on the - * node when it was pre-empted will be rescheduled when another node becomes + * node when it was preempted will be rescheduled when another node becomes * available. Possible values include: 'idle', 'rebooting', 'reimaging', * 'running', 'unusable', 'creating', 'starting', 'waitingForStartTask', * 'startTaskFailed', 'unknown', 'leavingPool', 'offline', 'preempted' @@ -4935,13 +4982,15 @@ export interface ComputeNode { */ stateTransitionTime?: Date; /** - * @member {Date} [lastBootTime] The time at which the compute node was + * @member {Date} [lastBootTime] The last time at which the compute node was * started. This property may not be present if the node state is unusable. */ lastBootTime?: Date; /** * @member {Date} [allocationTime] The time at which this compute node was - * allocated to the pool. + * allocated to the pool. This is the time when the node was initially + * allocated and doesn't change once set. It is not updated when the node is + * service healed or preempted. */ allocationTime?: Date; /** @@ -5417,21 +5466,6 @@ export interface PoolUpdatePropertiesParameter { metadata: MetadataItem[]; } -/** - * @interface - * An interface representing PoolUpgradeOSParameter. - * @summary Options for upgrading the operating system of compute nodes in a - * pool. - * - */ -export interface PoolUpgradeOSParameter { - /** - * @member {string} targetOSVersion The Azure Guest OS version to be - * installed on the virtual machines in the pool. - */ - targetOSVersion: string; -} - /** * @interface * An interface representing PoolPatchParameter. @@ -6529,66 +6563,6 @@ export interface PoolUpdatePropertiesOptions { ocpDate?: Date; } -/** - * @interface - * An interface representing PoolUpgradeOSOptions. - * Additional parameters for upgradeOS operation. - * - */ -export interface PoolUpgradeOSOptions { - /** - * @member {number} [timeout] The maximum time that the server can spend - * processing the request, in seconds. The default is 30 seconds. Default - * value: 30 . - */ - timeout?: number; - /** - * @member {string} [clientRequestId] The caller-generated request identity, - * in the form of a GUID with no decoration such as curly braces, e.g. - * 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. - */ - clientRequestId?: string; - /** - * @member {boolean} [returnClientRequestId] Whether the server should return - * the client-request-id in the response. Default value: false . - */ - returnClientRequestId?: boolean; - /** - * @member {Date} [ocpDate] The time the request was issued. Client libraries - * typically set this to the current system clock time; set it explicitly if - * you are calling the REST API directly. - */ - ocpDate?: Date; - /** - * @member {string} [ifMatch] An ETag value associated with the version of - * the resource known to the client. The operation will be performed only if - * the resource's current ETag on the service exactly matches the value - * specified by the client. - */ - ifMatch?: string; - /** - * @member {string} [ifNoneMatch] An ETag value associated with the version - * of the resource known to the client. The operation will be performed only - * if the resource's current ETag on the service does not match the value - * specified by the client. - */ - ifNoneMatch?: string; - /** - * @member {Date} [ifModifiedSince] A timestamp indicating the last modified - * time of the resource known to the client. The operation will be performed - * only if the resource on the service has been modified since the specified - * time. - */ - ifModifiedSince?: Date; - /** - * @member {Date} [ifUnmodifiedSince] A timestamp indicating the last - * modified time of the resource known to the client. The operation will be - * performed only if the resource on the service has not been modified since - * the specified time. - */ - ifUnmodifiedSince?: Date; -} - /** * @interface * An interface representing PoolRemoveNodesOptions. @@ -9987,21 +9961,6 @@ export interface PoolUpdatePropertiesOptionalParams extends msRest.RequestOption poolUpdatePropertiesOptions?: PoolUpdatePropertiesOptions; } -/** - * @interface - * An interface representing PoolUpgradeOSOptionalParams. - * Optional Parameters. - * - * @extends RequestOptionsBase - */ -export interface PoolUpgradeOSOptionalParams extends msRest.RequestOptionsBase { - /** - * @member {PoolUpgradeOSOptions} [poolUpgradeOSOptions] Additional - * parameters for the operation - */ - poolUpgradeOSOptions?: PoolUpgradeOSOptions; -} - /** * @interface * An interface representing PoolRemoveNodesOptionalParams. @@ -11169,18 +11128,6 @@ export interface ComputeNodeListNextOptionalParams extends msRest.RequestOptions computeNodeListNextOptions?: ComputeNodeListNextOptions; } -/** - * @interface - * An interface representing BatchServiceClientOptions. - * @extends AzureServiceClientOptions - */ -export interface BatchServiceClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ - baseUri?: string; -} - /** * @interface * An interface representing ApplicationListHeaders. @@ -13309,48 +13256,6 @@ export interface PoolUpdatePropertiesHeaders { dataServiceId: string; } -/** - * @interface - * An interface representing PoolUpgradeOSHeaders. - * Defines headers for UpgradeOS operation. - * - */ -export interface PoolUpgradeOSHeaders { - /** - * @member {string} [clientRequestId] The client-request-id provided by the - * client during the request. This will be returned only if the - * return-client-request-id parameter was set to true. - */ - clientRequestId: string; - /** - * @member {string} [requestId] A unique identifier for the request that was - * made to the Batch service. If a request is consistently failing and you - * have verified that the request is properly formulated, you may use this - * value to report the error to Microsoft. In your report, include the value - * of this request ID, the approximate time that the request was made, the - * Batch account against which the request was made, and the region that - * account resides in. - */ - requestId: string; - /** - * @member {string} [eTag] The ETag HTTP response header. This is an opaque - * string. You can use it to detect whether the resource has changed between - * requests. In particular, you can pass the ETag to one of the - * If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers. - */ - eTag: string; - /** - * @member {Date} [lastModified] The time at which the resource was last - * modified. - */ - lastModified: Date; - /** - * @member {string} [dataServiceId] The OData ID of the resource to which the - * request applied. - */ - dataServiceId: string; -} - /** * @interface * An interface representing PoolRemoveNodesHeaders. @@ -14412,6 +14317,14 @@ export type AutoUserScope = 'task' | 'pool'; */ export type ElevationLevel = 'nonadmin' | 'admin'; +/** + * Defines values for LoginMode. + * Possible values include: 'batch', 'interactive' + * @readonly + * @enum {string} + */ +export type LoginMode = 'batch' | 'interactive'; + /** * Defines values for OutputFileUploadCondition. * Possible values include: 'taskSuccess', 'taskFailure', 'taskCompletion' @@ -14460,6 +14373,14 @@ export type CachingType = 'none' | 'readonly' | 'readwrite'; */ export type StorageAccountType = 'standard_lrs' | 'premium_lrs'; +/** + * Defines values for DynamicVNetAssignmentScope. + * Possible values include: 'none', 'job' + * @readonly + * @enum {string} + */ +export type DynamicVNetAssignmentScope = 'none' | 'job'; + /** * Defines values for InboundEndpointProtocol. * Possible values include: 'tcp', 'udp' @@ -14551,11 +14472,11 @@ export type JobReleaseTaskState = 'running' | 'completed'; /** * Defines values for PoolState. - * Possible values include: 'active', 'deleting', 'upgrading' + * Possible values include: 'active', 'deleting' * @readonly * @enum {string} */ -export type PoolState = 'active' | 'deleting' | 'upgrading'; +export type PoolState = 'active' | 'deleting'; /** * Defines values for AllocationState. @@ -14963,21 +14884,6 @@ export type PoolUpdatePropertiesResponse = PoolUpdatePropertiesHeaders & { }; }; -/** - * Contains response data for the upgradeOS operation. - */ -export type PoolUpgradeOSResponse = PoolUpgradeOSHeaders & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The parsed HTTP response headers. - */ - parsedHeaders: PoolUpgradeOSHeaders; - }; -}; - /** * Contains response data for the removeNodes operation. */ diff --git a/packages/@azure/batch/lib/models/jobMappers.ts b/packages/@azure/batch/lib/models/jobMappers.ts index 371d5e7a8e9a..f984c4ef0fa4 100644 --- a/packages/@azure/batch/lib/models/jobMappers.ts +++ b/packages/@azure/batch/lib/models/jobMappers.ts @@ -39,7 +39,6 @@ export { CloudServiceConfiguration, VirtualMachineConfiguration, ImageReference, - OSDisk, WindowsConfiguration, DataDisk, ContainerConfiguration, @@ -52,7 +51,9 @@ export { CertificateReference, UserAccount, LinuxUserConfiguration, + WindowsUserConfiguration, MetadataItem, + JobNetworkConfiguration, JobExecutionInformation, JobSchedulingError, NameValuePair, diff --git a/packages/@azure/batch/lib/models/jobScheduleMappers.ts b/packages/@azure/batch/lib/models/jobScheduleMappers.ts index 5587978dc8e7..9899e97f6894 100644 --- a/packages/@azure/batch/lib/models/jobScheduleMappers.ts +++ b/packages/@azure/batch/lib/models/jobScheduleMappers.ts @@ -17,6 +17,7 @@ export { CloudJobSchedule, Schedule, JobSpecification, + JobNetworkConfiguration, JobConstraints, JobManagerTask, TaskContainerSettings, @@ -40,7 +41,6 @@ export { CloudServiceConfiguration, VirtualMachineConfiguration, ImageReference, - OSDisk, WindowsConfiguration, DataDisk, ContainerConfiguration, @@ -53,6 +53,7 @@ export { CertificateReference, UserAccount, LinuxUserConfiguration, + WindowsUserConfiguration, MetadataItem, JobScheduleExecutionInformation, RecentJob, diff --git a/packages/@azure/batch/lib/models/mappers.ts b/packages/@azure/batch/lib/models/mappers.ts index cb5e1fdd584d..e2f47fb51dc2 100644 --- a/packages/@azure/batch/lib/models/mappers.ts +++ b/packages/@azure/batch/lib/models/mappers.ts @@ -54,20 +54,6 @@ export const PoolUsageMetrics: msRest.CompositeMapper = { type: { name: "Number" } - }, - dataIngressGiB: { - required: true, - serializedName: "dataIngressGiB", - type: { - name: "Number" - } - }, - dataEgressGiB: { - required: true, - serializedName: "dataEgressGiB", - type: { - name: "Number" - } } } } @@ -830,6 +816,23 @@ export const JobConstraints: msRest.CompositeMapper = { } }; +export const JobNetworkConfiguration: msRest.CompositeMapper = { + serializedName: "JobNetworkConfiguration", + type: { + name: "Composite", + className: "JobNetworkConfiguration", + modelProperties: { + subnetId: { + required: true, + serializedName: "subnetId", + type: { + name: "String" + } + } + } + } +}; + export const ContainerRegistry: msRest.CompositeMapper = { serializedName: "ContainerRegistry", type: { @@ -896,15 +899,31 @@ export const ResourceFile: msRest.CompositeMapper = { name: "Composite", className: "ResourceFile", modelProperties: { - blobSource: { - required: true, - serializedName: "blobSource", + autoStorageContainerName: { + serializedName: "autoStorageContainerName", + type: { + name: "String" + } + }, + storageContainerUrl: { + serializedName: "storageContainerUrl", + type: { + name: "String" + } + }, + httpUrl: { + serializedName: "httpUrl", + type: { + name: "String" + } + }, + blobPrefix: { + serializedName: "blobPrefix", type: { name: "String" } }, filePath: { - required: true, serializedName: "filePath", type: { name: "String" @@ -1167,6 +1186,26 @@ export const LinuxUserConfiguration: msRest.CompositeMapper = { } }; +export const WindowsUserConfiguration: msRest.CompositeMapper = { + serializedName: "WindowsUserConfiguration", + type: { + name: "Composite", + className: "WindowsUserConfiguration", + modelProperties: { + loginMode: { + serializedName: "loginMode", + type: { + name: "Enum", + allowedValues: [ + "batch", + "interactive" + ] + } + } + } + } +}; + export const UserAccount: msRest.CompositeMapper = { serializedName: "UserAccount", type: { @@ -1203,6 +1242,13 @@ export const UserAccount: msRest.CompositeMapper = { name: "Composite", className: "LinuxUserConfiguration" } + }, + windowsUserConfiguration: { + serializedName: "windowsUserConfiguration", + type: { + name: "Composite", + className: "WindowsUserConfiguration" + } } } } @@ -1789,15 +1835,8 @@ export const CloudServiceConfiguration: msRest.CompositeMapper = { name: "String" } }, - targetOSVersion: { - serializedName: "targetOSVersion", - type: { - name: "String" - } - }, - currentOSVersion: { - readOnly: true, - serializedName: "currentOSVersion", + osVersion: { + serializedName: "osVersion", type: { name: "String" } @@ -1806,27 +1845,6 @@ export const CloudServiceConfiguration: msRest.CompositeMapper = { } }; -export const OSDisk: msRest.CompositeMapper = { - serializedName: "OSDisk", - type: { - name: "Composite", - className: "OSDisk", - modelProperties: { - caching: { - serializedName: "caching", - type: { - name: "Enum", - allowedValues: [ - "none", - "readonly", - "readwrite" - ] - } - } - } - } -}; - export const WindowsConfiguration: msRest.CompositeMapper = { serializedName: "WindowsConfiguration", type: { @@ -1944,13 +1962,6 @@ export const VirtualMachineConfiguration: msRest.CompositeMapper = { className: "ImageReference" } }, - osDisk: { - serializedName: "osDisk", - type: { - name: "Composite", - className: "OSDisk" - } - }, nodeAgentSKUId: { required: true, serializedName: "nodeAgentSKUId", @@ -2125,6 +2136,16 @@ export const NetworkConfiguration: msRest.CompositeMapper = { name: "String" } }, + dynamicVNetAssignmentScope: { + serializedName: "dynamicVNetAssignmentScope", + type: { + name: "Enum", + allowedValues: [ + "none", + "job" + ] + } + }, endpointConfiguration: { serializedName: "endpointConfiguration", type: { @@ -2408,6 +2429,13 @@ export const JobSpecification: msRest.CompositeMapper = { ] } }, + networkConfiguration: { + serializedName: "networkConfiguration", + type: { + name: "Composite", + className: "JobNetworkConfiguration" + } + }, constraints: { serializedName: "constraints", type: { @@ -3058,6 +3086,13 @@ export const CloudJob: msRest.CompositeMapper = { ] } }, + networkConfiguration: { + serializedName: "networkConfiguration", + type: { + name: "Composite", + className: "JobNetworkConfiguration" + } + }, metadata: { serializedName: "metadata", type: { @@ -3199,6 +3234,13 @@ export const JobAddParameter: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + networkConfiguration: { + serializedName: "networkConfiguration", + type: { + name: "Composite", + className: "JobNetworkConfiguration" + } } } } @@ -3675,8 +3717,7 @@ export const CloudPool: msRest.CompositeMapper = { name: "Enum", allowedValues: [ "active", - "deleting", - "upgrading" + "deleting" ] } }, @@ -5898,23 +5939,6 @@ export const PoolUpdatePropertiesParameter: msRest.CompositeMapper = { } }; -export const PoolUpgradeOSParameter: msRest.CompositeMapper = { - serializedName: "PoolUpgradeOSParameter", - type: { - name: "Composite", - className: "PoolUpgradeOSParameter", - modelProperties: { - targetOSVersion: { - required: true, - serializedName: "targetOSVersion", - type: { - name: "String" - } - } - } - } -}; - export const PoolPatchParameter: msRest.CompositeMapper = { serializedName: "PoolPatchParameter", type: { @@ -7008,57 +7032,6 @@ export const PoolUpdatePropertiesOptions: msRest.CompositeMapper = { } }; -export const PoolUpgradeOSOptions: msRest.CompositeMapper = { - type: { - name: "Composite", - className: "PoolUpgradeOSOptions", - modelProperties: { - timeout: { - defaultValue: 30, - type: { - name: "Number" - } - }, - clientRequestId: { - type: { - name: "Uuid" - } - }, - returnClientRequestId: { - defaultValue: false, - type: { - name: "Boolean" - } - }, - ocpDate: { - type: { - name: "DateTimeRfc1123" - } - }, - ifMatch: { - type: { - name: "String" - } - }, - ifNoneMatch: { - type: { - name: "String" - } - }, - ifModifiedSince: { - type: { - name: "DateTimeRfc1123" - } - }, - ifUnmodifiedSince: { - type: { - name: "DateTimeRfc1123" - } - } - } - } -}; - export const PoolRemoveNodesOptions: msRest.CompositeMapper = { type: { name: "Composite", @@ -11988,46 +11961,6 @@ export const PoolUpdatePropertiesHeaders: msRest.CompositeMapper = { } }; -export const PoolUpgradeOSHeaders: msRest.CompositeMapper = { - serializedName: "pool-upgradeos-headers", - type: { - name: "Composite", - className: "PoolUpgradeOSHeaders", - modelProperties: { - clientRequestId: { - serializedName: "client-request-id", - type: { - name: "Uuid" - } - }, - requestId: { - serializedName: "request-id", - type: { - name: "Uuid" - } - }, - eTag: { - serializedName: "etag", - type: { - name: "String" - } - }, - lastModified: { - serializedName: "last-modified", - type: { - name: "DateTimeRfc1123" - } - }, - dataServiceId: { - serializedName: "dataserviceid", - type: { - name: "String" - } - } - } - } -}; - export const PoolRemoveNodesHeaders: msRest.CompositeMapper = { serializedName: "pool-removenodes-headers", type: { diff --git a/packages/@azure/batch/lib/models/parameters.ts b/packages/@azure/batch/lib/models/parameters.ts index c51942fbfcc3..4c80b2d3ecf2 100644 --- a/packages/@azure/batch/lib/models/parameters.ts +++ b/packages/@azure/batch/lib/models/parameters.ts @@ -40,6 +40,18 @@ export const applicationId: msRest.OperationURLParameter = { } } }; +export const batchUrl: msRest.OperationURLParameter = { + parameterPath: "batchUrl", + mapper: { + required: true, + serializedName: "batchUrl", + defaultValue: '', + type: { + name: "String" + } + }, + skipEncoding: true +}; export const clientRequestId0: msRest.OperationParameter = { parameterPath: [ "options", @@ -160,7 +172,7 @@ export const clientRequestId16: msRest.OperationParameter = { export const clientRequestId17: msRest.OperationParameter = { parameterPath: [ "options", - "poolUpgradeOSOptions", + "poolRemoveNodesOptions", "clientRequestId" ], mapper: { @@ -173,7 +185,7 @@ export const clientRequestId17: msRest.OperationParameter = { export const clientRequestId18: msRest.OperationParameter = { parameterPath: [ "options", - "poolRemoveNodesOptions", + "poolListUsageMetricsNextOptions", "clientRequestId" ], mapper: { @@ -186,7 +198,7 @@ export const clientRequestId18: msRest.OperationParameter = { export const clientRequestId19: msRest.OperationParameter = { parameterPath: [ "options", - "poolListUsageMetricsNextOptions", + "poolListNextOptions", "clientRequestId" ], mapper: { @@ -212,7 +224,7 @@ export const clientRequestId2: msRest.OperationParameter = { export const clientRequestId20: msRest.OperationParameter = { parameterPath: [ "options", - "poolListNextOptions", + "accountListNodeAgentSkusOptions", "clientRequestId" ], mapper: { @@ -225,7 +237,7 @@ export const clientRequestId20: msRest.OperationParameter = { export const clientRequestId21: msRest.OperationParameter = { parameterPath: [ "options", - "accountListNodeAgentSkusOptions", + "accountListPoolNodeCountsOptions", "clientRequestId" ], mapper: { @@ -238,7 +250,7 @@ export const clientRequestId21: msRest.OperationParameter = { export const clientRequestId22: msRest.OperationParameter = { parameterPath: [ "options", - "accountListPoolNodeCountsOptions", + "accountListNodeAgentSkusNextOptions", "clientRequestId" ], mapper: { @@ -251,7 +263,7 @@ export const clientRequestId22: msRest.OperationParameter = { export const clientRequestId23: msRest.OperationParameter = { parameterPath: [ "options", - "accountListNodeAgentSkusNextOptions", + "accountListPoolNodeCountsNextOptions", "clientRequestId" ], mapper: { @@ -264,7 +276,7 @@ export const clientRequestId23: msRest.OperationParameter = { export const clientRequestId24: msRest.OperationParameter = { parameterPath: [ "options", - "accountListPoolNodeCountsNextOptions", + "jobGetAllLifetimeStatisticsOptions", "clientRequestId" ], mapper: { @@ -277,7 +289,7 @@ export const clientRequestId24: msRest.OperationParameter = { export const clientRequestId25: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetAllLifetimeStatisticsOptions", + "jobDeleteMethodOptions", "clientRequestId" ], mapper: { @@ -290,7 +302,7 @@ export const clientRequestId25: msRest.OperationParameter = { export const clientRequestId26: msRest.OperationParameter = { parameterPath: [ "options", - "jobDeleteMethodOptions", + "jobGetOptions", "clientRequestId" ], mapper: { @@ -303,7 +315,7 @@ export const clientRequestId26: msRest.OperationParameter = { export const clientRequestId27: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetOptions", + "jobPatchOptions", "clientRequestId" ], mapper: { @@ -316,7 +328,7 @@ export const clientRequestId27: msRest.OperationParameter = { export const clientRequestId28: msRest.OperationParameter = { parameterPath: [ "options", - "jobPatchOptions", + "jobUpdateOptions", "clientRequestId" ], mapper: { @@ -329,7 +341,7 @@ export const clientRequestId28: msRest.OperationParameter = { export const clientRequestId29: msRest.OperationParameter = { parameterPath: [ "options", - "jobUpdateOptions", + "jobDisableOptions", "clientRequestId" ], mapper: { @@ -355,7 +367,7 @@ export const clientRequestId3: msRest.OperationParameter = { export const clientRequestId30: msRest.OperationParameter = { parameterPath: [ "options", - "jobDisableOptions", + "jobEnableOptions", "clientRequestId" ], mapper: { @@ -368,7 +380,7 @@ export const clientRequestId30: msRest.OperationParameter = { export const clientRequestId31: msRest.OperationParameter = { parameterPath: [ "options", - "jobEnableOptions", + "jobTerminateOptions", "clientRequestId" ], mapper: { @@ -381,7 +393,7 @@ export const clientRequestId31: msRest.OperationParameter = { export const clientRequestId32: msRest.OperationParameter = { parameterPath: [ "options", - "jobTerminateOptions", + "jobAddOptions", "clientRequestId" ], mapper: { @@ -394,7 +406,7 @@ export const clientRequestId32: msRest.OperationParameter = { export const clientRequestId33: msRest.OperationParameter = { parameterPath: [ "options", - "jobAddOptions", + "jobListOptions", "clientRequestId" ], mapper: { @@ -407,7 +419,7 @@ export const clientRequestId33: msRest.OperationParameter = { export const clientRequestId34: msRest.OperationParameter = { parameterPath: [ "options", - "jobListOptions", + "jobListFromJobScheduleOptions", "clientRequestId" ], mapper: { @@ -420,7 +432,7 @@ export const clientRequestId34: msRest.OperationParameter = { export const clientRequestId35: msRest.OperationParameter = { parameterPath: [ "options", - "jobListFromJobScheduleOptions", + "jobListPreparationAndReleaseTaskStatusOptions", "clientRequestId" ], mapper: { @@ -433,7 +445,7 @@ export const clientRequestId35: msRest.OperationParameter = { export const clientRequestId36: msRest.OperationParameter = { parameterPath: [ "options", - "jobListPreparationAndReleaseTaskStatusOptions", + "jobGetTaskCountsOptions", "clientRequestId" ], mapper: { @@ -446,7 +458,7 @@ export const clientRequestId36: msRest.OperationParameter = { export const clientRequestId37: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetTaskCountsOptions", + "jobListNextOptions", "clientRequestId" ], mapper: { @@ -459,7 +471,7 @@ export const clientRequestId37: msRest.OperationParameter = { export const clientRequestId38: msRest.OperationParameter = { parameterPath: [ "options", - "jobListNextOptions", + "jobListFromJobScheduleNextOptions", "clientRequestId" ], mapper: { @@ -472,7 +484,7 @@ export const clientRequestId38: msRest.OperationParameter = { export const clientRequestId39: msRest.OperationParameter = { parameterPath: [ "options", - "jobListFromJobScheduleNextOptions", + "jobListPreparationAndReleaseTaskStatusNextOptions", "clientRequestId" ], mapper: { @@ -498,7 +510,7 @@ export const clientRequestId4: msRest.OperationParameter = { export const clientRequestId40: msRest.OperationParameter = { parameterPath: [ "options", - "jobListPreparationAndReleaseTaskStatusNextOptions", + "certificateAddOptions", "clientRequestId" ], mapper: { @@ -511,7 +523,7 @@ export const clientRequestId40: msRest.OperationParameter = { export const clientRequestId41: msRest.OperationParameter = { parameterPath: [ "options", - "certificateAddOptions", + "certificateListOptions", "clientRequestId" ], mapper: { @@ -524,7 +536,7 @@ export const clientRequestId41: msRest.OperationParameter = { export const clientRequestId42: msRest.OperationParameter = { parameterPath: [ "options", - "certificateListOptions", + "certificateCancelDeletionOptions", "clientRequestId" ], mapper: { @@ -537,7 +549,7 @@ export const clientRequestId42: msRest.OperationParameter = { export const clientRequestId43: msRest.OperationParameter = { parameterPath: [ "options", - "certificateCancelDeletionOptions", + "certificateDeleteMethodOptions", "clientRequestId" ], mapper: { @@ -550,7 +562,7 @@ export const clientRequestId43: msRest.OperationParameter = { export const clientRequestId44: msRest.OperationParameter = { parameterPath: [ "options", - "certificateDeleteMethodOptions", + "certificateGetOptions", "clientRequestId" ], mapper: { @@ -563,7 +575,7 @@ export const clientRequestId44: msRest.OperationParameter = { export const clientRequestId45: msRest.OperationParameter = { parameterPath: [ "options", - "certificateGetOptions", + "certificateListNextOptions", "clientRequestId" ], mapper: { @@ -576,7 +588,7 @@ export const clientRequestId45: msRest.OperationParameter = { export const clientRequestId46: msRest.OperationParameter = { parameterPath: [ "options", - "certificateListNextOptions", + "fileDeleteFromTaskOptions", "clientRequestId" ], mapper: { @@ -589,7 +601,7 @@ export const clientRequestId46: msRest.OperationParameter = { export const clientRequestId47: msRest.OperationParameter = { parameterPath: [ "options", - "fileDeleteFromTaskOptions", + "fileGetFromTaskOptions", "clientRequestId" ], mapper: { @@ -602,7 +614,7 @@ export const clientRequestId47: msRest.OperationParameter = { export const clientRequestId48: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetFromTaskOptions", + "fileGetPropertiesFromTaskOptions", "clientRequestId" ], mapper: { @@ -615,7 +627,7 @@ export const clientRequestId48: msRest.OperationParameter = { export const clientRequestId49: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetPropertiesFromTaskOptions", + "fileDeleteFromComputeNodeOptions", "clientRequestId" ], mapper: { @@ -641,7 +653,7 @@ export const clientRequestId5: msRest.OperationParameter = { export const clientRequestId50: msRest.OperationParameter = { parameterPath: [ "options", - "fileDeleteFromComputeNodeOptions", + "fileGetFromComputeNodeOptions", "clientRequestId" ], mapper: { @@ -654,7 +666,7 @@ export const clientRequestId50: msRest.OperationParameter = { export const clientRequestId51: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetFromComputeNodeOptions", + "fileGetPropertiesFromComputeNodeOptions", "clientRequestId" ], mapper: { @@ -667,7 +679,7 @@ export const clientRequestId51: msRest.OperationParameter = { export const clientRequestId52: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetPropertiesFromComputeNodeOptions", + "fileListFromTaskOptions", "clientRequestId" ], mapper: { @@ -680,7 +692,7 @@ export const clientRequestId52: msRest.OperationParameter = { export const clientRequestId53: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromTaskOptions", + "fileListFromComputeNodeOptions", "clientRequestId" ], mapper: { @@ -693,7 +705,7 @@ export const clientRequestId53: msRest.OperationParameter = { export const clientRequestId54: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromComputeNodeOptions", + "fileListFromTaskNextOptions", "clientRequestId" ], mapper: { @@ -706,7 +718,7 @@ export const clientRequestId54: msRest.OperationParameter = { export const clientRequestId55: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromTaskNextOptions", + "fileListFromComputeNodeNextOptions", "clientRequestId" ], mapper: { @@ -719,7 +731,7 @@ export const clientRequestId55: msRest.OperationParameter = { export const clientRequestId56: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromComputeNodeNextOptions", + "jobScheduleExistsOptions", "clientRequestId" ], mapper: { @@ -732,7 +744,7 @@ export const clientRequestId56: msRest.OperationParameter = { export const clientRequestId57: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleExistsOptions", + "jobScheduleDeleteMethodOptions", "clientRequestId" ], mapper: { @@ -745,7 +757,7 @@ export const clientRequestId57: msRest.OperationParameter = { export const clientRequestId58: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDeleteMethodOptions", + "jobScheduleGetOptions", "clientRequestId" ], mapper: { @@ -758,7 +770,7 @@ export const clientRequestId58: msRest.OperationParameter = { export const clientRequestId59: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleGetOptions", + "jobSchedulePatchOptions", "clientRequestId" ], mapper: { @@ -784,7 +796,7 @@ export const clientRequestId6: msRest.OperationParameter = { export const clientRequestId60: msRest.OperationParameter = { parameterPath: [ "options", - "jobSchedulePatchOptions", + "jobScheduleUpdateOptions", "clientRequestId" ], mapper: { @@ -797,7 +809,7 @@ export const clientRequestId60: msRest.OperationParameter = { export const clientRequestId61: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleUpdateOptions", + "jobScheduleDisableOptions", "clientRequestId" ], mapper: { @@ -810,7 +822,7 @@ export const clientRequestId61: msRest.OperationParameter = { export const clientRequestId62: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDisableOptions", + "jobScheduleEnableOptions", "clientRequestId" ], mapper: { @@ -823,7 +835,7 @@ export const clientRequestId62: msRest.OperationParameter = { export const clientRequestId63: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleEnableOptions", + "jobScheduleTerminateOptions", "clientRequestId" ], mapper: { @@ -836,7 +848,7 @@ export const clientRequestId63: msRest.OperationParameter = { export const clientRequestId64: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleTerminateOptions", + "jobScheduleAddOptions", "clientRequestId" ], mapper: { @@ -849,7 +861,7 @@ export const clientRequestId64: msRest.OperationParameter = { export const clientRequestId65: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleAddOptions", + "jobScheduleListOptions", "clientRequestId" ], mapper: { @@ -862,7 +874,7 @@ export const clientRequestId65: msRest.OperationParameter = { export const clientRequestId66: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleListOptions", + "jobScheduleListNextOptions", "clientRequestId" ], mapper: { @@ -875,7 +887,7 @@ export const clientRequestId66: msRest.OperationParameter = { export const clientRequestId67: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleListNextOptions", + "taskAddOptions", "clientRequestId" ], mapper: { @@ -888,7 +900,7 @@ export const clientRequestId67: msRest.OperationParameter = { export const clientRequestId68: msRest.OperationParameter = { parameterPath: [ "options", - "taskAddOptions", + "taskListOptions", "clientRequestId" ], mapper: { @@ -901,7 +913,7 @@ export const clientRequestId68: msRest.OperationParameter = { export const clientRequestId69: msRest.OperationParameter = { parameterPath: [ "options", - "taskListOptions", + "taskAddCollectionOptions", "clientRequestId" ], mapper: { @@ -927,7 +939,7 @@ export const clientRequestId7: msRest.OperationParameter = { export const clientRequestId70: msRest.OperationParameter = { parameterPath: [ "options", - "taskAddCollectionOptions", + "taskDeleteMethodOptions", "clientRequestId" ], mapper: { @@ -940,7 +952,7 @@ export const clientRequestId70: msRest.OperationParameter = { export const clientRequestId71: msRest.OperationParameter = { parameterPath: [ "options", - "taskDeleteMethodOptions", + "taskGetOptions", "clientRequestId" ], mapper: { @@ -953,7 +965,7 @@ export const clientRequestId71: msRest.OperationParameter = { export const clientRequestId72: msRest.OperationParameter = { parameterPath: [ "options", - "taskGetOptions", + "taskUpdateOptions", "clientRequestId" ], mapper: { @@ -966,7 +978,7 @@ export const clientRequestId72: msRest.OperationParameter = { export const clientRequestId73: msRest.OperationParameter = { parameterPath: [ "options", - "taskUpdateOptions", + "taskListSubtasksOptions", "clientRequestId" ], mapper: { @@ -979,7 +991,7 @@ export const clientRequestId73: msRest.OperationParameter = { export const clientRequestId74: msRest.OperationParameter = { parameterPath: [ "options", - "taskListSubtasksOptions", + "taskTerminateOptions", "clientRequestId" ], mapper: { @@ -992,7 +1004,7 @@ export const clientRequestId74: msRest.OperationParameter = { export const clientRequestId75: msRest.OperationParameter = { parameterPath: [ "options", - "taskTerminateOptions", + "taskReactivateOptions", "clientRequestId" ], mapper: { @@ -1005,7 +1017,7 @@ export const clientRequestId75: msRest.OperationParameter = { export const clientRequestId76: msRest.OperationParameter = { parameterPath: [ "options", - "taskReactivateOptions", + "taskListNextOptions", "clientRequestId" ], mapper: { @@ -1018,7 +1030,7 @@ export const clientRequestId76: msRest.OperationParameter = { export const clientRequestId77: msRest.OperationParameter = { parameterPath: [ "options", - "taskListNextOptions", + "computeNodeAddUserOptions", "clientRequestId" ], mapper: { @@ -1031,7 +1043,7 @@ export const clientRequestId77: msRest.OperationParameter = { export const clientRequestId78: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeAddUserOptions", + "computeNodeDeleteUserOptions", "clientRequestId" ], mapper: { @@ -1044,7 +1056,7 @@ export const clientRequestId78: msRest.OperationParameter = { export const clientRequestId79: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeDeleteUserOptions", + "computeNodeUpdateUserOptions", "clientRequestId" ], mapper: { @@ -1070,7 +1082,7 @@ export const clientRequestId8: msRest.OperationParameter = { export const clientRequestId80: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeUpdateUserOptions", + "computeNodeGetOptions", "clientRequestId" ], mapper: { @@ -1083,7 +1095,7 @@ export const clientRequestId80: msRest.OperationParameter = { export const clientRequestId81: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeGetOptions", + "computeNodeRebootOptions", "clientRequestId" ], mapper: { @@ -1096,7 +1108,7 @@ export const clientRequestId81: msRest.OperationParameter = { export const clientRequestId82: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeRebootOptions", + "computeNodeReimageOptions", "clientRequestId" ], mapper: { @@ -1109,7 +1121,7 @@ export const clientRequestId82: msRest.OperationParameter = { export const clientRequestId83: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeReimageOptions", + "computeNodeDisableSchedulingOptions", "clientRequestId" ], mapper: { @@ -1122,7 +1134,7 @@ export const clientRequestId83: msRest.OperationParameter = { export const clientRequestId84: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeDisableSchedulingOptions", + "computeNodeEnableSchedulingOptions", "clientRequestId" ], mapper: { @@ -1135,7 +1147,7 @@ export const clientRequestId84: msRest.OperationParameter = { export const clientRequestId85: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeEnableSchedulingOptions", + "computeNodeGetRemoteLoginSettingsOptions", "clientRequestId" ], mapper: { @@ -1148,7 +1160,7 @@ export const clientRequestId85: msRest.OperationParameter = { export const clientRequestId86: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeGetRemoteLoginSettingsOptions", + "computeNodeGetRemoteDesktopOptions", "clientRequestId" ], mapper: { @@ -1161,7 +1173,7 @@ export const clientRequestId86: msRest.OperationParameter = { export const clientRequestId87: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeGetRemoteDesktopOptions", + "computeNodeUploadBatchServiceLogsOptions", "clientRequestId" ], mapper: { @@ -1174,7 +1186,7 @@ export const clientRequestId87: msRest.OperationParameter = { export const clientRequestId88: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeUploadBatchServiceLogsOptions", + "computeNodeListOptions", "clientRequestId" ], mapper: { @@ -1187,7 +1199,7 @@ export const clientRequestId88: msRest.OperationParameter = { export const clientRequestId89: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeListOptions", + "computeNodeListNextOptions", "clientRequestId" ], mapper: { @@ -1210,19 +1222,6 @@ export const clientRequestId9: msRest.OperationParameter = { } } }; -export const clientRequestId90: msRest.OperationParameter = { - parameterPath: [ - "options", - "computeNodeListNextOptions", - "clientRequestId" - ], - mapper: { - serializedName: "client-request-id", - type: { - name: "Uuid" - } - } -}; export const endTime: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -1561,7 +1560,7 @@ export const ifMatch1: msRest.OperationParameter = { export const ifMatch10: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetOptions", + "jobPatchOptions", "ifMatch" ], mapper: { @@ -1574,7 +1573,7 @@ export const ifMatch10: msRest.OperationParameter = { export const ifMatch11: msRest.OperationParameter = { parameterPath: [ "options", - "jobPatchOptions", + "jobUpdateOptions", "ifMatch" ], mapper: { @@ -1587,7 +1586,7 @@ export const ifMatch11: msRest.OperationParameter = { export const ifMatch12: msRest.OperationParameter = { parameterPath: [ "options", - "jobUpdateOptions", + "jobDisableOptions", "ifMatch" ], mapper: { @@ -1600,7 +1599,7 @@ export const ifMatch12: msRest.OperationParameter = { export const ifMatch13: msRest.OperationParameter = { parameterPath: [ "options", - "jobDisableOptions", + "jobEnableOptions", "ifMatch" ], mapper: { @@ -1613,7 +1612,7 @@ export const ifMatch13: msRest.OperationParameter = { export const ifMatch14: msRest.OperationParameter = { parameterPath: [ "options", - "jobEnableOptions", + "jobTerminateOptions", "ifMatch" ], mapper: { @@ -1626,7 +1625,7 @@ export const ifMatch14: msRest.OperationParameter = { export const ifMatch15: msRest.OperationParameter = { parameterPath: [ "options", - "jobTerminateOptions", + "jobScheduleExistsOptions", "ifMatch" ], mapper: { @@ -1639,7 +1638,7 @@ export const ifMatch15: msRest.OperationParameter = { export const ifMatch16: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleExistsOptions", + "jobScheduleDeleteMethodOptions", "ifMatch" ], mapper: { @@ -1652,7 +1651,7 @@ export const ifMatch16: msRest.OperationParameter = { export const ifMatch17: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDeleteMethodOptions", + "jobScheduleGetOptions", "ifMatch" ], mapper: { @@ -1665,7 +1664,7 @@ export const ifMatch17: msRest.OperationParameter = { export const ifMatch18: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleGetOptions", + "jobSchedulePatchOptions", "ifMatch" ], mapper: { @@ -1678,7 +1677,7 @@ export const ifMatch18: msRest.OperationParameter = { export const ifMatch19: msRest.OperationParameter = { parameterPath: [ "options", - "jobSchedulePatchOptions", + "jobScheduleUpdateOptions", "ifMatch" ], mapper: { @@ -1702,19 +1701,6 @@ export const ifMatch2: msRest.OperationParameter = { } }; export const ifMatch20: msRest.OperationParameter = { - parameterPath: [ - "options", - "jobScheduleUpdateOptions", - "ifMatch" - ], - mapper: { - serializedName: "If-Match", - type: { - name: "String" - } - } -}; -export const ifMatch21: msRest.OperationParameter = { parameterPath: [ "options", "jobScheduleDisableOptions", @@ -1727,7 +1713,7 @@ export const ifMatch21: msRest.OperationParameter = { } } }; -export const ifMatch22: msRest.OperationParameter = { +export const ifMatch21: msRest.OperationParameter = { parameterPath: [ "options", "jobScheduleEnableOptions", @@ -1740,7 +1726,7 @@ export const ifMatch22: msRest.OperationParameter = { } } }; -export const ifMatch23: msRest.OperationParameter = { +export const ifMatch22: msRest.OperationParameter = { parameterPath: [ "options", "jobScheduleTerminateOptions", @@ -1753,7 +1739,7 @@ export const ifMatch23: msRest.OperationParameter = { } } }; -export const ifMatch24: msRest.OperationParameter = { +export const ifMatch23: msRest.OperationParameter = { parameterPath: [ "options", "taskDeleteMethodOptions", @@ -1766,7 +1752,7 @@ export const ifMatch24: msRest.OperationParameter = { } } }; -export const ifMatch25: msRest.OperationParameter = { +export const ifMatch24: msRest.OperationParameter = { parameterPath: [ "options", "taskGetOptions", @@ -1779,7 +1765,7 @@ export const ifMatch25: msRest.OperationParameter = { } } }; -export const ifMatch26: msRest.OperationParameter = { +export const ifMatch25: msRest.OperationParameter = { parameterPath: [ "options", "taskUpdateOptions", @@ -1792,7 +1778,7 @@ export const ifMatch26: msRest.OperationParameter = { } } }; -export const ifMatch27: msRest.OperationParameter = { +export const ifMatch26: msRest.OperationParameter = { parameterPath: [ "options", "taskTerminateOptions", @@ -1805,7 +1791,7 @@ export const ifMatch27: msRest.OperationParameter = { } } }; -export const ifMatch28: msRest.OperationParameter = { +export const ifMatch27: msRest.OperationParameter = { parameterPath: [ "options", "taskReactivateOptions", @@ -1873,7 +1859,7 @@ export const ifMatch6: msRest.OperationParameter = { export const ifMatch7: msRest.OperationParameter = { parameterPath: [ "options", - "poolUpgradeOSOptions", + "poolRemoveNodesOptions", "ifMatch" ], mapper: { @@ -1886,7 +1872,7 @@ export const ifMatch7: msRest.OperationParameter = { export const ifMatch8: msRest.OperationParameter = { parameterPath: [ "options", - "poolRemoveNodesOptions", + "jobDeleteMethodOptions", "ifMatch" ], mapper: { @@ -1899,7 +1885,7 @@ export const ifMatch8: msRest.OperationParameter = { export const ifMatch9: msRest.OperationParameter = { parameterPath: [ "options", - "jobDeleteMethodOptions", + "jobGetOptions", "ifMatch" ], mapper: { @@ -1938,7 +1924,7 @@ export const ifModifiedSince1: msRest.OperationParameter = { export const ifModifiedSince10: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetOptions", + "jobPatchOptions", "ifModifiedSince" ], mapper: { @@ -1951,7 +1937,7 @@ export const ifModifiedSince10: msRest.OperationParameter = { export const ifModifiedSince11: msRest.OperationParameter = { parameterPath: [ "options", - "jobPatchOptions", + "jobUpdateOptions", "ifModifiedSince" ], mapper: { @@ -1964,7 +1950,7 @@ export const ifModifiedSince11: msRest.OperationParameter = { export const ifModifiedSince12: msRest.OperationParameter = { parameterPath: [ "options", - "jobUpdateOptions", + "jobDisableOptions", "ifModifiedSince" ], mapper: { @@ -1977,7 +1963,7 @@ export const ifModifiedSince12: msRest.OperationParameter = { export const ifModifiedSince13: msRest.OperationParameter = { parameterPath: [ "options", - "jobDisableOptions", + "jobEnableOptions", "ifModifiedSince" ], mapper: { @@ -1990,7 +1976,7 @@ export const ifModifiedSince13: msRest.OperationParameter = { export const ifModifiedSince14: msRest.OperationParameter = { parameterPath: [ "options", - "jobEnableOptions", + "jobTerminateOptions", "ifModifiedSince" ], mapper: { @@ -2003,7 +1989,7 @@ export const ifModifiedSince14: msRest.OperationParameter = { export const ifModifiedSince15: msRest.OperationParameter = { parameterPath: [ "options", - "jobTerminateOptions", + "fileGetFromTaskOptions", "ifModifiedSince" ], mapper: { @@ -2016,7 +2002,7 @@ export const ifModifiedSince15: msRest.OperationParameter = { export const ifModifiedSince16: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetFromTaskOptions", + "fileGetPropertiesFromTaskOptions", "ifModifiedSince" ], mapper: { @@ -2029,7 +2015,7 @@ export const ifModifiedSince16: msRest.OperationParameter = { export const ifModifiedSince17: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetPropertiesFromTaskOptions", + "fileGetFromComputeNodeOptions", "ifModifiedSince" ], mapper: { @@ -2042,7 +2028,7 @@ export const ifModifiedSince17: msRest.OperationParameter = { export const ifModifiedSince18: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetFromComputeNodeOptions", + "fileGetPropertiesFromComputeNodeOptions", "ifModifiedSince" ], mapper: { @@ -2055,7 +2041,7 @@ export const ifModifiedSince18: msRest.OperationParameter = { export const ifModifiedSince19: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetPropertiesFromComputeNodeOptions", + "jobScheduleExistsOptions", "ifModifiedSince" ], mapper: { @@ -2081,7 +2067,7 @@ export const ifModifiedSince2: msRest.OperationParameter = { export const ifModifiedSince20: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleExistsOptions", + "jobScheduleDeleteMethodOptions", "ifModifiedSince" ], mapper: { @@ -2094,7 +2080,7 @@ export const ifModifiedSince20: msRest.OperationParameter = { export const ifModifiedSince21: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDeleteMethodOptions", + "jobScheduleGetOptions", "ifModifiedSince" ], mapper: { @@ -2107,7 +2093,7 @@ export const ifModifiedSince21: msRest.OperationParameter = { export const ifModifiedSince22: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleGetOptions", + "jobSchedulePatchOptions", "ifModifiedSince" ], mapper: { @@ -2120,7 +2106,7 @@ export const ifModifiedSince22: msRest.OperationParameter = { export const ifModifiedSince23: msRest.OperationParameter = { parameterPath: [ "options", - "jobSchedulePatchOptions", + "jobScheduleUpdateOptions", "ifModifiedSince" ], mapper: { @@ -2133,7 +2119,7 @@ export const ifModifiedSince23: msRest.OperationParameter = { export const ifModifiedSince24: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleUpdateOptions", + "jobScheduleDisableOptions", "ifModifiedSince" ], mapper: { @@ -2146,7 +2132,7 @@ export const ifModifiedSince24: msRest.OperationParameter = { export const ifModifiedSince25: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDisableOptions", + "jobScheduleEnableOptions", "ifModifiedSince" ], mapper: { @@ -2159,7 +2145,7 @@ export const ifModifiedSince25: msRest.OperationParameter = { export const ifModifiedSince26: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleEnableOptions", + "jobScheduleTerminateOptions", "ifModifiedSince" ], mapper: { @@ -2172,7 +2158,7 @@ export const ifModifiedSince26: msRest.OperationParameter = { export const ifModifiedSince27: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleTerminateOptions", + "taskDeleteMethodOptions", "ifModifiedSince" ], mapper: { @@ -2185,7 +2171,7 @@ export const ifModifiedSince27: msRest.OperationParameter = { export const ifModifiedSince28: msRest.OperationParameter = { parameterPath: [ "options", - "taskDeleteMethodOptions", + "taskGetOptions", "ifModifiedSince" ], mapper: { @@ -2198,7 +2184,7 @@ export const ifModifiedSince28: msRest.OperationParameter = { export const ifModifiedSince29: msRest.OperationParameter = { parameterPath: [ "options", - "taskGetOptions", + "taskUpdateOptions", "ifModifiedSince" ], mapper: { @@ -2222,19 +2208,6 @@ export const ifModifiedSince3: msRest.OperationParameter = { } }; export const ifModifiedSince30: msRest.OperationParameter = { - parameterPath: [ - "options", - "taskUpdateOptions", - "ifModifiedSince" - ], - mapper: { - serializedName: "If-Modified-Since", - type: { - name: "DateTimeRfc1123" - } - } -}; -export const ifModifiedSince31: msRest.OperationParameter = { parameterPath: [ "options", "taskTerminateOptions", @@ -2247,7 +2220,7 @@ export const ifModifiedSince31: msRest.OperationParameter = { } } }; -export const ifModifiedSince32: msRest.OperationParameter = { +export const ifModifiedSince31: msRest.OperationParameter = { parameterPath: [ "options", "taskReactivateOptions", @@ -2302,7 +2275,7 @@ export const ifModifiedSince6: msRest.OperationParameter = { export const ifModifiedSince7: msRest.OperationParameter = { parameterPath: [ "options", - "poolUpgradeOSOptions", + "poolRemoveNodesOptions", "ifModifiedSince" ], mapper: { @@ -2315,7 +2288,7 @@ export const ifModifiedSince7: msRest.OperationParameter = { export const ifModifiedSince8: msRest.OperationParameter = { parameterPath: [ "options", - "poolRemoveNodesOptions", + "jobDeleteMethodOptions", "ifModifiedSince" ], mapper: { @@ -2328,7 +2301,7 @@ export const ifModifiedSince8: msRest.OperationParameter = { export const ifModifiedSince9: msRest.OperationParameter = { parameterPath: [ "options", - "jobDeleteMethodOptions", + "jobGetOptions", "ifModifiedSince" ], mapper: { @@ -2367,7 +2340,7 @@ export const ifNoneMatch1: msRest.OperationParameter = { export const ifNoneMatch10: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetOptions", + "jobPatchOptions", "ifNoneMatch" ], mapper: { @@ -2380,7 +2353,7 @@ export const ifNoneMatch10: msRest.OperationParameter = { export const ifNoneMatch11: msRest.OperationParameter = { parameterPath: [ "options", - "jobPatchOptions", + "jobUpdateOptions", "ifNoneMatch" ], mapper: { @@ -2393,7 +2366,7 @@ export const ifNoneMatch11: msRest.OperationParameter = { export const ifNoneMatch12: msRest.OperationParameter = { parameterPath: [ "options", - "jobUpdateOptions", + "jobDisableOptions", "ifNoneMatch" ], mapper: { @@ -2406,7 +2379,7 @@ export const ifNoneMatch12: msRest.OperationParameter = { export const ifNoneMatch13: msRest.OperationParameter = { parameterPath: [ "options", - "jobDisableOptions", + "jobEnableOptions", "ifNoneMatch" ], mapper: { @@ -2419,7 +2392,7 @@ export const ifNoneMatch13: msRest.OperationParameter = { export const ifNoneMatch14: msRest.OperationParameter = { parameterPath: [ "options", - "jobEnableOptions", + "jobTerminateOptions", "ifNoneMatch" ], mapper: { @@ -2432,7 +2405,7 @@ export const ifNoneMatch14: msRest.OperationParameter = { export const ifNoneMatch15: msRest.OperationParameter = { parameterPath: [ "options", - "jobTerminateOptions", + "jobScheduleExistsOptions", "ifNoneMatch" ], mapper: { @@ -2445,7 +2418,7 @@ export const ifNoneMatch15: msRest.OperationParameter = { export const ifNoneMatch16: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleExistsOptions", + "jobScheduleDeleteMethodOptions", "ifNoneMatch" ], mapper: { @@ -2458,7 +2431,7 @@ export const ifNoneMatch16: msRest.OperationParameter = { export const ifNoneMatch17: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDeleteMethodOptions", + "jobScheduleGetOptions", "ifNoneMatch" ], mapper: { @@ -2471,7 +2444,7 @@ export const ifNoneMatch17: msRest.OperationParameter = { export const ifNoneMatch18: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleGetOptions", + "jobSchedulePatchOptions", "ifNoneMatch" ], mapper: { @@ -2484,7 +2457,7 @@ export const ifNoneMatch18: msRest.OperationParameter = { export const ifNoneMatch19: msRest.OperationParameter = { parameterPath: [ "options", - "jobSchedulePatchOptions", + "jobScheduleUpdateOptions", "ifNoneMatch" ], mapper: { @@ -2508,19 +2481,6 @@ export const ifNoneMatch2: msRest.OperationParameter = { } }; export const ifNoneMatch20: msRest.OperationParameter = { - parameterPath: [ - "options", - "jobScheduleUpdateOptions", - "ifNoneMatch" - ], - mapper: { - serializedName: "If-None-Match", - type: { - name: "String" - } - } -}; -export const ifNoneMatch21: msRest.OperationParameter = { parameterPath: [ "options", "jobScheduleDisableOptions", @@ -2533,7 +2493,7 @@ export const ifNoneMatch21: msRest.OperationParameter = { } } }; -export const ifNoneMatch22: msRest.OperationParameter = { +export const ifNoneMatch21: msRest.OperationParameter = { parameterPath: [ "options", "jobScheduleEnableOptions", @@ -2546,7 +2506,7 @@ export const ifNoneMatch22: msRest.OperationParameter = { } } }; -export const ifNoneMatch23: msRest.OperationParameter = { +export const ifNoneMatch22: msRest.OperationParameter = { parameterPath: [ "options", "jobScheduleTerminateOptions", @@ -2559,7 +2519,7 @@ export const ifNoneMatch23: msRest.OperationParameter = { } } }; -export const ifNoneMatch24: msRest.OperationParameter = { +export const ifNoneMatch23: msRest.OperationParameter = { parameterPath: [ "options", "taskDeleteMethodOptions", @@ -2572,7 +2532,7 @@ export const ifNoneMatch24: msRest.OperationParameter = { } } }; -export const ifNoneMatch25: msRest.OperationParameter = { +export const ifNoneMatch24: msRest.OperationParameter = { parameterPath: [ "options", "taskGetOptions", @@ -2585,7 +2545,7 @@ export const ifNoneMatch25: msRest.OperationParameter = { } } }; -export const ifNoneMatch26: msRest.OperationParameter = { +export const ifNoneMatch25: msRest.OperationParameter = { parameterPath: [ "options", "taskUpdateOptions", @@ -2598,7 +2558,7 @@ export const ifNoneMatch26: msRest.OperationParameter = { } } }; -export const ifNoneMatch27: msRest.OperationParameter = { +export const ifNoneMatch26: msRest.OperationParameter = { parameterPath: [ "options", "taskTerminateOptions", @@ -2611,7 +2571,7 @@ export const ifNoneMatch27: msRest.OperationParameter = { } } }; -export const ifNoneMatch28: msRest.OperationParameter = { +export const ifNoneMatch27: msRest.OperationParameter = { parameterPath: [ "options", "taskReactivateOptions", @@ -2679,7 +2639,7 @@ export const ifNoneMatch6: msRest.OperationParameter = { export const ifNoneMatch7: msRest.OperationParameter = { parameterPath: [ "options", - "poolUpgradeOSOptions", + "poolRemoveNodesOptions", "ifNoneMatch" ], mapper: { @@ -2692,7 +2652,7 @@ export const ifNoneMatch7: msRest.OperationParameter = { export const ifNoneMatch8: msRest.OperationParameter = { parameterPath: [ "options", - "poolRemoveNodesOptions", + "jobDeleteMethodOptions", "ifNoneMatch" ], mapper: { @@ -2705,7 +2665,7 @@ export const ifNoneMatch8: msRest.OperationParameter = { export const ifNoneMatch9: msRest.OperationParameter = { parameterPath: [ "options", - "jobDeleteMethodOptions", + "jobGetOptions", "ifNoneMatch" ], mapper: { @@ -2744,7 +2704,7 @@ export const ifUnmodifiedSince1: msRest.OperationParameter = { export const ifUnmodifiedSince10: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetOptions", + "jobPatchOptions", "ifUnmodifiedSince" ], mapper: { @@ -2757,7 +2717,7 @@ export const ifUnmodifiedSince10: msRest.OperationParameter = { export const ifUnmodifiedSince11: msRest.OperationParameter = { parameterPath: [ "options", - "jobPatchOptions", + "jobUpdateOptions", "ifUnmodifiedSince" ], mapper: { @@ -2770,7 +2730,7 @@ export const ifUnmodifiedSince11: msRest.OperationParameter = { export const ifUnmodifiedSince12: msRest.OperationParameter = { parameterPath: [ "options", - "jobUpdateOptions", + "jobDisableOptions", "ifUnmodifiedSince" ], mapper: { @@ -2783,7 +2743,7 @@ export const ifUnmodifiedSince12: msRest.OperationParameter = { export const ifUnmodifiedSince13: msRest.OperationParameter = { parameterPath: [ "options", - "jobDisableOptions", + "jobEnableOptions", "ifUnmodifiedSince" ], mapper: { @@ -2796,7 +2756,7 @@ export const ifUnmodifiedSince13: msRest.OperationParameter = { export const ifUnmodifiedSince14: msRest.OperationParameter = { parameterPath: [ "options", - "jobEnableOptions", + "jobTerminateOptions", "ifUnmodifiedSince" ], mapper: { @@ -2809,7 +2769,7 @@ export const ifUnmodifiedSince14: msRest.OperationParameter = { export const ifUnmodifiedSince15: msRest.OperationParameter = { parameterPath: [ "options", - "jobTerminateOptions", + "fileGetFromTaskOptions", "ifUnmodifiedSince" ], mapper: { @@ -2822,7 +2782,7 @@ export const ifUnmodifiedSince15: msRest.OperationParameter = { export const ifUnmodifiedSince16: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetFromTaskOptions", + "fileGetPropertiesFromTaskOptions", "ifUnmodifiedSince" ], mapper: { @@ -2835,7 +2795,7 @@ export const ifUnmodifiedSince16: msRest.OperationParameter = { export const ifUnmodifiedSince17: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetPropertiesFromTaskOptions", + "fileGetFromComputeNodeOptions", "ifUnmodifiedSince" ], mapper: { @@ -2848,7 +2808,7 @@ export const ifUnmodifiedSince17: msRest.OperationParameter = { export const ifUnmodifiedSince18: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetFromComputeNodeOptions", + "fileGetPropertiesFromComputeNodeOptions", "ifUnmodifiedSince" ], mapper: { @@ -2861,7 +2821,7 @@ export const ifUnmodifiedSince18: msRest.OperationParameter = { export const ifUnmodifiedSince19: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetPropertiesFromComputeNodeOptions", + "jobScheduleExistsOptions", "ifUnmodifiedSince" ], mapper: { @@ -2887,7 +2847,7 @@ export const ifUnmodifiedSince2: msRest.OperationParameter = { export const ifUnmodifiedSince20: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleExistsOptions", + "jobScheduleDeleteMethodOptions", "ifUnmodifiedSince" ], mapper: { @@ -2900,7 +2860,7 @@ export const ifUnmodifiedSince20: msRest.OperationParameter = { export const ifUnmodifiedSince21: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDeleteMethodOptions", + "jobScheduleGetOptions", "ifUnmodifiedSince" ], mapper: { @@ -2913,7 +2873,7 @@ export const ifUnmodifiedSince21: msRest.OperationParameter = { export const ifUnmodifiedSince22: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleGetOptions", + "jobSchedulePatchOptions", "ifUnmodifiedSince" ], mapper: { @@ -2926,7 +2886,7 @@ export const ifUnmodifiedSince22: msRest.OperationParameter = { export const ifUnmodifiedSince23: msRest.OperationParameter = { parameterPath: [ "options", - "jobSchedulePatchOptions", + "jobScheduleUpdateOptions", "ifUnmodifiedSince" ], mapper: { @@ -2939,7 +2899,7 @@ export const ifUnmodifiedSince23: msRest.OperationParameter = { export const ifUnmodifiedSince24: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleUpdateOptions", + "jobScheduleDisableOptions", "ifUnmodifiedSince" ], mapper: { @@ -2952,7 +2912,7 @@ export const ifUnmodifiedSince24: msRest.OperationParameter = { export const ifUnmodifiedSince25: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDisableOptions", + "jobScheduleEnableOptions", "ifUnmodifiedSince" ], mapper: { @@ -2965,7 +2925,7 @@ export const ifUnmodifiedSince25: msRest.OperationParameter = { export const ifUnmodifiedSince26: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleEnableOptions", + "jobScheduleTerminateOptions", "ifUnmodifiedSince" ], mapper: { @@ -2978,7 +2938,7 @@ export const ifUnmodifiedSince26: msRest.OperationParameter = { export const ifUnmodifiedSince27: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleTerminateOptions", + "taskDeleteMethodOptions", "ifUnmodifiedSince" ], mapper: { @@ -2991,7 +2951,7 @@ export const ifUnmodifiedSince27: msRest.OperationParameter = { export const ifUnmodifiedSince28: msRest.OperationParameter = { parameterPath: [ "options", - "taskDeleteMethodOptions", + "taskGetOptions", "ifUnmodifiedSince" ], mapper: { @@ -3004,7 +2964,7 @@ export const ifUnmodifiedSince28: msRest.OperationParameter = { export const ifUnmodifiedSince29: msRest.OperationParameter = { parameterPath: [ "options", - "taskGetOptions", + "taskUpdateOptions", "ifUnmodifiedSince" ], mapper: { @@ -3028,19 +2988,6 @@ export const ifUnmodifiedSince3: msRest.OperationParameter = { } }; export const ifUnmodifiedSince30: msRest.OperationParameter = { - parameterPath: [ - "options", - "taskUpdateOptions", - "ifUnmodifiedSince" - ], - mapper: { - serializedName: "If-Unmodified-Since", - type: { - name: "DateTimeRfc1123" - } - } -}; -export const ifUnmodifiedSince31: msRest.OperationParameter = { parameterPath: [ "options", "taskTerminateOptions", @@ -3053,7 +3000,7 @@ export const ifUnmodifiedSince31: msRest.OperationParameter = { } } }; -export const ifUnmodifiedSince32: msRest.OperationParameter = { +export const ifUnmodifiedSince31: msRest.OperationParameter = { parameterPath: [ "options", "taskReactivateOptions", @@ -3108,7 +3055,7 @@ export const ifUnmodifiedSince6: msRest.OperationParameter = { export const ifUnmodifiedSince7: msRest.OperationParameter = { parameterPath: [ "options", - "poolUpgradeOSOptions", + "poolRemoveNodesOptions", "ifUnmodifiedSince" ], mapper: { @@ -3121,7 +3068,7 @@ export const ifUnmodifiedSince7: msRest.OperationParameter = { export const ifUnmodifiedSince8: msRest.OperationParameter = { parameterPath: [ "options", - "poolRemoveNodesOptions", + "jobDeleteMethodOptions", "ifUnmodifiedSince" ], mapper: { @@ -3134,7 +3081,7 @@ export const ifUnmodifiedSince8: msRest.OperationParameter = { export const ifUnmodifiedSince9: msRest.OperationParameter = { parameterPath: [ "options", - "jobDeleteMethodOptions", + "jobGetOptions", "ifUnmodifiedSince" ], mapper: { @@ -3557,7 +3504,7 @@ export const ocpDate16: msRest.OperationParameter = { export const ocpDate17: msRest.OperationParameter = { parameterPath: [ "options", - "poolUpgradeOSOptions", + "poolRemoveNodesOptions", "ocpDate" ], mapper: { @@ -3570,7 +3517,7 @@ export const ocpDate17: msRest.OperationParameter = { export const ocpDate18: msRest.OperationParameter = { parameterPath: [ "options", - "poolRemoveNodesOptions", + "poolListUsageMetricsNextOptions", "ocpDate" ], mapper: { @@ -3583,7 +3530,7 @@ export const ocpDate18: msRest.OperationParameter = { export const ocpDate19: msRest.OperationParameter = { parameterPath: [ "options", - "poolListUsageMetricsNextOptions", + "poolListNextOptions", "ocpDate" ], mapper: { @@ -3609,7 +3556,7 @@ export const ocpDate2: msRest.OperationParameter = { export const ocpDate20: msRest.OperationParameter = { parameterPath: [ "options", - "poolListNextOptions", + "accountListNodeAgentSkusOptions", "ocpDate" ], mapper: { @@ -3622,7 +3569,7 @@ export const ocpDate20: msRest.OperationParameter = { export const ocpDate21: msRest.OperationParameter = { parameterPath: [ "options", - "accountListNodeAgentSkusOptions", + "accountListPoolNodeCountsOptions", "ocpDate" ], mapper: { @@ -3635,7 +3582,7 @@ export const ocpDate21: msRest.OperationParameter = { export const ocpDate22: msRest.OperationParameter = { parameterPath: [ "options", - "accountListPoolNodeCountsOptions", + "accountListNodeAgentSkusNextOptions", "ocpDate" ], mapper: { @@ -3648,7 +3595,7 @@ export const ocpDate22: msRest.OperationParameter = { export const ocpDate23: msRest.OperationParameter = { parameterPath: [ "options", - "accountListNodeAgentSkusNextOptions", + "accountListPoolNodeCountsNextOptions", "ocpDate" ], mapper: { @@ -3661,7 +3608,7 @@ export const ocpDate23: msRest.OperationParameter = { export const ocpDate24: msRest.OperationParameter = { parameterPath: [ "options", - "accountListPoolNodeCountsNextOptions", + "jobGetAllLifetimeStatisticsOptions", "ocpDate" ], mapper: { @@ -3674,7 +3621,7 @@ export const ocpDate24: msRest.OperationParameter = { export const ocpDate25: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetAllLifetimeStatisticsOptions", + "jobDeleteMethodOptions", "ocpDate" ], mapper: { @@ -3687,7 +3634,7 @@ export const ocpDate25: msRest.OperationParameter = { export const ocpDate26: msRest.OperationParameter = { parameterPath: [ "options", - "jobDeleteMethodOptions", + "jobGetOptions", "ocpDate" ], mapper: { @@ -3700,7 +3647,7 @@ export const ocpDate26: msRest.OperationParameter = { export const ocpDate27: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetOptions", + "jobPatchOptions", "ocpDate" ], mapper: { @@ -3713,7 +3660,7 @@ export const ocpDate27: msRest.OperationParameter = { export const ocpDate28: msRest.OperationParameter = { parameterPath: [ "options", - "jobPatchOptions", + "jobUpdateOptions", "ocpDate" ], mapper: { @@ -3726,7 +3673,7 @@ export const ocpDate28: msRest.OperationParameter = { export const ocpDate29: msRest.OperationParameter = { parameterPath: [ "options", - "jobUpdateOptions", + "jobDisableOptions", "ocpDate" ], mapper: { @@ -3752,7 +3699,7 @@ export const ocpDate3: msRest.OperationParameter = { export const ocpDate30: msRest.OperationParameter = { parameterPath: [ "options", - "jobDisableOptions", + "jobEnableOptions", "ocpDate" ], mapper: { @@ -3765,7 +3712,7 @@ export const ocpDate30: msRest.OperationParameter = { export const ocpDate31: msRest.OperationParameter = { parameterPath: [ "options", - "jobEnableOptions", + "jobTerminateOptions", "ocpDate" ], mapper: { @@ -3778,7 +3725,7 @@ export const ocpDate31: msRest.OperationParameter = { export const ocpDate32: msRest.OperationParameter = { parameterPath: [ "options", - "jobTerminateOptions", + "jobAddOptions", "ocpDate" ], mapper: { @@ -3791,7 +3738,7 @@ export const ocpDate32: msRest.OperationParameter = { export const ocpDate33: msRest.OperationParameter = { parameterPath: [ "options", - "jobAddOptions", + "jobListOptions", "ocpDate" ], mapper: { @@ -3804,7 +3751,7 @@ export const ocpDate33: msRest.OperationParameter = { export const ocpDate34: msRest.OperationParameter = { parameterPath: [ "options", - "jobListOptions", + "jobListFromJobScheduleOptions", "ocpDate" ], mapper: { @@ -3817,7 +3764,7 @@ export const ocpDate34: msRest.OperationParameter = { export const ocpDate35: msRest.OperationParameter = { parameterPath: [ "options", - "jobListFromJobScheduleOptions", + "jobListPreparationAndReleaseTaskStatusOptions", "ocpDate" ], mapper: { @@ -3830,7 +3777,7 @@ export const ocpDate35: msRest.OperationParameter = { export const ocpDate36: msRest.OperationParameter = { parameterPath: [ "options", - "jobListPreparationAndReleaseTaskStatusOptions", + "jobGetTaskCountsOptions", "ocpDate" ], mapper: { @@ -3843,7 +3790,7 @@ export const ocpDate36: msRest.OperationParameter = { export const ocpDate37: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetTaskCountsOptions", + "jobListNextOptions", "ocpDate" ], mapper: { @@ -3856,7 +3803,7 @@ export const ocpDate37: msRest.OperationParameter = { export const ocpDate38: msRest.OperationParameter = { parameterPath: [ "options", - "jobListNextOptions", + "jobListFromJobScheduleNextOptions", "ocpDate" ], mapper: { @@ -3869,7 +3816,7 @@ export const ocpDate38: msRest.OperationParameter = { export const ocpDate39: msRest.OperationParameter = { parameterPath: [ "options", - "jobListFromJobScheduleNextOptions", + "jobListPreparationAndReleaseTaskStatusNextOptions", "ocpDate" ], mapper: { @@ -3895,7 +3842,7 @@ export const ocpDate4: msRest.OperationParameter = { export const ocpDate40: msRest.OperationParameter = { parameterPath: [ "options", - "jobListPreparationAndReleaseTaskStatusNextOptions", + "certificateAddOptions", "ocpDate" ], mapper: { @@ -3908,7 +3855,7 @@ export const ocpDate40: msRest.OperationParameter = { export const ocpDate41: msRest.OperationParameter = { parameterPath: [ "options", - "certificateAddOptions", + "certificateListOptions", "ocpDate" ], mapper: { @@ -3921,7 +3868,7 @@ export const ocpDate41: msRest.OperationParameter = { export const ocpDate42: msRest.OperationParameter = { parameterPath: [ "options", - "certificateListOptions", + "certificateCancelDeletionOptions", "ocpDate" ], mapper: { @@ -3934,7 +3881,7 @@ export const ocpDate42: msRest.OperationParameter = { export const ocpDate43: msRest.OperationParameter = { parameterPath: [ "options", - "certificateCancelDeletionOptions", + "certificateDeleteMethodOptions", "ocpDate" ], mapper: { @@ -3947,7 +3894,7 @@ export const ocpDate43: msRest.OperationParameter = { export const ocpDate44: msRest.OperationParameter = { parameterPath: [ "options", - "certificateDeleteMethodOptions", + "certificateGetOptions", "ocpDate" ], mapper: { @@ -3960,7 +3907,7 @@ export const ocpDate44: msRest.OperationParameter = { export const ocpDate45: msRest.OperationParameter = { parameterPath: [ "options", - "certificateGetOptions", + "certificateListNextOptions", "ocpDate" ], mapper: { @@ -3973,7 +3920,7 @@ export const ocpDate45: msRest.OperationParameter = { export const ocpDate46: msRest.OperationParameter = { parameterPath: [ "options", - "certificateListNextOptions", + "fileDeleteFromTaskOptions", "ocpDate" ], mapper: { @@ -3986,7 +3933,7 @@ export const ocpDate46: msRest.OperationParameter = { export const ocpDate47: msRest.OperationParameter = { parameterPath: [ "options", - "fileDeleteFromTaskOptions", + "fileGetFromTaskOptions", "ocpDate" ], mapper: { @@ -3999,7 +3946,7 @@ export const ocpDate47: msRest.OperationParameter = { export const ocpDate48: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetFromTaskOptions", + "fileGetPropertiesFromTaskOptions", "ocpDate" ], mapper: { @@ -4012,7 +3959,7 @@ export const ocpDate48: msRest.OperationParameter = { export const ocpDate49: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetPropertiesFromTaskOptions", + "fileDeleteFromComputeNodeOptions", "ocpDate" ], mapper: { @@ -4038,7 +3985,7 @@ export const ocpDate5: msRest.OperationParameter = { export const ocpDate50: msRest.OperationParameter = { parameterPath: [ "options", - "fileDeleteFromComputeNodeOptions", + "fileGetFromComputeNodeOptions", "ocpDate" ], mapper: { @@ -4051,7 +3998,7 @@ export const ocpDate50: msRest.OperationParameter = { export const ocpDate51: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetFromComputeNodeOptions", + "fileGetPropertiesFromComputeNodeOptions", "ocpDate" ], mapper: { @@ -4064,7 +4011,7 @@ export const ocpDate51: msRest.OperationParameter = { export const ocpDate52: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetPropertiesFromComputeNodeOptions", + "fileListFromTaskOptions", "ocpDate" ], mapper: { @@ -4077,7 +4024,7 @@ export const ocpDate52: msRest.OperationParameter = { export const ocpDate53: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromTaskOptions", + "fileListFromComputeNodeOptions", "ocpDate" ], mapper: { @@ -4090,7 +4037,7 @@ export const ocpDate53: msRest.OperationParameter = { export const ocpDate54: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromComputeNodeOptions", + "fileListFromTaskNextOptions", "ocpDate" ], mapper: { @@ -4103,7 +4050,7 @@ export const ocpDate54: msRest.OperationParameter = { export const ocpDate55: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromTaskNextOptions", + "fileListFromComputeNodeNextOptions", "ocpDate" ], mapper: { @@ -4116,7 +4063,7 @@ export const ocpDate55: msRest.OperationParameter = { export const ocpDate56: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromComputeNodeNextOptions", + "jobScheduleExistsOptions", "ocpDate" ], mapper: { @@ -4129,7 +4076,7 @@ export const ocpDate56: msRest.OperationParameter = { export const ocpDate57: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleExistsOptions", + "jobScheduleDeleteMethodOptions", "ocpDate" ], mapper: { @@ -4142,7 +4089,7 @@ export const ocpDate57: msRest.OperationParameter = { export const ocpDate58: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDeleteMethodOptions", + "jobScheduleGetOptions", "ocpDate" ], mapper: { @@ -4155,7 +4102,7 @@ export const ocpDate58: msRest.OperationParameter = { export const ocpDate59: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleGetOptions", + "jobSchedulePatchOptions", "ocpDate" ], mapper: { @@ -4181,7 +4128,7 @@ export const ocpDate6: msRest.OperationParameter = { export const ocpDate60: msRest.OperationParameter = { parameterPath: [ "options", - "jobSchedulePatchOptions", + "jobScheduleUpdateOptions", "ocpDate" ], mapper: { @@ -4194,7 +4141,7 @@ export const ocpDate60: msRest.OperationParameter = { export const ocpDate61: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleUpdateOptions", + "jobScheduleDisableOptions", "ocpDate" ], mapper: { @@ -4207,7 +4154,7 @@ export const ocpDate61: msRest.OperationParameter = { export const ocpDate62: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDisableOptions", + "jobScheduleEnableOptions", "ocpDate" ], mapper: { @@ -4220,7 +4167,7 @@ export const ocpDate62: msRest.OperationParameter = { export const ocpDate63: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleEnableOptions", + "jobScheduleTerminateOptions", "ocpDate" ], mapper: { @@ -4233,7 +4180,7 @@ export const ocpDate63: msRest.OperationParameter = { export const ocpDate64: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleTerminateOptions", + "jobScheduleAddOptions", "ocpDate" ], mapper: { @@ -4246,7 +4193,7 @@ export const ocpDate64: msRest.OperationParameter = { export const ocpDate65: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleAddOptions", + "jobScheduleListOptions", "ocpDate" ], mapper: { @@ -4259,7 +4206,7 @@ export const ocpDate65: msRest.OperationParameter = { export const ocpDate66: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleListOptions", + "jobScheduleListNextOptions", "ocpDate" ], mapper: { @@ -4272,7 +4219,7 @@ export const ocpDate66: msRest.OperationParameter = { export const ocpDate67: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleListNextOptions", + "taskAddOptions", "ocpDate" ], mapper: { @@ -4285,7 +4232,7 @@ export const ocpDate67: msRest.OperationParameter = { export const ocpDate68: msRest.OperationParameter = { parameterPath: [ "options", - "taskAddOptions", + "taskListOptions", "ocpDate" ], mapper: { @@ -4298,7 +4245,7 @@ export const ocpDate68: msRest.OperationParameter = { export const ocpDate69: msRest.OperationParameter = { parameterPath: [ "options", - "taskListOptions", + "taskAddCollectionOptions", "ocpDate" ], mapper: { @@ -4324,7 +4271,7 @@ export const ocpDate7: msRest.OperationParameter = { export const ocpDate70: msRest.OperationParameter = { parameterPath: [ "options", - "taskAddCollectionOptions", + "taskDeleteMethodOptions", "ocpDate" ], mapper: { @@ -4337,7 +4284,7 @@ export const ocpDate70: msRest.OperationParameter = { export const ocpDate71: msRest.OperationParameter = { parameterPath: [ "options", - "taskDeleteMethodOptions", + "taskGetOptions", "ocpDate" ], mapper: { @@ -4350,7 +4297,7 @@ export const ocpDate71: msRest.OperationParameter = { export const ocpDate72: msRest.OperationParameter = { parameterPath: [ "options", - "taskGetOptions", + "taskUpdateOptions", "ocpDate" ], mapper: { @@ -4363,7 +4310,7 @@ export const ocpDate72: msRest.OperationParameter = { export const ocpDate73: msRest.OperationParameter = { parameterPath: [ "options", - "taskUpdateOptions", + "taskListSubtasksOptions", "ocpDate" ], mapper: { @@ -4376,7 +4323,7 @@ export const ocpDate73: msRest.OperationParameter = { export const ocpDate74: msRest.OperationParameter = { parameterPath: [ "options", - "taskListSubtasksOptions", + "taskTerminateOptions", "ocpDate" ], mapper: { @@ -4389,7 +4336,7 @@ export const ocpDate74: msRest.OperationParameter = { export const ocpDate75: msRest.OperationParameter = { parameterPath: [ "options", - "taskTerminateOptions", + "taskReactivateOptions", "ocpDate" ], mapper: { @@ -4402,7 +4349,7 @@ export const ocpDate75: msRest.OperationParameter = { export const ocpDate76: msRest.OperationParameter = { parameterPath: [ "options", - "taskReactivateOptions", + "taskListNextOptions", "ocpDate" ], mapper: { @@ -4415,7 +4362,7 @@ export const ocpDate76: msRest.OperationParameter = { export const ocpDate77: msRest.OperationParameter = { parameterPath: [ "options", - "taskListNextOptions", + "computeNodeAddUserOptions", "ocpDate" ], mapper: { @@ -4428,7 +4375,7 @@ export const ocpDate77: msRest.OperationParameter = { export const ocpDate78: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeAddUserOptions", + "computeNodeDeleteUserOptions", "ocpDate" ], mapper: { @@ -4441,7 +4388,7 @@ export const ocpDate78: msRest.OperationParameter = { export const ocpDate79: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeDeleteUserOptions", + "computeNodeUpdateUserOptions", "ocpDate" ], mapper: { @@ -4467,7 +4414,7 @@ export const ocpDate8: msRest.OperationParameter = { export const ocpDate80: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeUpdateUserOptions", + "computeNodeGetOptions", "ocpDate" ], mapper: { @@ -4480,7 +4427,7 @@ export const ocpDate80: msRest.OperationParameter = { export const ocpDate81: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeGetOptions", + "computeNodeRebootOptions", "ocpDate" ], mapper: { @@ -4493,7 +4440,7 @@ export const ocpDate81: msRest.OperationParameter = { export const ocpDate82: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeRebootOptions", + "computeNodeReimageOptions", "ocpDate" ], mapper: { @@ -4506,7 +4453,7 @@ export const ocpDate82: msRest.OperationParameter = { export const ocpDate83: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeReimageOptions", + "computeNodeDisableSchedulingOptions", "ocpDate" ], mapper: { @@ -4519,7 +4466,7 @@ export const ocpDate83: msRest.OperationParameter = { export const ocpDate84: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeDisableSchedulingOptions", + "computeNodeEnableSchedulingOptions", "ocpDate" ], mapper: { @@ -4532,7 +4479,7 @@ export const ocpDate84: msRest.OperationParameter = { export const ocpDate85: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeEnableSchedulingOptions", + "computeNodeGetRemoteLoginSettingsOptions", "ocpDate" ], mapper: { @@ -4545,7 +4492,7 @@ export const ocpDate85: msRest.OperationParameter = { export const ocpDate86: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeGetRemoteLoginSettingsOptions", + "computeNodeGetRemoteDesktopOptions", "ocpDate" ], mapper: { @@ -4558,7 +4505,7 @@ export const ocpDate86: msRest.OperationParameter = { export const ocpDate87: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeGetRemoteDesktopOptions", + "computeNodeUploadBatchServiceLogsOptions", "ocpDate" ], mapper: { @@ -4571,7 +4518,7 @@ export const ocpDate87: msRest.OperationParameter = { export const ocpDate88: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeUploadBatchServiceLogsOptions", + "computeNodeListOptions", "ocpDate" ], mapper: { @@ -4584,7 +4531,7 @@ export const ocpDate88: msRest.OperationParameter = { export const ocpDate89: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeListOptions", + "computeNodeListNextOptions", "ocpDate" ], mapper: { @@ -4607,19 +4554,6 @@ export const ocpDate9: msRest.OperationParameter = { } } }; -export const ocpDate90: msRest.OperationParameter = { - parameterPath: [ - "options", - "computeNodeListNextOptions", - "ocpDate" - ], - mapper: { - serializedName: "ocp-date", - type: { - name: "DateTimeRfc1123" - } - } -}; export const ocpRange0: msRest.OperationParameter = { parameterPath: [ "options", @@ -4797,7 +4731,7 @@ export const returnClientRequestId16: msRest.OperationParameter = { export const returnClientRequestId17: msRest.OperationParameter = { parameterPath: [ "options", - "poolUpgradeOSOptions", + "poolRemoveNodesOptions", "returnClientRequestId" ], mapper: { @@ -4811,7 +4745,7 @@ export const returnClientRequestId17: msRest.OperationParameter = { export const returnClientRequestId18: msRest.OperationParameter = { parameterPath: [ "options", - "poolRemoveNodesOptions", + "poolListUsageMetricsNextOptions", "returnClientRequestId" ], mapper: { @@ -4825,7 +4759,7 @@ export const returnClientRequestId18: msRest.OperationParameter = { export const returnClientRequestId19: msRest.OperationParameter = { parameterPath: [ "options", - "poolListUsageMetricsNextOptions", + "poolListNextOptions", "returnClientRequestId" ], mapper: { @@ -4853,7 +4787,7 @@ export const returnClientRequestId2: msRest.OperationParameter = { export const returnClientRequestId20: msRest.OperationParameter = { parameterPath: [ "options", - "poolListNextOptions", + "accountListNodeAgentSkusOptions", "returnClientRequestId" ], mapper: { @@ -4867,7 +4801,7 @@ export const returnClientRequestId20: msRest.OperationParameter = { export const returnClientRequestId21: msRest.OperationParameter = { parameterPath: [ "options", - "accountListNodeAgentSkusOptions", + "accountListPoolNodeCountsOptions", "returnClientRequestId" ], mapper: { @@ -4881,7 +4815,7 @@ export const returnClientRequestId21: msRest.OperationParameter = { export const returnClientRequestId22: msRest.OperationParameter = { parameterPath: [ "options", - "accountListPoolNodeCountsOptions", + "accountListNodeAgentSkusNextOptions", "returnClientRequestId" ], mapper: { @@ -4895,7 +4829,7 @@ export const returnClientRequestId22: msRest.OperationParameter = { export const returnClientRequestId23: msRest.OperationParameter = { parameterPath: [ "options", - "accountListNodeAgentSkusNextOptions", + "accountListPoolNodeCountsNextOptions", "returnClientRequestId" ], mapper: { @@ -4909,7 +4843,7 @@ export const returnClientRequestId23: msRest.OperationParameter = { export const returnClientRequestId24: msRest.OperationParameter = { parameterPath: [ "options", - "accountListPoolNodeCountsNextOptions", + "jobGetAllLifetimeStatisticsOptions", "returnClientRequestId" ], mapper: { @@ -4923,7 +4857,7 @@ export const returnClientRequestId24: msRest.OperationParameter = { export const returnClientRequestId25: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetAllLifetimeStatisticsOptions", + "jobDeleteMethodOptions", "returnClientRequestId" ], mapper: { @@ -4937,7 +4871,7 @@ export const returnClientRequestId25: msRest.OperationParameter = { export const returnClientRequestId26: msRest.OperationParameter = { parameterPath: [ "options", - "jobDeleteMethodOptions", + "jobGetOptions", "returnClientRequestId" ], mapper: { @@ -4951,7 +4885,7 @@ export const returnClientRequestId26: msRest.OperationParameter = { export const returnClientRequestId27: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetOptions", + "jobPatchOptions", "returnClientRequestId" ], mapper: { @@ -4965,7 +4899,7 @@ export const returnClientRequestId27: msRest.OperationParameter = { export const returnClientRequestId28: msRest.OperationParameter = { parameterPath: [ "options", - "jobPatchOptions", + "jobUpdateOptions", "returnClientRequestId" ], mapper: { @@ -4979,7 +4913,7 @@ export const returnClientRequestId28: msRest.OperationParameter = { export const returnClientRequestId29: msRest.OperationParameter = { parameterPath: [ "options", - "jobUpdateOptions", + "jobDisableOptions", "returnClientRequestId" ], mapper: { @@ -5007,7 +4941,7 @@ export const returnClientRequestId3: msRest.OperationParameter = { export const returnClientRequestId30: msRest.OperationParameter = { parameterPath: [ "options", - "jobDisableOptions", + "jobEnableOptions", "returnClientRequestId" ], mapper: { @@ -5021,7 +4955,7 @@ export const returnClientRequestId30: msRest.OperationParameter = { export const returnClientRequestId31: msRest.OperationParameter = { parameterPath: [ "options", - "jobEnableOptions", + "jobTerminateOptions", "returnClientRequestId" ], mapper: { @@ -5035,7 +4969,7 @@ export const returnClientRequestId31: msRest.OperationParameter = { export const returnClientRequestId32: msRest.OperationParameter = { parameterPath: [ "options", - "jobTerminateOptions", + "jobAddOptions", "returnClientRequestId" ], mapper: { @@ -5049,7 +4983,7 @@ export const returnClientRequestId32: msRest.OperationParameter = { export const returnClientRequestId33: msRest.OperationParameter = { parameterPath: [ "options", - "jobAddOptions", + "jobListOptions", "returnClientRequestId" ], mapper: { @@ -5063,7 +4997,7 @@ export const returnClientRequestId33: msRest.OperationParameter = { export const returnClientRequestId34: msRest.OperationParameter = { parameterPath: [ "options", - "jobListOptions", + "jobListFromJobScheduleOptions", "returnClientRequestId" ], mapper: { @@ -5077,7 +5011,7 @@ export const returnClientRequestId34: msRest.OperationParameter = { export const returnClientRequestId35: msRest.OperationParameter = { parameterPath: [ "options", - "jobListFromJobScheduleOptions", + "jobListPreparationAndReleaseTaskStatusOptions", "returnClientRequestId" ], mapper: { @@ -5091,7 +5025,7 @@ export const returnClientRequestId35: msRest.OperationParameter = { export const returnClientRequestId36: msRest.OperationParameter = { parameterPath: [ "options", - "jobListPreparationAndReleaseTaskStatusOptions", + "jobGetTaskCountsOptions", "returnClientRequestId" ], mapper: { @@ -5105,7 +5039,7 @@ export const returnClientRequestId36: msRest.OperationParameter = { export const returnClientRequestId37: msRest.OperationParameter = { parameterPath: [ "options", - "jobGetTaskCountsOptions", + "jobListNextOptions", "returnClientRequestId" ], mapper: { @@ -5119,7 +5053,7 @@ export const returnClientRequestId37: msRest.OperationParameter = { export const returnClientRequestId38: msRest.OperationParameter = { parameterPath: [ "options", - "jobListNextOptions", + "jobListFromJobScheduleNextOptions", "returnClientRequestId" ], mapper: { @@ -5133,7 +5067,7 @@ export const returnClientRequestId38: msRest.OperationParameter = { export const returnClientRequestId39: msRest.OperationParameter = { parameterPath: [ "options", - "jobListFromJobScheduleNextOptions", + "jobListPreparationAndReleaseTaskStatusNextOptions", "returnClientRequestId" ], mapper: { @@ -5161,7 +5095,7 @@ export const returnClientRequestId4: msRest.OperationParameter = { export const returnClientRequestId40: msRest.OperationParameter = { parameterPath: [ "options", - "jobListPreparationAndReleaseTaskStatusNextOptions", + "certificateAddOptions", "returnClientRequestId" ], mapper: { @@ -5175,7 +5109,7 @@ export const returnClientRequestId40: msRest.OperationParameter = { export const returnClientRequestId41: msRest.OperationParameter = { parameterPath: [ "options", - "certificateAddOptions", + "certificateListOptions", "returnClientRequestId" ], mapper: { @@ -5189,7 +5123,7 @@ export const returnClientRequestId41: msRest.OperationParameter = { export const returnClientRequestId42: msRest.OperationParameter = { parameterPath: [ "options", - "certificateListOptions", + "certificateCancelDeletionOptions", "returnClientRequestId" ], mapper: { @@ -5203,7 +5137,7 @@ export const returnClientRequestId42: msRest.OperationParameter = { export const returnClientRequestId43: msRest.OperationParameter = { parameterPath: [ "options", - "certificateCancelDeletionOptions", + "certificateDeleteMethodOptions", "returnClientRequestId" ], mapper: { @@ -5217,7 +5151,7 @@ export const returnClientRequestId43: msRest.OperationParameter = { export const returnClientRequestId44: msRest.OperationParameter = { parameterPath: [ "options", - "certificateDeleteMethodOptions", + "certificateGetOptions", "returnClientRequestId" ], mapper: { @@ -5231,7 +5165,7 @@ export const returnClientRequestId44: msRest.OperationParameter = { export const returnClientRequestId45: msRest.OperationParameter = { parameterPath: [ "options", - "certificateGetOptions", + "certificateListNextOptions", "returnClientRequestId" ], mapper: { @@ -5245,7 +5179,7 @@ export const returnClientRequestId45: msRest.OperationParameter = { export const returnClientRequestId46: msRest.OperationParameter = { parameterPath: [ "options", - "certificateListNextOptions", + "fileDeleteFromTaskOptions", "returnClientRequestId" ], mapper: { @@ -5259,7 +5193,7 @@ export const returnClientRequestId46: msRest.OperationParameter = { export const returnClientRequestId47: msRest.OperationParameter = { parameterPath: [ "options", - "fileDeleteFromTaskOptions", + "fileGetFromTaskOptions", "returnClientRequestId" ], mapper: { @@ -5273,7 +5207,7 @@ export const returnClientRequestId47: msRest.OperationParameter = { export const returnClientRequestId48: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetFromTaskOptions", + "fileGetPropertiesFromTaskOptions", "returnClientRequestId" ], mapper: { @@ -5287,7 +5221,7 @@ export const returnClientRequestId48: msRest.OperationParameter = { export const returnClientRequestId49: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetPropertiesFromTaskOptions", + "fileDeleteFromComputeNodeOptions", "returnClientRequestId" ], mapper: { @@ -5315,7 +5249,7 @@ export const returnClientRequestId5: msRest.OperationParameter = { export const returnClientRequestId50: msRest.OperationParameter = { parameterPath: [ "options", - "fileDeleteFromComputeNodeOptions", + "fileGetFromComputeNodeOptions", "returnClientRequestId" ], mapper: { @@ -5329,7 +5263,7 @@ export const returnClientRequestId50: msRest.OperationParameter = { export const returnClientRequestId51: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetFromComputeNodeOptions", + "fileGetPropertiesFromComputeNodeOptions", "returnClientRequestId" ], mapper: { @@ -5343,7 +5277,7 @@ export const returnClientRequestId51: msRest.OperationParameter = { export const returnClientRequestId52: msRest.OperationParameter = { parameterPath: [ "options", - "fileGetPropertiesFromComputeNodeOptions", + "fileListFromTaskOptions", "returnClientRequestId" ], mapper: { @@ -5357,7 +5291,7 @@ export const returnClientRequestId52: msRest.OperationParameter = { export const returnClientRequestId53: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromTaskOptions", + "fileListFromComputeNodeOptions", "returnClientRequestId" ], mapper: { @@ -5371,7 +5305,7 @@ export const returnClientRequestId53: msRest.OperationParameter = { export const returnClientRequestId54: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromComputeNodeOptions", + "fileListFromTaskNextOptions", "returnClientRequestId" ], mapper: { @@ -5385,7 +5319,7 @@ export const returnClientRequestId54: msRest.OperationParameter = { export const returnClientRequestId55: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromTaskNextOptions", + "fileListFromComputeNodeNextOptions", "returnClientRequestId" ], mapper: { @@ -5399,7 +5333,7 @@ export const returnClientRequestId55: msRest.OperationParameter = { export const returnClientRequestId56: msRest.OperationParameter = { parameterPath: [ "options", - "fileListFromComputeNodeNextOptions", + "jobScheduleExistsOptions", "returnClientRequestId" ], mapper: { @@ -5413,7 +5347,7 @@ export const returnClientRequestId56: msRest.OperationParameter = { export const returnClientRequestId57: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleExistsOptions", + "jobScheduleDeleteMethodOptions", "returnClientRequestId" ], mapper: { @@ -5427,7 +5361,7 @@ export const returnClientRequestId57: msRest.OperationParameter = { export const returnClientRequestId58: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDeleteMethodOptions", + "jobScheduleGetOptions", "returnClientRequestId" ], mapper: { @@ -5441,7 +5375,7 @@ export const returnClientRequestId58: msRest.OperationParameter = { export const returnClientRequestId59: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleGetOptions", + "jobSchedulePatchOptions", "returnClientRequestId" ], mapper: { @@ -5469,7 +5403,7 @@ export const returnClientRequestId6: msRest.OperationParameter = { export const returnClientRequestId60: msRest.OperationParameter = { parameterPath: [ "options", - "jobSchedulePatchOptions", + "jobScheduleUpdateOptions", "returnClientRequestId" ], mapper: { @@ -5483,7 +5417,7 @@ export const returnClientRequestId60: msRest.OperationParameter = { export const returnClientRequestId61: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleUpdateOptions", + "jobScheduleDisableOptions", "returnClientRequestId" ], mapper: { @@ -5497,7 +5431,7 @@ export const returnClientRequestId61: msRest.OperationParameter = { export const returnClientRequestId62: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleDisableOptions", + "jobScheduleEnableOptions", "returnClientRequestId" ], mapper: { @@ -5511,7 +5445,7 @@ export const returnClientRequestId62: msRest.OperationParameter = { export const returnClientRequestId63: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleEnableOptions", + "jobScheduleTerminateOptions", "returnClientRequestId" ], mapper: { @@ -5525,7 +5459,7 @@ export const returnClientRequestId63: msRest.OperationParameter = { export const returnClientRequestId64: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleTerminateOptions", + "jobScheduleAddOptions", "returnClientRequestId" ], mapper: { @@ -5539,7 +5473,7 @@ export const returnClientRequestId64: msRest.OperationParameter = { export const returnClientRequestId65: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleAddOptions", + "jobScheduleListOptions", "returnClientRequestId" ], mapper: { @@ -5553,7 +5487,7 @@ export const returnClientRequestId65: msRest.OperationParameter = { export const returnClientRequestId66: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleListOptions", + "jobScheduleListNextOptions", "returnClientRequestId" ], mapper: { @@ -5567,7 +5501,7 @@ export const returnClientRequestId66: msRest.OperationParameter = { export const returnClientRequestId67: msRest.OperationParameter = { parameterPath: [ "options", - "jobScheduleListNextOptions", + "taskAddOptions", "returnClientRequestId" ], mapper: { @@ -5581,7 +5515,7 @@ export const returnClientRequestId67: msRest.OperationParameter = { export const returnClientRequestId68: msRest.OperationParameter = { parameterPath: [ "options", - "taskAddOptions", + "taskListOptions", "returnClientRequestId" ], mapper: { @@ -5595,7 +5529,7 @@ export const returnClientRequestId68: msRest.OperationParameter = { export const returnClientRequestId69: msRest.OperationParameter = { parameterPath: [ "options", - "taskListOptions", + "taskAddCollectionOptions", "returnClientRequestId" ], mapper: { @@ -5623,7 +5557,7 @@ export const returnClientRequestId7: msRest.OperationParameter = { export const returnClientRequestId70: msRest.OperationParameter = { parameterPath: [ "options", - "taskAddCollectionOptions", + "taskDeleteMethodOptions", "returnClientRequestId" ], mapper: { @@ -5637,7 +5571,7 @@ export const returnClientRequestId70: msRest.OperationParameter = { export const returnClientRequestId71: msRest.OperationParameter = { parameterPath: [ "options", - "taskDeleteMethodOptions", + "taskGetOptions", "returnClientRequestId" ], mapper: { @@ -5651,7 +5585,7 @@ export const returnClientRequestId71: msRest.OperationParameter = { export const returnClientRequestId72: msRest.OperationParameter = { parameterPath: [ "options", - "taskGetOptions", + "taskUpdateOptions", "returnClientRequestId" ], mapper: { @@ -5665,7 +5599,7 @@ export const returnClientRequestId72: msRest.OperationParameter = { export const returnClientRequestId73: msRest.OperationParameter = { parameterPath: [ "options", - "taskUpdateOptions", + "taskListSubtasksOptions", "returnClientRequestId" ], mapper: { @@ -5679,7 +5613,7 @@ export const returnClientRequestId73: msRest.OperationParameter = { export const returnClientRequestId74: msRest.OperationParameter = { parameterPath: [ "options", - "taskListSubtasksOptions", + "taskTerminateOptions", "returnClientRequestId" ], mapper: { @@ -5693,7 +5627,7 @@ export const returnClientRequestId74: msRest.OperationParameter = { export const returnClientRequestId75: msRest.OperationParameter = { parameterPath: [ "options", - "taskTerminateOptions", + "taskReactivateOptions", "returnClientRequestId" ], mapper: { @@ -5707,7 +5641,7 @@ export const returnClientRequestId75: msRest.OperationParameter = { export const returnClientRequestId76: msRest.OperationParameter = { parameterPath: [ "options", - "taskReactivateOptions", + "taskListNextOptions", "returnClientRequestId" ], mapper: { @@ -5721,7 +5655,7 @@ export const returnClientRequestId76: msRest.OperationParameter = { export const returnClientRequestId77: msRest.OperationParameter = { parameterPath: [ "options", - "taskListNextOptions", + "computeNodeAddUserOptions", "returnClientRequestId" ], mapper: { @@ -5735,7 +5669,7 @@ export const returnClientRequestId77: msRest.OperationParameter = { export const returnClientRequestId78: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeAddUserOptions", + "computeNodeDeleteUserOptions", "returnClientRequestId" ], mapper: { @@ -5749,7 +5683,7 @@ export const returnClientRequestId78: msRest.OperationParameter = { export const returnClientRequestId79: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeDeleteUserOptions", + "computeNodeUpdateUserOptions", "returnClientRequestId" ], mapper: { @@ -5777,7 +5711,7 @@ export const returnClientRequestId8: msRest.OperationParameter = { export const returnClientRequestId80: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeUpdateUserOptions", + "computeNodeGetOptions", "returnClientRequestId" ], mapper: { @@ -5791,7 +5725,7 @@ export const returnClientRequestId80: msRest.OperationParameter = { export const returnClientRequestId81: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeGetOptions", + "computeNodeRebootOptions", "returnClientRequestId" ], mapper: { @@ -5805,7 +5739,7 @@ export const returnClientRequestId81: msRest.OperationParameter = { export const returnClientRequestId82: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeRebootOptions", + "computeNodeReimageOptions", "returnClientRequestId" ], mapper: { @@ -5819,7 +5753,7 @@ export const returnClientRequestId82: msRest.OperationParameter = { export const returnClientRequestId83: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeReimageOptions", + "computeNodeDisableSchedulingOptions", "returnClientRequestId" ], mapper: { @@ -5833,7 +5767,7 @@ export const returnClientRequestId83: msRest.OperationParameter = { export const returnClientRequestId84: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeDisableSchedulingOptions", + "computeNodeEnableSchedulingOptions", "returnClientRequestId" ], mapper: { @@ -5847,7 +5781,7 @@ export const returnClientRequestId84: msRest.OperationParameter = { export const returnClientRequestId85: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeEnableSchedulingOptions", + "computeNodeGetRemoteLoginSettingsOptions", "returnClientRequestId" ], mapper: { @@ -5861,7 +5795,7 @@ export const returnClientRequestId85: msRest.OperationParameter = { export const returnClientRequestId86: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeGetRemoteLoginSettingsOptions", + "computeNodeGetRemoteDesktopOptions", "returnClientRequestId" ], mapper: { @@ -5875,7 +5809,7 @@ export const returnClientRequestId86: msRest.OperationParameter = { export const returnClientRequestId87: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeGetRemoteDesktopOptions", + "computeNodeUploadBatchServiceLogsOptions", "returnClientRequestId" ], mapper: { @@ -5889,7 +5823,7 @@ export const returnClientRequestId87: msRest.OperationParameter = { export const returnClientRequestId88: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeUploadBatchServiceLogsOptions", + "computeNodeListOptions", "returnClientRequestId" ], mapper: { @@ -5903,7 +5837,7 @@ export const returnClientRequestId88: msRest.OperationParameter = { export const returnClientRequestId89: msRest.OperationParameter = { parameterPath: [ "options", - "computeNodeListOptions", + "computeNodeListNextOptions", "returnClientRequestId" ], mapper: { @@ -5928,20 +5862,6 @@ export const returnClientRequestId9: msRest.OperationParameter = { } } }; -export const returnClientRequestId90: msRest.OperationParameter = { - parameterPath: [ - "options", - "computeNodeListNextOptions", - "returnClientRequestId" - ], - mapper: { - serializedName: "return-client-request-id", - defaultValue: false, - type: { - name: "Boolean" - } - } -}; export const select0: msRest.OperationQueryParameter = { parameterPath: [ "options", @@ -6295,7 +6215,7 @@ export const timeout15: msRest.OperationQueryParameter = { export const timeout16: msRest.OperationQueryParameter = { parameterPath: [ "options", - "poolUpgradeOSOptions", + "poolRemoveNodesOptions", "timeout" ], mapper: { @@ -6309,7 +6229,7 @@ export const timeout16: msRest.OperationQueryParameter = { export const timeout17: msRest.OperationQueryParameter = { parameterPath: [ "options", - "poolRemoveNodesOptions", + "accountListNodeAgentSkusOptions", "timeout" ], mapper: { @@ -6323,7 +6243,7 @@ export const timeout17: msRest.OperationQueryParameter = { export const timeout18: msRest.OperationQueryParameter = { parameterPath: [ "options", - "accountListNodeAgentSkusOptions", + "accountListPoolNodeCountsOptions", "timeout" ], mapper: { @@ -6337,7 +6257,7 @@ export const timeout18: msRest.OperationQueryParameter = { export const timeout19: msRest.OperationQueryParameter = { parameterPath: [ "options", - "accountListPoolNodeCountsOptions", + "jobGetAllLifetimeStatisticsOptions", "timeout" ], mapper: { @@ -6365,7 +6285,7 @@ export const timeout2: msRest.OperationQueryParameter = { export const timeout20: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobGetAllLifetimeStatisticsOptions", + "jobDeleteMethodOptions", "timeout" ], mapper: { @@ -6379,7 +6299,7 @@ export const timeout20: msRest.OperationQueryParameter = { export const timeout21: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobDeleteMethodOptions", + "jobGetOptions", "timeout" ], mapper: { @@ -6393,7 +6313,7 @@ export const timeout21: msRest.OperationQueryParameter = { export const timeout22: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobGetOptions", + "jobPatchOptions", "timeout" ], mapper: { @@ -6407,7 +6327,7 @@ export const timeout22: msRest.OperationQueryParameter = { export const timeout23: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobPatchOptions", + "jobUpdateOptions", "timeout" ], mapper: { @@ -6421,7 +6341,7 @@ export const timeout23: msRest.OperationQueryParameter = { export const timeout24: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobUpdateOptions", + "jobDisableOptions", "timeout" ], mapper: { @@ -6435,7 +6355,7 @@ export const timeout24: msRest.OperationQueryParameter = { export const timeout25: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobDisableOptions", + "jobEnableOptions", "timeout" ], mapper: { @@ -6449,7 +6369,7 @@ export const timeout25: msRest.OperationQueryParameter = { export const timeout26: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobEnableOptions", + "jobTerminateOptions", "timeout" ], mapper: { @@ -6463,7 +6383,7 @@ export const timeout26: msRest.OperationQueryParameter = { export const timeout27: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobTerminateOptions", + "jobAddOptions", "timeout" ], mapper: { @@ -6477,7 +6397,7 @@ export const timeout27: msRest.OperationQueryParameter = { export const timeout28: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobAddOptions", + "jobListOptions", "timeout" ], mapper: { @@ -6491,7 +6411,7 @@ export const timeout28: msRest.OperationQueryParameter = { export const timeout29: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobListOptions", + "jobListFromJobScheduleOptions", "timeout" ], mapper: { @@ -6519,7 +6439,7 @@ export const timeout3: msRest.OperationQueryParameter = { export const timeout30: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobListFromJobScheduleOptions", + "jobListPreparationAndReleaseTaskStatusOptions", "timeout" ], mapper: { @@ -6533,7 +6453,7 @@ export const timeout30: msRest.OperationQueryParameter = { export const timeout31: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobListPreparationAndReleaseTaskStatusOptions", + "jobGetTaskCountsOptions", "timeout" ], mapper: { @@ -6547,7 +6467,7 @@ export const timeout31: msRest.OperationQueryParameter = { export const timeout32: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobGetTaskCountsOptions", + "certificateAddOptions", "timeout" ], mapper: { @@ -6561,7 +6481,7 @@ export const timeout32: msRest.OperationQueryParameter = { export const timeout33: msRest.OperationQueryParameter = { parameterPath: [ "options", - "certificateAddOptions", + "certificateListOptions", "timeout" ], mapper: { @@ -6575,7 +6495,7 @@ export const timeout33: msRest.OperationQueryParameter = { export const timeout34: msRest.OperationQueryParameter = { parameterPath: [ "options", - "certificateListOptions", + "certificateCancelDeletionOptions", "timeout" ], mapper: { @@ -6589,7 +6509,7 @@ export const timeout34: msRest.OperationQueryParameter = { export const timeout35: msRest.OperationQueryParameter = { parameterPath: [ "options", - "certificateCancelDeletionOptions", + "certificateDeleteMethodOptions", "timeout" ], mapper: { @@ -6603,7 +6523,7 @@ export const timeout35: msRest.OperationQueryParameter = { export const timeout36: msRest.OperationQueryParameter = { parameterPath: [ "options", - "certificateDeleteMethodOptions", + "certificateGetOptions", "timeout" ], mapper: { @@ -6617,7 +6537,7 @@ export const timeout36: msRest.OperationQueryParameter = { export const timeout37: msRest.OperationQueryParameter = { parameterPath: [ "options", - "certificateGetOptions", + "fileDeleteFromTaskOptions", "timeout" ], mapper: { @@ -6631,7 +6551,7 @@ export const timeout37: msRest.OperationQueryParameter = { export const timeout38: msRest.OperationQueryParameter = { parameterPath: [ "options", - "fileDeleteFromTaskOptions", + "fileGetFromTaskOptions", "timeout" ], mapper: { @@ -6645,7 +6565,7 @@ export const timeout38: msRest.OperationQueryParameter = { export const timeout39: msRest.OperationQueryParameter = { parameterPath: [ "options", - "fileGetFromTaskOptions", + "fileGetPropertiesFromTaskOptions", "timeout" ], mapper: { @@ -6673,7 +6593,7 @@ export const timeout4: msRest.OperationQueryParameter = { export const timeout40: msRest.OperationQueryParameter = { parameterPath: [ "options", - "fileGetPropertiesFromTaskOptions", + "fileDeleteFromComputeNodeOptions", "timeout" ], mapper: { @@ -6687,7 +6607,7 @@ export const timeout40: msRest.OperationQueryParameter = { export const timeout41: msRest.OperationQueryParameter = { parameterPath: [ "options", - "fileDeleteFromComputeNodeOptions", + "fileGetFromComputeNodeOptions", "timeout" ], mapper: { @@ -6701,7 +6621,7 @@ export const timeout41: msRest.OperationQueryParameter = { export const timeout42: msRest.OperationQueryParameter = { parameterPath: [ "options", - "fileGetFromComputeNodeOptions", + "fileGetPropertiesFromComputeNodeOptions", "timeout" ], mapper: { @@ -6715,7 +6635,7 @@ export const timeout42: msRest.OperationQueryParameter = { export const timeout43: msRest.OperationQueryParameter = { parameterPath: [ "options", - "fileGetPropertiesFromComputeNodeOptions", + "fileListFromTaskOptions", "timeout" ], mapper: { @@ -6729,7 +6649,7 @@ export const timeout43: msRest.OperationQueryParameter = { export const timeout44: msRest.OperationQueryParameter = { parameterPath: [ "options", - "fileListFromTaskOptions", + "fileListFromComputeNodeOptions", "timeout" ], mapper: { @@ -6743,7 +6663,7 @@ export const timeout44: msRest.OperationQueryParameter = { export const timeout45: msRest.OperationQueryParameter = { parameterPath: [ "options", - "fileListFromComputeNodeOptions", + "jobScheduleExistsOptions", "timeout" ], mapper: { @@ -6757,7 +6677,7 @@ export const timeout45: msRest.OperationQueryParameter = { export const timeout46: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobScheduleExistsOptions", + "jobScheduleDeleteMethodOptions", "timeout" ], mapper: { @@ -6771,7 +6691,7 @@ export const timeout46: msRest.OperationQueryParameter = { export const timeout47: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobScheduleDeleteMethodOptions", + "jobScheduleGetOptions", "timeout" ], mapper: { @@ -6785,7 +6705,7 @@ export const timeout47: msRest.OperationQueryParameter = { export const timeout48: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobScheduleGetOptions", + "jobSchedulePatchOptions", "timeout" ], mapper: { @@ -6799,7 +6719,7 @@ export const timeout48: msRest.OperationQueryParameter = { export const timeout49: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobSchedulePatchOptions", + "jobScheduleUpdateOptions", "timeout" ], mapper: { @@ -6827,7 +6747,7 @@ export const timeout5: msRest.OperationQueryParameter = { export const timeout50: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobScheduleUpdateOptions", + "jobScheduleDisableOptions", "timeout" ], mapper: { @@ -6841,7 +6761,7 @@ export const timeout50: msRest.OperationQueryParameter = { export const timeout51: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobScheduleDisableOptions", + "jobScheduleEnableOptions", "timeout" ], mapper: { @@ -6855,7 +6775,7 @@ export const timeout51: msRest.OperationQueryParameter = { export const timeout52: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobScheduleEnableOptions", + "jobScheduleTerminateOptions", "timeout" ], mapper: { @@ -6869,7 +6789,7 @@ export const timeout52: msRest.OperationQueryParameter = { export const timeout53: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobScheduleTerminateOptions", + "jobScheduleAddOptions", "timeout" ], mapper: { @@ -6883,7 +6803,7 @@ export const timeout53: msRest.OperationQueryParameter = { export const timeout54: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobScheduleAddOptions", + "jobScheduleListOptions", "timeout" ], mapper: { @@ -6897,7 +6817,7 @@ export const timeout54: msRest.OperationQueryParameter = { export const timeout55: msRest.OperationQueryParameter = { parameterPath: [ "options", - "jobScheduleListOptions", + "taskAddOptions", "timeout" ], mapper: { @@ -6911,7 +6831,7 @@ export const timeout55: msRest.OperationQueryParameter = { export const timeout56: msRest.OperationQueryParameter = { parameterPath: [ "options", - "taskAddOptions", + "taskListOptions", "timeout" ], mapper: { @@ -6925,7 +6845,7 @@ export const timeout56: msRest.OperationQueryParameter = { export const timeout57: msRest.OperationQueryParameter = { parameterPath: [ "options", - "taskListOptions", + "taskAddCollectionOptions", "timeout" ], mapper: { @@ -6939,7 +6859,7 @@ export const timeout57: msRest.OperationQueryParameter = { export const timeout58: msRest.OperationQueryParameter = { parameterPath: [ "options", - "taskAddCollectionOptions", + "taskDeleteMethodOptions", "timeout" ], mapper: { @@ -6953,7 +6873,7 @@ export const timeout58: msRest.OperationQueryParameter = { export const timeout59: msRest.OperationQueryParameter = { parameterPath: [ "options", - "taskDeleteMethodOptions", + "taskGetOptions", "timeout" ], mapper: { @@ -6981,7 +6901,7 @@ export const timeout6: msRest.OperationQueryParameter = { export const timeout60: msRest.OperationQueryParameter = { parameterPath: [ "options", - "taskGetOptions", + "taskUpdateOptions", "timeout" ], mapper: { @@ -6995,7 +6915,7 @@ export const timeout60: msRest.OperationQueryParameter = { export const timeout61: msRest.OperationQueryParameter = { parameterPath: [ "options", - "taskUpdateOptions", + "taskListSubtasksOptions", "timeout" ], mapper: { @@ -7009,7 +6929,7 @@ export const timeout61: msRest.OperationQueryParameter = { export const timeout62: msRest.OperationQueryParameter = { parameterPath: [ "options", - "taskListSubtasksOptions", + "taskTerminateOptions", "timeout" ], mapper: { @@ -7023,7 +6943,7 @@ export const timeout62: msRest.OperationQueryParameter = { export const timeout63: msRest.OperationQueryParameter = { parameterPath: [ "options", - "taskTerminateOptions", + "taskReactivateOptions", "timeout" ], mapper: { @@ -7037,7 +6957,7 @@ export const timeout63: msRest.OperationQueryParameter = { export const timeout64: msRest.OperationQueryParameter = { parameterPath: [ "options", - "taskReactivateOptions", + "computeNodeAddUserOptions", "timeout" ], mapper: { @@ -7051,7 +6971,7 @@ export const timeout64: msRest.OperationQueryParameter = { export const timeout65: msRest.OperationQueryParameter = { parameterPath: [ "options", - "computeNodeAddUserOptions", + "computeNodeDeleteUserOptions", "timeout" ], mapper: { @@ -7065,7 +6985,7 @@ export const timeout65: msRest.OperationQueryParameter = { export const timeout66: msRest.OperationQueryParameter = { parameterPath: [ "options", - "computeNodeDeleteUserOptions", + "computeNodeUpdateUserOptions", "timeout" ], mapper: { @@ -7079,7 +6999,7 @@ export const timeout66: msRest.OperationQueryParameter = { export const timeout67: msRest.OperationQueryParameter = { parameterPath: [ "options", - "computeNodeUpdateUserOptions", + "computeNodeGetOptions", "timeout" ], mapper: { @@ -7093,7 +7013,7 @@ export const timeout67: msRest.OperationQueryParameter = { export const timeout68: msRest.OperationQueryParameter = { parameterPath: [ "options", - "computeNodeGetOptions", + "computeNodeRebootOptions", "timeout" ], mapper: { @@ -7107,7 +7027,7 @@ export const timeout68: msRest.OperationQueryParameter = { export const timeout69: msRest.OperationQueryParameter = { parameterPath: [ "options", - "computeNodeRebootOptions", + "computeNodeReimageOptions", "timeout" ], mapper: { @@ -7133,20 +7053,6 @@ export const timeout7: msRest.OperationQueryParameter = { } }; export const timeout70: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "computeNodeReimageOptions", - "timeout" - ], - mapper: { - serializedName: "timeout", - defaultValue: 30, - type: { - name: "Number" - } - } -}; -export const timeout71: msRest.OperationQueryParameter = { parameterPath: [ "options", "computeNodeDisableSchedulingOptions", @@ -7160,7 +7066,7 @@ export const timeout71: msRest.OperationQueryParameter = { } } }; -export const timeout72: msRest.OperationQueryParameter = { +export const timeout71: msRest.OperationQueryParameter = { parameterPath: [ "options", "computeNodeEnableSchedulingOptions", @@ -7174,7 +7080,7 @@ export const timeout72: msRest.OperationQueryParameter = { } } }; -export const timeout73: msRest.OperationQueryParameter = { +export const timeout72: msRest.OperationQueryParameter = { parameterPath: [ "options", "computeNodeGetRemoteLoginSettingsOptions", @@ -7188,7 +7094,7 @@ export const timeout73: msRest.OperationQueryParameter = { } } }; -export const timeout74: msRest.OperationQueryParameter = { +export const timeout73: msRest.OperationQueryParameter = { parameterPath: [ "options", "computeNodeGetRemoteDesktopOptions", @@ -7202,7 +7108,7 @@ export const timeout74: msRest.OperationQueryParameter = { } } }; -export const timeout75: msRest.OperationQueryParameter = { +export const timeout74: msRest.OperationQueryParameter = { parameterPath: [ "options", "computeNodeUploadBatchServiceLogsOptions", @@ -7216,7 +7122,7 @@ export const timeout75: msRest.OperationQueryParameter = { } } }; -export const timeout76: msRest.OperationQueryParameter = { +export const timeout75: msRest.OperationQueryParameter = { parameterPath: [ "options", "computeNodeListOptions", diff --git a/packages/@azure/batch/lib/models/poolMappers.ts b/packages/@azure/batch/lib/models/poolMappers.ts index 95f181ade6d5..b319fcfd4afb 100644 --- a/packages/@azure/batch/lib/models/poolMappers.ts +++ b/packages/@azure/batch/lib/models/poolMappers.ts @@ -23,7 +23,6 @@ export { CloudServiceConfiguration, VirtualMachineConfiguration, ImageReference, - OSDisk, WindowsConfiguration, DataDisk, ContainerConfiguration, @@ -43,6 +42,7 @@ export { TaskSchedulingPolicy, UserAccount, LinuxUserConfiguration, + WindowsUserConfiguration, MetadataItem, PoolAddHeaders, CloudPoolListResult, @@ -67,8 +67,6 @@ export { PoolStopResizeHeaders, PoolUpdatePropertiesParameter, PoolUpdatePropertiesHeaders, - PoolUpgradeOSParameter, - PoolUpgradeOSHeaders, NodeRemoveParameter, PoolRemoveNodesHeaders } from "../models/mappers"; diff --git a/packages/@azure/batch/lib/operations/account.ts b/packages/@azure/batch/lib/operations/account.ts index 94e2823d5602..aefa31e9c111 100644 --- a/packages/@azure/batch/lib/operations/account.ts +++ b/packages/@azure/batch/lib/operations/account.ts @@ -136,17 +136,20 @@ const serializer = new msRest.Serializer(Mappers); const listNodeAgentSkusOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "nodeagentskus", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, Parameters.filter2, Parameters.maxResults3, - Parameters.timeout18 + Parameters.timeout17 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId21, - Parameters.returnClientRequestId21, - Parameters.ocpDate21 + Parameters.clientRequestId20, + Parameters.returnClientRequestId20, + Parameters.ocpDate20 ], responses: { 200: { @@ -163,17 +166,20 @@ const listNodeAgentSkusOperationSpec: msRest.OperationSpec = { const listPoolNodeCountsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "nodecounts", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, Parameters.filter3, Parameters.maxResults4, - Parameters.timeout19 + Parameters.timeout18 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId22, - Parameters.returnClientRequestId22, - Parameters.ocpDate22 + Parameters.clientRequestId21, + Parameters.returnClientRequestId21, + Parameters.ocpDate21 ], responses: { 200: { @@ -189,16 +195,16 @@ const listPoolNodeCountsOperationSpec: msRest.OperationSpec = { const listNodeAgentSkusNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId23, - Parameters.returnClientRequestId23, - Parameters.ocpDate23 + Parameters.clientRequestId22, + Parameters.returnClientRequestId22, + Parameters.ocpDate22 ], responses: { 200: { @@ -214,16 +220,16 @@ const listNodeAgentSkusNextOperationSpec: msRest.OperationSpec = { const listPoolNodeCountsNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId24, - Parameters.returnClientRequestId24, - Parameters.ocpDate24 + Parameters.clientRequestId23, + Parameters.returnClientRequestId23, + Parameters.ocpDate23 ], responses: { 200: { diff --git a/packages/@azure/batch/lib/operations/application.ts b/packages/@azure/batch/lib/operations/application.ts index 73ecd2fc69b2..d689f9bb17ab 100644 --- a/packages/@azure/batch/lib/operations/application.ts +++ b/packages/@azure/batch/lib/operations/application.ts @@ -124,6 +124,9 @@ const serializer = new msRest.Serializer(Mappers); const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "applications", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, Parameters.maxResults0, @@ -151,6 +154,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "applications/{applicationId}", urlParameters: [ + Parameters.batchUrl, Parameters.applicationId ], queryParameters: [ @@ -177,7 +181,7 @@ const getOperationSpec: msRest.OperationSpec = { const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink diff --git a/packages/@azure/batch/lib/operations/certificateOperations.ts b/packages/@azure/batch/lib/operations/certificateOperations.ts index 7ebcd1487746..7cbabb12ffc7 100644 --- a/packages/@azure/batch/lib/operations/certificateOperations.ts +++ b/packages/@azure/batch/lib/operations/certificateOperations.ts @@ -231,15 +231,18 @@ const serializer = new msRest.Serializer(Mappers); const addOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "certificates", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout33 + Parameters.timeout32 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId41, - Parameters.returnClientRequestId41, - Parameters.ocpDate41 + Parameters.clientRequestId40, + Parameters.returnClientRequestId40, + Parameters.ocpDate40 ], requestBody: { parameterPath: "certificate", @@ -263,18 +266,21 @@ const addOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "certificates", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, Parameters.filter7, Parameters.select6, Parameters.maxResults8, - Parameters.timeout34 + Parameters.timeout33 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId42, - Parameters.returnClientRequestId42, - Parameters.ocpDate42 + Parameters.clientRequestId41, + Parameters.returnClientRequestId41, + Parameters.ocpDate41 ], responses: { 200: { @@ -292,18 +298,19 @@ const cancelDeletionOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})/canceldelete", urlParameters: [ + Parameters.batchUrl, Parameters.thumbprintAlgorithm, Parameters.thumbprint ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout35 + Parameters.timeout34 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId43, - Parameters.returnClientRequestId43, - Parameters.ocpDate43 + Parameters.clientRequestId42, + Parameters.returnClientRequestId42, + Parameters.ocpDate42 ], responses: { 204: { @@ -320,18 +327,19 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})", urlParameters: [ + Parameters.batchUrl, Parameters.thumbprintAlgorithm, Parameters.thumbprint ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout36 + Parameters.timeout35 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId44, - Parameters.returnClientRequestId44, - Parameters.ocpDate44 + Parameters.clientRequestId43, + Parameters.returnClientRequestId43, + Parameters.ocpDate43 ], responses: { 202: { @@ -348,19 +356,20 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})", urlParameters: [ + Parameters.batchUrl, Parameters.thumbprintAlgorithm, Parameters.thumbprint ], queryParameters: [ Parameters.apiVersion, Parameters.select7, - Parameters.timeout37 + Parameters.timeout36 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId45, - Parameters.returnClientRequestId45, - Parameters.ocpDate45 + Parameters.clientRequestId44, + Parameters.returnClientRequestId44, + Parameters.ocpDate44 ], responses: { 200: { @@ -376,16 +385,16 @@ const getOperationSpec: msRest.OperationSpec = { const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId46, - Parameters.returnClientRequestId46, - Parameters.ocpDate46 + Parameters.clientRequestId45, + Parameters.returnClientRequestId45, + Parameters.ocpDate45 ], responses: { 200: { diff --git a/packages/@azure/batch/lib/operations/computeNodeOperations.ts b/packages/@azure/batch/lib/operations/computeNodeOperations.ts index 66ad872e10e3..3ffcd01b7dc2 100644 --- a/packages/@azure/batch/lib/operations/computeNodeOperations.ts +++ b/packages/@azure/batch/lib/operations/computeNodeOperations.ts @@ -101,7 +101,7 @@ export class ComputeNodeOperations { } /** - * This operation replaces of all the updateable properties of the account. For example, if the + * This operation replaces of all the updatable properties of the account. For example, if the * expiryTime element is not specified, the current value is replaced with the default value, not * left unmodified. You can update a user account on a node only when it is in the idle or running * state. @@ -493,18 +493,19 @@ const addUserOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/nodes/{nodeId}/users", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout65 + Parameters.timeout64 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId78, - Parameters.returnClientRequestId78, - Parameters.ocpDate78 + Parameters.clientRequestId77, + Parameters.returnClientRequestId77, + Parameters.ocpDate77 ], requestBody: { parameterPath: "user", @@ -529,19 +530,20 @@ const deleteUserOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "pools/{poolId}/nodes/{nodeId}/users/{userName}", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId, Parameters.userName ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout66 + Parameters.timeout65 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId79, - Parameters.returnClientRequestId79, - Parameters.ocpDate79 + Parameters.clientRequestId78, + Parameters.returnClientRequestId78, + Parameters.ocpDate78 ], responses: { 200: { @@ -558,19 +560,20 @@ const updateUserOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "pools/{poolId}/nodes/{nodeId}/users/{userName}", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId, Parameters.userName ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout67 + Parameters.timeout66 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId80, - Parameters.returnClientRequestId80, - Parameters.ocpDate80 + Parameters.clientRequestId79, + Parameters.returnClientRequestId79, + Parameters.ocpDate79 ], requestBody: { parameterPath: "nodeUpdateUserParameter", @@ -595,19 +598,20 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "pools/{poolId}/nodes/{nodeId}", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId ], queryParameters: [ Parameters.apiVersion, Parameters.select13, - Parameters.timeout68 + Parameters.timeout67 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId81, - Parameters.returnClientRequestId81, - Parameters.ocpDate81 + Parameters.clientRequestId80, + Parameters.returnClientRequestId80, + Parameters.ocpDate80 ], responses: { 200: { @@ -625,18 +629,19 @@ const rebootOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/nodes/{nodeId}/reboot", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout69 + Parameters.timeout68 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId82, - Parameters.returnClientRequestId82, - Parameters.ocpDate82 + Parameters.clientRequestId81, + Parameters.returnClientRequestId81, + Parameters.ocpDate81 ], requestBody: { parameterPath: { @@ -663,18 +668,19 @@ const reimageOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/nodes/{nodeId}/reimage", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout70 + Parameters.timeout69 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId83, - Parameters.returnClientRequestId83, - Parameters.ocpDate83 + Parameters.clientRequestId82, + Parameters.returnClientRequestId82, + Parameters.ocpDate82 ], requestBody: { parameterPath: { @@ -701,18 +707,19 @@ const disableSchedulingOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/nodes/{nodeId}/disablescheduling", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout71 + Parameters.timeout70 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId84, - Parameters.returnClientRequestId84, - Parameters.ocpDate84 + Parameters.clientRequestId83, + Parameters.returnClientRequestId83, + Parameters.ocpDate83 ], requestBody: { parameterPath: { @@ -739,18 +746,19 @@ const enableSchedulingOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/nodes/{nodeId}/enablescheduling", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout72 + Parameters.timeout71 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId85, - Parameters.returnClientRequestId85, - Parameters.ocpDate85 + Parameters.clientRequestId84, + Parameters.returnClientRequestId84, + Parameters.ocpDate84 ], responses: { 200: { @@ -767,18 +775,19 @@ const getRemoteLoginSettingsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "pools/{poolId}/nodes/{nodeId}/remoteloginsettings", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout73 + Parameters.timeout72 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId86, - Parameters.returnClientRequestId86, - Parameters.ocpDate86 + Parameters.clientRequestId85, + Parameters.returnClientRequestId85, + Parameters.ocpDate85 ], responses: { 200: { @@ -796,18 +805,19 @@ const getRemoteDesktopOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "pools/{poolId}/nodes/{nodeId}/rdp", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout74 + Parameters.timeout73 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId87, - Parameters.returnClientRequestId87, - Parameters.ocpDate87 + Parameters.clientRequestId86, + Parameters.returnClientRequestId86, + Parameters.ocpDate86 ], responses: { 200: { @@ -830,18 +840,19 @@ const uploadBatchServiceLogsOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/nodes/{nodeId}/uploadbatchservicelogs", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout75 + Parameters.timeout74 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId88, - Parameters.returnClientRequestId88, - Parameters.ocpDate88 + Parameters.clientRequestId87, + Parameters.returnClientRequestId87, + Parameters.ocpDate87 ], requestBody: { parameterPath: "uploadBatchServiceLogsConfiguration", @@ -867,6 +878,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "pools/{poolId}/nodes", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -874,13 +886,13 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.filter12, Parameters.select14, Parameters.maxResults13, - Parameters.timeout76 + Parameters.timeout75 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId89, - Parameters.returnClientRequestId89, - Parameters.ocpDate89 + Parameters.clientRequestId88, + Parameters.returnClientRequestId88, + Parameters.ocpDate88 ], responses: { 200: { @@ -896,16 +908,16 @@ const listOperationSpec: msRest.OperationSpec = { const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId90, - Parameters.returnClientRequestId90, - Parameters.ocpDate90 + Parameters.clientRequestId89, + Parameters.returnClientRequestId89, + Parameters.ocpDate89 ], responses: { 200: { diff --git a/packages/@azure/batch/lib/operations/file.ts b/packages/@azure/batch/lib/operations/file.ts index c9459fc9dfe5..75169781d916 100644 --- a/packages/@azure/batch/lib/operations/file.ts +++ b/packages/@azure/batch/lib/operations/file.ts @@ -369,6 +369,7 @@ const deleteFromTaskOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "jobs/{jobId}/tasks/{taskId}/files/{filePath}", urlParameters: [ + Parameters.batchUrl, Parameters.jobId, Parameters.taskId, Parameters.filePath @@ -376,13 +377,13 @@ const deleteFromTaskOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.recursive, Parameters.apiVersion, - Parameters.timeout38 + Parameters.timeout37 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId47, - Parameters.returnClientRequestId47, - Parameters.ocpDate47 + Parameters.clientRequestId46, + Parameters.returnClientRequestId46, + Parameters.ocpDate46 ], responses: { 200: { @@ -399,22 +400,23 @@ const getFromTaskOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobs/{jobId}/tasks/{taskId}/files/{filePath}", urlParameters: [ + Parameters.batchUrl, Parameters.jobId, Parameters.taskId, Parameters.filePath ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout39 + Parameters.timeout38 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId48, - Parameters.returnClientRequestId48, - Parameters.ocpDate48, + Parameters.clientRequestId47, + Parameters.returnClientRequestId47, + Parameters.ocpDate47, Parameters.ocpRange0, - Parameters.ifModifiedSince16, - Parameters.ifUnmodifiedSince16 + Parameters.ifModifiedSince15, + Parameters.ifUnmodifiedSince15 ], responses: { 200: { @@ -437,21 +439,22 @@ const getPropertiesFromTaskOperationSpec: msRest.OperationSpec = { httpMethod: "HEAD", path: "jobs/{jobId}/tasks/{taskId}/files/{filePath}", urlParameters: [ + Parameters.batchUrl, Parameters.jobId, Parameters.taskId, Parameters.filePath ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout40 + Parameters.timeout39 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId49, - Parameters.returnClientRequestId49, - Parameters.ocpDate49, - Parameters.ifModifiedSince17, - Parameters.ifUnmodifiedSince17 + Parameters.clientRequestId48, + Parameters.returnClientRequestId48, + Parameters.ocpDate48, + Parameters.ifModifiedSince16, + Parameters.ifUnmodifiedSince16 ], responses: { 200: { @@ -468,6 +471,7 @@ const deleteFromComputeNodeOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "pools/{poolId}/nodes/{nodeId}/files/{filePath}", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId, Parameters.filePath @@ -475,13 +479,13 @@ const deleteFromComputeNodeOperationSpec: msRest.OperationSpec = { queryParameters: [ Parameters.recursive, Parameters.apiVersion, - Parameters.timeout41 + Parameters.timeout40 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId50, - Parameters.returnClientRequestId50, - Parameters.ocpDate50 + Parameters.clientRequestId49, + Parameters.returnClientRequestId49, + Parameters.ocpDate49 ], responses: { 200: { @@ -498,22 +502,23 @@ const getFromComputeNodeOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "pools/{poolId}/nodes/{nodeId}/files/{filePath}", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId, Parameters.filePath ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout42 + Parameters.timeout41 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId51, - Parameters.returnClientRequestId51, - Parameters.ocpDate51, + Parameters.clientRequestId50, + Parameters.returnClientRequestId50, + Parameters.ocpDate50, Parameters.ocpRange1, - Parameters.ifModifiedSince18, - Parameters.ifUnmodifiedSince18 + Parameters.ifModifiedSince17, + Parameters.ifUnmodifiedSince17 ], responses: { 200: { @@ -536,21 +541,22 @@ const getPropertiesFromComputeNodeOperationSpec: msRest.OperationSpec = { httpMethod: "HEAD", path: "pools/{poolId}/nodes/{nodeId}/files/{filePath}", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId, Parameters.filePath ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout43 + Parameters.timeout42 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId52, - Parameters.returnClientRequestId52, - Parameters.ocpDate52, - Parameters.ifModifiedSince19, - Parameters.ifUnmodifiedSince19 + Parameters.clientRequestId51, + Parameters.returnClientRequestId51, + Parameters.ocpDate51, + Parameters.ifModifiedSince18, + Parameters.ifUnmodifiedSince18 ], responses: { 200: { @@ -567,6 +573,7 @@ const listFromTaskOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobs/{jobId}/tasks/{taskId}/files", urlParameters: [ + Parameters.batchUrl, Parameters.jobId, Parameters.taskId ], @@ -575,13 +582,13 @@ const listFromTaskOperationSpec: msRest.OperationSpec = { Parameters.apiVersion, Parameters.filter8, Parameters.maxResults9, - Parameters.timeout44 + Parameters.timeout43 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId53, - Parameters.returnClientRequestId53, - Parameters.ocpDate53 + Parameters.clientRequestId52, + Parameters.returnClientRequestId52, + Parameters.ocpDate52 ], responses: { 200: { @@ -599,6 +606,7 @@ const listFromComputeNodeOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "pools/{poolId}/nodes/{nodeId}/files", urlParameters: [ + Parameters.batchUrl, Parameters.poolId, Parameters.nodeId ], @@ -607,13 +615,13 @@ const listFromComputeNodeOperationSpec: msRest.OperationSpec = { Parameters.apiVersion, Parameters.filter9, Parameters.maxResults10, - Parameters.timeout45 + Parameters.timeout44 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId54, - Parameters.returnClientRequestId54, - Parameters.ocpDate54 + Parameters.clientRequestId53, + Parameters.returnClientRequestId53, + Parameters.ocpDate53 ], responses: { 200: { @@ -629,16 +637,16 @@ const listFromComputeNodeOperationSpec: msRest.OperationSpec = { const listFromTaskNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId55, - Parameters.returnClientRequestId55, - Parameters.ocpDate55 + Parameters.clientRequestId54, + Parameters.returnClientRequestId54, + Parameters.ocpDate54 ], responses: { 200: { @@ -654,16 +662,16 @@ const listFromTaskNextOperationSpec: msRest.OperationSpec = { const listFromComputeNodeNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId56, - Parameters.returnClientRequestId56, - Parameters.ocpDate56 + Parameters.clientRequestId55, + Parameters.returnClientRequestId55, + Parameters.ocpDate55 ], responses: { 200: { diff --git a/packages/@azure/batch/lib/operations/job.ts b/packages/@azure/batch/lib/operations/job.ts index 7b05ec29b1a5..032091ec6211 100644 --- a/packages/@azure/batch/lib/operations/job.ts +++ b/packages/@azure/batch/lib/operations/job.ts @@ -153,7 +153,7 @@ export class Job { } /** - * This fully replaces all the updateable properties of the job. For example, if the job has + * This fully replaces all the updatable properties of the job. For example, if the job has * constraints associated with it and if constraints is not specified with this request, then the * Batch service will remove the existing constraints. * @summary Updates the properties of the specified job. @@ -233,8 +233,8 @@ export class Job { * When you call this API, the Batch service sets a disabled job to the enabling state. After the * this operation is completed, the job moves to the active state, and scheduling of new tasks * under the job resumes. The Batch service does not allow a task to remain in the active state for - * more than 7 days. Therefore, if you enable a job containing active tasks which were added more - * than 7 days ago, those tasks will not run. + * more than 180 days. Therefore, if you enable a job containing active tasks which were added more + * than 180 days ago, those tasks will not run. * @summary Enables the specified job, allowing new tasks to run. * @param jobId The ID of the job to enable. * @param [options] The optional parameters @@ -542,15 +542,18 @@ const serializer = new msRest.Serializer(Mappers); const getAllLifetimeStatisticsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "lifetimejobstats", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout20 + Parameters.timeout19 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId25, - Parameters.returnClientRequestId25, - Parameters.ocpDate25 + Parameters.clientRequestId24, + Parameters.returnClientRequestId24, + Parameters.ocpDate24 ], responses: { 200: { @@ -568,21 +571,22 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "jobs/{jobId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout21 + Parameters.timeout20 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId26, - Parameters.returnClientRequestId26, - Parameters.ocpDate26, - Parameters.ifMatch9, - Parameters.ifNoneMatch9, - Parameters.ifModifiedSince9, - Parameters.ifUnmodifiedSince9 + Parameters.clientRequestId25, + Parameters.returnClientRequestId25, + Parameters.ocpDate25, + Parameters.ifMatch8, + Parameters.ifNoneMatch8, + Parameters.ifModifiedSince8, + Parameters.ifUnmodifiedSince8 ], responses: { 202: { @@ -599,23 +603,24 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobs/{jobId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ Parameters.apiVersion, Parameters.select2, Parameters.expand2, - Parameters.timeout22 + Parameters.timeout21 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId27, - Parameters.returnClientRequestId27, - Parameters.ocpDate27, - Parameters.ifMatch10, - Parameters.ifNoneMatch10, - Parameters.ifModifiedSince10, - Parameters.ifUnmodifiedSince10 + Parameters.clientRequestId26, + Parameters.returnClientRequestId26, + Parameters.ocpDate26, + Parameters.ifMatch9, + Parameters.ifNoneMatch9, + Parameters.ifModifiedSince9, + Parameters.ifUnmodifiedSince9 ], responses: { 200: { @@ -633,21 +638,22 @@ const patchOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "jobs/{jobId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout23 + Parameters.timeout22 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId28, - Parameters.returnClientRequestId28, - Parameters.ocpDate28, - Parameters.ifMatch11, - Parameters.ifNoneMatch11, - Parameters.ifModifiedSince11, - Parameters.ifUnmodifiedSince11 + Parameters.clientRequestId27, + Parameters.returnClientRequestId27, + Parameters.ocpDate27, + Parameters.ifMatch10, + Parameters.ifNoneMatch10, + Parameters.ifModifiedSince10, + Parameters.ifUnmodifiedSince10 ], requestBody: { parameterPath: "jobPatchParameter", @@ -672,21 +678,22 @@ const updateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "jobs/{jobId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout24 + Parameters.timeout23 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId29, - Parameters.returnClientRequestId29, - Parameters.ocpDate29, - Parameters.ifMatch12, - Parameters.ifNoneMatch12, - Parameters.ifModifiedSince12, - Parameters.ifUnmodifiedSince12 + Parameters.clientRequestId28, + Parameters.returnClientRequestId28, + Parameters.ocpDate28, + Parameters.ifMatch11, + Parameters.ifNoneMatch11, + Parameters.ifModifiedSince11, + Parameters.ifUnmodifiedSince11 ], requestBody: { parameterPath: "jobUpdateParameter", @@ -711,21 +718,22 @@ const disableOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobs/{jobId}/disable", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout25 + Parameters.timeout24 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId30, - Parameters.returnClientRequestId30, - Parameters.ocpDate30, - Parameters.ifMatch13, - Parameters.ifNoneMatch13, - Parameters.ifModifiedSince13, - Parameters.ifUnmodifiedSince13 + Parameters.clientRequestId29, + Parameters.returnClientRequestId29, + Parameters.ocpDate29, + Parameters.ifMatch12, + Parameters.ifNoneMatch12, + Parameters.ifModifiedSince12, + Parameters.ifUnmodifiedSince12 ], requestBody: { parameterPath: { @@ -752,21 +760,22 @@ const enableOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobs/{jobId}/enable", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout26 + Parameters.timeout25 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId31, - Parameters.returnClientRequestId31, - Parameters.ocpDate31, - Parameters.ifMatch14, - Parameters.ifNoneMatch14, - Parameters.ifModifiedSince14, - Parameters.ifUnmodifiedSince14 + Parameters.clientRequestId30, + Parameters.returnClientRequestId30, + Parameters.ocpDate30, + Parameters.ifMatch13, + Parameters.ifNoneMatch13, + Parameters.ifModifiedSince13, + Parameters.ifUnmodifiedSince13 ], responses: { 202: { @@ -783,21 +792,22 @@ const terminateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobs/{jobId}/terminate", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout27 + Parameters.timeout26 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId32, - Parameters.returnClientRequestId32, - Parameters.ocpDate32, - Parameters.ifMatch15, - Parameters.ifNoneMatch15, - Parameters.ifModifiedSince15, - Parameters.ifUnmodifiedSince15 + Parameters.clientRequestId31, + Parameters.returnClientRequestId31, + Parameters.ocpDate31, + Parameters.ifMatch14, + Parameters.ifNoneMatch14, + Parameters.ifModifiedSince14, + Parameters.ifUnmodifiedSince14 ], requestBody: { parameterPath: { @@ -823,15 +833,18 @@ const terminateOperationSpec: msRest.OperationSpec = { const addOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobs", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout28 + Parameters.timeout27 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId33, - Parameters.returnClientRequestId33, - Parameters.ocpDate33 + Parameters.clientRequestId32, + Parameters.returnClientRequestId32, + Parameters.ocpDate32 ], requestBody: { parameterPath: "job", @@ -855,19 +868,22 @@ const addOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobs", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, Parameters.filter4, Parameters.select3, Parameters.expand3, Parameters.maxResults5, - Parameters.timeout29 + Parameters.timeout28 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId34, - Parameters.returnClientRequestId34, - Parameters.ocpDate34 + Parameters.clientRequestId33, + Parameters.returnClientRequestId33, + Parameters.ocpDate33 ], responses: { 200: { @@ -885,6 +901,7 @@ const listFromJobScheduleOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobschedules/{jobScheduleId}/jobs", urlParameters: [ + Parameters.batchUrl, Parameters.jobScheduleId ], queryParameters: [ @@ -893,13 +910,13 @@ const listFromJobScheduleOperationSpec: msRest.OperationSpec = { Parameters.select4, Parameters.expand4, Parameters.maxResults6, - Parameters.timeout30 + Parameters.timeout29 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId35, - Parameters.returnClientRequestId35, - Parameters.ocpDate35 + Parameters.clientRequestId34, + Parameters.returnClientRequestId34, + Parameters.ocpDate34 ], responses: { 200: { @@ -917,6 +934,7 @@ const listPreparationAndReleaseTaskStatusOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobs/{jobId}/jobpreparationandreleasetaskstatus", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ @@ -924,13 +942,13 @@ const listPreparationAndReleaseTaskStatusOperationSpec: msRest.OperationSpec = { Parameters.filter6, Parameters.select5, Parameters.maxResults7, - Parameters.timeout31 + Parameters.timeout30 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId36, - Parameters.returnClientRequestId36, - Parameters.ocpDate36 + Parameters.clientRequestId35, + Parameters.returnClientRequestId35, + Parameters.ocpDate35 ], responses: { 200: { @@ -948,17 +966,18 @@ const getTaskCountsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobs/{jobId}/taskcounts", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout32 + Parameters.timeout31 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId37, - Parameters.returnClientRequestId37, - Parameters.ocpDate37 + Parameters.clientRequestId36, + Parameters.returnClientRequestId36, + Parameters.ocpDate36 ], responses: { 200: { @@ -974,16 +993,16 @@ const getTaskCountsOperationSpec: msRest.OperationSpec = { const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId38, - Parameters.returnClientRequestId38, - Parameters.ocpDate38 + Parameters.clientRequestId37, + Parameters.returnClientRequestId37, + Parameters.ocpDate37 ], responses: { 200: { @@ -999,16 +1018,16 @@ const listNextOperationSpec: msRest.OperationSpec = { const listFromJobScheduleNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId39, - Parameters.returnClientRequestId39, - Parameters.ocpDate39 + Parameters.clientRequestId38, + Parameters.returnClientRequestId38, + Parameters.ocpDate38 ], responses: { 200: { @@ -1024,16 +1043,16 @@ const listFromJobScheduleNextOperationSpec: msRest.OperationSpec = { const listPreparationAndReleaseTaskStatusNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId40, - Parameters.returnClientRequestId40, - Parameters.ocpDate40 + Parameters.clientRequestId39, + Parameters.returnClientRequestId39, + Parameters.ocpDate39 ], responses: { 200: { diff --git a/packages/@azure/batch/lib/operations/jobSchedule.ts b/packages/@azure/batch/lib/operations/jobSchedule.ts index 817c03705690..1aca6bbdd8ad 100644 --- a/packages/@azure/batch/lib/operations/jobSchedule.ts +++ b/packages/@azure/batch/lib/operations/jobSchedule.ts @@ -152,7 +152,7 @@ export class JobSchedule { } /** - * This fully replaces all the updateable properties of the job schedule. For example, if the + * This fully replaces all the updatable properties of the job schedule. For example, if the * schedule property is not specified with this request, then the Batch service will remove the * existing schedule. Changes to a job schedule only impact jobs created by the schedule after the * update has taken place; currently running jobs are unaffected. @@ -359,21 +359,22 @@ const existsOperationSpec: msRest.OperationSpec = { httpMethod: "HEAD", path: "jobschedules/{jobScheduleId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobScheduleId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout46 + Parameters.timeout45 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId57, - Parameters.returnClientRequestId57, - Parameters.ocpDate57, - Parameters.ifMatch16, - Parameters.ifNoneMatch16, - Parameters.ifModifiedSince20, - Parameters.ifUnmodifiedSince20 + Parameters.clientRequestId56, + Parameters.returnClientRequestId56, + Parameters.ocpDate56, + Parameters.ifMatch15, + Parameters.ifNoneMatch15, + Parameters.ifModifiedSince19, + Parameters.ifUnmodifiedSince19 ], responses: { 200: { @@ -393,21 +394,22 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "jobschedules/{jobScheduleId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobScheduleId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout47 + Parameters.timeout46 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId58, - Parameters.returnClientRequestId58, - Parameters.ocpDate58, - Parameters.ifMatch17, - Parameters.ifNoneMatch17, - Parameters.ifModifiedSince21, - Parameters.ifUnmodifiedSince21 + Parameters.clientRequestId57, + Parameters.returnClientRequestId57, + Parameters.ocpDate57, + Parameters.ifMatch16, + Parameters.ifNoneMatch16, + Parameters.ifModifiedSince20, + Parameters.ifUnmodifiedSince20 ], responses: { 202: { @@ -424,23 +426,24 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobschedules/{jobScheduleId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobScheduleId ], queryParameters: [ Parameters.apiVersion, Parameters.select8, Parameters.expand5, - Parameters.timeout48 + Parameters.timeout47 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId59, - Parameters.returnClientRequestId59, - Parameters.ocpDate59, - Parameters.ifMatch18, - Parameters.ifNoneMatch18, - Parameters.ifModifiedSince22, - Parameters.ifUnmodifiedSince22 + Parameters.clientRequestId58, + Parameters.returnClientRequestId58, + Parameters.ocpDate58, + Parameters.ifMatch17, + Parameters.ifNoneMatch17, + Parameters.ifModifiedSince21, + Parameters.ifUnmodifiedSince21 ], responses: { 200: { @@ -458,21 +461,22 @@ const patchOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "jobschedules/{jobScheduleId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobScheduleId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout49 + Parameters.timeout48 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId60, - Parameters.returnClientRequestId60, - Parameters.ocpDate60, - Parameters.ifMatch19, - Parameters.ifNoneMatch19, - Parameters.ifModifiedSince23, - Parameters.ifUnmodifiedSince23 + Parameters.clientRequestId59, + Parameters.returnClientRequestId59, + Parameters.ocpDate59, + Parameters.ifMatch18, + Parameters.ifNoneMatch18, + Parameters.ifModifiedSince22, + Parameters.ifUnmodifiedSince22 ], requestBody: { parameterPath: "jobSchedulePatchParameter", @@ -497,21 +501,22 @@ const updateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "jobschedules/{jobScheduleId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobScheduleId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout50 + Parameters.timeout49 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId61, - Parameters.returnClientRequestId61, - Parameters.ocpDate61, - Parameters.ifMatch20, - Parameters.ifNoneMatch20, - Parameters.ifModifiedSince24, - Parameters.ifUnmodifiedSince24 + Parameters.clientRequestId60, + Parameters.returnClientRequestId60, + Parameters.ocpDate60, + Parameters.ifMatch19, + Parameters.ifNoneMatch19, + Parameters.ifModifiedSince23, + Parameters.ifUnmodifiedSince23 ], requestBody: { parameterPath: "jobScheduleUpdateParameter", @@ -536,21 +541,22 @@ const disableOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobschedules/{jobScheduleId}/disable", urlParameters: [ + Parameters.batchUrl, Parameters.jobScheduleId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout51 + Parameters.timeout50 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId62, - Parameters.returnClientRequestId62, - Parameters.ocpDate62, - Parameters.ifMatch21, - Parameters.ifNoneMatch21, - Parameters.ifModifiedSince25, - Parameters.ifUnmodifiedSince25 + Parameters.clientRequestId61, + Parameters.returnClientRequestId61, + Parameters.ocpDate61, + Parameters.ifMatch20, + Parameters.ifNoneMatch20, + Parameters.ifModifiedSince24, + Parameters.ifUnmodifiedSince24 ], responses: { 204: { @@ -567,21 +573,22 @@ const enableOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobschedules/{jobScheduleId}/enable", urlParameters: [ + Parameters.batchUrl, Parameters.jobScheduleId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout52 + Parameters.timeout51 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId63, - Parameters.returnClientRequestId63, - Parameters.ocpDate63, - Parameters.ifMatch22, - Parameters.ifNoneMatch22, - Parameters.ifModifiedSince26, - Parameters.ifUnmodifiedSince26 + Parameters.clientRequestId62, + Parameters.returnClientRequestId62, + Parameters.ocpDate62, + Parameters.ifMatch21, + Parameters.ifNoneMatch21, + Parameters.ifModifiedSince25, + Parameters.ifUnmodifiedSince25 ], responses: { 204: { @@ -598,21 +605,22 @@ const terminateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobschedules/{jobScheduleId}/terminate", urlParameters: [ + Parameters.batchUrl, Parameters.jobScheduleId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout53 + Parameters.timeout52 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId64, - Parameters.returnClientRequestId64, - Parameters.ocpDate64, - Parameters.ifMatch23, - Parameters.ifNoneMatch23, - Parameters.ifModifiedSince27, - Parameters.ifUnmodifiedSince27 + Parameters.clientRequestId63, + Parameters.returnClientRequestId63, + Parameters.ocpDate63, + Parameters.ifMatch22, + Parameters.ifNoneMatch22, + Parameters.ifModifiedSince26, + Parameters.ifUnmodifiedSince26 ], responses: { 202: { @@ -628,15 +636,18 @@ const terminateOperationSpec: msRest.OperationSpec = { const addOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobschedules", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout54 + Parameters.timeout53 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId65, - Parameters.returnClientRequestId65, - Parameters.ocpDate65 + Parameters.clientRequestId64, + Parameters.returnClientRequestId64, + Parameters.ocpDate64 ], requestBody: { parameterPath: "cloudJobSchedule", @@ -660,19 +671,22 @@ const addOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobschedules", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, Parameters.filter10, Parameters.select9, Parameters.expand6, Parameters.maxResults11, - Parameters.timeout55 + Parameters.timeout54 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId66, - Parameters.returnClientRequestId66, - Parameters.ocpDate66 + Parameters.clientRequestId65, + Parameters.returnClientRequestId65, + Parameters.ocpDate65 ], responses: { 200: { @@ -688,16 +702,16 @@ const listOperationSpec: msRest.OperationSpec = { const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId67, - Parameters.returnClientRequestId67, - Parameters.ocpDate67 + Parameters.clientRequestId66, + Parameters.returnClientRequestId66, + Parameters.ocpDate66 ], responses: { 200: { diff --git a/packages/@azure/batch/lib/operations/pool.ts b/packages/@azure/batch/lib/operations/pool.ts index 33b8dbfa9b14..4fb694a9153e 100644 --- a/packages/@azure/batch/lib/operations/pool.ts +++ b/packages/@azure/batch/lib/operations/pool.ts @@ -452,7 +452,7 @@ export class Pool { } /** - * This fully replaces all the updateable properties of the pool. For example, if the pool has a + * This fully replaces all the updatable properties of the pool. For example, if the pool has a * start task associated with it and if start task is not specified with this request, then the * Batch service will remove the existing start task. * @summary Updates the properties of the specified pool. @@ -486,54 +486,6 @@ export class Pool { callback) as Promise; } - /** - * During an upgrade, the Batch service upgrades each compute node in the pool. When a compute node - * is chosen for upgrade, any tasks running on that node are removed from the node and returned to - * the queue to be rerun later (or on a different compute node). The node will be unavailable until - * the upgrade is complete. This operation results in temporarily reduced pool capacity as nodes - * are taken out of service to be upgraded. Although the Batch service tries to avoid upgrading all - * compute nodes at the same time, it does not guarantee to do this (particularly on small pools); - * therefore, the pool may be temporarily unavailable to run tasks. When this operation runs, the - * pool state changes to upgrading. When all compute nodes have finished upgrading, the pool state - * returns to active. While the upgrade is in progress, the pool's currentOSVersion reflects the OS - * version that nodes are upgrading from, and targetOSVersion reflects the OS version that nodes - * are upgrading to. Once the upgrade is complete, currentOSVersion is updated to reflect the OS - * version now running on all nodes. This operation can only be invoked on pools created with the - * cloudServiceConfiguration property. - * @summary Upgrades the operating system of the specified pool. - * @param poolId The ID of the pool to upgrade. - * @param targetOSVersion The Azure Guest OS version to be installed on the virtual machines in the - * pool. - * @param [options] The optional parameters - * @returns Promise - */ - upgradeOS(poolId: string, targetOSVersion: string, options?: Models.PoolUpgradeOSOptionalParams): Promise; - /** - * @param poolId The ID of the pool to upgrade. - * @param targetOSVersion The Azure Guest OS version to be installed on the virtual machines in the - * pool. - * @param callback The callback - */ - upgradeOS(poolId: string, targetOSVersion: string, callback: msRest.ServiceCallback): void; - /** - * @param poolId The ID of the pool to upgrade. - * @param targetOSVersion The Azure Guest OS version to be installed on the virtual machines in the - * pool. - * @param options The optional parameters - * @param callback The callback - */ - upgradeOS(poolId: string, targetOSVersion: string, options: Models.PoolUpgradeOSOptionalParams, callback: msRest.ServiceCallback): void; - upgradeOS(poolId: string, targetOSVersion: string, options?: Models.PoolUpgradeOSOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - poolId, - targetOSVersion, - options - }, - upgradeOSOperationSpec, - callback) as Promise; - } - /** * This operation can only run when the allocation state of the pool is steady. When this operation * runs, the allocation state changes from steady to resizing. @@ -636,6 +588,9 @@ const serializer = new msRest.Serializer(Mappers); const listUsageMetricsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "poolusagemetrics", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, Parameters.startTime, @@ -665,6 +620,9 @@ const listUsageMetricsOperationSpec: msRest.OperationSpec = { const getAllLifetimeStatisticsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "lifetimepoolstats", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, Parameters.timeout3 @@ -690,6 +648,9 @@ const getAllLifetimeStatisticsOperationSpec: msRest.OperationSpec = { const addOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, Parameters.timeout4 @@ -722,6 +683,9 @@ const addOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "pools", + urlParameters: [ + Parameters.batchUrl + ], queryParameters: [ Parameters.apiVersion, Parameters.filter1, @@ -752,6 +716,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "pools/{poolId}", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -783,6 +748,7 @@ const existsOperationSpec: msRest.OperationSpec = { httpMethod: "HEAD", path: "pools/{poolId}", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -817,6 +783,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "pools/{poolId}", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -851,6 +818,7 @@ const patchOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "pools/{poolId}", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -890,6 +858,7 @@ const disableAutoScaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/disableautoscale", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -917,6 +886,7 @@ const enableAutoScaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/enableautoscale", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -956,6 +926,7 @@ const evaluateAutoScaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/evaluateautoscale", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -994,6 +965,7 @@ const resizeOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/resize", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -1033,6 +1005,7 @@ const stopResizeOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/stopresize", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -1064,6 +1037,7 @@ const updatePropertiesOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "pools/{poolId}/updateproperties", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -1095,10 +1069,11 @@ const updatePropertiesOperationSpec: msRest.OperationSpec = { serializer }; -const upgradeOSOperationSpec: msRest.OperationSpec = { +const removeNodesOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "pools/{poolId}/upgradeos", + path: "pools/{poolId}/removenodes", urlParameters: [ + Parameters.batchUrl, Parameters.poolId ], queryParameters: [ @@ -1115,47 +1090,6 @@ const upgradeOSOperationSpec: msRest.OperationSpec = { Parameters.ifModifiedSince7, Parameters.ifUnmodifiedSince7 ], - requestBody: { - parameterPath: { - targetOSVersion: "targetOSVersion" - }, - mapper: { - ...Mappers.PoolUpgradeOSParameter, - required: true - } - }, - contentType: "application/json; odata=minimalmetadata; charset=utf-8", - responses: { - 202: { - headersMapper: Mappers.PoolUpgradeOSHeaders - }, - default: { - bodyMapper: Mappers.BatchError - } - }, - serializer -}; - -const removeNodesOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "pools/{poolId}/removenodes", - urlParameters: [ - Parameters.poolId - ], - queryParameters: [ - Parameters.apiVersion, - Parameters.timeout17 - ], - headerParameters: [ - Parameters.acceptLanguage, - Parameters.clientRequestId18, - Parameters.returnClientRequestId18, - Parameters.ocpDate18, - Parameters.ifMatch8, - Parameters.ifNoneMatch8, - Parameters.ifModifiedSince8, - Parameters.ifUnmodifiedSince8 - ], requestBody: { parameterPath: "nodeRemoveParameter", mapper: { @@ -1177,16 +1111,16 @@ const removeNodesOperationSpec: msRest.OperationSpec = { const listUsageMetricsNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId19, - Parameters.returnClientRequestId19, - Parameters.ocpDate19 + Parameters.clientRequestId18, + Parameters.returnClientRequestId18, + Parameters.ocpDate18 ], responses: { 200: { @@ -1202,16 +1136,16 @@ const listUsageMetricsNextOperationSpec: msRest.OperationSpec = { const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId20, - Parameters.returnClientRequestId20, - Parameters.ocpDate20 + Parameters.clientRequestId19, + Parameters.returnClientRequestId19, + Parameters.ocpDate19 ], responses: { 200: { diff --git a/packages/@azure/batch/lib/operations/task.ts b/packages/@azure/batch/lib/operations/task.ts index f22538368d7e..809212a479e2 100644 --- a/packages/@azure/batch/lib/operations/task.ts +++ b/packages/@azure/batch/lib/operations/task.ts @@ -27,8 +27,8 @@ export class Task { } /** - * The maximum lifetime of a task from addition to completion is 7 days. If a task has not - * completed within 7 days of being added it will be terminated by the Batch service and left in + * The maximum lifetime of a task from addition to completion is 180 days. If a task has not + * completed within 180 days of being added it will be terminated by the Batch service and left in * whatever state it was in at that time. * @summary Adds a task to the specified job. * @param jobId The ID of the job to which the task is to be added. @@ -101,9 +101,9 @@ export class Task { * extra tasks unexpectedly. If the response contains any tasks which failed to add, a client can * retry the request. In a retry, it is most efficient to resubmit only tasks that failed to add, * and to omit tasks that were successfully added on the first attempt. The maximum lifetime of a - * task from addition to completion is 7 days. If a task has not completed within 7 days of being - * added it will be terminated by the Batch service and left in whatever state it was in at that - * time. + * task from addition to completion is 180 days. If a task has not completed within 180 days of + * being added it will be terminated by the Batch service and left in whatever state it was in at + * that time. * @summary Adds a collection of tasks to the specified job. * @param jobId The ID of the job to which the task collection is to be added. * @param value The collection of tasks to add. The maximum count of tasks is 100. The total @@ -390,17 +390,18 @@ const addOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobs/{jobId}/tasks", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout56 + Parameters.timeout55 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId68, - Parameters.returnClientRequestId68, - Parameters.ocpDate68 + Parameters.clientRequestId67, + Parameters.returnClientRequestId67, + Parameters.ocpDate67 ], requestBody: { parameterPath: "task", @@ -425,6 +426,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobs/{jobId}/tasks", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ @@ -433,13 +435,13 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.select10, Parameters.expand7, Parameters.maxResults12, - Parameters.timeout57 + Parameters.timeout56 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId69, - Parameters.returnClientRequestId69, - Parameters.ocpDate69 + Parameters.clientRequestId68, + Parameters.returnClientRequestId68, + Parameters.ocpDate68 ], responses: { 200: { @@ -457,17 +459,18 @@ const addCollectionOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobs/{jobId}/addtaskcollection", urlParameters: [ + Parameters.batchUrl, Parameters.jobId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout58 + Parameters.timeout57 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId70, - Parameters.returnClientRequestId70, - Parameters.ocpDate70 + Parameters.clientRequestId69, + Parameters.returnClientRequestId69, + Parameters.ocpDate69 ], requestBody: { parameterPath: { @@ -495,22 +498,23 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "jobs/{jobId}/tasks/{taskId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobId, Parameters.taskId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout59 + Parameters.timeout58 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId71, - Parameters.returnClientRequestId71, - Parameters.ocpDate71, - Parameters.ifMatch24, - Parameters.ifNoneMatch24, - Parameters.ifModifiedSince28, - Parameters.ifUnmodifiedSince28 + Parameters.clientRequestId70, + Parameters.returnClientRequestId70, + Parameters.ocpDate70, + Parameters.ifMatch23, + Parameters.ifNoneMatch23, + Parameters.ifModifiedSince27, + Parameters.ifUnmodifiedSince27 ], responses: { 200: { @@ -527,6 +531,7 @@ const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobs/{jobId}/tasks/{taskId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobId, Parameters.taskId ], @@ -534,17 +539,17 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.apiVersion, Parameters.select11, Parameters.expand8, - Parameters.timeout60 + Parameters.timeout59 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId72, - Parameters.returnClientRequestId72, - Parameters.ocpDate72, - Parameters.ifMatch25, - Parameters.ifNoneMatch25, - Parameters.ifModifiedSince29, - Parameters.ifUnmodifiedSince29 + Parameters.clientRequestId71, + Parameters.returnClientRequestId71, + Parameters.ocpDate71, + Parameters.ifMatch24, + Parameters.ifNoneMatch24, + Parameters.ifModifiedSince28, + Parameters.ifUnmodifiedSince28 ], responses: { 200: { @@ -562,22 +567,23 @@ const updateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "jobs/{jobId}/tasks/{taskId}", urlParameters: [ + Parameters.batchUrl, Parameters.jobId, Parameters.taskId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout61 + Parameters.timeout60 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId73, - Parameters.returnClientRequestId73, - Parameters.ocpDate73, - Parameters.ifMatch26, - Parameters.ifNoneMatch26, - Parameters.ifModifiedSince30, - Parameters.ifUnmodifiedSince30 + Parameters.clientRequestId72, + Parameters.returnClientRequestId72, + Parameters.ocpDate72, + Parameters.ifMatch25, + Parameters.ifNoneMatch25, + Parameters.ifModifiedSince29, + Parameters.ifUnmodifiedSince29 ], requestBody: { parameterPath: { @@ -607,19 +613,20 @@ const listSubtasksOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "jobs/{jobId}/tasks/{taskId}/subtasksinfo", urlParameters: [ + Parameters.batchUrl, Parameters.jobId, Parameters.taskId ], queryParameters: [ Parameters.apiVersion, Parameters.select12, - Parameters.timeout62 + Parameters.timeout61 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId74, - Parameters.returnClientRequestId74, - Parameters.ocpDate74 + Parameters.clientRequestId73, + Parameters.returnClientRequestId73, + Parameters.ocpDate73 ], responses: { 200: { @@ -637,22 +644,23 @@ const terminateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobs/{jobId}/tasks/{taskId}/terminate", urlParameters: [ + Parameters.batchUrl, Parameters.jobId, Parameters.taskId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout63 + Parameters.timeout62 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId75, - Parameters.returnClientRequestId75, - Parameters.ocpDate75, - Parameters.ifMatch27, - Parameters.ifNoneMatch27, - Parameters.ifModifiedSince31, - Parameters.ifUnmodifiedSince31 + Parameters.clientRequestId74, + Parameters.returnClientRequestId74, + Parameters.ocpDate74, + Parameters.ifMatch26, + Parameters.ifNoneMatch26, + Parameters.ifModifiedSince30, + Parameters.ifUnmodifiedSince30 ], responses: { 204: { @@ -669,22 +677,23 @@ const reactivateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "jobs/{jobId}/tasks/{taskId}/reactivate", urlParameters: [ + Parameters.batchUrl, Parameters.jobId, Parameters.taskId ], queryParameters: [ Parameters.apiVersion, - Parameters.timeout64 + Parameters.timeout63 ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId76, - Parameters.returnClientRequestId76, - Parameters.ocpDate76, - Parameters.ifMatch28, - Parameters.ifNoneMatch28, - Parameters.ifModifiedSince32, - Parameters.ifUnmodifiedSince32 + Parameters.clientRequestId75, + Parameters.returnClientRequestId75, + Parameters.ocpDate75, + Parameters.ifMatch27, + Parameters.ifNoneMatch27, + Parameters.ifModifiedSince31, + Parameters.ifUnmodifiedSince31 ], responses: { 204: { @@ -699,16 +708,16 @@ const reactivateOperationSpec: msRest.OperationSpec = { const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - baseUrl: "https://batch.core.windows.net", + baseUrl: "{batchUrl}", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], headerParameters: [ Parameters.acceptLanguage, - Parameters.clientRequestId77, - Parameters.returnClientRequestId77, - Parameters.ocpDate77 + Parameters.clientRequestId76, + Parameters.returnClientRequestId76, + Parameters.ocpDate76 ], responses: { 200: { diff --git a/packages/@azure/batch/package.json b/packages/@azure/batch/package.json index 4cb225df4829..0d27e52c5712 100644 --- a/packages/@azure/batch/package.json +++ b/packages/@azure/batch/package.json @@ -4,8 +4,8 @@ "description": "BatchServiceClient Library with typescript type definitions for node.js and browser.", "version": "6.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.2.0", + "@azure/ms-rest-js": "^1.2.0", "tslib": "^1.9.3" }, "keywords": [ @@ -23,6 +23,7 @@ "typescript": "^3.1.1", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/packages/@azure/batch", @@ -51,6 +52,5 @@ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/batch.js.map'\" -o ./dist/batch.min.js ./dist/batch.js", "prepack": "npm install && npm run build" }, - "sideEffects": false, - "authPublish": true + "sideEffects": false } diff --git a/packages/@azure/batch/rollup.config.js b/packages/@azure/batch/rollup.config.js index e9508c720dd7..c97755549636 100644 --- a/packages/@azure/batch/rollup.config.js +++ b/packages/@azure/batch/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/batchServiceClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/batchServiceClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/batch.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ module: true }), + sourcemaps() ] }; + export default config;