diff --git a/lib/services/resourceManagement/LICENSE.txt b/lib/services/resourceManagement/LICENSE.txt index 5431ba98b9..8f3d856145 100644 --- a/lib/services/resourceManagement/LICENSE.txt +++ b/lib/services/resourceManagement/LICENSE.txt @@ -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 diff --git a/lib/services/resourceManagement/lib/link/operations/index.d.ts b/lib/services/resourceManagement/lib/link/operations/index.d.ts index fcdb5e1600..0cce4b4f98 100644 --- a/lib/services/resourceManagement/lib/link/operations/index.d.ts +++ b/lib/services/resourceManagement/lib/link/operations/index.d.ts @@ -348,8 +348,8 @@ export interface ResourceLinks { * @param {object} [options] Optional Parameters. * * @param {string} [options.filter] The filter to apply on the list resource - * links operation. The supported filter for list resource links is targetid. - * For example, $filter=targetid eq {value} + * links operation. The supported filter for list resource links is targetId. + * For example, $filter=targetId eq {value} * * @param {object} [options.customHeaders] Headers that will be added to the * request @@ -368,8 +368,8 @@ export interface ResourceLinks { * @param {object} [options] Optional Parameters. * * @param {string} [options.filter] The filter to apply on the list resource - * links operation. The supported filter for list resource links is targetid. - * For example, $filter=targetid eq {value} + * links operation. The supported filter for list resource links is targetId. + * For example, $filter=targetId eq {value} * * @param {object} [options.customHeaders] Headers that will be added to the * request diff --git a/lib/services/resourceManagement/lib/link/operations/resourceLinks.js b/lib/services/resourceManagement/lib/link/operations/resourceLinks.js index 3205ad0522..c89527813d 100644 --- a/lib/services/resourceManagement/lib/link/operations/resourceLinks.js +++ b/lib/services/resourceManagement/lib/link/operations/resourceLinks.js @@ -461,8 +461,8 @@ function _get(linkId, options, callback) { * @param {object} [options] Optional Parameters. * * @param {string} [options.filter] The filter to apply on the list resource - * links operation. The supported filter for list resource links is targetid. - * For example, $filter=targetid eq {value} + * links operation. The supported filter for list resource links is targetId. + * For example, $filter=targetId eq {value} * * @param {object} [options.customHeaders] Headers that will be added to the * request @@ -1310,8 +1310,8 @@ class ResourceLinks { * @param {object} [options] Optional Parameters. * * @param {string} [options.filter] The filter to apply on the list resource - * links operation. The supported filter for list resource links is targetid. - * For example, $filter=targetid eq {value} + * links operation. The supported filter for list resource links is targetId. + * For example, $filter=targetId eq {value} * * @param {object} [options.customHeaders] Headers that will be added to the * request @@ -1342,8 +1342,8 @@ class ResourceLinks { * @param {object} [options] Optional Parameters. * * @param {string} [options.filter] The filter to apply on the list resource - * links operation. The supported filter for list resource links is targetid. - * For example, $filter=targetid eq {value} + * links operation. The supported filter for list resource links is targetId. + * For example, $filter=targetId eq {value} * * @param {object} [options.customHeaders] Headers that will be added to the * request diff --git a/lib/services/resourceManagement/lib/models/errorResponse.js b/lib/services/resourceManagement/lib/models/errorResponse.js index d9b41dd8ed..914d054513 100644 --- a/lib/services/resourceManagement/lib/models/errorResponse.js +++ b/lib/services/resourceManagement/lib/models/errorResponse.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Error reponse indicates ARM appliance is not able to process the incoming + * Error response indicates ARM appliance is not able to process the incoming * request. The reason is provided in the error message. * */ diff --git a/lib/services/resourceManagement/lib/models/index.d.ts b/lib/services/resourceManagement/lib/models/index.d.ts index a44f3018d3..513e2a2818 100644 --- a/lib/services/resourceManagement/lib/models/index.d.ts +++ b/lib/services/resourceManagement/lib/models/index.d.ts @@ -306,8 +306,8 @@ export interface Identity { } /** - * Error reponse indicates ARM appliance is not able to process the incoming request. The reason is - * provided in the error message. + * Error response indicates ARM appliance is not able to process the incoming request. The reason + * is provided in the error message. */ export interface ErrorResponse { /** diff --git a/lib/services/resourceManagement/lib/policy/models/errorResponse.js b/lib/services/resourceManagement/lib/policy/models/errorResponse.js index 1ac1b914ba..19c4df845b 100644 --- a/lib/services/resourceManagement/lib/policy/models/errorResponse.js +++ b/lib/services/resourceManagement/lib/policy/models/errorResponse.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Error reponse indicates Azure Resource Manager is not able to process the + * Error response indicates Azure Resource Manager is not able to process the * incoming request. The reason is provided in the error message. * */ diff --git a/lib/services/resourceManagement/lib/policy/models/index.d.ts b/lib/services/resourceManagement/lib/policy/models/index.d.ts index d02a50f3a5..260aa65ba7 100644 --- a/lib/services/resourceManagement/lib/policy/models/index.d.ts +++ b/lib/services/resourceManagement/lib/policy/models/index.d.ts @@ -106,7 +106,7 @@ export interface PolicyAssignment extends BaseResource { } /** - * Error reponse indicates Azure Resource Manager is not able to process the incoming request. The + * Error response indicates Azure Resource Manager is not able to process the incoming request. The * reason is provided in the error message. */ export interface ErrorResponse { diff --git a/lib/services/resourceManagement/lib/resource/models/deploymentExtended.js b/lib/services/resourceManagement/lib/resource/models/deploymentExtended.js index 7d1a8dcbe1..b3ead0da58 100644 --- a/lib/services/resourceManagement/lib/resource/models/deploymentExtended.js +++ b/lib/services/resourceManagement/lib/resource/models/deploymentExtended.js @@ -22,6 +22,7 @@ class DeploymentExtended extends models['BaseResource'] { * Create a DeploymentExtended. * @property {string} [id] The ID of the deployment. * @property {string} [name] The name of the deployment. + * @property {string} [type] The type of the deployment. * @property {string} [location] the location of the deployment. * @property {object} [properties] Deployment properties. * @property {string} [properties.provisioningState] The state of the @@ -31,7 +32,7 @@ class DeploymentExtended extends models['BaseResource'] { * @property {date} [properties.timestamp] The timestamp of the template * deployment. * @property {object} [properties.outputs] Key/value pairs that represent - * deploymentoutput. + * deployment output. * @property {array} [properties.providers] The list of resource providers * needed for the deployment. * @property {array} [properties.dependencies] The list of deployment @@ -110,6 +111,14 @@ class DeploymentExtended extends models['BaseResource'] { name: 'String' } }, + type: { + required: false, + readOnly: true, + serializedName: 'type', + type: { + name: 'String' + } + }, location: { required: false, serializedName: 'location', diff --git a/lib/services/resourceManagement/lib/resource/models/deploymentPropertiesExtended.js b/lib/services/resourceManagement/lib/resource/models/deploymentPropertiesExtended.js index c0ca553abf..8af2c64515 100644 --- a/lib/services/resourceManagement/lib/resource/models/deploymentPropertiesExtended.js +++ b/lib/services/resourceManagement/lib/resource/models/deploymentPropertiesExtended.js @@ -20,8 +20,8 @@ class DeploymentPropertiesExtended { * @property {string} [provisioningState] The state of the provisioning. * @property {string} [correlationId] The correlation ID of the deployment. * @property {date} [timestamp] The timestamp of the template deployment. - * @property {object} [outputs] Key/value pairs that represent - * deploymentoutput. + * @property {object} [outputs] Key/value pairs that represent deployment + * output. * @property {array} [providers] The list of resource providers needed for * the deployment. * @property {array} [dependencies] The list of deployment dependencies. diff --git a/lib/services/resourceManagement/lib/resource/models/deploymentValidateResult.js b/lib/services/resourceManagement/lib/resource/models/deploymentValidateResult.js index 63074a7fcb..e24630cd3b 100644 --- a/lib/services/resourceManagement/lib/resource/models/deploymentValidateResult.js +++ b/lib/services/resourceManagement/lib/resource/models/deploymentValidateResult.js @@ -32,7 +32,7 @@ class DeploymentValidateResult { * @property {date} [properties.timestamp] The timestamp of the template * deployment. * @property {object} [properties.outputs] Key/value pairs that represent - * deploymentoutput. + * deployment output. * @property {array} [properties.providers] The list of resource providers * needed for the deployment. * @property {array} [properties.dependencies] The list of deployment diff --git a/lib/services/resourceManagement/lib/resource/models/index.d.ts b/lib/services/resourceManagement/lib/resource/models/index.d.ts index cdacdc5491..de4be29828 100644 --- a/lib/services/resourceManagement/lib/resource/models/index.d.ts +++ b/lib/services/resourceManagement/lib/resource/models/index.d.ts @@ -72,7 +72,7 @@ export interface TemplateLink { } /** - * Entity representing the reference to the deployment paramaters. + * Entity representing the reference to the deployment parameters. */ export interface ParametersLink { /** @@ -356,7 +356,7 @@ export interface DeploymentPropertiesExtended { */ readonly timestamp?: Date; /** - * Key/value pairs that represent deploymentoutput. + * Key/value pairs that represent deployment output. */ outputs?: any; /** @@ -424,6 +424,10 @@ export interface DeploymentExtended extends BaseResource { * The name of the deployment. */ readonly name?: string; + /** + * The type of the deployment. + */ + readonly type?: string; /** * the location of the deployment. */ @@ -604,6 +608,10 @@ export interface ResourceGroup extends BaseResource { * The name of the resource group. */ readonly name?: string; + /** + * The type of the resource group. + */ + readonly type?: string; properties?: ResourceGroupProperties; /** * The location of the resource group. It cannot be changed after the resource group has been diff --git a/lib/services/resourceManagement/lib/resource/models/parametersLink.js b/lib/services/resourceManagement/lib/resource/models/parametersLink.js index ffd2e3ebf6..712c5e125c 100644 --- a/lib/services/resourceManagement/lib/resource/models/parametersLink.js +++ b/lib/services/resourceManagement/lib/resource/models/parametersLink.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Entity representing the reference to the deployment paramaters. + * Entity representing the reference to the deployment parameters. * */ class ParametersLink { diff --git a/lib/services/resourceManagement/lib/resource/models/resourceGroup.js b/lib/services/resourceManagement/lib/resource/models/resourceGroup.js index 08e9588e8b..dd3d1b0dcb 100644 --- a/lib/services/resourceManagement/lib/resource/models/resourceGroup.js +++ b/lib/services/resourceManagement/lib/resource/models/resourceGroup.js @@ -22,6 +22,7 @@ class ResourceGroup extends models['BaseResource'] { * Create a ResourceGroup. * @property {string} [id] The ID of the resource group. * @property {string} [name] The name of the resource group. + * @property {string} [type] The type of the resource group. * @property {object} [properties] * @property {string} [properties.provisioningState] The provisioning state. * @property {string} location The location of the resource group. It cannot @@ -65,6 +66,14 @@ class ResourceGroup extends models['BaseResource'] { name: 'String' } }, + type: { + required: false, + readOnly: true, + serializedName: 'type', + type: { + name: 'String' + } + }, properties: { required: false, serializedName: 'properties',