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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 21 additions & 0 deletions lib/services/websiteManagement2/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +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.
40 changes: 40 additions & 0 deletions lib/services/websiteManagement2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
uid: azure-arm-website
summary: *content

---
# Microsoft Azure SDK for Node.js - WebSiteManagementClient
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-website
```

## How to use

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

```javascript
const msRestAzure = require("ms-rest-azure");
const WebSiteManagementClient = require("azure-arm-website");
msRestAzure.interactiveLogin().then((creds) => {
const subscriptionId = "<Subscription_Id>";
const client = new WebSiteManagementClient(creds, subscriptionId);
return client.appServiceCertificateOrders.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)
21 changes: 21 additions & 0 deletions lib/services/websiteManagement2/lib/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +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.
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';

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

/**
* Class representing Abnormal Time Period identified in diagnosis
*
*/
class AbnormalTimePeriod {
/**
* Create a AbnormalTimePeriod.
* @member {date} [startTime] Start time of the downtime
* @member {date} [endTime] End time of the downtime
* @member {array} [events] List of Possible Cause of downtime
* @member {array} [solutions] List of proposed solutions
*/
constructor() {
}

/**
* Defines the metadata of AbnormalTimePeriod
*
* @returns {object} metadata of AbnormalTimePeriod
*
*/
mapper() {
return {
required: false,
serializedName: 'AbnormalTimePeriod',
type: {
name: 'Composite',
className: 'AbnormalTimePeriod',
modelProperties: {
startTime: {
required: false,
serializedName: 'startTime',
type: {
name: 'DateTime'
}
},
endTime: {
required: false,
serializedName: 'endTime',
type: {
name: 'DateTime'
}
},
events: {
required: false,
serializedName: 'events',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'DetectorAbnormalTimePeriodElementType',
type: {
name: 'Composite',
className: 'DetectorAbnormalTimePeriod'
}
}
}
},
solutions: {
required: false,
serializedName: 'solutions',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'SolutionElementType',
type: {
name: 'Composite',
className: 'Solution'
}
}
}
}
}
}
};
}
}

module.exports = AbnormalTimePeriod;
92 changes: 92 additions & 0 deletions lib/services/websiteManagement2/lib/lib/models/address.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/*
* 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';

/**
* Address information for domain registration.
*
*/
class Address {
/**
* Create a Address.
* @member {string} address1 First line of an Address.
* @member {string} [address2] The second line of the Address. Optional.
* @member {string} city The city for the address.
* @member {string} country The country for the address.
* @member {string} postalCode The postal code for the address.
* @member {string} state The state or province for the address.
*/
constructor() {
}

/**
* Defines the metadata of Address
*
* @returns {object} metadata of Address
*
*/
mapper() {
return {
required: false,
serializedName: 'Address',
type: {
name: 'Composite',
className: 'Address',
modelProperties: {
address1: {
required: true,
serializedName: 'address1',
type: {
name: 'String'
}
},
address2: {
required: false,
serializedName: 'address2',
type: {
name: 'String'
}
},
city: {
required: true,
serializedName: 'city',
type: {
name: 'String'
}
},
country: {
required: true,
serializedName: 'country',
type: {
name: 'String'
}
},
postalCode: {
required: true,
serializedName: 'postalCode',
type: {
name: 'String'
}
},
state: {
required: true,
serializedName: 'state',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = Address;
95 changes: 95 additions & 0 deletions lib/services/websiteManagement2/lib/lib/models/addressResponse.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
/*
* 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';

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

/**
* Describes main public IP address and any extra virtual IPs.
*
*/
class AddressResponse {
/**
* Create a AddressResponse.
* @member {string} [serviceIpAddress] Main public virtual IP.
* @member {string} [internalIpAddress] Virtual Network internal IP address
* of the App Service Environment if it is in internal load-balancing mode.
* @member {array} [outboundIpAddresses] IP addresses appearing on outbound
* connections.
* @member {array} [vipMappings] Additional virtual IPs.
*/
constructor() {
}

/**
* Defines the metadata of AddressResponse
*
* @returns {object} metadata of AddressResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'AddressResponse',
type: {
name: 'Composite',
className: 'AddressResponse',
modelProperties: {
serviceIpAddress: {
required: false,
serializedName: 'serviceIpAddress',
type: {
name: 'String'
}
},
internalIpAddress: {
required: false,
serializedName: 'internalIpAddress',
type: {
name: 'String'
}
},
outboundIpAddresses: {
required: false,
serializedName: 'outboundIpAddresses',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
},
vipMappings: {
required: false,
serializedName: 'vipMappings',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'VirtualIPMappingElementType',
type: {
name: 'Composite',
className: 'VirtualIPMapping'
}
}
}
}
}
}
};
}
}

module.exports = AddressResponse;
Loading