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

Commit

Permalink
Merge pull request #3402 from Azure/restapi_auto_cdn/resource-manager
Browse files Browse the repository at this point in the history
[AutoPR] cdn/resource-manager
  • Loading branch information
Dan Schulte authored Aug 23, 2018
2 parents adff247 + 0123713 commit 989d453
Show file tree
Hide file tree
Showing 85 changed files with 533 additions and 263,984 deletions.
42 changes: 21 additions & 21 deletions lib/services/cdnManagement/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.
6 changes: 3 additions & 3 deletions lib/services/cdnManagement/lib/cdnManagementClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ export default class CdnManagementClient 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
6 changes: 3 additions & 3 deletions lib/services/cdnManagement/lib/cdnManagementClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,9 @@ class CdnManagementClient 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 @@ -67,6 +67,7 @@ class CacheExpirationActionParameters {
},
cacheDuration: {
required: false,
nullable: true,
serializedName: 'cacheDuration',
type: {
name: 'String'
Expand Down
2 changes: 0 additions & 2 deletions lib/services/cdnManagement/lib/models/deliveryRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* A rule that specifies a set of actions and conditions
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* A policy that specifies the delivery rules to be used for an endpoint.
*
Expand Down
4 changes: 2 additions & 2 deletions lib/services/cdnManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export { CloudError } from 'ms-rest-azure';
*
* @member {string} [name] Name of the pricing tier. Possible values include:
* 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon', 'Standard_Akamai',
* 'Standard_ChinaCdn'
* 'Standard_ChinaCdn', 'Standard_Microsoft'
*/
export interface Sku {
name?: string;
Expand Down Expand Up @@ -72,7 +72,7 @@ export interface TrackedResource extends Resource {
* and rate) of the CDN profile.
* @member {string} [sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
* @member {string} [resourceState] Resource status of the profile. Possible
* values include: 'Creating', 'Active', 'Deleting', 'Disabled'
* @member {string} [provisioningState] Provisioning status of the profile.
Expand Down
2 changes: 0 additions & 2 deletions lib/services/cdnManagement/lib/models/ipAddressGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* CDN Ip address group
*
Expand Down
2 changes: 0 additions & 2 deletions lib/services/cdnManagement/lib/models/operation.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

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

/**
* CDN REST API operation
*
Expand Down
2 changes: 1 addition & 1 deletion lib/services/cdnManagement/lib/models/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Profile extends models['TrackedResource'] {
* list and rate) of the CDN profile.
* @member {string} [sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
* @member {string} [resourceState] Resource status of the profile. Possible
* values include: 'Creating', 'Active', 'Deleting', 'Disabled'
* @member {string} [provisioningState] Provisioning status of the profile.
Expand Down
2 changes: 1 addition & 1 deletion lib/services/cdnManagement/lib/models/sku.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Sku {
* Create a Sku.
* @member {string} [name] Name of the pricing tier. Possible values include:
* 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class SupportedOptimizationTypesListResult {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
serializedName: 'OptimizationTypeElementType',
type: {
name: 'String'
}
Expand Down
8 changes: 4 additions & 4 deletions lib/services/cdnManagement/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export interface Profiles {
*
* @param {string} [profile.sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
*
* @param {string} profile.location Resource location.
*
Expand Down Expand Up @@ -247,7 +247,7 @@ export interface Profiles {
*
* @param {string} [profile.sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
*
* @param {string} profile.location Resource location.
*
Expand Down Expand Up @@ -640,7 +640,7 @@ export interface Profiles {
*
* @param {string} [profile.sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
*
* @param {string} profile.location Resource location.
*
Expand Down Expand Up @@ -676,7 +676,7 @@ export interface Profiles {
*
* @param {string} [profile.sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
*
* @param {string} profile.location Resource location.
*
Expand Down
12 changes: 6 additions & 6 deletions lib/services/cdnManagement/lib/operations/profiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ function _get(resourceGroupName, profileName, options, callback) {
*
* @param {string} [profile.sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
*
* @param {string} profile.location Resource location.
*
Expand Down Expand Up @@ -1221,7 +1221,7 @@ function _listResourceUsage(resourceGroupName, profileName, options, callback) {
*
* @param {string} [profile.sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
*
* @param {string} profile.location Resource location.
*
Expand Down Expand Up @@ -2467,7 +2467,7 @@ class Profiles {
*
* @param {string} [profile.sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
*
* @param {string} profile.location Resource location.
*
Expand Down Expand Up @@ -2515,7 +2515,7 @@ class Profiles {
*
* @param {string} [profile.sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
*
* @param {string} profile.location Resource location.
*
Expand Down Expand Up @@ -3058,7 +3058,7 @@ class Profiles {
*
* @param {string} [profile.sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
*
* @param {string} profile.location Resource location.
*
Expand Down Expand Up @@ -3106,7 +3106,7 @@ class Profiles {
*
* @param {string} [profile.sku.name] Name of the pricing tier. Possible values
* include: 'Standard_Verizon', 'Premium_Verizon', 'Custom_Verizon',
* 'Standard_Akamai', 'Standard_ChinaCdn'
* 'Standard_Akamai', 'Standard_ChinaCdn', 'Standard_Microsoft'
*
* @param {string} profile.location Resource location.
*
Expand Down
Loading

0 comments on commit 989d453

Please sign in to comment.