Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
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
13 changes: 7 additions & 6 deletions lib/services/mariadbManagement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@ uid: azure-arm-mariadb
summary: *content

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

## How to use
### How to use

### Authentication, client creation and get servers as an example.
#### Authentication, client creation and get servers as an example.

```javascript
const msRestAzure = require("ms-rest-azure");
Expand All @@ -37,6 +38,6 @@ msRestAzure.interactiveLogin().then((creds) => {
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)
12 changes: 6 additions & 6 deletions lib/services/mariadbManagement/lib/models/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ const models = require('./index');
class Configuration extends models['ProxyResource'] {
/**
* Create a Configuration.
* @member {string} [value] Value of the configuration.
* @member {string} [description] Description of the configuration.
* @member {string} [defaultValue] Default value of the configuration.
* @member {string} [dataType] Data type of the configuration.
* @member {string} [allowedValues] Allowed values of the configuration.
* @member {string} [source] Source of the configuration.
* @property {string} [value] Value of the configuration.
* @property {string} [description] Description of the configuration.
* @property {string} [defaultValue] Default value of the configuration.
* @property {string} [dataType] Data type of the configuration.
* @property {string} [allowedValues] Allowed values of the configuration.
* @property {string} [source] Source of the configuration.
*/
constructor() {
super();
Expand Down
4 changes: 2 additions & 2 deletions lib/services/mariadbManagement/lib/models/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const models = require('./index');
class Database extends models['ProxyResource'] {
/**
* Create a Database.
* @member {string} [charset] The charset of the database.
* @member {string} [collation] The collation of the database.
* @property {string} [charset] The charset of the database.
* @property {string} [collation] The collation of the database.
*/
constructor() {
super();
Expand Down
8 changes: 4 additions & 4 deletions lib/services/mariadbManagement/lib/models/firewallRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const models = require('./index');
class FirewallRule extends models['ProxyResource'] {
/**
* Create a FirewallRule.
* @member {string} startIpAddress The start IP address of the server
* @property {string} startIpAddress The start IP address of the server
* firewall rule. Must be IPv4 format.
* @member {string} endIpAddress The end IP address of the server firewall
* @property {string} endIpAddress The end IP address of the server firewall
* rule. Must be IPv4 format.
*/
constructor() {
Expand Down Expand Up @@ -71,7 +71,7 @@ class FirewallRule extends models['ProxyResource'] {
required: true,
serializedName: 'properties.startIpAddress',
constraints: {
Pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$'
Pattern: /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/
},
type: {
name: 'String'
Expand All @@ -81,7 +81,7 @@ class FirewallRule extends models['ProxyResource'] {
required: true,
serializedName: 'properties.endIpAddress',
constraints: {
Pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$'
Pattern: /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/
},
type: {
name: 'String'
Expand Down
Loading