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

[AutoPR] web/resource-manager #4806

Closed
wants to merge 2 commits into from
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion lib/services/websiteManagement2/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/websiteManagement2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,41 @@ uid: azure-arm-website
summary: *content

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

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-website
```

## How to use
### How to use

### Authentication, client creation and list appServiceCertificateOrders as an example.
#### 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);
});
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
```
### 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 @@ -17,10 +17,10 @@
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
* @property {date} [startTime] Start time of the downtime
* @property {date} [endTime] End time of the downtime
* @property {array} [events] List of Possible Cause of downtime
* @property {array} [solutions] List of proposed solutions
*/
constructor() {
}
Expand Down
12 changes: 6 additions & 6 deletions lib/services/websiteManagement2/lib/models/address.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
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.
* @property {string} address1 First line of an Address.
* @property {string} [address2] The second line of the Address. Optional.
* @property {string} city The city for the address.
* @property {string} country The country for the address.
* @property {string} postalCode The postal code for the address.
* @property {string} state The state or province for the address.
*/
constructor() {
}
Expand Down
8 changes: 4 additions & 4 deletions lib/services/websiteManagement2/lib/models/addressResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
class AddressResponse {
/**
* Create a AddressResponse.
* @member {string} [serviceIpAddress] Main public virtual IP.
* @member {string} [internalIpAddress] Virtual Network internal IP address
* @property {string} [serviceIpAddress] Main public virtual IP.
* @property {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
* @property {array} [outboundIpAddresses] IP addresses appearing on outbound
* connections.
* @member {array} [vipMappings] Additional virtual IPs.
* @property {array} [vipMappings] Additional virtual IPs.
*/
constructor() {
}
Expand Down
28 changes: 14 additions & 14 deletions lib/services/websiteManagement2/lib/models/analysisData.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@
class AnalysisData {
/**
* Create a AnalysisData.
* @member {string} [source] Name of the Detector
* @member {object} [detectorDefinition] Detector Definition
* @member {string} [detectorDefinition.displayName] Display name of the
* @property {string} [source] Name of the Detector
* @property {object} [detectorDefinition] Detector Definition
* @property {string} [detectorDefinition.displayName] Display name of the
* detector
* @member {string} [detectorDefinition.description] Description of the
* @property {string} [detectorDefinition.description] Description of the
* detector
* @member {number} [detectorDefinition.rank] Detector Rank
* @member {boolean} [detectorDefinition.isEnabled] Flag representing whether
* detector is enabled or not.
* @member {array} [metrics] Source Metrics
* @member {array} [data] Additional Source Data
* @member {object} [detectorMetaData] Detector Meta Data
* @member {object} [detectorMetaData.dataSource] Source of the Data
* @member {array} [detectorMetaData.dataSource.instructions] Instrunctions
* @property {number} [detectorDefinition.rank] Detector Rank
* @property {boolean} [detectorDefinition.isEnabled] Flag representing
* whether detector is enabled or not.
* @property {array} [metrics] Source Metrics
* @property {array} [data] Additional Source Data
* @property {object} [detectorMetaData] Detector Meta Data
* @property {object} [detectorMetaData.dataSource] Source of the Data
* @property {array} [detectorMetaData.dataSource.instructions] Instructions
* if any for the data source
* @member {array} [detectorMetaData.dataSource.dataSourceUri] Datasource Uri
* Links
* @property {array} [detectorMetaData.dataSource.dataSourceUri] Datasource
* Uri Links
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const models = require('./index');
class AnalysisDefinition extends models['ProxyOnlyResource'] {
/**
* Create a AnalysisDefinition.
* @member {string} [description] Description of the Analysis
* @property {string} [description] Description of the Analysis
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class ApiDefinitionInfo {
/**
* Create a ApiDefinitionInfo.
* @member {string} [url] The URL of the API definition.
* @property {string} [url] The URL of the API definition.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
class AppServiceCertificate {
/**
* Create a AppServiceCertificate.
* @member {string} [keyVaultId] Key Vault resource Id.
* @member {string} [keyVaultSecretName] Key Vault secret name.
* @member {string} [provisioningState] Status of the Key Vault secret.
* @property {string} [keyVaultId] Key Vault resource Id.
* @property {string} [keyVaultSecretName] Key Vault secret name.
* @property {string} [provisioningState] Status of the Key Vault secret.
* Possible values include: 'Initialized', 'WaitingOnCertificateOrder',
* 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault',
* 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
'use strict';

/**
* Collection of certitificateorder certificates.
* Collection of certificate order certificates.
*/
class AppServiceCertificateCollection extends Array {
/**
* Create a AppServiceCertificateCollection.
* @member {string} [nextLink] Link to next page of resources.
* @property {string} [nextLink] Link to next page of resources.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,70 +20,72 @@ const models = require('./index');
class AppServiceCertificateOrder extends models['Resource'] {
/**
* Create a AppServiceCertificateOrder.
* @member {object} [certificates] State of the Key Vault secret.
* @member {string} [distinguishedName] Certificate distinguished name.
* @member {string} [domainVerificationToken] Domain verification token.
* @member {number} [validityInYears] Duration in years (must be between 1
* @property {object} [certificates] State of the Key Vault secret.
* @property {string} [distinguishedName] Certificate distinguished name.
* @property {string} [domainVerificationToken] Domain verification token.
* @property {number} [validityInYears] Duration in years (must be between 1
* and 3). Default value: 1 .
* @member {number} [keySize] Certificate key size. Default value: 2048 .
* @member {string} productType Certificate product type. Possible values
* @property {number} [keySize] Certificate key size. Default value: 2048 .
* @property {string} productType Certificate product type. Possible values
* include: 'StandardDomainValidatedSsl',
* 'StandardDomainValidatedWildCardSsl'
* @member {boolean} [autoRenew] <code>true</code> if the certificate should
* be automatically renewed when it expires; otherwise, <code>false</code>.
* Default value: true .
* @member {string} [provisioningState] Status of certificate order. Possible
* values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress',
* @property {boolean} [autoRenew] <code>true</code> if the certificate
* should be automatically renewed when it expires; otherwise,
* <code>false</code>. Default value: true .
* @property {string} [provisioningState] Status of certificate order.
* Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress',
* 'Deleting'
* @member {string} [status] Current order status. Possible values include:
* @property {string} [status] Current order status. Possible values include:
* 'Pendingissuance', 'Issued', 'Revoked', 'Canceled', 'Denied',
* 'Pendingrevocation', 'PendingRekey', 'Unused', 'Expired', 'NotSubmitted'
* @member {object} [signedCertificate] Signed certificate.
* @member {number} [signedCertificate.version] Certificate Version.
* @member {string} [signedCertificate.serialNumber] Certificate Serial
* @property {object} [signedCertificate] Signed certificate.
* @property {number} [signedCertificate.version] Certificate Version.
* @property {string} [signedCertificate.serialNumber] Certificate Serial
* Number.
* @member {string} [signedCertificate.thumbprint] Certificate Thumbprint.
* @member {string} [signedCertificate.subject] Certificate Subject.
* @member {date} [signedCertificate.notBefore] Date Certificate is valid
* @property {string} [signedCertificate.thumbprint] Certificate Thumbprint.
* @property {string} [signedCertificate.subject] Certificate Subject.
* @property {date} [signedCertificate.notBefore] Date Certificate is valid
* from.
* @member {date} [signedCertificate.notAfter] Date Certificate is valid to.
* @member {string} [signedCertificate.signatureAlgorithm] Certificate
* @property {date} [signedCertificate.notAfter] Date Certificate is valid
* to.
* @property {string} [signedCertificate.signatureAlgorithm] Certificate
* Signature algorithm.
* @member {string} [signedCertificate.issuer] Certificate Issuer.
* @member {string} [signedCertificate.rawData] Raw certificate data.
* @member {string} [csr] Last CSR that was created for this order.
* @member {object} [intermediate] Intermediate certificate.
* @member {number} [intermediate.version] Certificate Version.
* @member {string} [intermediate.serialNumber] Certificate Serial Number.
* @member {string} [intermediate.thumbprint] Certificate Thumbprint.
* @member {string} [intermediate.subject] Certificate Subject.
* @member {date} [intermediate.notBefore] Date Certificate is valid from.
* @member {date} [intermediate.notAfter] Date Certificate is valid to.
* @member {string} [intermediate.signatureAlgorithm] Certificate Signature
* @property {string} [signedCertificate.issuer] Certificate Issuer.
* @property {string} [signedCertificate.rawData] Raw certificate data.
* @property {string} [csr] Last CSR that was created for this order.
* @property {object} [intermediate] Intermediate certificate.
* @property {number} [intermediate.version] Certificate Version.
* @property {string} [intermediate.serialNumber] Certificate Serial Number.
* @property {string} [intermediate.thumbprint] Certificate Thumbprint.
* @property {string} [intermediate.subject] Certificate Subject.
* @property {date} [intermediate.notBefore] Date Certificate is valid from.
* @property {date} [intermediate.notAfter] Date Certificate is valid to.
* @property {string} [intermediate.signatureAlgorithm] Certificate Signature
* algorithm.
* @member {string} [intermediate.issuer] Certificate Issuer.
* @member {string} [intermediate.rawData] Raw certificate data.
* @member {object} [root] Root certificate.
* @member {number} [root.version] Certificate Version.
* @member {string} [root.serialNumber] Certificate Serial Number.
* @member {string} [root.thumbprint] Certificate Thumbprint.
* @member {string} [root.subject] Certificate Subject.
* @member {date} [root.notBefore] Date Certificate is valid from.
* @member {date} [root.notAfter] Date Certificate is valid to.
* @member {string} [root.signatureAlgorithm] Certificate Signature
* @property {string} [intermediate.issuer] Certificate Issuer.
* @property {string} [intermediate.rawData] Raw certificate data.
* @property {object} [root] Root certificate.
* @property {number} [root.version] Certificate Version.
* @property {string} [root.serialNumber] Certificate Serial Number.
* @property {string} [root.thumbprint] Certificate Thumbprint.
* @property {string} [root.subject] Certificate Subject.
* @property {date} [root.notBefore] Date Certificate is valid from.
* @property {date} [root.notAfter] Date Certificate is valid to.
* @property {string} [root.signatureAlgorithm] Certificate Signature
* algorithm.
* @member {string} [root.issuer] Certificate Issuer.
* @member {string} [root.rawData] Raw certificate data.
* @member {string} [serialNumber] Current serial number of the certificate.
* @member {date} [lastCertificateIssuanceTime] Certificate last issuance
* @property {string} [root.issuer] Certificate Issuer.
* @property {string} [root.rawData] Raw certificate data.
* @property {string} [serialNumber] Current serial number of the
* certificate.
* @property {date} [lastCertificateIssuanceTime] Certificate last issuance
* time.
* @member {date} [expirationTime] Certificate expiration time.
* @member {boolean} [isPrivateKeyExternal] <code>true</code> if private key
* is external; otherwise, <code>false</code>.
* @member {array} [appServiceCertificateNotRenewableReasons] Reasons why App
* Service Certificate is not renewable at the current moment.
* @member {date} [nextAutoRenewalTimeStamp] Time stamp when the certificate
* would be auto renewed next
* @property {date} [expirationTime] Certificate expiration time.
* @property {boolean} [isPrivateKeyExternal] <code>true</code> if private
* key is external; otherwise, <code>false</code>.
* @property {array} [appServiceCertificateNotRenewableReasons] Reasons why
* App Service Certificate is not renewable at the current moment.
* @property {date} [nextAutoRenewalTimeStamp] Time stamp when the
* certificate would be auto renewed next
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
'use strict';

/**
* Collection of certitificate orders.
* Collection of certificate orders.
*/
class AppServiceCertificateOrderCollection extends Array {
/**
* Create a AppServiceCertificateOrderCollection.
* @member {string} [nextLink] Link to next page of resources.
* @property {string} [nextLink] Link to next page of resources.
*/
constructor() {
super();
Expand Down
Loading