diff --git a/sdk/batchai/arm-batchai/LICENSE.txt b/sdk/batchai/arm-batchai/LICENSE.txt index a70e8cf66038..b73b4a1293c3 100644 --- a/sdk/batchai/arm-batchai/LICENSE.txt +++ b/sdk/batchai/arm-batchai/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/sdk/batchai/arm-batchai/README.md b/sdk/batchai/arm-batchai/README.md index 98442ce4738a..4417fa38009e 100644 --- a/sdk/batchai/arm-batchai/README.md +++ b/sdk/batchai/arm-batchai/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for BatchAIManagementClient. ### How to Install -``` +```bash npm install @azure/arm-batchai ``` @@ -19,13 +19,13 @@ npm install @azure/arm-batchai ##### 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"; @@ -47,7 +47,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -94,6 +94,3 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to ## Related projects - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/batchai/arm-batchai/README.png) diff --git a/sdk/batchai/arm-batchai/package.json b/sdk/batchai/arm-batchai/package.json index 198d7de05856..9ce888d61850 100644 --- a/sdk/batchai/arm-batchai/package.json +++ b/sdk/batchai/arm-batchai/package.json @@ -4,8 +4,8 @@ "description": "BatchAIManagementClient Library with typescript type definitions for node.js and browser.", "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.3.2", + "@azure/ms-rest-js": "^1.8.1", "tslib": "^1.9.3" }, "keywords": [ @@ -23,9 +23,10 @@ "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/sdk/batchai/arm-batchai", + "homepage": "https://github.com/azure/azure-sdk-for-js", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], @@ -52,5 +54,5 @@ "prepack": "npm install && npm run build" }, "sideEffects": false, - "authPublish": true + "autoPublish": true } diff --git a/sdk/batchai/arm-batchai/rollup.config.js b/sdk/batchai/arm-batchai/rollup.config.js index de1950f9a404..e1311ce74761 100644 --- a/sdk/batchai/arm-batchai/rollup.config.js +++ b/sdk/batchai/arm-batchai/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/batchAIManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/batchAIManagementClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-batchai.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; diff --git a/sdk/batchai/arm-batchai/src/batchAIManagementClientContext.ts b/sdk/batchai/arm-batchai/src/batchAIManagementClientContext.ts index ceeed0225f70..c0c525f02bff 100644 --- a/sdk/batchai/arm-batchai/src/batchAIManagementClientContext.ts +++ b/sdk/batchai/arm-batchai/src/batchAIManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-batchai"; -const packageVersion = "0.1.0"; +const packageVersion = "2.1.0"; export class BatchAIManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/batchai/arm-batchai/src/models/clustersMappers.ts b/sdk/batchai/arm-batchai/src/models/clustersMappers.ts index bb2ca3e046bf..e532ade0ea89 100644 --- a/sdk/batchai/arm-batchai/src/models/clustersMappers.ts +++ b/sdk/batchai/arm-batchai/src/models/clustersMappers.ts @@ -1,70 +1,67 @@ /* * 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. */ export { - ClusterCreateParameters, - ScaleSettings, - ManualScaleSettings, + AppInsightsReference, AutoScaleSettings, - VirtualMachineConfiguration, - ImageReference, - NodeSetup, - SetupTask, - EnvironmentVariable, - EnvironmentVariableWithSecretValue, - KeyVaultSecretReference, - ResourceId, - BaseResource, - MountVolumes, + AzureBlobFileSystemReference, AzureFileShareReference, AzureStorageCredentialsInfo, - AzureBlobFileSystemReference, - FileServerReference, - UnmanagedFileSystemReference, - PerformanceCountersSettings, - AppInsightsReference, - UserAccountSettings, - Cluster, - ProxyResource, + BaseResource, BatchAIError, - NameValuePair, - NodeStateCounts, + Caffe2Settings, + CaffeSettings, + ChainerSettings, CloudError, - ClusterUpdateParameters, - RemoteLoginInformationListResult, - RemoteLoginInformation, + Cluster, + ClusterCreateParameters, ClusterListResult, - FileServer, - SshConfiguration, - DataDisks, - MountSettings, - Job, - ContainerSettings, - ImageSourceRegistry, - PrivateRegistryCredentials, + ClusterUpdateParameters, CNTKsettings, - PyTorchSettings, - TensorFlowSettings, - CaffeSettings, - Caffe2Settings, - ChainerSettings, - CustomToolkitSettings, + ContainerSettings, CustomMpiSettings, + CustomToolkitSettings, + DataDisks, + EnvironmentVariable, + EnvironmentVariableWithSecretValue, + Experiment, + FileServer, + FileServerReference, HorovodSettings, - JobPreparation, + ImageReference, + ImageSourceRegistry, InputDirectory, - OutputDirectory, + Job, + JobPreparation, JobPropertiesConstraints, JobPropertiesExecutionInfo, + KeyVaultSecretReference, + ManualScaleSettings, + MountSettings, + MountVolumes, + NameValuePair, + NodeSetup, + NodeStateCounts, + OutputDirectory, + PerformanceCountersSettings, + PrivateRegistryCredentials, + ProxyResource, + PyTorchSettings, + RemoteLoginInformation, + RemoteLoginInformationListResult, Resource, - Workspace, - Experiment + ResourceId, + ScaleSettings, + SetupTask, + SshConfiguration, + TensorFlowSettings, + UnmanagedFileSystemReference, + UserAccountSettings, + VirtualMachineConfiguration, + Workspace } from "../models/mappers"; - diff --git a/sdk/batchai/arm-batchai/src/models/experimentsMappers.ts b/sdk/batchai/arm-batchai/src/models/experimentsMappers.ts index 19e1c2cc0d41..28d152acd172 100644 --- a/sdk/batchai/arm-batchai/src/models/experimentsMappers.ts +++ b/sdk/batchai/arm-batchai/src/models/experimentsMappers.ts @@ -1,66 +1,63 @@ /* * 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. */ export { - ExperimentListResult, - Experiment, - ProxyResource, - BaseResource, - CloudError, - ResourceId, - FileServer, - SshConfiguration, - UserAccountSettings, - DataDisks, - MountSettings, - Cluster, - ScaleSettings, - ManualScaleSettings, + AppInsightsReference, AutoScaleSettings, - VirtualMachineConfiguration, - ImageReference, - NodeSetup, - SetupTask, - EnvironmentVariable, - EnvironmentVariableWithSecretValue, - KeyVaultSecretReference, - MountVolumes, + AzureBlobFileSystemReference, AzureFileShareReference, AzureStorageCredentialsInfo, - AzureBlobFileSystemReference, - FileServerReference, - UnmanagedFileSystemReference, - PerformanceCountersSettings, - AppInsightsReference, + BaseResource, BatchAIError, - NameValuePair, - NodeStateCounts, - Job, - ContainerSettings, - ImageSourceRegistry, - PrivateRegistryCredentials, - CNTKsettings, - PyTorchSettings, - TensorFlowSettings, - CaffeSettings, Caffe2Settings, + CaffeSettings, ChainerSettings, - CustomToolkitSettings, + CloudError, + Cluster, + CNTKsettings, + ContainerSettings, CustomMpiSettings, + CustomToolkitSettings, + DataDisks, + EnvironmentVariable, + EnvironmentVariableWithSecretValue, + Experiment, + ExperimentListResult, + FileServer, + FileServerReference, HorovodSettings, - JobPreparation, + ImageReference, + ImageSourceRegistry, InputDirectory, - OutputDirectory, + Job, + JobPreparation, JobPropertiesConstraints, JobPropertiesExecutionInfo, + KeyVaultSecretReference, + ManualScaleSettings, + MountSettings, + MountVolumes, + NameValuePair, + NodeSetup, + NodeStateCounts, + OutputDirectory, + PerformanceCountersSettings, + PrivateRegistryCredentials, + ProxyResource, + PyTorchSettings, Resource, + ResourceId, + ScaleSettings, + SetupTask, + SshConfiguration, + TensorFlowSettings, + UnmanagedFileSystemReference, + UserAccountSettings, + VirtualMachineConfiguration, Workspace } from "../models/mappers"; - diff --git a/sdk/batchai/arm-batchai/src/models/fileServersMappers.ts b/sdk/batchai/arm-batchai/src/models/fileServersMappers.ts index fdd6a03fa657..5869004b9c7d 100644 --- a/sdk/batchai/arm-batchai/src/models/fileServersMappers.ts +++ b/sdk/batchai/arm-batchai/src/models/fileServersMappers.ts @@ -1,67 +1,64 @@ /* * 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. */ export { - FileServerCreateParameters, - SshConfiguration, - UserAccountSettings, - DataDisks, - ResourceId, - BaseResource, - FileServer, - ProxyResource, - MountSettings, - CloudError, - FileServerListResult, - Cluster, - ScaleSettings, - ManualScaleSettings, + AppInsightsReference, AutoScaleSettings, - VirtualMachineConfiguration, - ImageReference, - NodeSetup, - SetupTask, - EnvironmentVariable, - EnvironmentVariableWithSecretValue, - KeyVaultSecretReference, - MountVolumes, + AzureBlobFileSystemReference, AzureFileShareReference, AzureStorageCredentialsInfo, - AzureBlobFileSystemReference, - FileServerReference, - UnmanagedFileSystemReference, - PerformanceCountersSettings, - AppInsightsReference, + BaseResource, BatchAIError, - NameValuePair, - NodeStateCounts, - Job, - ContainerSettings, - ImageSourceRegistry, - PrivateRegistryCredentials, - CNTKsettings, - PyTorchSettings, - TensorFlowSettings, - CaffeSettings, Caffe2Settings, + CaffeSettings, ChainerSettings, - CustomToolkitSettings, + CloudError, + Cluster, + CNTKsettings, + ContainerSettings, CustomMpiSettings, + CustomToolkitSettings, + DataDisks, + EnvironmentVariable, + EnvironmentVariableWithSecretValue, + Experiment, + FileServer, + FileServerCreateParameters, + FileServerListResult, + FileServerReference, HorovodSettings, - JobPreparation, + ImageReference, + ImageSourceRegistry, InputDirectory, - OutputDirectory, + Job, + JobPreparation, JobPropertiesConstraints, JobPropertiesExecutionInfo, + KeyVaultSecretReference, + ManualScaleSettings, + MountSettings, + MountVolumes, + NameValuePair, + NodeSetup, + NodeStateCounts, + OutputDirectory, + PerformanceCountersSettings, + PrivateRegistryCredentials, + ProxyResource, + PyTorchSettings, Resource, - Workspace, - Experiment + ResourceId, + ScaleSettings, + SetupTask, + SshConfiguration, + TensorFlowSettings, + UnmanagedFileSystemReference, + UserAccountSettings, + VirtualMachineConfiguration, + Workspace } from "../models/mappers"; - diff --git a/sdk/batchai/arm-batchai/src/models/index.ts b/sdk/batchai/arm-batchai/src/models/index.ts index 6fdeac200f9e..b77553978edb 100644 --- a/sdk/batchai/arm-batchai/src/models/index.ts +++ b/sdk/batchai/arm-batchai/src/models/index.ts @@ -1,11 +1,9 @@ /* * 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. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,2558 +11,1964 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface - * An interface representing UsageName. * The Usage Names. - * */ export interface UsageName { /** - * @member {string} [value] The name of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly value?: string; /** - * @member {string} [localizedValue] The localized name of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The localized name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly localizedValue?: string; } /** - * @interface - * An interface representing Usage. * Describes Batch AI Resource Usage. - * */ export interface Usage { /** - * @member {UsageUnit} [unit] An enum describing the unit of usage - * measurement. Possible values include: 'Count' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * An enum describing the unit of usage measurement. Possible values include: 'Count' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly unit?: UsageUnit; /** - * @member {number} [currentValue] The current usage of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The current usage of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly currentValue?: number; /** - * @member {number} [limit] The maximum permitted usage of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The maximum permitted usage of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly limit?: number; /** - * @member {UsageName} [name] The name of the type of usage. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the type of usage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: UsageName; } /** - * @interface - * An interface representing UserAccountSettings. - * Settings for user account that gets created on each on the nodes of a - * cluster. - * + * Settings for user account that gets created on each on the nodes of a cluster. */ export interface UserAccountSettings { /** - * @member {string} adminUserName User name. Name of the administrator user - * account which can be used to SSH to nodes. + * User name. Name of the administrator user account which can be used to SSH to nodes. */ adminUserName: string; /** - * @member {string} [adminUserSshPublicKey] SSH public key. SSH public key of - * the administrator user account. + * SSH public key. SSH public key of the administrator user account. */ adminUserSshPublicKey?: string; /** - * @member {string} [adminUserPassword] Password. Password of the - * administrator user account. + * Password. Password of the administrator user account. */ adminUserPassword?: string; } /** - * @interface - * An interface representing SshConfiguration. * SSH configuration. - * */ export interface SshConfiguration { /** - * @member {string[]} [publicIPsToAllow] Allowed public IPs. List of source - * IP ranges to allow SSH connection from. The default value is '*' (all - * source IPs are allowed). Maximum number of IP ranges that can be specified - * is 400. + * Allowed public IPs. List of source IP ranges to allow SSH connection from. The default value + * is '*' (all source IPs are allowed). Maximum number of IP ranges that can be specified is 400. */ publicIPsToAllow?: string[]; /** - * @member {UserAccountSettings} userAccountSettings User account settings. - * Settings for administrator user account to be created on a node. The + * User account settings. Settings for administrator user account to be created on a node. The * account can be used to establish SSH connection to the node. */ userAccountSettings: UserAccountSettings; } /** - * @interface - * An interface representing DataDisks. * Data disks settings. - * */ export interface DataDisks { /** - * @member {number} diskSizeInGB Disk size in GB. Disk size in GB for the - * blank data disks. + * Disk size in GB. Disk size in GB for the blank data disks. */ diskSizeInGB: number; /** - * @member {CachingType} [cachingType] Caching type. Caching type for the - * disks. Available values are none (default), readonly, readwrite. Caching - * type can be set only for VM sizes supporting premium storage. Possible - * values include: 'none', 'readonly', 'readwrite'. Default value: 'none' . + * Caching type. Caching type for the disks. Available values are none (default), readonly, + * readwrite. Caching type can be set only for VM sizes supporting premium storage. Possible + * values include: 'none', 'readonly', 'readwrite'. Default value: 'none'. */ cachingType?: CachingType; /** - * @member {number} diskCount Number of data disks. Number of data disks - * attached to the File Server. If multiple disks attached, they will be - * configured in RAID level 0. + * Number of data disks. Number of data disks attached to the File Server. If multiple disks + * attached, they will be configured in RAID level 0. */ diskCount: number; /** - * @member {StorageAccountType} storageAccountType Storage account type. Type - * of storage account to be used on the disk. Possible values are: - * Standard_LRS or Premium_LRS. Premium storage account type can only be used - * with VM sizes supporting premium storage. Possible values include: - * 'Standard_LRS', 'Premium_LRS' + * Storage account type. Type of storage account to be used on the disk. Possible values are: + * Standard_LRS or Premium_LRS. Premium storage account type can only be used with VM sizes + * supporting premium storage. Possible values include: 'Standard_LRS', 'Premium_LRS' */ storageAccountType: StorageAccountType; } /** - * @interface - * An interface representing ResourceId. - * Represents a resource ID. For example, for a subnet, it is the resource URL - * for the subnet. - * - * @extends BaseResource + * Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet. */ export interface ResourceId extends BaseResource { /** - * @member {string} id The ID of the resource + * The ID of the resource */ id: string; } /** - * @interface - * An interface representing MountSettings. * File Server mount Information. - * */ export interface MountSettings { /** - * @member {string} [mountPoint] Mount Point. Path where the data disks are - * mounted on the File Server. + * Mount Point. Path where the data disks are mounted on the File Server. */ mountPoint?: string; /** - * @member {string} [fileServerPublicIP] Public IP. Public IP address of the - * File Server which can be used to SSH to the node from outside of the - * subnet. + * Public IP. Public IP address of the File Server which can be used to SSH to the node from + * outside of the subnet. */ fileServerPublicIP?: string; /** - * @member {string} [fileServerInternalIP] Internal IP. Internal IP address - * of the File Server which can be used to access the File Server from within - * the subnet. + * Internal IP. Internal IP address of the File Server which can be used to access the File + * Server from within the subnet. */ fileServerInternalIP?: string; } /** - * @interface - * An interface representing ProxyResource. * A definition of an Azure proxy resource. - * - * @extends BaseResource */ export interface ProxyResource extends BaseResource { /** - * @member {string} [id] The ID of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The ID of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The name of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The type of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; } /** - * @interface - * An interface representing FileServer. * File Server information. - * - * @extends ProxyResource */ export interface FileServer extends ProxyResource { /** - * @member {string} [vmSize] VM size. VM size of the File Server. + * VM size. VM size of the File Server. */ vmSize?: string; /** - * @member {SshConfiguration} [sshConfiguration] SSH configuration. SSH - * configuration for accessing the File Server node. + * SSH configuration. SSH configuration for accessing the File Server node. */ sshConfiguration?: SshConfiguration; /** - * @member {DataDisks} [dataDisks] Data disks configuration. Information - * about disks attached to File Server VM. + * Data disks configuration. Information about disks attached to File Server VM. */ dataDisks?: DataDisks; /** - * @member {ResourceId} [subnet] Subnet. File Server virtual network subnet - * resource ID. + * Subnet. File Server virtual network subnet resource ID. */ subnet?: ResourceId; /** - * @member {MountSettings} [mountSettings] Mount settings. File Server mount - * settings. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Mount settings. File Server mount settings. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly mountSettings?: MountSettings; /** - * @member {Date} [provisioningStateTransitionTime] Provisioning State - * Transition time. Time when the provisioning state was changed. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Provisioning State Transition time. Time when the provisioning state was changed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningStateTransitionTime?: Date; /** - * @member {Date} [creationTime] Creation time. Time when the FileServer was - * created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Creation time. Time when the FileServer was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {FileServerProvisioningState} [provisioningState] Provisioning - * state. Provisioning state of the File Server. Possible values: creating - - * The File Server is getting created; updating - The File Server creation - * has been accepted and it is getting updated; deleting - The user has - * requested that the File Server be deleted, and it is in the process of - * being deleted; failed - The File Server creation has failed with the - * specified error code. Details about the error code are specified in the - * message field; succeeded - The File Server creation has succeeded. - * Possible values include: 'creating', 'updating', 'deleting', 'succeeded', - * 'failed' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Provisioning state. Provisioning state of the File Server. Possible values: creating - The + * File Server is getting created; updating - The File Server creation has been accepted and it + * is getting updated; deleting - The user has requested that the File Server be deleted, and it + * is in the process of being deleted; failed - The File Server creation has failed with the + * specified error code. Details about the error code are specified in the message field; + * succeeded - The File Server creation has succeeded. Possible values include: 'creating', + * 'updating', 'deleting', 'succeeded', 'failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: FileServerProvisioningState; } /** - * @interface - * An interface representing KeyVaultSecretReference. * Key Vault Secret reference. - * */ export interface KeyVaultSecretReference { /** - * @member {ResourceId} sourceVault Key Vault resource identifier. Fully - * qualified resource indentifier of the Key Vault. + * Key Vault resource identifier. Fully qualified resource identifier of the Key Vault. */ sourceVault: ResourceId; /** - * @member {string} secretUrl Secret URL. The URL referencing a secret in the - * Key Vault. + * Secret URL. The URL referencing a secret in the Key Vault. */ secretUrl: string; } /** - * @interface - * An interface representing FileServerCreateParameters. * File Server creation parameters. - * */ export interface FileServerCreateParameters { /** - * @member {string} vmSize VM size. The size of the virtual machine for the - * File Server. For information about available VM sizes from the Virtual - * Machines Marketplace, see Sizes for Virtual Machines (Linux). + * VM size. The size of the virtual machine for the File Server. For information about available + * VM sizes from the Virtual Machines Marketplace, see Sizes for Virtual Machines (Linux). */ vmSize: string; /** - * @member {SshConfiguration} sshConfiguration SSH configuration. SSH - * configuration for the File Server node. + * SSH configuration. SSH configuration for the File Server node. */ sshConfiguration: SshConfiguration; /** - * @member {DataDisks} dataDisks Data disks. Settings for the data disks - * which will be created for the File Server. + * Data disks. Settings for the data disks which will be created for the File Server. */ dataDisks: DataDisks; /** - * @member {ResourceId} [subnet] Subnet identifier. Identifier of an existing - * virtual network subnet to put the File Server in. If not provided, a new - * virtual network and subnet will be created. + * Subnet identifier. Identifier of an existing virtual network subnet to put the File Server in. + * If not provided, a new virtual network and subnet will be created. */ subnet?: ResourceId; } /** - * @interface - * An interface representing ManualScaleSettings. * Manual scale settings for the cluster. - * */ export interface ManualScaleSettings { /** - * @member {number} targetNodeCount Target node count. The desired number of - * compute nodes in the Cluster. Default is 0. Default value: 0 . + * Target node count. The desired number of compute nodes in the Cluster. Default is 0. Default + * value: 0. */ targetNodeCount: number; /** - * @member {DeallocationOption} [nodeDeallocationOption] Node deallocation - * options. An action to be performed when the cluster size is decreasing. - * The default value is requeue. Possible values include: 'requeue', - * 'terminate', 'waitforjobcompletion'. Default value: 'requeue' . + * Node deallocation options. An action to be performed when the cluster size is decreasing. The + * default value is requeue. Possible values include: 'requeue', 'terminate', + * 'waitforjobcompletion'. Default value: 'requeue'. */ nodeDeallocationOption?: DeallocationOption; } /** - * @interface - * An interface representing AutoScaleSettings. - * Auto-scale settings for the cluster. The system automatically scales the - * cluster up and down (within minimumNodeCount and maximumNodeCount) based on - * the number of queued and running jobs assigned to the cluster. - * + * Auto-scale settings for the cluster. The system automatically scales the cluster up and down + * (within minimumNodeCount and maximumNodeCount) based on the number of queued and running jobs + * assigned to the cluster. */ export interface AutoScaleSettings { /** - * @member {number} minimumNodeCount Minimum node count. The minimum number - * of compute nodes the Batch AI service will try to allocate for the - * cluster. Note, the actual number of nodes can be less than the specified + * Minimum node count. The minimum number of compute nodes the Batch AI service will try to + * allocate for the cluster. Note, the actual number of nodes can be less than the specified * value if the subscription has not enough quota to fulfill the request. */ minimumNodeCount: number; /** - * @member {number} maximumNodeCount Maximum node count. The maximum number - * of compute nodes the cluster can have. + * Maximum node count. The maximum number of compute nodes the cluster can have. */ maximumNodeCount: number; /** - * @member {number} [initialNodeCount] Initial node count. The number of - * compute nodes to allocate on cluster creation. Note that this value is - * used only during cluster creation. Default: 0. Default value: 0 . + * Initial node count. The number of compute nodes to allocate on cluster creation. Note that + * this value is used only during cluster creation. Default: 0. Default value: 0. */ initialNodeCount?: number; } /** - * @interface - * An interface representing ScaleSettings. - * At least one of manual or autoScale settings must be specified. Only one of - * manual or autoScale settings can be specified. If autoScale settings are - * specified, the system automatically scales the cluster up and down (within - * the supplied limits) based on the pending jobs on the cluster. - * + * At least one of manual or autoScale settings must be specified. Only one of manual or autoScale + * settings can be specified. If autoScale settings are specified, the system automatically scales + * the cluster up and down (within the supplied limits) based on the pending jobs on the cluster. */ export interface ScaleSettings { /** - * @member {ManualScaleSettings} [manual] Manual scale settings. Manual scale - * settings for the cluster. + * Manual scale settings. Manual scale settings for the cluster. */ manual?: ManualScaleSettings; /** - * @member {AutoScaleSettings} [autoScale] Auto-scale settings. Auto-scale - * settings for the cluster. + * Auto-scale settings. Auto-scale settings for the cluster. */ autoScale?: AutoScaleSettings; } /** - * @interface - * An interface representing ImageReference. * The OS image reference. - * */ export interface ImageReference { /** - * @member {string} publisher Publisher. Publisher of the image. + * Publisher. Publisher of the image. */ publisher: string; /** - * @member {string} offer Offer. Offer of the image. + * Offer. Offer of the image. */ offer: string; /** - * @member {string} sku SKU. SKU of the image. + * SKU. SKU of the image. */ sku: string; /** - * @member {string} [version] Version. Version of the image. + * Version. Version of the image. */ version?: string; /** - * @member {string} [virtualMachineImageId] Custom VM image resource ID. The - * ARM resource identifier of the virtual machine image for the compute - * nodes. This is of the form + * Custom VM image resource ID. The ARM resource identifier of the virtual machine image for the + * compute nodes. This is of the form * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}. - * The virtual machine image must be in the same region and subscription as - * the cluster. For information about the firewall settings for the Batch - * node agent to communicate with the Batch service see + * The virtual machine image must be in the same region and subscription as the cluster. 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. - * Note, you need to provide publisher, offer and sku of the base OS image of - * which the custom image has been derived from. + * Note, you need to provide publisher, offer and sku of the base OS image of which the custom + * image has been derived from. */ virtualMachineImageId?: string; } /** - * @interface - * An interface representing VirtualMachineConfiguration. * VM configuration. - * */ export interface VirtualMachineConfiguration { /** - * @member {ImageReference} [imageReference] Image reference. OS image - * reference for cluster nodes. + * Image reference. OS image reference for cluster nodes. */ imageReference?: ImageReference; } /** - * @interface - * An interface representing EnvironmentVariable. * An environment variable definition. - * */ export interface EnvironmentVariable { /** - * @member {string} name Name. The name of the environment variable. + * Name. The name of the environment variable. */ name: string; /** - * @member {string} value Value. The value of the environment variable. + * Value. The value of the environment variable. */ value: string; } /** - * @interface - * An interface representing EnvironmentVariableWithSecretValue. * An environment variable with secret value definition. - * */ export interface EnvironmentVariableWithSecretValue { /** - * @member {string} name Name. The name of the environment variable to store - * the secret value. + * Name. The name of the environment variable to store the secret value. */ name: string; /** - * @member {string} [value] Value. The value of the environment variable. - * This value will never be reported back by Batch AI. + * Value. The value of the environment variable. This value will never be reported back by Batch + * AI. */ value?: string; /** - * @member {KeyVaultSecretReference} [valueSecretReference] KeyVault secret - * reference. KeyVault store and secret which contains the value for the - * environment variable. One of value or valueSecretReference must be - * provided. + * KeyVault secret reference. KeyVault store and secret which contains the value for the + * environment variable. One of value or valueSecretReference must be provided. */ valueSecretReference?: KeyVaultSecretReference; } /** - * @interface - * An interface representing SetupTask. - * Specifies a setup task which can be used to customize the compute nodes of - * the cluster. - * + * Specifies a setup task which can be used to customize the compute nodes of the cluster. */ export interface SetupTask { /** - * @member {string} commandLine Command line. The command line to be executed - * on each cluster's node after it being allocated or rebooted. The command - * is executed in a bash subshell as a root. + * Command line. The command line to be executed on each cluster's node after it being allocated + * or rebooted. The command is executed in a bash subshell as a root. */ commandLine: string; /** - * @member {EnvironmentVariable[]} [environmentVariables] Environment - * variables. A collection of user defined environment variables to be set - * for setup task. + * Environment variables. A collection of user defined environment variables to be set for setup + * task. */ environmentVariables?: EnvironmentVariable[]; /** - * @member {EnvironmentVariableWithSecretValue[]} [secrets] Secrets. A - * collection of user defined environment variables with secret values to be - * set for the setup task. Server will never report values of these variables - * back. + * Secrets. A collection of user defined environment variables with secret values to be set for + * the setup task. Server will never report values of these variables back. */ secrets?: EnvironmentVariableWithSecretValue[]; /** - * @member {string} stdOutErrPathPrefix Output path prefix. The prefix of a - * path where the Batch AI service will upload the stdout, stderr and - * execution log of the setup task. + * Output path prefix. The prefix of a path where the Batch AI service will upload the stdout, + * stderr and execution log of the setup task. */ stdOutErrPathPrefix: string; /** - * @member {string} [stdOutErrPathSuffix] Output path suffix. A path segment - * appended by Batch AI to stdOutErrPathPrefix to form a path where stdout, - * stderr and execution log of the setup task will be uploaded. Batch AI - * creates the setup task output directories under an unique path to avoid - * conflicts between different clusters. The full path can be obtained by - * concatenation of stdOutErrPathPrefix and stdOutErrPathSuffix. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Output path suffix. A path segment appended by Batch AI to stdOutErrPathPrefix to form a path + * where stdout, stderr and execution log of the setup task will be uploaded. Batch AI creates + * the setup task output directories under an unique path to avoid conflicts between different + * clusters. The full path can be obtained by concatenation of stdOutErrPathPrefix and + * stdOutErrPathSuffix. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly stdOutErrPathSuffix?: string; } /** - * @interface - * An interface representing AzureStorageCredentialsInfo. * Azure storage account credentials. - * */ export interface AzureStorageCredentialsInfo { /** - * @member {string} [accountKey] Account key. Storage account key. One of - * accountKey or accountKeySecretReference must be specified. + * Account key. Storage account key. One of accountKey or accountKeySecretReference must be + * specified. */ accountKey?: string; /** - * @member {KeyVaultSecretReference} [accountKeySecretReference] Account key - * secret reference. Information about KeyVault secret storing the storage - * account key. One of accountKey or accountKeySecretReference must be - * specified. + * Account key secret reference. Information about KeyVault secret storing the storage account + * key. One of accountKey or accountKeySecretReference must be specified. */ accountKeySecretReference?: KeyVaultSecretReference; } /** - * @interface - * An interface representing AzureFileShareReference. * Azure File Share mounting configuration. - * */ export interface AzureFileShareReference { /** - * @member {string} accountName Account name. Name of the Azure storage - * account. + * Account name. Name of the Azure storage account. */ accountName: string; /** - * @member {string} azureFileUrl Azure File URL. URL to access the Azure - * File. + * Azure File URL. URL to access the Azure File. */ azureFileUrl: string; /** - * @member {AzureStorageCredentialsInfo} credentials Credentials. Information - * about the Azure storage credentials. + * Credentials. Information about the Azure storage credentials. */ credentials: AzureStorageCredentialsInfo; /** - * @member {string} relativeMountPath Relative mount path. The relative path - * on the compute node where the Azure File share will be mounted. Note that - * all cluster level file shares will be mounted under $AZ_BATCHAI_MOUNT_ROOT - * location and all job level file shares will be mounted under - * $AZ_BATCHAI_JOB_MOUNT_ROOT. + * Relative mount path. The relative path on the compute node where the Azure File share will be + * mounted. Note that all cluster level file shares will be mounted under $AZ_BATCHAI_MOUNT_ROOT + * location and all job level file shares will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. */ relativeMountPath: string; /** - * @member {string} [fileMode] File mode. File mode for files on the mounted - * file share. Default value: 0777. Default value: '0777' . + * File mode. File mode for files on the mounted file share. Default value: 0777. Default value: + * '0777'. */ fileMode?: string; /** - * @member {string} [directoryMode] Directory mode. File mode for directories - * on the mounted file share. Default value: 0777. Default value: '0777' . + * Directory mode. File mode for directories on the mounted file share. Default value: 0777. + * Default value: '0777'. */ directoryMode?: string; } /** - * @interface - * An interface representing AzureBlobFileSystemReference. * Azure Blob Storage Container mounting configuration. - * */ export interface AzureBlobFileSystemReference { /** - * @member {string} accountName Account name. Name of the Azure storage - * account. + * Account name. Name of the Azure storage account. */ accountName: string; /** - * @member {string} containerName Container name. Name of the Azure Blob - * Storage container to mount on the cluster. + * Container name. Name of the Azure Blob Storage container to mount on the cluster. */ containerName: string; /** - * @member {AzureStorageCredentialsInfo} credentials Credentials. Information - * about the Azure storage credentials. + * Credentials. Information about the Azure storage credentials. */ credentials: AzureStorageCredentialsInfo; /** - * @member {string} relativeMountPath Relative mount path. The relative path - * on the compute node where the Azure File container will be mounted. Note - * that all cluster level containers will be mounted under - * $AZ_BATCHAI_MOUNT_ROOT location and all job level containers will be - * mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. + * Relative mount path. The relative path on the compute node where the Azure File container will + * be mounted. Note that all cluster level containers will be mounted under + * $AZ_BATCHAI_MOUNT_ROOT location and all job level containers will be mounted under + * $AZ_BATCHAI_JOB_MOUNT_ROOT. */ relativeMountPath: string; /** - * @member {string} [mountOptions] Mount options. Mount options for mounting - * blobfuse file system. + * Mount options. Mount options for mounting blobfuse file system. */ mountOptions?: string; } /** - * @interface - * An interface representing FileServerReference. * File Server mounting configuration. - * */ export interface FileServerReference { /** - * @member {ResourceId} fileServer File server. Resource ID of the existing - * File Server to be mounted. + * File server. Resource ID of the existing File Server to be mounted. */ fileServer: ResourceId; /** - * @member {string} [sourceDirectory] Source directory. File Server directory - * that needs to be mounted. If this property is not specified, the entire - * File Server will be mounted. + * Source directory. File Server directory that needs to be mounted. If this property is not + * specified, the entire File Server will be mounted. */ sourceDirectory?: string; /** - * @member {string} relativeMountPath Relative mount path. The relative path - * on the compute node where the File Server will be mounted. Note that all - * cluster level file servers will be mounted under $AZ_BATCHAI_MOUNT_ROOT - * location and all job level file servers will be mounted under - * $AZ_BATCHAI_JOB_MOUNT_ROOT. + * Relative mount path. The relative path on the compute node where the File Server will be + * mounted. Note that all cluster level file servers will be mounted under $AZ_BATCHAI_MOUNT_ROOT + * location and all job level file servers will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. */ relativeMountPath: string; /** - * @member {string} [mountOptions] Mount options. Mount options to be passed - * to mount command. + * Mount options. Mount options to be passed to mount command. */ mountOptions?: string; } /** - * @interface - * An interface representing UnmanagedFileSystemReference. - * Unmananged file system mounting configuration. - * + * Unmanaged file system mounting configuration. */ export interface UnmanagedFileSystemReference { /** - * @member {string} mountCommand Mount command. Mount command line. Note, - * Batch AI will append mount path to the command on its own. + * Mount command. Mount command line. Note, Batch AI will append mount path to the command on its + * own. */ mountCommand: string; /** - * @member {string} relativeMountPath Relative mount path. The relative path - * on the compute node where the unmanaged file system will be mounted. Note - * that all cluster level unmanaged file systems will be mounted under - * $AZ_BATCHAI_MOUNT_ROOT location and all job level unmanaged file systems - * will be mounted under $AZ_BATCHAI_JOB_MOUNT_ROOT. + * Relative mount path. The relative path on the compute node where the unmanaged file system + * will be mounted. Note that all cluster level unmanaged file systems will be mounted under + * $AZ_BATCHAI_MOUNT_ROOT location and all job level unmanaged file systems will be mounted under + * $AZ_BATCHAI_JOB_MOUNT_ROOT. */ relativeMountPath: string; } /** - * @interface - * An interface representing MountVolumes. * Details of volumes to mount on the cluster. - * */ export interface MountVolumes { /** - * @member {AzureFileShareReference[]} [azureFileShares] Azure File Shares. A - * collection of Azure File Shares that are to be mounted to the cluster + * Azure File Shares. A collection of Azure File Shares that are to be mounted to the cluster * nodes. */ azureFileShares?: AzureFileShareReference[]; /** - * @member {AzureBlobFileSystemReference[]} [azureBlobFileSystems] Azure Blob - * file systems. A collection of Azure Blob Containers that are to be mounted - * to the cluster nodes. + * Azure Blob file systems. A collection of Azure Blob Containers that are to be mounted to the + * cluster nodes. */ azureBlobFileSystems?: AzureBlobFileSystemReference[]; /** - * @member {FileServerReference[]} [fileServers] File Servers. A collection - * of Batch AI File Servers that are to be mounted to the cluster nodes. + * File Servers. A collection of Batch AI File Servers that are to be mounted to the cluster + * nodes. */ fileServers?: FileServerReference[]; /** - * @member {UnmanagedFileSystemReference[]} [unmanagedFileSystems] Unmanaged - * file systems. A collection of unmanaged file systems that are to be - * mounted to the cluster nodes. + * Unmanaged file systems. A collection of unmanaged file systems that are to be mounted to the + * cluster nodes. */ unmanagedFileSystems?: UnmanagedFileSystemReference[]; } /** - * @interface - * An interface representing AppInsightsReference. * Azure Application Insights information for performance counters reporting. - * */ export interface AppInsightsReference { /** - * @member {ResourceId} component Component ID. Azure Application Insights - * component resource ID. + * Component ID. Azure Application Insights component resource ID. */ component: ResourceId; /** - * @member {string} [instrumentationKey] Instrumentation Key. Value of the - * Azure Application Insights instrumentation key. + * Instrumentation Key. Value of the Azure Application Insights instrumentation key. */ instrumentationKey?: string; /** - * @member {KeyVaultSecretReference} [instrumentationKeySecretReference] - * Instrumentation key KeyVault Secret reference. KeyVault Store and Secret - * which contains Azure Application Insights instrumentation key. One of - * instrumentationKey or instrumentationKeySecretReference must be specified. + * Instrumentation key KeyVault Secret reference. KeyVault Store and Secret which contains Azure + * Application Insights instrumentation key. One of instrumentationKey or + * instrumentationKeySecretReference must be specified. */ instrumentationKeySecretReference?: KeyVaultSecretReference; } /** - * @interface - * An interface representing PerformanceCountersSettings. * Performance counters reporting settings. - * */ export interface PerformanceCountersSettings { /** - * @member {AppInsightsReference} appInsightsReference Azure Application - * Insights reference. Azure Application Insights information for performance - * counters reporting. If provided, Batch AI will upload node performance - * counters to the corresponding Azure Application Insights account. + * Azure Application Insights reference. Azure Application Insights information for performance + * counters reporting. If provided, Batch AI will upload node performance counters to the + * corresponding Azure Application Insights account. */ appInsightsReference: AppInsightsReference; } /** - * @interface - * An interface representing NodeSetup. * Node setup settings. - * */ export interface NodeSetup { /** - * @member {SetupTask} [setupTask] Setup task. Setup task to run on cluster - * nodes when nodes got created or rebooted. The setup task code needs to be - * idempotent. Generally the setup task is used to download static data that - * is required for all jobs that run on the cluster VMs and/or to - * download/install software. + * Setup task. Setup task to run on cluster nodes when nodes got created or rebooted. The setup + * task code needs to be idempotent. Generally the setup task is used to download static data + * that is required for all jobs that run on the cluster VMs and/or to download/install software. */ setupTask?: SetupTask; /** - * @member {MountVolumes} [mountVolumes] Mount volumes. Mount volumes to be - * available to setup task and all jobs executing on the cluster. The volumes - * will be mounted at location specified by $AZ_BATCHAI_MOUNT_ROOT + * Mount volumes. Mount volumes to be available to setup task and all jobs executing on the + * cluster. The volumes will be mounted at location specified by $AZ_BATCHAI_MOUNT_ROOT * environment variable. */ mountVolumes?: MountVolumes; /** - * @member {PerformanceCountersSettings} [performanceCountersSettings] - * Performance counters settings. Settings for performance counters - * collecting and uploading. + * Performance counters settings. Settings for performance counters collecting and uploading. */ performanceCountersSettings?: PerformanceCountersSettings; } /** - * @interface - * An interface representing NodeStateCounts. * Counts of various compute node states on the cluster. - * */ export interface NodeStateCounts { /** - * @member {number} [idleNodeCount] Idle node count. Number of compute nodes - * in idle state. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Idle node count. Number of compute nodes in idle state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly idleNodeCount?: number; /** - * @member {number} [runningNodeCount] Running node count. Number of compute - * nodes which are running jobs. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Running node count. Number of compute nodes which are running jobs. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly runningNodeCount?: number; /** - * @member {number} [preparingNodeCount] Preparing node count. Number of - * compute nodes which are being prepared. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Preparing node count. Number of compute nodes which are being prepared. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly preparingNodeCount?: number; /** - * @member {number} [unusableNodeCount] Unusable node count. Number of - * compute nodes which are in unusable state. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Unusable node count. Number of compute nodes which are in unusable state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly unusableNodeCount?: number; /** - * @member {number} [leavingNodeCount] Leaving node count. Number of compute - * nodes which are leaving the cluster. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Leaving node count. Number of compute nodes which are leaving the cluster. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly leavingNodeCount?: number; } /** - * @interface - * An interface representing ClusterCreateParameters. * Cluster creation operation. - * */ export interface ClusterCreateParameters { /** - * @member {string} vmSize VM size. The size of the virtual machines in the - * cluster. All nodes in a cluster have the same VM size. For information - * about available VM sizes for clusters using images from the Virtual - * Machines Marketplace see Sizes for Virtual Machines (Linux). Batch AI - * service supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * VM size. The size of the virtual machines in the cluster. All nodes in a cluster have the same + * VM size. For information about available VM sizes for clusters using images from the Virtual + * Machines Marketplace see Sizes for Virtual Machines (Linux). Batch AI service supports all + * Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, + * and STANDARD_DSV2 series). */ vmSize: string; /** - * @member {VmPriority} [vmPriority] VM priority. VM priority. Allowed values - * are: dedicated (default) and lowpriority. Possible values include: - * 'dedicated', 'lowpriority'. Default value: 'dedicated' . + * VM priority. VM priority. Allowed values are: dedicated (default) and lowpriority. Possible + * values include: 'dedicated', 'lowpriority'. Default value: 'dedicated'. */ vmPriority?: VmPriority; /** - * @member {ScaleSettings} [scaleSettings] Scale settings. Scale settings for - * the cluster. Batch AI service supports manual and auto scale clusters. + * Scale settings. Scale settings for the cluster. Batch AI service supports manual and auto + * scale clusters. */ scaleSettings?: ScaleSettings; /** - * @member {VirtualMachineConfiguration} [virtualMachineConfiguration] VM - * configuration. OS image configuration for cluster nodes. All nodes in a - * cluster have the same OS image. + * VM configuration. OS image configuration for cluster nodes. All nodes in a cluster have the + * same OS image. */ virtualMachineConfiguration?: VirtualMachineConfiguration; /** - * @member {NodeSetup} [nodeSetup] Node setup. Setup to be performed on each - * compute node in the cluster. + * Node setup. Setup to be performed on each compute node in the cluster. */ nodeSetup?: NodeSetup; /** - * @member {UserAccountSettings} userAccountSettings User account settings. - * Settings for an administrator user account that will be created on each + * User account settings. Settings for an administrator user account that will be created on each * compute node in the cluster. */ userAccountSettings: UserAccountSettings; /** - * @member {ResourceId} [subnet] Subnet. Existing virtual network subnet to - * put the cluster nodes in. Note, if a File Server mount configured in node - * setup, the File Server's subnet will be used automatically. + * Subnet. Existing virtual network subnet to put the cluster nodes in. Note, if a File Server + * mount configured in node setup, the File Server's subnet will be used automatically. */ subnet?: ResourceId; } /** - * @interface - * An interface representing ClusterUpdateParameters. * Cluster update parameters. - * */ export interface ClusterUpdateParameters { /** - * @member {ScaleSettings} [scaleSettings] Scale settings. Desired scale - * settings for the cluster. Batch AI service supports manual and auto scale - * clusters. + * Scale settings. Desired scale settings for the cluster. Batch AI service supports manual and + * auto scale clusters. */ scaleSettings?: ScaleSettings; } /** - * @interface - * An interface representing NameValuePair. * Name-value pair. - * */ export interface NameValuePair { /** - * @member {string} [name] Name. The name in the name-value pair. + * Name. The name in the name-value pair. */ name?: string; /** - * @member {string} [value] Value. The value in the name-value pair. + * Value. The value in the name-value pair. */ value?: string; } /** - * @interface - * An interface representing BatchAIError. * An error response from the Batch AI service. - * */ export interface BatchAIError { /** - * @member {string} [code] An identifier of the error. Codes are invariant - * and are intended to be consumed programmatically. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * An identifier of the error. Codes are invariant and are intended to be consumed + * programmatically. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly code?: string; /** - * @member {string} [message] A message describing the error, intended to be - * suitable for display in a user interface. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * A message describing the error, intended to be suitable for display in a user interface. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly message?: string; /** - * @member {NameValuePair[]} [details] A list of additional details about the - * error. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * A list of additional details about the error. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly details?: NameValuePair[]; } /** - * @interface - * An interface representing Cluster. * Information about a Cluster. - * - * @extends ProxyResource */ export interface Cluster extends ProxyResource { /** - * @member {string} [vmSize] VM size. The size of the virtual machines in the - * cluster. All nodes in a cluster have the same VM size. + * VM size. The size of the virtual machines in the cluster. All nodes in a cluster have the same + * VM size. */ vmSize?: string; /** - * @member {VmPriority} [vmPriority] VM priority. VM priority of cluster - * nodes. Possible values include: 'dedicated', 'lowpriority'. Default value: - * 'dedicated' . + * VM priority. VM priority of cluster nodes. Possible values include: 'dedicated', + * 'lowpriority'. Default value: 'dedicated'. */ vmPriority?: VmPriority; /** - * @member {ScaleSettings} [scaleSettings] Scale settings. Scale settings of - * the cluster. + * Scale settings. Scale settings of the cluster. */ scaleSettings?: ScaleSettings; /** - * @member {VirtualMachineConfiguration} [virtualMachineConfiguration] VM - * configuration. Virtual machine configuration (OS image) of the compute - * nodes. All nodes in a cluster have the same OS image configuration. + * VM configuration. Virtual machine configuration (OS image) of the compute nodes. All nodes in + * a cluster have the same OS image configuration. */ virtualMachineConfiguration?: VirtualMachineConfiguration; /** - * @member {NodeSetup} [nodeSetup] Node setup. Setup (mount file systems, - * performance counters settings and custom setup task) to be performed on - * each compute node in the cluster. + * Node setup. Setup (mount file systems, performance counters settings and custom setup task) to + * be performed on each compute node in the cluster. */ nodeSetup?: NodeSetup; /** - * @member {UserAccountSettings} [userAccountSettings] User account settings. - * Administrator user account settings which can be used to SSH to compute + * User account settings. Administrator user account settings which can be used to SSH to compute * nodes. */ userAccountSettings?: UserAccountSettings; /** - * @member {ResourceId} [subnet] Subnet. Virtual network subnet resource ID - * the cluster nodes belong to. + * Subnet. Virtual network subnet resource ID the cluster nodes belong to. */ subnet?: ResourceId; /** - * @member {Date} [creationTime] Creation time. The time when the cluster was - * created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Creation time. The time when the cluster was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {ProvisioningState} [provisioningState] Provisioning state. - * Provisioning state of the cluster. Possible value are: creating - - * Specifies that the cluster is being created. succeeded - Specifies that - * the cluster has been created successfully. failed - Specifies that the - * cluster creation has failed. deleting - Specifies that the cluster is - * being deleted. Possible values include: 'creating', 'succeeded', 'failed', - * 'deleting' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Provisioning state. Provisioning state of the cluster. Possible value are: creating - + * Specifies that the cluster is being created. succeeded - Specifies that the cluster has been + * created successfully. failed - Specifies that the cluster creation has failed. deleting - + * Specifies that the cluster is being deleted. Possible values include: 'creating', 'succeeded', + * 'failed', 'deleting' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {Date} [provisioningStateTransitionTime] Provisioning State - * Transition time. Time when the provisioning state was changed. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Provisioning State Transition time. Time when the provisioning state was changed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningStateTransitionTime?: Date; /** - * @member {AllocationState} [allocationState] Allocation state. Allocation - * state of the cluster. Possible values are: steady - Indicates that the - * cluster is not resizing. There are no changes to the number of compute - * nodes in the cluster in progress. A cluster enters this state when it is - * created and when no operations are being performed on the cluster to - * change the number of compute nodes. resizing - Indicates that the cluster - * is resizing; that is, compute nodes are being added to or removed from the + * Allocation state. Allocation state of the cluster. Possible values are: steady - Indicates + * that the cluster is not resizing. There are no changes to the number of compute nodes in the + * cluster in progress. A cluster enters this state when it is created and when no operations are + * being performed on the cluster to change the number of compute nodes. resizing - Indicates + * that the cluster is resizing; that is, compute nodes are being added to or removed from the * cluster. Possible values include: 'steady', 'resizing' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly allocationState?: AllocationState; /** - * @member {Date} [allocationStateTransitionTime] Allocation state transition - * time. The time at which the cluster entered its current allocation state. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Allocation state transition time. The time at which the cluster entered its current allocation + * state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly allocationStateTransitionTime?: Date; /** - * @member {BatchAIError[]} [errors] Errors. Collection of errors encountered - * by various compute nodes during node setup. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Errors. Collection of errors encountered by various compute nodes during node setup. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly errors?: BatchAIError[]; /** - * @member {number} [currentNodeCount] Current node count. The number of - * compute nodes currently assigned to the cluster. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Current node count. The number of compute nodes currently assigned to the cluster. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly currentNodeCount?: number; /** - * @member {NodeStateCounts} [nodeStateCounts] Node state counts. Counts of - * various node states on the cluster. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Node state counts. Counts of various node states on the cluster. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nodeStateCounts?: NodeStateCounts; } /** - * @interface - * An interface representing PrivateRegistryCredentials. * Credentials to access a container image in a private repository. - * */ export interface PrivateRegistryCredentials { /** - * @member {string} username User name. User name to login to the repository. + * User name. User name to login to the repository. */ username: string; /** - * @member {string} [password] Password. User password to login to the docker - * repository. One of password or passwordSecretReference must be specified. + * Password. User password to login to the docker repository. One of password or + * passwordSecretReference must be specified. */ password?: string; /** - * @member {KeyVaultSecretReference} [passwordSecretReference] Password - * secret reference. KeyVault Secret storing the password. Users can store - * their secrets in Azure KeyVault and pass it to the Batch AI service to - * integrate with KeyVault. One of password or passwordSecretReference must - * be specified. + * Password secret reference. KeyVault Secret storing the password. Users can store their secrets + * in Azure KeyVault and pass it to the Batch AI service to integrate with KeyVault. One of + * password or passwordSecretReference must be specified. */ passwordSecretReference?: KeyVaultSecretReference; } /** - * @interface - * An interface representing ImageSourceRegistry. * Information about docker image for the job. - * */ export interface ImageSourceRegistry { /** - * @member {string} [serverUrl] Server URL. URL for image repository. + * Server URL. URL for image repository. */ serverUrl?: string; /** - * @member {string} image Image. The name of the image in the image - * repository. + * Image. The name of the image in the image repository. */ image: string; /** - * @member {PrivateRegistryCredentials} [credentials] Credentials. - * Credentials to access the private docker repository. + * Credentials. Credentials to access the private docker repository. */ credentials?: PrivateRegistryCredentials; } /** - * @interface - * An interface representing ContainerSettings. * Docker container settings. - * */ export interface ContainerSettings { /** - * @member {ImageSourceRegistry} imageSourceRegistry Image source registry. - * Information about docker image and docker registry to download the + * Image source registry. Information about docker image and docker registry to download the * container from. */ imageSourceRegistry: ImageSourceRegistry; /** - * @member {string} [shmSize] /dev/shm size. Size of /dev/shm. Please refer - * to docker documentation for supported argument formats. + * /dev/shm size. Size of /dev/shm. Please refer to docker documentation for supported argument + * formats. */ shmSize?: string; } /** - * @interface - * An interface representing CNTKsettings. * CNTK (aka Microsoft Cognitive Toolkit) job settings. - * */ export interface CNTKsettings { /** - * @member {string} [languageType] Language type. The language to use for - * launching CNTK (aka Microsoft Cognitive Toolkit) job. Valid values are - * 'BrainScript' or 'Python'. + * Language type. The language to use for launching CNTK (aka Microsoft Cognitive Toolkit) job. + * Valid values are 'BrainScript' or 'Python'. */ languageType?: string; /** - * @member {string} [configFilePath] Config file path. Specifies the path of - * the BrainScript config file. This property can be specified only if the - * languageType is 'BrainScript'. + * Config file path. Specifies the path of the BrainScript config file. This property can be + * specified only if the languageType is 'BrainScript'. */ configFilePath?: string; /** - * @member {string} [pythonScriptFilePath] Python script file path. Python - * script to execute. This property can be specified only if the languageType - * is 'Python'. + * Python script file path. Python script to execute. This property can be specified only if the + * languageType is 'Python'. */ pythonScriptFilePath?: string; /** - * @member {string} [pythonInterpreterPath] Python interpreter path. The path - * to the Python interpreter. This property can be specified only if the - * languageType is 'Python'. + * Python interpreter path. The path to the Python interpreter. This property can be specified + * only if the languageType is 'Python'. */ pythonInterpreterPath?: string; /** - * @member {string} [commandLineArgs] Command line arguments. Command line - * arguments that need to be passed to the python script or cntk executable. + * Command line arguments. Command line arguments that need to be passed to the python script or + * cntk executable. */ commandLineArgs?: string; /** - * @member {number} [processCount] Process count. Number of processes to - * launch for the job execution. The default value for this property is equal - * to nodeCount property + * Process count. Number of processes to launch for the job execution. The default value for this + * property is equal to nodeCount property */ processCount?: number; } /** - * @interface - * An interface representing PyTorchSettings. * pyTorch job settings. - * */ export interface PyTorchSettings { /** - * @member {string} pythonScriptFilePath Python script file path. The python - * script to execute. + * Python script file path. The python script to execute. */ pythonScriptFilePath: string; /** - * @member {string} [pythonInterpreterPath] Python interpreter path. The path - * to the Python interpreter. + * Python interpreter path. The path to the Python interpreter. */ pythonInterpreterPath?: string; /** - * @member {string} [commandLineArgs] Command line arguments. Command line - * arguments that need to be passed to the python script. + * Command line arguments. Command line arguments that need to be passed to the python script. */ commandLineArgs?: string; /** - * @member {number} [processCount] Process count. Number of processes to - * launch for the job execution. The default value for this property is equal - * to nodeCount property + * Process count. Number of processes to launch for the job execution. The default value for this + * property is equal to nodeCount property */ processCount?: number; /** - * @member {string} [communicationBackend] Communication backend. Type of the - * communication backend for distributed jobs. Valid values are 'TCP', 'Gloo' - * or 'MPI'. Not required for non-distributed jobs. + * Communication backend. Type of the communication backend for distributed jobs. Valid values + * are 'TCP', 'Gloo' or 'MPI'. Not required for non-distributed jobs. */ communicationBackend?: string; } /** - * @interface - * An interface representing TensorFlowSettings. * TensorFlow job settings. - * */ export interface TensorFlowSettings { /** - * @member {string} pythonScriptFilePath Python script file path. The python - * script to execute. + * Python script file path. The python script to execute. */ pythonScriptFilePath: string; /** - * @member {string} [pythonInterpreterPath] Python interpreter path. The path - * to the Python interpreter. + * Python interpreter path. The path to the Python interpreter. */ pythonInterpreterPath?: string; /** - * @member {string} [masterCommandLineArgs] Master command line arguments. - * Command line arguments that need to be passed to the python script for the - * master task. + * Master command line arguments. Command line arguments that need to be passed to the python + * script for the master task. */ masterCommandLineArgs?: string; /** - * @member {string} [workerCommandLineArgs] Worker command line arguments. - * Command line arguments that need to be passed to the python script for the - * worker task. Optional for single process jobs. + * Worker command line arguments. Command line arguments that need to be passed to the python + * script for the worker task. Optional for single process jobs. */ workerCommandLineArgs?: string; /** - * @member {string} [parameterServerCommandLineArgs] Parameter server command - * line arguments. Command line arguments that need to be passed to the + * Parameter server command line arguments. Command line arguments that need to be passed to the * python script for the parameter server. Optional for single process jobs. */ parameterServerCommandLineArgs?: string; /** - * @member {number} [workerCount] Worker count. The number of worker tasks. - * If specified, the value must be less than or equal to (nodeCount * - * numberOfGPUs per VM). If not specified, the default value is equal to - * nodeCount. This property can be specified only for distributed TensorFlow - * training. + * Worker count. The number of worker tasks. If specified, the value must be less than or equal + * to (nodeCount * numberOfGPUs per VM). If not specified, the default value is equal to + * nodeCount. This property can be specified only for distributed TensorFlow training. */ workerCount?: number; /** - * @member {number} [parameterServerCount] Parameter server count. The number - * of parameter server tasks. If specified, the value must be less than or - * equal to nodeCount. If not specified, the default value is equal to 1 for - * distributed TensorFlow training. This property can be specified only for - * distributed TensorFlow training. + * Parameter server count. The number of parameter server tasks. If specified, the value must be + * less than or equal to nodeCount. If not specified, the default value is equal to 1 for + * distributed TensorFlow training. This property can be specified only for distributed + * TensorFlow training. */ parameterServerCount?: number; } /** - * @interface - * An interface representing CaffeSettings. * Caffe job settings. - * */ export interface CaffeSettings { /** - * @member {string} [configFilePath] Config file path. Path of the config - * file for the job. This property cannot be specified if + * Config file path. Path of the config file for the job. This property cannot be specified if * pythonScriptFilePath is specified. */ configFilePath?: string; /** - * @member {string} [pythonScriptFilePath] Python script file path. Python - * script to execute. This property cannot be specified if configFilePath is - * specified. + * Python script file path. Python script to execute. This property cannot be specified if + * configFilePath is specified. */ pythonScriptFilePath?: string; /** - * @member {string} [pythonInterpreterPath] Python interpreter path. The path - * to the Python interpreter. The property can be specified only if the - * pythonScriptFilePath is specified. + * Python interpreter path. The path to the Python interpreter. The property can be specified + * only if the pythonScriptFilePath is specified. */ pythonInterpreterPath?: string; /** - * @member {string} [commandLineArgs] Command line arguments. Command line - * arguments that need to be passed to the Caffe job. + * Command line arguments. Command line arguments that need to be passed to the Caffe job. */ commandLineArgs?: string; /** - * @member {number} [processCount] Process count. Number of processes to - * launch for the job execution. The default value for this property is equal - * to nodeCount property + * Process count. Number of processes to launch for the job execution. The default value for this + * property is equal to nodeCount property */ processCount?: number; } /** - * @interface - * An interface representing Caffe2Settings. * Caffe2 job settings. - * */ export interface Caffe2Settings { /** - * @member {string} pythonScriptFilePath Python script file path. The python - * script to execute. + * Python script file path. The python script to execute. */ pythonScriptFilePath: string; /** - * @member {string} [pythonInterpreterPath] Python interpreter path. The path - * to the Python interpreter. + * Python interpreter path. The path to the Python interpreter. */ pythonInterpreterPath?: string; /** - * @member {string} [commandLineArgs] Command line arguments. Command line - * arguments that need to be passed to the python script. + * Command line arguments. Command line arguments that need to be passed to the python script. */ commandLineArgs?: string; } /** - * @interface - * An interface representing ChainerSettings. * Chainer job settings. - * */ export interface ChainerSettings { /** - * @member {string} pythonScriptFilePath Python script file path. The python - * script to execute. + * Python script file path. The python script to execute. */ pythonScriptFilePath: string; /** - * @member {string} [pythonInterpreterPath] Python interpreter path. The path - * to the Python interpreter. + * Python interpreter path. The path to the Python interpreter. */ pythonInterpreterPath?: string; /** - * @member {string} [commandLineArgs] Command line arguments. Command line - * arguments that need to be passed to the python script. + * Command line arguments. Command line arguments that need to be passed to the python script. */ commandLineArgs?: string; /** - * @member {number} [processCount] Process count. Number of processes to - * launch for the job execution. The default value for this property is equal - * to nodeCount property + * Process count. Number of processes to launch for the job execution. The default value for this + * property is equal to nodeCount property */ processCount?: number; } /** - * @interface - * An interface representing CustomToolkitSettings. * Custom tool kit job settings. - * */ export interface CustomToolkitSettings { /** - * @member {string} [commandLine] Command line. The command line to execute - * on the master node. + * Command line. The command line to execute on the master node. */ commandLine?: string; } /** - * @interface - * An interface representing CustomMpiSettings. * Custom MPI job settings. - * */ export interface CustomMpiSettings { /** - * @member {string} commandLine Command line. The command line to be executed - * by mpi runtime on each compute node. + * Command line. The command line to be executed by mpi runtime on each compute node. */ commandLine: string; /** - * @member {number} [processCount] Process count. Number of processes to - * launch for the job execution. The default value for this property is equal - * to nodeCount property + * Process count. Number of processes to launch for the job execution. The default value for this + * property is equal to nodeCount property */ processCount?: number; } /** - * @interface - * An interface representing HorovodSettings. * Specifies the settings for Horovod job. - * */ export interface HorovodSettings { /** - * @member {string} pythonScriptFilePath Python script file path. The python - * script to execute. + * Python script file path. The python script to execute. */ pythonScriptFilePath: string; /** - * @member {string} [pythonInterpreterPath] Python interpreter path. The path - * to the Python interpreter. + * Python interpreter path. The path to the Python interpreter. */ pythonInterpreterPath?: string; /** - * @member {string} [commandLineArgs] Command line arguments. Command line - * arguments that need to be passed to the python script. + * Command line arguments. Command line arguments that need to be passed to the python script. */ commandLineArgs?: string; /** - * @member {number} [processCount] Process count. Number of processes to - * launch for the job execution. The default value for this property is equal - * to nodeCount property + * Process count. Number of processes to launch for the job execution. The default value for this + * property is equal to nodeCount property */ processCount?: number; } /** - * @interface - * An interface representing JobPreparation. * Job preparation settings. - * */ export interface JobPreparation { /** - * @member {string} commandLine Command line. The command line to execute. If - * containerSettings is specified on the job, this commandLine will be - * executed in the same container as job. Otherwise it will be executed on + * Command line. The command line to execute. If containerSettings is specified on the job, this + * commandLine will be executed in the same container as job. Otherwise it will be executed on * the node. */ commandLine: string; } /** - * @interface - * An interface representing InputDirectory. * Input directory for the job. - * */ export interface InputDirectory { /** - * @member {string} id ID. The ID for the input directory. The job can use - * AZ_BATCHAI_INPUT_ environment variable to find the directory path, - * where is the value of id attribute. + * ID. The ID for the input directory. The job can use AZ_BATCHAI_INPUT_ environment variable + * to find the directory path, where is the value of id attribute. */ id: string; /** - * @member {string} path Path. The path to the input directory. + * Path. The path to the input directory. */ path: string; } /** - * @interface - * An interface representing OutputDirectory. * Output directory for the job. - * */ export interface OutputDirectory { /** - * @member {string} id ID. The ID of the output directory. The job can use - * AZ_BATCHAI_OUTPUT_ environment variale to find the directory path, - * where is the value of id attribute. + * ID. The ID of the output directory. The job can use AZ_BATCHAI_OUTPUT_ environment + * variable to find the directory path, where is the value of id attribute. */ id: string; /** - * @member {string} pathPrefix Path prefix. The prefix path where the output - * directory will be created. Note, this is an absolute path to prefix. E.g. - * $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs. The full path to the output directory - * by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get - * job) and pathSuffix. + * Path prefix. The prefix path where the output directory will be created. Note, this is an + * absolute path to prefix. E.g. $AZ_BATCHAI_MOUNT_ROOT/MyNFS/MyLogs. The full path to the output + * directory by combining pathPrefix, jobOutputDirectoryPathSegment (reported by get job) and + * pathSuffix. */ pathPrefix: string; /** - * @member {string} [pathSuffix] Path suffix. The suffix path where the - * output directory will be created. E.g. models. You can find the full path - * to the output directory by combining pathPrefix, + * Path suffix. The suffix path where the output directory will be created. E.g. models. You can + * find the full path to the output directory by combining pathPrefix, * jobOutputDirectoryPathSegment (reported by get job) and pathSuffix. */ pathSuffix?: string; } /** - * @interface - * An interface representing JobBasePropertiesConstraints. * Constraints associated with the Job. - * */ export interface JobBasePropertiesConstraints { /** - * @member {string} [maxWallClockTime] Max wall clock time. Max time the job - * can run. Default value: 1 week. Default value: '7.00:00:00' . + * Max wall clock time. Max time the job can run. Default value: 1 week. Default value: + * '7.00:00:00'. */ maxWallClockTime?: string; } /** - * @interface - * An interface representing JobCreateParameters. * Job creation parameters. - * */ export interface JobCreateParameters { /** - * @member {JobPriority} [schedulingPriority] Scheduling priority. Scheduling - * priority associated with the job. Possible values: low, normal, high. - * Possible values include: 'low', 'normal', 'high'. Default value: 'normal' - * . + * Scheduling priority. Scheduling priority associated with the job. Possible values: low, + * normal, high. Possible values include: 'low', 'normal', 'high'. Default value: 'normal'. */ schedulingPriority?: JobPriority; /** - * @member {ResourceId} cluster Cluster. Resource ID of the cluster on which - * this job will run. + * Cluster. Resource ID of the cluster on which this job will run. */ cluster: ResourceId; /** - * @member {MountVolumes} [mountVolumes] Mount volumes. Information on mount - * volumes to be used by the job. These volumes will be mounted before the - * job execution and will be unmouted after the job completion. The volumes - * will be mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT - * environment variable. + * Mount volumes. Information on mount volumes to be used by the job. These volumes will be + * mounted before the job execution and will be unmounted after the job completion. The volumes + * will be mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. */ mountVolumes?: MountVolumes; /** - * @member {number} nodeCount Node count. Number of compute nodes to run the - * job on. The job will be gang scheduled on that many compute nodes. + * Node count. Number of compute nodes to run the job on. The job will be gang scheduled on that + * many compute nodes. */ nodeCount: number; /** - * @member {ContainerSettings} [containerSettings] Container settings. Docker - * container settings for the job. If not provided, the job will run directly - * on the node. + * Container settings. Docker container settings for the job. If not provided, the job will run + * directly on the node. */ containerSettings?: ContainerSettings; /** - * @member {CNTKsettings} [cntkSettings] CNTK settings. Settings for CNTK - * (aka Microsoft Cognitive Toolkit) job. + * CNTK settings. Settings for CNTK (aka Microsoft Cognitive Toolkit) job. */ cntkSettings?: CNTKsettings; /** - * @member {PyTorchSettings} [pyTorchSettings] pyTorch settings. Settings for - * pyTorch job. + * pyTorch settings. Settings for pyTorch job. */ pyTorchSettings?: PyTorchSettings; /** - * @member {TensorFlowSettings} [tensorFlowSettings] TensorFlow settings. - * Settings for Tensor Flow job. + * TensorFlow settings. Settings for Tensor Flow job. */ tensorFlowSettings?: TensorFlowSettings; /** - * @member {CaffeSettings} [caffeSettings] Caffe settings. Settings for Caffe - * job. + * Caffe settings. Settings for Caffe job. */ caffeSettings?: CaffeSettings; /** - * @member {Caffe2Settings} [caffe2Settings] Caffe2 settings. Settings for - * Caffe2 job. + * Caffe2 settings. Settings for Caffe2 job. */ caffe2Settings?: Caffe2Settings; /** - * @member {ChainerSettings} [chainerSettings] Chainer settings. Settings for - * Chainer job. + * Chainer settings. Settings for Chainer job. */ chainerSettings?: ChainerSettings; /** - * @member {CustomToolkitSettings} [customToolkitSettings] Custom tool kit - * job. Settings for custom tool kit job. + * Custom tool kit job. Settings for custom tool kit job. */ customToolkitSettings?: CustomToolkitSettings; /** - * @member {CustomMpiSettings} [customMpiSettings] Custom MPI settings. - * Settings for custom MPI job. + * Custom MPI settings. Settings for custom MPI job. */ customMpiSettings?: CustomMpiSettings; /** - * @member {HorovodSettings} [horovodSettings] Horovod settings. Settings for - * Horovod job. + * Horovod settings. Settings for Horovod job. */ horovodSettings?: HorovodSettings; /** - * @member {JobPreparation} [jobPreparation] Job preparation. A command line - * to be executed on each node allocated for the job before tool kit is - * launched. + * Job preparation. A command line to be executed on each node allocated for the job before tool + * kit is launched. */ jobPreparation?: JobPreparation; /** - * @member {string} stdOutErrPathPrefix Standard output path prefix. The path - * where the Batch AI service will store stdout, stderror and execution log - * of the job. + * Standard output path prefix. The path where the Batch AI service will store stdout, stderror + * and execution log of the job. */ stdOutErrPathPrefix: string; /** - * @member {InputDirectory[]} [inputDirectories] Input directories. A list of - * input directories for the job. + * Input directories. A list of input directories for the job. */ inputDirectories?: InputDirectory[]; /** - * @member {OutputDirectory[]} [outputDirectories] Output directories. A list - * of output directories for the job. + * Output directories. A list of output directories for the job. */ outputDirectories?: OutputDirectory[]; /** - * @member {EnvironmentVariable[]} [environmentVariables] Environment - * variables. A list of user defined environment variables which will be - * setup for the job. + * Environment variables. A list of user defined environment variables which will be setup for + * the job. */ environmentVariables?: EnvironmentVariable[]; /** - * @member {EnvironmentVariableWithSecretValue[]} [secrets] Secrets. A list - * of user defined environment variables with secret values which will be - * setup for the job. Server will never report values of these variables - * back. + * Secrets. A list of user defined environment variables with secret values which will be setup + * for the job. Server will never report values of these variables back. */ secrets?: EnvironmentVariableWithSecretValue[]; /** - * @member {JobBasePropertiesConstraints} [constraints] Constraints - * associated with the Job. + * Constraints associated with the Job. */ constraints?: JobBasePropertiesConstraints; } /** - * @interface - * An interface representing JobPropertiesConstraints. * Constraints associated with the Job. - * */ export interface JobPropertiesConstraints { /** - * @member {string} [maxWallClockTime] Max wall clock time. Max time the job - * can run. Default value: 1 week. Default value: '7.00:00:00' . + * Max wall clock time. Max time the job can run. Default value: 1 week. Default value: + * '7.00:00:00'. */ maxWallClockTime?: string; } /** - * @interface - * An interface representing JobPropertiesExecutionInfo. * Information about the execution of a job. - * */ export interface JobPropertiesExecutionInfo { /** - * @member {Date} [startTime] Start time. The time at which the job started - * running. 'Running' corresponds to the running state. If the job has been - * restarted or retried, this is the most recent time at which the job - * started running. This property is present only for job that are in the - * running or completed state. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Start time. The time at which the job started running. 'Running' corresponds to the running + * state. If the job has been restarted or retried, this is the most recent time at which the job + * started running. This property is present only for job that are in the running or completed + * state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly startTime?: Date; /** - * @member {Date} [endTime] End time. The time at which the job completed. - * This property is only returned if the job is in completed state. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * End time. The time at which the job completed. This property is only returned if the job is in + * completed state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly endTime?: Date; /** - * @member {number} [exitCode] Exit code. The exit code of the job. This - * property is only returned if the job is in completed state. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Exit code. The exit code of the job. This property is only returned if the job is in completed + * state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly exitCode?: number; /** - * @member {BatchAIError[]} [errors] Errors. A collection of errors - * encountered by the service during job execution. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Errors. A collection of errors encountered by the service during job execution. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly errors?: BatchAIError[]; } /** - * @interface - * An interface representing Job. * Information about a Job. - * - * @extends ProxyResource */ export interface Job extends ProxyResource { /** - * @member {JobPriority} [schedulingPriority] Scheduling priority. Scheduling - * priority associated with the job. Possible values include: 'low', - * 'normal', 'high'. Default value: 'normal' . + * Scheduling priority. Scheduling priority associated with the job. Possible values include: + * 'low', 'normal', 'high'. Default value: 'normal'. */ schedulingPriority?: JobPriority; /** - * @member {ResourceId} [cluster] Cluster. Resource ID of the cluster - * associated with the job. + * Cluster. Resource ID of the cluster associated with the job. */ cluster?: ResourceId; /** - * @member {MountVolumes} [mountVolumes] Mount volumes. Collection of mount - * volumes available to the job during execution. These volumes are mounted - * before the job execution and unmouted after the job completion. The - * volumes are mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT - * environment variable. + * Mount volumes. Collection of mount volumes available to the job during execution. These + * volumes are mounted before the job execution and unmounted after the job completion. The + * volumes are mounted at location specified by $AZ_BATCHAI_JOB_MOUNT_ROOT environment variable. */ mountVolumes?: MountVolumes; /** - * @member {number} [nodeCount] Number of compute nodes to run the job on. - * The job will be gang scheduled on that many compute nodes + * Number of compute nodes to run the job on. The job will be gang scheduled on that many compute + * nodes */ nodeCount?: number; /** - * @member {ContainerSettings} [containerSettings] If provided the job will - * run in the specified container. If the container was downloaded as part of - * cluster setup then the same container image will be used. If not provided, - * the job will run on the VM. + * If provided the job will run in the specified container. If the container was downloaded as + * part of cluster setup then the same container image will be used. If not provided, the job + * will run on the VM. */ containerSettings?: ContainerSettings; /** - * @member {ToolType} [toolType] The toolkit type of this job. Possible - * values are: cntk, tensorflow, caffe, caffe2, chainer, pytorch, custom, - * custommpi, horovod. Possible values include: 'cntk', 'tensorflow', - * 'caffe', 'caffe2', 'chainer', 'horovod', 'custommpi', 'custom' + * The toolkit type of this job. Possible values are: cntk, tensorflow, caffe, caffe2, chainer, + * pytorch, custom, custommpi, horovod. Possible values include: 'cntk', 'tensorflow', 'caffe', + * 'caffe2', 'chainer', 'horovod', 'custommpi', 'custom' */ toolType?: ToolType; /** - * @member {CNTKsettings} [cntkSettings] Specifies the settings for CNTK (aka - * Microsoft Cognitive Toolkit) job. + * Specifies the settings for CNTK (aka Microsoft Cognitive Toolkit) job. */ cntkSettings?: CNTKsettings; /** - * @member {PyTorchSettings} [pyTorchSettings] Specifies the settings for - * pyTorch job. + * Specifies the settings for pyTorch job. */ pyTorchSettings?: PyTorchSettings; /** - * @member {TensorFlowSettings} [tensorFlowSettings] Specifies the settings - * for Tensor Flow job. + * Specifies the settings for Tensor Flow job. */ tensorFlowSettings?: TensorFlowSettings; /** - * @member {CaffeSettings} [caffeSettings] Specifies the settings for Caffe - * job. + * Specifies the settings for Caffe job. */ caffeSettings?: CaffeSettings; /** - * @member {Caffe2Settings} [caffe2Settings] Specifies the settings for - * Caffe2 job. + * Specifies the settings for Caffe2 job. */ caffe2Settings?: Caffe2Settings; /** - * @member {ChainerSettings} [chainerSettings] Specifies the settings for - * Chainer job. + * Specifies the settings for Chainer job. */ chainerSettings?: ChainerSettings; /** - * @member {CustomToolkitSettings} [customToolkitSettings] Specifies the - * settings for custom tool kit job. + * Specifies the settings for custom tool kit job. */ customToolkitSettings?: CustomToolkitSettings; /** - * @member {CustomMpiSettings} [customMpiSettings] Specifies the settings for - * custom MPI job. + * Specifies the settings for custom MPI job. */ customMpiSettings?: CustomMpiSettings; /** - * @member {HorovodSettings} [horovodSettings] Specifies the settings for - * Horovod job. + * Specifies the settings for Horovod job. */ horovodSettings?: HorovodSettings; /** - * @member {JobPreparation} [jobPreparation] Specifies the actions to be - * performed before tool kit is launched. The specified actions will run on - * all the nodes that are part of the job + * Specifies the actions to be performed before tool kit is launched. The specified actions will + * run on all the nodes that are part of the job */ jobPreparation?: JobPreparation; /** - * @member {string} [jobOutputDirectoryPathSegment] Output directory path - * segment. A segment of job's output directories path created by Batch AI. - * Batch AI creates job's output directories under an unique path to avoid - * conflicts between jobs. This value contains a path segment generated by - * Batch AI to make the path unique and can be used to find the output - * directory on the node or mounted filesystem. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Output directory path segment. A segment of job's output directories path created by Batch AI. + * Batch AI creates job's output directories under an unique path to avoid conflicts between + * jobs. This value contains a path segment generated by Batch AI to make the path unique and can + * be used to find the output directory on the node or mounted filesystem. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly jobOutputDirectoryPathSegment?: string; /** - * @member {string} [stdOutErrPathPrefix] Standard output directory path - * prefix. The path where the Batch AI service stores stdout, stderror and - * execution log of the job. + * Standard output directory path prefix. The path where the Batch AI service stores stdout, + * stderror and execution log of the job. */ stdOutErrPathPrefix?: string; /** - * @member {InputDirectory[]} [inputDirectories] Input directories. A list of - * input directories for the job. + * Input directories. A list of input directories for the job. */ inputDirectories?: InputDirectory[]; /** - * @member {OutputDirectory[]} [outputDirectories] Output directories. A list - * of output directories for the job. + * Output directories. A list of output directories for the job. */ outputDirectories?: OutputDirectory[]; /** - * @member {EnvironmentVariable[]} [environmentVariables] Environment - * variables. A collection of user defined environment variables to be setup - * for the job. + * Environment variables. A collection of user defined environment variables to be setup for the + * job. */ environmentVariables?: EnvironmentVariable[]; /** - * @member {EnvironmentVariableWithSecretValue[]} [secrets] Secrets. A - * collection of user defined environment variables with secret values to be - * setup for the job. Server will never report values of these variables - * back. + * Secrets. A collection of user defined environment variables with secret values to be setup for + * the job. Server will never report values of these variables back. */ secrets?: EnvironmentVariableWithSecretValue[]; /** - * @member {JobPropertiesConstraints} [constraints] Constraints associated - * with the Job. + * Constraints associated with the Job. */ constraints?: JobPropertiesConstraints; /** - * @member {Date} [creationTime] Creation time. The creation time of the job. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Creation time. The creation time of the job. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {ProvisioningState} [provisioningState] Provisioning state. The - * provisioned state of the Batch AI job. Possible values include: + * Provisioning state. The provisioned state of the Batch AI job. Possible values include: * 'creating', 'succeeded', 'failed', 'deleting' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {Date} [provisioningStateTransitionTime] Provisioning state - * transition time. The time at which the job entered its current - * provisioning state. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Provisioning state transition time. The time at which the job entered its current provisioning + * state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningStateTransitionTime?: Date; /** - * @member {ExecutionState} [executionState] Execution state. The current - * state of the job. Possible values are: queued - The job is queued and able - * to run. A job enters this state when it is created, or when it is awaiting - * a retry after a failed run. running - The job is running on a compute - * cluster. This includes job-level preparation such as downloading resource - * files or set up container specified on the job - it does not necessarily - * mean that the job command line has started executing. terminating - The - * job is terminated by the user, the terminate operation is in progress. - * succeeded - The job has completed running succesfully and exited with exit - * code 0. failed - The job has finished unsuccessfully (failed with a - * non-zero exit code) and has exhausted its retry limit. A job is also - * marked as failed if an error occurred launching the job. Possible values - * include: 'queued', 'running', 'terminating', 'succeeded', 'failed' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Execution state. The current state of the job. Possible values are: queued - The job is queued + * and able to run. A job enters this state when it is created, or when it is awaiting a retry + * after a failed run. running - The job is running on a compute cluster. This includes job-level + * preparation such as downloading resource files or set up container specified on the job - it + * does not necessarily mean that the job command line has started executing. terminating - The + * job is terminated by the user, the terminate operation is in progress. succeeded - The job has + * completed running successfully and exited with exit code 0. failed - The job has finished + * unsuccessfully (failed with a non-zero exit code) and has exhausted its retry limit. A job is + * also marked as failed if an error occurred launching the job. Possible values include: + * 'queued', 'running', 'terminating', 'succeeded', 'failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly executionState?: ExecutionState; /** - * @member {Date} [executionStateTransitionTime] Execution state transition - * time. The time at which the job entered its current execution state. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Execution state transition time. The time at which the job entered its current execution + * state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly executionStateTransitionTime?: Date; /** - * @member {JobPropertiesExecutionInfo} [executionInfo] Information about the - * execution of a job. + * Information about the execution of a job. */ executionInfo?: JobPropertiesExecutionInfo; } /** - * @interface - * An interface representing RemoteLoginInformation. * Login details to SSH to a compute node in cluster. - * */ export interface RemoteLoginInformation { /** - * @member {string} [nodeId] Node ID. ID of the compute node. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Node ID. ID of the compute node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nodeId?: string; /** - * @member {string} [ipAddress] IP address. Public IP address of the compute - * node. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * IP address. Public IP address of the compute node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly ipAddress?: string; /** - * @member {number} [port] Port. SSH port number of the node. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Port. SSH port number of the node. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly port?: number; } /** - * @interface - * An interface representing File. * Properties of the file or directory. - * */ export interface File { /** - * @member {string} [name] Name. Name of the file. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name. Name of the file. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {FileType} [fileType] File type. Type of the file. Possible values - * are file and directory. Possible values include: 'file', 'directory' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * File type. Type of the file. Possible values are file and directory. Possible values include: + * 'file', 'directory' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly fileType?: FileType; /** - * @member {string} [downloadUrl] Download URL. URL to download the - * corresponding file. The downloadUrl is not returned for directories. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Download URL. URL to download the corresponding file. The downloadUrl is not returned for + * directories. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly downloadUrl?: string; /** - * @member {Date} [lastModified] Last modified time. The time at which the - * file was last modified. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Last modified time. The time at which the file was last modified. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModified?: Date; /** - * @member {number} [contentLength] Content length. The file of the size. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Content length. The file of the size. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly contentLength?: number; } /** - * @interface - * An interface representing Resource. * A definition of an Azure resource. - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] The ID of the resource - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The ID of the resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The name of the resource - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The type of the resource - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of the resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} [location] The location of the resource - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The location of the resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly location?: string; /** - * @member {{ [propertyName: string]: string }} [tags] The tags of the - * resource - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The tags of the resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing OperationDisplay. * The object that describes the operation. - * */ export interface OperationDisplay { /** - * @member {string} [provider] Friendly name of the resource provider. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Friendly name of the resource provider. **NOTE: This property will not be serialized. It can + * only be populated by the server.** */ readonly provider?: string; /** - * @member {string} [operation] The operation type. For example: read, write, - * delete, or listKeys/action - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The operation type. For example: read, write, delete, or listKeys/action + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly operation?: string; /** - * @member {string} [resource] The resource type on which the operation is - * performed. **NOTE: This property will not be serialized. It can only be - * populated by the server.** + * The resource type on which the operation is performed. **NOTE: This property will not be + * serialized. It can only be populated by the server.** */ readonly resource?: string; /** - * @member {string} [description] The friendly name of the operation. **NOTE: - * This property will not be serialized. It can only be populated by the - * server.** + * The friendly name of the operation. **NOTE: This property will not be serialized. It can only + * be populated by the server.** */ readonly description?: string; } /** - * @interface - * An interface representing Operation. - * @summary A REST API operation. - * * Details of a REST API operation - * + * @summary A REST API operation. */ export interface Operation { /** - * @member {string} [name] The operation name. This is of the format - * {provider}/{resource}/{operation} - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The operation name. This is of the format {provider}/{resource}/{operation} + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {OperationDisplay} [display] The object that describes the - * operation. + * The object that describes the operation. */ display?: OperationDisplay; /** - * @member {string} [origin] The intended executor of the operation. **NOTE: - * This property will not be serialized. It can only be populated by the - * server.** + * The intended executor of the operation. **NOTE: This property will not be serialized. It can + * only be populated by the server.** */ readonly origin?: string; /** - * @member {any} [properties] Properties of the operation. + * Properties of the operation. */ properties?: any; } /** - * @interface - * An interface representing Workspace. * Batch AI Workspace information. - * - * @extends Resource */ export interface Workspace extends Resource { /** - * @member {Date} [creationTime] Creation time. Time when the Workspace was - * created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Creation time. Time when the Workspace was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {ProvisioningState} [provisioningState] Provisioning state. The - * provisioned state of the Workspace. Possible values include: 'creating', - * 'succeeded', 'failed', 'deleting' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Provisioning state. The provisioned state of the Workspace. Possible values include: + * 'creating', 'succeeded', 'failed', 'deleting' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {Date} [provisioningStateTransitionTime] Provisioning state - * transition time. The time at which the workspace entered its current + * Provisioning state transition time. The time at which the workspace entered its current * provisioning state. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningStateTransitionTime?: Date; } /** - * @interface - * An interface representing WorkspaceCreateParameters. * Workspace creation parameters. - * */ export interface WorkspaceCreateParameters { /** - * @member {string} location Location. The region in which to create the - * Workspace. + * Location. The region in which to create the Workspace. */ location: string; /** - * @member {{ [propertyName: string]: string }} [tags] Tags. The user - * specified tags associated with the Workspace. + * Tags. The user specified tags associated with the Workspace. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing WorkspaceUpdateParameters. * Workspace update parameters. - * */ export interface WorkspaceUpdateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] Tags. The user - * specified tags associated with the Workspace. + * Tags. The user specified tags associated with the Workspace. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Experiment. * Experiment information. - * - * @extends ProxyResource */ export interface Experiment extends ProxyResource { /** - * @member {Date} [creationTime] Creation time. Time when the Experiment was - * created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Creation time. Time when the Experiment was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationTime?: Date; /** - * @member {ProvisioningState} [provisioningState] Provisioning state. The - * provisioned state of the experiment. Possible values include: 'creating', - * 'succeeded', 'failed', 'deleting' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Provisioning state. The provisioned state of the experiment. Possible values include: + * 'creating', 'succeeded', 'failed', 'deleting' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {Date} [provisioningStateTransitionTime] Provisioning state - * transition time. The time at which the experiment entered its current + * Provisioning state transition time. The time at which the experiment entered its current * provisioning state. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningStateTransitionTime?: Date; } /** - * @interface - * An interface representing WorkspacesListOptions. * Additional parameters for list operation. - * */ export interface WorkspacesListOptions { /** - * @member {number} [maxResults] The maximum number of items to return in the - * response. A maximum of 1000 files can be returned. Default value: 1000 . + * The maximum number of items to return in the response. A maximum of 1000 files can be + * returned. Default value: 1000. */ maxResults?: number; } /** - * @interface - * An interface representing WorkspacesListByResourceGroupOptions. * Additional parameters for listByResourceGroup operation. - * */ export interface WorkspacesListByResourceGroupOptions { /** - * @member {number} [maxResults] The maximum number of items to return in the - * response. A maximum of 1000 files can be returned. Default value: 1000 . + * The maximum number of items to return in the response. A maximum of 1000 files can be + * returned. Default value: 1000. */ maxResults?: number; } /** - * @interface - * An interface representing ExperimentsListByWorkspaceOptions. * Additional parameters for listByWorkspace operation. - * */ export interface ExperimentsListByWorkspaceOptions { /** - * @member {number} [maxResults] The maximum number of items to return in the - * response. A maximum of 1000 files can be returned. Default value: 1000 . + * The maximum number of items to return in the response. A maximum of 1000 files can be + * returned. Default value: 1000. */ maxResults?: number; } /** - * @interface - * An interface representing JobsListByExperimentOptions. * Additional parameters for listByExperiment operation. - * */ export interface JobsListByExperimentOptions { /** - * @member {number} [maxResults] The maximum number of items to return in the - * response. A maximum of 1000 files can be returned. Default value: 1000 . + * The maximum number of items to return in the response. A maximum of 1000 files can be + * returned. Default value: 1000. */ maxResults?: number; } /** - * @interface - * An interface representing JobsListOutputFilesOptions. * Additional parameters for listOutputFiles operation. - * */ export interface JobsListOutputFilesOptions { /** - * @member {string} outputdirectoryid Id of the job output directory. This is - * the OutputDirectory-->id parameter that is given by the user during Create - * Job. + * Id of the job output directory. This is the OutputDirectory-->id parameter that is given by + * the user during Create Job. */ outputdirectoryid: string; /** - * @member {string} [directory] The path to the directory. Default value: '.' - * . + * The path to the directory. Default value: '.'. */ directory?: string; /** - * @member {number} [linkexpiryinminutes] The number of minutes after which - * the download link will expire. Default value: 60 . + * The number of minutes after which the download link will expire. Default value: 60. */ linkexpiryinminutes?: number; /** - * @member {number} [maxResults] The maximum number of items to return in the - * response. A maximum of 1000 files can be returned. Default value: 1000 . + * The maximum number of items to return in the response. A maximum of 1000 files can be + * returned. Default value: 1000. */ maxResults?: number; } /** - * @interface - * An interface representing FileServersListByWorkspaceOptions. * Additional parameters for listByWorkspace operation. - * */ export interface FileServersListByWorkspaceOptions { /** - * @member {number} [maxResults] The maximum number of items to return in the - * response. A maximum of 1000 files can be returned. Default value: 1000 . + * The maximum number of items to return in the response. A maximum of 1000 files can be + * returned. Default value: 1000. */ maxResults?: number; } /** - * @interface - * An interface representing ClustersListByWorkspaceOptions. * Additional parameters for listByWorkspace operation. - * */ export interface ClustersListByWorkspaceOptions { /** - * @member {number} [maxResults] The maximum number of items to return in the - * response. A maximum of 1000 files can be returned. Default value: 1000 . + * The maximum number of items to return in the response. A maximum of 1000 files can be + * returned. Default value: 1000. */ maxResults?: number; } /** - * @interface - * An interface representing WorkspacesListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface WorkspacesListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {WorkspacesListOptions} [workspacesListOptions] Additional - * parameters for the operation + * Additional parameters for the operation */ workspacesListOptions?: WorkspacesListOptions; } /** - * @interface - * An interface representing WorkspacesListByResourceGroupOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface WorkspacesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { /** - * @member {WorkspacesListByResourceGroupOptions} - * [workspacesListByResourceGroupOptions] Additional parameters for the - * operation + * Additional parameters for the operation */ workspacesListByResourceGroupOptions?: WorkspacesListByResourceGroupOptions; } /** - * @interface - * An interface representing WorkspacesUpdateOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface WorkspacesUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * @member {{ [propertyName: string]: string }} [tags] Tags. The user - * specified tags associated with the Workspace. + * Tags. The user specified tags associated with the Workspace. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing ExperimentsListByWorkspaceOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface ExperimentsListByWorkspaceOptionalParams extends msRest.RequestOptionsBase { /** - * @member {ExperimentsListByWorkspaceOptions} - * [experimentsListByWorkspaceOptions] Additional parameters for the - * operation + * Additional parameters for the operation */ experimentsListByWorkspaceOptions?: ExperimentsListByWorkspaceOptions; } /** - * @interface - * An interface representing JobsListByExperimentOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface JobsListByExperimentOptionalParams extends msRest.RequestOptionsBase { /** - * @member {JobsListByExperimentOptions} [jobsListByExperimentOptions] * Additional parameters for the operation */ jobsListByExperimentOptions?: JobsListByExperimentOptions; } /** - * @interface - * An interface representing FileServersListByWorkspaceOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface FileServersListByWorkspaceOptionalParams extends msRest.RequestOptionsBase { /** - * @member {FileServersListByWorkspaceOptions} - * [fileServersListByWorkspaceOptions] Additional parameters for the - * operation + * Additional parameters for the operation */ fileServersListByWorkspaceOptions?: FileServersListByWorkspaceOptions; } /** - * @interface - * An interface representing ClustersUpdateOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface ClustersUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * @member {ScaleSettings} [scaleSettings] Scale settings. Desired scale - * settings for the cluster. Batch AI service supports manual and auto scale - * clusters. + * Scale settings. Desired scale settings for the cluster. Batch AI service supports manual and + * auto scale clusters. */ scaleSettings?: ScaleSettings; } /** - * @interface - * An interface representing ClustersListByWorkspaceOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface ClustersListByWorkspaceOptionalParams extends msRest.RequestOptionsBase { /** - * @member {ClustersListByWorkspaceOptions} [clustersListByWorkspaceOptions] * Additional parameters for the operation */ clustersListByWorkspaceOptions?: ClustersListByWorkspaceOptions; } /** - * @interface * An interface representing BatchAIManagementClientOptions. - * @extends AzureServiceClientOptions */ export interface BatchAIManagementClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } - /** * @interface - * An interface representing the OperationListResult. - * @summary Result of the request to list REST API operations. It contains a - * list of operations and a URL nextLink to get the next set of results. - * * Contains the list of all operations supported by BatchAI resource provider - * + * @summary Result of the request to list REST API operations. It contains a list of operations and + * a URL nextLink to get the next set of results. * @extends Array */ export interface OperationListResult extends Array { /** - * @member {string} [nextLink] **NOTE: This property will not be serialized. - * It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } /** * @interface - * An interface representing the ListUsagesResult. * The List Usages operation response. - * * @extends Array */ export interface ListUsagesResult extends Array { /** - * @member {string} [nextLink] The URI to fetch the next page of compute - * resource usage information. Call ListNext() with this to fetch the next - * page of compute resource usage information. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The URI to fetch the next page of compute resource usage information. Call ListNext() with + * this to fetch the next page of compute resource usage information. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } /** * @interface - * An interface representing the WorkspaceListResult. * Values returned by the List operation. - * * @extends Array */ export interface WorkspaceListResult extends Array { /** - * @member {string} [nextLink] The continuation token. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The continuation token. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } /** * @interface - * An interface representing the ExperimentListResult. * Values returned by the List operation. - * * @extends Array */ export interface ExperimentListResult extends Array { /** - * @member {string} [nextLink] The continuation token. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The continuation token. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } /** * @interface - * An interface representing the JobListResult. * Values returned by the List operation. - * * @extends Array */ export interface JobListResult extends Array { /** - * @member {string} [nextLink] The continuation token. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The continuation token. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } /** * @interface - * An interface representing the FileListResult. * Values returned by the List operation. - * * @extends Array */ export interface FileListResult extends Array { /** - * @member {string} [nextLink] The continuation token. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The continuation token. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } /** * @interface - * An interface representing the RemoteLoginInformationListResult. * Values returned by the List operation. - * * @extends Array */ export interface RemoteLoginInformationListResult extends Array { /** - * @member {string} [nextLink] The continuation token. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The continuation token. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } /** * @interface - * An interface representing the FileServerListResult. * Values returned by the File Server List operation. - * * @extends Array */ export interface FileServerListResult extends Array { /** - * @member {string} [nextLink] The continuation token. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The continuation token. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } /** * @interface - * An interface representing the ClusterListResult. * Values returned by the List Clusters operation. - * * @extends Array */ export interface ClusterListResult extends Array { /** - * @member {string} [nextLink] The continuation token. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The continuation token. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextLink?: string; } @@ -2678,6 +2082,7 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2697,6 +2102,7 @@ export type OperationsListNextResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2716,6 +2122,7 @@ export type UsagesListResponse = ListUsagesResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2735,6 +2142,7 @@ export type UsagesListNextResponse = ListUsagesResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2754,6 +2162,7 @@ export type WorkspacesListResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2773,6 +2182,7 @@ export type WorkspacesListByResourceGroupResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2792,6 +2202,7 @@ export type WorkspacesCreateResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2811,6 +2222,7 @@ export type WorkspacesUpdateResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2830,6 +2242,7 @@ export type WorkspacesGetResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2849,6 +2262,7 @@ export type WorkspacesBeginCreateResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2868,6 +2282,7 @@ export type WorkspacesListNextResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2887,6 +2302,7 @@ export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2906,6 +2322,7 @@ export type ExperimentsListByWorkspaceResponse = ExperimentListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2925,6 +2342,7 @@ export type ExperimentsCreateResponse = Experiment & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2944,6 +2362,7 @@ export type ExperimentsGetResponse = Experiment & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2963,6 +2382,7 @@ export type ExperimentsBeginCreateResponse = Experiment & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2982,6 +2402,7 @@ export type ExperimentsListByWorkspaceNextResponse = ExperimentListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3001,6 +2422,7 @@ export type JobsListByExperimentResponse = JobListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3020,6 +2442,7 @@ export type JobsCreateResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3039,6 +2462,7 @@ export type JobsGetResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3058,6 +2482,7 @@ export type JobsListOutputFilesResponse = FileListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3077,6 +2502,7 @@ export type JobsListRemoteLoginInformationResponse = RemoteLoginInformationListR * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3096,6 +2522,7 @@ export type JobsBeginCreateResponse = Job & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3115,6 +2542,7 @@ export type JobsListByExperimentNextResponse = JobListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3134,6 +2562,7 @@ export type JobsListOutputFilesNextResponse = FileListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3153,6 +2582,7 @@ export type JobsListRemoteLoginInformationNextResponse = RemoteLoginInformationL * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3172,6 +2602,7 @@ export type FileServersCreateResponse = FileServer & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3191,6 +2622,7 @@ export type FileServersGetResponse = FileServer & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3210,6 +2642,7 @@ export type FileServersListByWorkspaceResponse = FileServerListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3229,6 +2662,7 @@ export type FileServersBeginCreateResponse = FileServer & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3248,6 +2682,7 @@ export type FileServersListByWorkspaceNextResponse = FileServerListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3267,6 +2702,7 @@ export type ClustersCreateResponse = Cluster & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3286,6 +2722,7 @@ export type ClustersUpdateResponse = Cluster & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3305,6 +2742,7 @@ export type ClustersGetResponse = Cluster & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3324,6 +2762,7 @@ export type ClustersListRemoteLoginInformationResponse = RemoteLoginInformationL * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3343,6 +2782,7 @@ export type ClustersListByWorkspaceResponse = ClusterListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3362,6 +2802,7 @@ export type ClustersBeginCreateResponse = Cluster & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3381,6 +2822,7 @@ export type ClustersListRemoteLoginInformationNextResponse = RemoteLoginInformat * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3400,6 +2842,7 @@ export type ClustersListByWorkspaceNextResponse = ClusterListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/sdk/batchai/arm-batchai/src/models/jobsMappers.ts b/sdk/batchai/arm-batchai/src/models/jobsMappers.ts index e255030a6502..2e07263744aa 100644 --- a/sdk/batchai/arm-batchai/src/models/jobsMappers.ts +++ b/sdk/batchai/arm-batchai/src/models/jobsMappers.ts @@ -1,72 +1,69 @@ /* * 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. */ export { - JobListResult, - Job, - ProxyResource, - BaseResource, - ResourceId, - MountVolumes, + AppInsightsReference, + AutoScaleSettings, + AzureBlobFileSystemReference, AzureFileShareReference, AzureStorageCredentialsInfo, - KeyVaultSecretReference, - AzureBlobFileSystemReference, - FileServerReference, - UnmanagedFileSystemReference, - ContainerSettings, - ImageSourceRegistry, - PrivateRegistryCredentials, - CNTKsettings, - PyTorchSettings, - TensorFlowSettings, - CaffeSettings, + BaseResource, + BatchAIError, Caffe2Settings, + CaffeSettings, ChainerSettings, - CustomToolkitSettings, + CloudError, + Cluster, + CNTKsettings, + ContainerSettings, CustomMpiSettings, - HorovodSettings, - JobPreparation, - InputDirectory, - OutputDirectory, + CustomToolkitSettings, + DataDisks, EnvironmentVariable, EnvironmentVariableWithSecretValue, + Experiment, + File, + FileListResult, + FileServer, + FileServerReference, + HorovodSettings, + ImageReference, + ImageSourceRegistry, + InputDirectory, + Job, + JobBasePropertiesConstraints, + JobCreateParameters, + JobListResult, + JobPreparation, JobPropertiesConstraints, JobPropertiesExecutionInfo, - BatchAIError, + KeyVaultSecretReference, + ManualScaleSettings, + MountSettings, + MountVolumes, NameValuePair, - CloudError, - JobCreateParameters, - JobBasePropertiesConstraints, - FileListResult, - File, - RemoteLoginInformationListResult, + NodeSetup, + NodeStateCounts, + OutputDirectory, + PerformanceCountersSettings, + PrivateRegistryCredentials, + ProxyResource, + PyTorchSettings, RemoteLoginInformation, - FileServer, + RemoteLoginInformationListResult, + Resource, + ResourceId, + ScaleSettings, + SetupTask, SshConfiguration, + TensorFlowSettings, + UnmanagedFileSystemReference, UserAccountSettings, - DataDisks, - MountSettings, - Cluster, - ScaleSettings, - ManualScaleSettings, - AutoScaleSettings, VirtualMachineConfiguration, - ImageReference, - NodeSetup, - SetupTask, - PerformanceCountersSettings, - AppInsightsReference, - NodeStateCounts, - Resource, - Workspace, - Experiment + Workspace } from "../models/mappers"; - diff --git a/sdk/batchai/arm-batchai/src/models/mappers.ts b/sdk/batchai/arm-batchai/src/models/mappers.ts index 9dd4f2d35bba..8c980b9eaafc 100644 --- a/sdk/batchai/arm-batchai/src/models/mappers.ts +++ b/sdk/batchai/arm-batchai/src/models/mappers.ts @@ -1,11 +1,9 @@ /* * 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. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; diff --git a/sdk/batchai/arm-batchai/src/models/operationsMappers.ts b/sdk/batchai/arm-batchai/src/models/operationsMappers.ts index 2edcc577920e..689688180be7 100644 --- a/sdk/batchai/arm-batchai/src/models/operationsMappers.ts +++ b/sdk/batchai/arm-batchai/src/models/operationsMappers.ts @@ -1,17 +1,14 @@ /* * 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. */ export { - OperationListResult, + CloudError, Operation, OperationDisplay, - CloudError + OperationListResult } from "../models/mappers"; - diff --git a/sdk/batchai/arm-batchai/src/models/usagesMappers.ts b/sdk/batchai/arm-batchai/src/models/usagesMappers.ts index 6287f8cd62f3..22de4a8bc142 100644 --- a/sdk/batchai/arm-batchai/src/models/usagesMappers.ts +++ b/sdk/batchai/arm-batchai/src/models/usagesMappers.ts @@ -1,17 +1,14 @@ /* * 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. */ export { + CloudError, ListUsagesResult, Usage, - UsageName, - CloudError + UsageName } from "../models/mappers"; - diff --git a/sdk/batchai/arm-batchai/src/models/workspacesMappers.ts b/sdk/batchai/arm-batchai/src/models/workspacesMappers.ts index 59535c579da5..8fda6cdfd9e3 100644 --- a/sdk/batchai/arm-batchai/src/models/workspacesMappers.ts +++ b/sdk/batchai/arm-batchai/src/models/workspacesMappers.ts @@ -1,68 +1,65 @@ /* * 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. */ export { - WorkspaceListResult, - Workspace, - Resource, + AppInsightsReference, + AutoScaleSettings, + AzureBlobFileSystemReference, + AzureFileShareReference, + AzureStorageCredentialsInfo, BaseResource, + BatchAIError, + Caffe2Settings, + CaffeSettings, + ChainerSettings, CloudError, - WorkspaceCreateParameters, - WorkspaceUpdateParameters, - ResourceId, - ProxyResource, - Experiment, - FileServer, - SshConfiguration, - UserAccountSettings, - DataDisks, - MountSettings, Cluster, - ScaleSettings, - ManualScaleSettings, - AutoScaleSettings, - VirtualMachineConfiguration, - ImageReference, - NodeSetup, - SetupTask, + CNTKsettings, + ContainerSettings, + CustomMpiSettings, + CustomToolkitSettings, + DataDisks, EnvironmentVariable, EnvironmentVariableWithSecretValue, + Experiment, + FileServer, + FileServerReference, + HorovodSettings, + ImageReference, + ImageSourceRegistry, + InputDirectory, + Job, + JobPreparation, + JobPropertiesConstraints, + JobPropertiesExecutionInfo, KeyVaultSecretReference, + ManualScaleSettings, + MountSettings, MountVolumes, - AzureFileShareReference, - AzureStorageCredentialsInfo, - AzureBlobFileSystemReference, - FileServerReference, - UnmanagedFileSystemReference, - PerformanceCountersSettings, - AppInsightsReference, - BatchAIError, NameValuePair, + NodeSetup, NodeStateCounts, - Job, - ContainerSettings, - ImageSourceRegistry, + OutputDirectory, + PerformanceCountersSettings, PrivateRegistryCredentials, - CNTKsettings, + ProxyResource, PyTorchSettings, + Resource, + ResourceId, + ScaleSettings, + SetupTask, + SshConfiguration, TensorFlowSettings, - CaffeSettings, - Caffe2Settings, - ChainerSettings, - CustomToolkitSettings, - CustomMpiSettings, - HorovodSettings, - JobPreparation, - InputDirectory, - OutputDirectory, - JobPropertiesConstraints, - JobPropertiesExecutionInfo + UnmanagedFileSystemReference, + UserAccountSettings, + VirtualMachineConfiguration, + Workspace, + WorkspaceCreateParameters, + WorkspaceListResult, + WorkspaceUpdateParameters } from "../models/mappers"; -