Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
* regenerated.
*/

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

declare class DataLakeAnalyticsAccountManagementClient {
declare class DataLakeAnalyticsAccountManagementClient extends AzureServiceClient {
/**
* Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
* @constructor
Expand Down Expand Up @@ -41,7 +42,7 @@ declare class DataLakeAnalyticsAccountManagementClient {
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
*/
constructor(credentials: ServiceClientCredentials, subscriptionId: string, baseUri?: string, options?: ServiceClientOptions);
constructor(credentials: ServiceClientCredentials, subscriptionId: string, baseUri?: string, options?: AzureServiceClientOptions);

credentials: ServiceClientCredentials;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,36 +22,23 @@ const models = require('./models');
const operations = require('./operations');


/**
* @class
* Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
* @constructor
*
* @param {credentials} credentials - Credentials needed for the client to connect to Azure.
*
* @param {string} subscriptionId - Get subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
*
* @param {string} [baseUri] - The base URI of the service.
*
* @param {object} [options] - The parameter options
*
* @param {Array} [options.filters] - Filters to be added to the request pipeline
*
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
*
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
*
* @param {string} [options.apiVersion] - Client Api Version.
*
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
*
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
*/
/** Class representing a DataLakeAnalyticsAccountManagementClient. */
class DataLakeAnalyticsAccountManagementClient extends ServiceClient {
/**
* Create a DataLakeAnalyticsAccountManagementClient.
* @param {credentials} credentials - Credentials needed for the client to connect to Azure.
* @param {string} subscriptionId - Get subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
* @param {string} [baseUri] - The base URI of the service.
* @param {object} [options] - The parameter options
* @param {Array} [options.filters] - Filters to be added to the request pipeline
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
* @param {string} [options.apiVersion] - Client Api Version.
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*/
constructor(credentials, subscriptionId, baseUri, options) {
if (credentials === null || credentials === undefined) {
throw new Error('\'credentials\' cannot be null.');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@
'use strict';

/**
* @class
* Initializes a new instance of the AddDataLakeStoreParameters class.
* @constructor
* Additional Data Lake Store parameters.
*
* @member {string} [suffix] the optional suffix for the Data Lake Store
* account.
*
*/
class AddDataLakeStoreParameters {
/**
* Create a AddDataLakeStoreParameters.
* @member {string} [suffix] the optional suffix for the Data Lake Store
* account.
*/
constructor() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,17 @@
'use strict';

/**
* @class
* Initializes a new instance of the AddStorageAccountParameters class.
* @constructor
* Storage account parameters for a storage account being added to a Data Lake
* Analytics account.
*
* @member {string} accessKey the access key associated with this Azure Storage
* account that will be used to connect to it.
*
* @member {string} [suffix] the optional suffix for the storage account.
*
*/
class AddStorageAccountParameters {
/**
* Create a AddStorageAccountParameters.
* @member {string} accessKey the access key associated with this Azure
* Storage account that will be used to connect to it.
* @member {string} [suffix] the optional suffix for the storage account.
*/
constructor() {
}

Expand Down
29 changes: 12 additions & 17 deletions lib/services/dataLake.Analytics/lib/account/models/computePolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,22 @@
'use strict';

/**
* @class
* Initializes a new instance of the ComputePolicy class.
* @constructor
* The parameters used to create a new compute policy.
*
* @member {string} [name] The name of the compute policy
*
* @member {uuid} [objectId] The AAD object identifier for the entity to create
* a policy for.
*
* @member {string} [objectType] The type of AAD object the object identifier
* refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'
*
* @member {number} [maxDegreeOfParallelismPerJob] The maximum degree of
* parallelism per job this user can use to submit jobs.
*
* @member {number} [minPriorityPerJob] The minimum priority per job this user
* can use to submit jobs.
*
*/
class ComputePolicy {
/**
* Create a ComputePolicy.
* @member {string} [name] The name of the compute policy
* @member {uuid} [objectId] The AAD object identifier for the entity to
* create a policy for.
* @member {string} [objectType] The type of AAD object the object identifier
* refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'
* @member {number} [maxDegreeOfParallelismPerJob] The maximum degree of
* parallelism per job this user can use to submit jobs.
* @member {number} [minPriorityPerJob] The minimum priority per job this
* user can use to submit jobs.
*/
constructor() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,24 @@
'use strict';

/**
* @class
* Initializes a new instance of the ComputePolicyAccountCreateParameters class.
* @constructor
* The parameters used to create a new compute policy.
*
* @member {string} name The unique name of the policy to create
*
* @member {uuid} objectId The AAD object identifier for the entity to create a
* policy for.
*
* @member {string} objectType The type of AAD object the object identifier
* refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'
*
* @member {number} [maxDegreeOfParallelismPerJob] The maximum degree of
* parallelism per job this user can use to submit jobs. This property, the min
* priority per job property, or both must be passed.
*
* @member {number} [minPriorityPerJob] The minimum priority per job this user
* can use to submit jobs. This property, the max degree of parallelism per job
* property, or both must be passed.
*
*/
class ComputePolicyAccountCreateParameters {
/**
* Create a ComputePolicyAccountCreateParameters.
* @member {string} name The unique name of the policy to create
* @member {uuid} objectId The AAD object identifier for the entity to create
* a policy for.
* @member {string} objectType The type of AAD object the object identifier
* refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'
* @member {number} [maxDegreeOfParallelismPerJob] The maximum degree of
* parallelism per job this user can use to submit jobs. This property, the
* min priority per job property, or both must be passed.
* @member {number} [minPriorityPerJob] The minimum priority per job this
* user can use to submit jobs. This property, the max degree of parallelism
* per job property, or both must be passed.
*/
constructor() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,23 @@
'use strict';

/**
* @class
* Initializes a new instance of the ComputePolicyCreateOrUpdateParameters class.
* @constructor
* The parameters used to create a new compute policy.
*
* @member {uuid} objectId The AAD object identifier for the entity to create a
* policy for.
*
* @member {string} objectType The type of AAD object the object identifier
* refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'
*
* @member {number} [maxDegreeOfParallelismPerJob] The maximum degree of
* parallelism per job this user can use to submit jobs. This property, the min
* priority per job property, or both must be passed.
*
* @member {number} [minPriorityPerJob] The minimum priority per job this user
* can use to submit jobs. This property, the max degree of parallelism per job
* property, or both must be passed.
*
*/
class ComputePolicyCreateOrUpdateParameters {
/**
* Create a ComputePolicyCreateOrUpdateParameters.
* @member {uuid} objectId The AAD object identifier for the entity to create
* a policy for.
* @member {string} objectType The type of AAD object the object identifier
* refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'
* @member {number} [maxDegreeOfParallelismPerJob] The maximum degree of
* parallelism per job this user can use to submit jobs. This property, the
* min priority per job property, or both must be passed.
* @member {number} [minPriorityPerJob] The minimum priority per job this
* user can use to submit jobs. This property, the max degree of parallelism
* per job property, or both must be passed.
*/
constructor() {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@
'use strict';

/**
* @class
* Initializes a new instance of the ComputePolicyListResult class.
* @constructor
* The list of compute policies in the account.
*
* @member {string} [nextLink] the link (url) to the next page of results.
*
*/
class ComputePolicyListResult extends Array {
/**
* Create a ComputePolicyListResult.
* @member {string} [nextLink] the link (url) to the next page of results.
*/
constructor() {
super();
}
Expand Down
Loading