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 @@ -10,9 +10,10 @@

import { ServiceClientCredentials } from 'ms-rest';
import { AzureServiceClient, AzureServiceClientOptions } from 'ms-rest-azure';
import * as models from "./models";
import * as operations from "./operations";

declare class DataLakeAnalyticsAccountManagementClient extends AzureServiceClient {
export default class DataLakeAnalyticsAccountManagementClient extends AzureServiceClient {
/**
* Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
* @constructor
Expand Down Expand Up @@ -55,11 +56,13 @@ declare class DataLakeAnalyticsAccountManagementClient extends AzureServiceClien
generateClientRequestId: boolean;

// Operation groups
accounts: operations.Accounts;
dataLakeStoreAccounts: operations.DataLakeStoreAccounts;
storageAccounts: operations.StorageAccounts;
computePolicies: operations.ComputePolicies;
firewallRules: operations.FirewallRules;
storageAccounts: operations.StorageAccounts;
dataLakeStoreAccounts: operations.DataLakeStoreAccounts;
account: operations.Account;
operations: operations.Operations;
locations: operations.Locations;
}

export = DataLakeAnalyticsAccountManagementClient;
export { DataLakeAnalyticsAccountManagementClient, models as DataLakeAnalyticsAccountManagementModels };
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,20 @@ class DataLakeAnalyticsAccountManagementClient extends ServiceClient {
if(options.generateClientRequestId !== null && options.generateClientRequestId !== undefined) {
this.generateClientRequestId = options.generateClientRequestId;
}
this.accounts = new operations.Accounts(this);
this.dataLakeStoreAccounts = new operations.DataLakeStoreAccounts(this);
this.storageAccounts = new operations.StorageAccounts(this);
this.computePolicies = new operations.ComputePolicies(this);
this.firewallRules = new operations.FirewallRules(this);
this.storageAccounts = new operations.StorageAccounts(this);
this.dataLakeStoreAccounts = new operations.DataLakeStoreAccounts(this);
this.account = new operations.Account(this);
this.operations = new operations.Operations(this);
this.locations = new operations.Locations(this);
this.models = models;
msRest.addSerializationMixin(this);
}

}

module.exports = DataLakeAnalyticsAccountManagementClient;
module.exports['default'] = DataLakeAnalyticsAccountManagementClient;
module.exports.DataLakeAnalyticsAccountManagementClient = DataLakeAnalyticsAccountManagementClient;
module.exports.DataLakeAnalyticsAccountManagementModels = models;
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
'use strict';

/**
* Additional Data Lake Store parameters.
* The parameters used to add a new Data Lake Store account.
*
*/
class AddDataLakeStoreParameters {
/**
* Create a AddDataLakeStoreParameters.
* @member {string} [suffix] the optional suffix for the Data Lake Store
* @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
@@ -0,0 +1,63 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* The parameters used to add a new Data Lake Store account while creating a
* new Data Lake Analytics account.
*
*/
class AddDataLakeStoreWithAccountParameters {
/**
* Create a AddDataLakeStoreWithAccountParameters.
* @member {string} name The unique name of the Data Lake Store account to
* add.
* @member {string} [suffix] The optional suffix for the Data Lake Store
* account.
*/
constructor() {
}

/**
* Defines the metadata of AddDataLakeStoreWithAccountParameters
*
* @returns {object} metadata of AddDataLakeStoreWithAccountParameters
*
*/
mapper() {
return {
required: false,
serializedName: 'AddDataLakeStoreWithAccountParameters',
type: {
name: 'Composite',
className: 'AddDataLakeStoreWithAccountParameters',
modelProperties: {
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
suffix: {
required: false,
serializedName: 'properties.suffix',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = AddDataLakeStoreWithAccountParameters;
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@
'use strict';

/**
* Storage account parameters for a storage account being added to a Data Lake
* Analytics account.
* The parameters used to add a new Azure Storage account.
*
*/
class AddStorageAccountParameters {
/**
* Create a AddStorageAccountParameters.
* @member {string} accessKey the access key associated with this Azure
* @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.
* @member {string} [suffix] The optional suffix for the storage account.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* The parameters used to add a new Azure Storage account while creating a new
* Data Lake Analytics account.
*
*/
class AddStorageAccountWithAccountParameters {
/**
* Create a AddStorageAccountWithAccountParameters.
* @member {string} name The unique name of the Azure Storage account to add.
* @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() {
}

/**
* Defines the metadata of AddStorageAccountWithAccountParameters
*
* @returns {object} metadata of AddStorageAccountWithAccountParameters
*
*/
mapper() {
return {
required: false,
serializedName: 'AddStorageAccountWithAccountParameters',
type: {
name: 'Composite',
className: 'AddStorageAccountWithAccountParameters',
modelProperties: {
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
accessKey: {
required: true,
serializedName: 'properties.accessKey',
type: {
name: 'String'
}
},
suffix: {
required: false,
serializedName: 'properties.suffix',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = AddStorageAccountWithAccountParameters;
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* Subscription-level properties and limits for Data Lake Analytics.
*
*/
class CapabilityInformation {
/**
* Create a CapabilityInformation.
* @member {uuid} [subscriptionId] The subscription credentials that uniquely
* identifies the subscription.
* @member {string} [state] The subscription state. Possible values include:
* 'Registered', 'Suspended', 'Deleted', 'Unregistered', 'Warned'
* @member {number} [maxAccountCount] The maximum supported number of
* accounts under this subscription.
* @member {number} [accountCount] The current number of accounts under this
* subscription.
* @member {boolean} [migrationState] The Boolean value of true or false to
* indicate the maintenance state.
*/
constructor() {
}

/**
* Defines the metadata of CapabilityInformation
*
* @returns {object} metadata of CapabilityInformation
*
*/
mapper() {
return {
required: false,
serializedName: 'CapabilityInformation',
type: {
name: 'Composite',
className: 'CapabilityInformation',
modelProperties: {
subscriptionId: {
required: false,
readOnly: true,
serializedName: 'subscriptionId',
type: {
name: 'String'
}
},
state: {
required: false,
readOnly: true,
serializedName: 'state',
type: {
name: 'String'
}
},
maxAccountCount: {
required: false,
readOnly: true,
serializedName: 'maxAccountCount',
type: {
name: 'Number'
}
},
accountCount: {
required: false,
readOnly: true,
serializedName: 'accountCount',
type: {
name: 'Number'
}
},
migrationState: {
required: false,
readOnly: true,
serializedName: 'migrationState',
type: {
name: 'Boolean'
}
}
}
}
};
}
}

module.exports = CapabilityInformation;
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* Data Lake Analytics account name availability check parameters.
*
*/
class CheckNameAvailabilityParameters {
/**
* Create a CheckNameAvailabilityParameters.
* @member {string} name The Data Lake Analytics name to check availability
* for.
*/
constructor() {
}

/**
* Defines the metadata of CheckNameAvailabilityParameters
*
* @returns {object} metadata of CheckNameAvailabilityParameters
*
*/
mapper() {
return {
required: false,
serializedName: 'CheckNameAvailabilityParameters',
type: {
name: 'Composite',
className: 'CheckNameAvailabilityParameters',
modelProperties: {
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
type: {
required: true,
isConstant: true,
serializedName: 'type',
defaultValue: 'Microsoft.DataLakeAnalytics/accounts',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = CheckNameAvailabilityParameters;
Loading