Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Generated from 0bfb44bb226810a4151f6d0ec438bfa3a7ab6cf5 (#4760)
Browse files Browse the repository at this point in the history
Update search.json

Rename example reference name
  • Loading branch information
AutorestCI authored Feb 26, 2019
1 parent 92df865 commit a61d173
Show file tree
Hide file tree
Showing 22 changed files with 562 additions and 293 deletions.
2 changes: 1 addition & 1 deletion lib/services/searchManagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
29 changes: 16 additions & 13 deletions lib/services/searchManagement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,41 @@ uid: azure-arm-search
summary: *content

---
# Microsoft Azure SDK for Node.js - SearchManagementClient
**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 - SearchManagementClient

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

## Features
### Features


## How to Install
### How to Install

```bash
npm install azure-arm-search
```

## How to use
### How to use

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

```javascript
const msRestAzure = require("ms-rest-azure");
const SearchManagementClient = require("azure-arm-search");
msRestAzure.interactiveLogin().then((creds) => {
const subscriptionId = "<Subscription_Id>";
const client = new SearchManagementClient(creds, subscriptionId);
return client.operations.list().then((result) => {
console.log("The result is:");
console.log(result);
});
const subscriptionId = "<Subscription_Id>";
const client = new SearchManagementClient(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
```
### Related projects

- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
6 changes: 3 additions & 3 deletions lib/services/searchManagement/lib/models/adminKeyResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
class AdminKeyResult {
/**
* Create a AdminKeyResult.
* @member {string} [primaryKey] The primary admin API key of the Search
* service.
* @member {string} [secondaryKey] The secondary admin API key of the Search
* @property {string} [primaryKey] The primary admin API key of the Search
* service.
* @property {string} [secondaryKey] The secondary admin API key of the
* Search service.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
class CheckNameAvailabilityInput {
/**
* Create a CheckNameAvailabilityInput.
* @member {string} name The Search service name to validate. Search service
* names must only contain lowercase letters, digits or dashes, cannot use
* dash as the first two or last one characters, cannot contain consecutive
* dashes, and must be between 2 and 60 characters in length.
* @property {string} name The Search service name to validate. Search
* service names must only contain lowercase letters, digits or dashes,
* cannot use dash as the first two or last one characters, cannot contain
* consecutive dashes, and must be between 2 and 60 characters in length.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
class CheckNameAvailabilityOutput {
/**
* Create a CheckNameAvailabilityOutput.
* @member {boolean} [isNameAvailable] A value indicating whether the name is
* available.
* @member {string} [reason] The reason why the name is not available.
* @property {boolean} [isNameAvailable] A value indicating whether the name
* is available.
* @property {string} [reason] The reason why the name is not available.
* 'Invalid' indicates the name provided does not match the naming
* requirements (incorrect length, unsupported characters, etc.).
* 'AlreadyExists' indicates that the name is already in use and is therefore
* unavailable. Possible values include: 'Invalid', 'AlreadyExists'
* @member {string} [message] A message that explains why the name is invalid
* and provides resource naming requirements. Available only if 'Invalid' is
* returned in the 'reason' property.
* @property {string} [message] A message that explains why the name is
* invalid and provides resource naming requirements. Available only if
* 'Invalid' is returned in the 'reason' property.
*/
constructor() {
}
Expand Down
4 changes: 2 additions & 2 deletions lib/services/searchManagement/lib/models/identity.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class Identity {
/**
* Create a Identity.
* @member {string} [principalId] The principal ID of resource identity.
* @member {string} [tenantId] The tenant ID of resource.
* @property {string} [principalId] The principal ID of resource identity.
* @property {string} [tenantId] The tenant ID of resource.
*/
constructor() {
}
Expand Down
Loading

0 comments on commit a61d173

Please sign in to comment.