diff --git a/lib/services/resourceManagement/lib/resource/models/deploymentExtended.js b/lib/services/resourceManagement/lib/resource/models/deploymentExtended.js index 7d1a8dcbe1..2e8cd9537e 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 @@ -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/index.d.ts b/lib/services/resourceManagement/lib/resource/models/index.d.ts index cdacdc5491..ece82f9e09 100644 --- a/lib/services/resourceManagement/lib/resource/models/index.d.ts +++ b/lib/services/resourceManagement/lib/resource/models/index.d.ts @@ -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/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',