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
42 changes: 21 additions & 21 deletions lib/services/customerInsightsManagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) 2018 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
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2018 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
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
81 changes: 41 additions & 40 deletions lib/services/customerInsightsManagement/README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,41 @@
---
uid: azure-arm-customerinsights
summary: *content

---
# Microsoft Azure SDK for Node.js - CustomerInsightsManagementClient
This project provides a Node.js package for accessing Azure. Right now it supports:
- **Node.js version 6.x.x or higher**

## Features


## How to Install

```bash
npm install azure-arm-customerinsights
```

## How to use

### Authentication, client creation and list operations as an example.

```javascript
const msRestAzure = require("ms-rest-azure");
const CustomerInsightsManagementClient = require("azure-arm-customerinsights");
msRestAzure.interactiveLogin().then((creds) => {
const subscriptionId = "<Subscription_Id>";
const client = new CustomerInsightsManagementClient(creds, subscriptionId);
return client.operations.list().then((result) => {
console.log("The result is:");
console.log(result);
});
}).catch((err) => {
console.log('An error ocurred:');
console.dir(err, {depth: null, colors: true});
});

## Related projects

- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
---
uid: azure-arm-customerinsights
summary: *content

---
**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://github.com/Azure/azure-sdk-for-js) which works on Node.js and browsers.**
## Microsoft Azure SDK for Node.js - CustomerInsightsManagementClient
This project provides a Node.js package for accessing Azure. Right now it supports:
- **Node.js version 6.x.x or higher**

### Features


### How to Install

```bash
npm install azure-arm-customerinsights
```

### How to use

#### Authentication, client creation and list operations as an example.

```javascript
const msRestAzure = require("ms-rest-azure");
const CustomerInsightsManagementClient = require("azure-arm-customerinsights");
msRestAzure.interactiveLogin().then((creds) => {
const subscriptionId = "<Subscription_Id>";
const client = new CustomerInsightsManagementClient(creds, subscriptionId);
return client.operations.list().then((result) => {
console.log("The result is:");
console.log(result);
});
}).catch((err) => {
console.log('An error occurred:');
console.dir(err, {depth: null, colors: true});
});

### Related projects

- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ export default class CustomerInsightsManagementClient extends AzureServiceClient
*
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
*
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {string} [options.acceptLanguage] - 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 {number} [options.longRunningOperationRetryTimeout] - 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.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. 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?: AzureServiceClientOptions);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ class CustomerInsightsManagementClient extends ServiceClient {
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
* @param {string} [options.acceptLanguage] - The preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
class AssignmentPrincipal {
/**
* Create a AssignmentPrincipal.
* @member {string} principalId The principal id being assigned to.
* @member {string} principalType The Type of the principal ID.
* @member {object} [principalMetadata] Other metadata for the principal.
* @property {string} principalId The principal id being assigned to.
* @property {string} principalType The Type of the principal ID.
* @property {object} [principalMetadata] Other metadata for the principal.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
class AuthorizationPolicy {
/**
* Create a AuthorizationPolicy.
* @member {string} [policyName] Name of the policy.
* @member {array} permissions The permissions associated with the policy.
* @member {string} [primaryKey] Primary key assiciated with the policy.
* @member {string} [secondaryKey] Secondary key assiciated with the policy.
* @property {string} [policyName] Name of the policy.
* @property {array} permissions The permissions associated with the policy.
* @property {string} [primaryKey] Primary key associated with the policy.
* @property {string} [secondaryKey] Secondary key associated with the
* policy.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class AuthorizationPolicyListResult extends Array {
/**
* Create a AuthorizationPolicyListResult.
* @member {string} [nextLink] Link to the next set of results.
* @property {string} [nextLink] Link to the next set of results.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ const models = require('./index');
class AuthorizationPolicyResourceFormat extends models['ProxyResource'] {
/**
* Create a AuthorizationPolicyResourceFormat.
* @member {string} [policyName] Name of the policy.
* @member {array} permissions The permissions associated with the policy.
* @member {string} [primaryKey] Primary key assiciated with the policy.
* @member {string} [secondaryKey] Secondary key assiciated with the policy.
* @property {string} [policyName] Name of the policy.
* @property {array} permissions The permissions associated with the policy.
* @property {string} [primaryKey] Primary key associated with the policy.
* @property {string} [secondaryKey] Secondary key associated with the
* policy.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class AzureBlobConnectorProperties {
/**
* Create a AzureBlobConnectorProperties.
* @member {string} connectionKeyVaultUrl The connection KeyVault URL.
* @property {string} connectionKeyVaultUrl The connection KeyVault URL.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@

'use strict';

const models = require('./index');

/**
* Definition of canonical profile.
*
*/
class CanonicalProfileDefinition {
/**
* Create a CanonicalProfileDefinition.
* @member {number} [canonicalProfileId] Canonical profile ID.
* @member {array} [properties] Properties of the canonical profile.
* @property {number} [canonicalProfileId] Canonical profile ID.
* @property {array} [properties] Properties of the canonical profile.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
class CanonicalProfileDefinitionPropertiesItem {
/**
* Create a CanonicalProfileDefinitionPropertiesItem.
* @member {string} [profileName] Profile name.
* @member {string} [profilePropertyName] Property name of profile.
* @member {number} [rank] The rank.
* @member {string} [type] Type of canonical property value. Possible values
* include: 'Numeric', 'Categorical', 'DerivedCategorical', 'DerivedNumeric'
* @member {string} [value] Value of the canonical property.
* @property {string} [profileName] Profile name.
* @property {string} [profilePropertyName] Property name of profile.
* @property {number} [rank] The rank.
* @property {string} [type] Type of canonical property value. Possible
* values include: 'Numeric', 'Categorical', 'DerivedCategorical',
* 'DerivedNumeric'
* @property {string} [value] Value of the canonical property.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class ConnectorListResult extends Array {
/**
* Create a ConnectorListResult.
* @member {string} [nextLink] Link to the next set of results.
* @property {string} [nextLink] Link to the next set of results.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
class ConnectorMappingAvailability {
/**
* Create a ConnectorMappingAvailability.
* @member {string} [frequency] The frequency to update. Possible values
* @property {string} [frequency] The frequency to update. Possible values
* include: 'Minute', 'Hour', 'Day', 'Week', 'Month'
* @member {number} interval The interval of the given frequency to use.
* @property {number} interval The interval of the given frequency to use.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
class ConnectorMappingCompleteOperation {
/**
* Create a ConnectorMappingCompleteOperation.
* @member {string} [completionOperationType] The type of completion
* @property {string} [completionOperationType] The type of completion
* operation. Possible values include: 'DoNothing', 'DeleteFile', 'MoveFile'
* @member {string} [destinationFolder] The destination folder where files
* @property {string} [destinationFolder] The destination folder where files
* will be moved to once the import is done.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
'use strict';

/**
* The error mangement.
* The error management.
*
*/
class ConnectorMappingErrorManagement {
/**
* Create a ConnectorMappingErrorManagement.
* @member {string} errorManagementType The type of error management to use
* @property {string} errorManagementType The type of error management to use
* for the mapping. Possible values include: 'RejectAndContinue',
* 'StopImport', 'RejectUntilLimit'
* @member {number} [errorLimit] The error limit allowed while importing
* @property {number} [errorLimit] The error limit allowed while importing
* data.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
class ConnectorMappingFormat {
/**
* Create a ConnectorMappingFormat.
* @member {string} [columnDelimiter] The character that signifies a break
* @property {string} [columnDelimiter] The character that signifies a break
* between columns.
* @member {string} [acceptLanguage] The oData language.
* @member {string} [quoteCharacter] Quote character, used to indicate
* @property {string} [acceptLanguage] The oData language.
* @property {string} [quoteCharacter] Quote character, used to indicate
* enquoted fields.
* @member {string} [quoteEscapeCharacter] Escape character for quotes, can
* @property {string} [quoteEscapeCharacter] Escape character for quotes, can
* be the same as the quoteCharacter.
* @member {string} [arraySeparator] Character separating array elements.
* @property {string} [arraySeparator] Character separating array elements.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class ConnectorMappingListResult extends Array {
/**
* Create a ConnectorMappingListResult.
* @member {string} [nextLink] Link to the next set of results.
* @property {string} [nextLink] Link to the next set of results.
*/
constructor() {
super();
Expand Down
Loading