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

[AutoPR] resources/resource-manager #4192

Closed
wants to merge 7 commits into from
2 changes: 1 addition & 1 deletion lib/services/resourceManagement/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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
*/
Expand Down
4 changes: 2 additions & 2 deletions lib/services/resourceManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 10 additions & 2 deletions lib/services/resourceManagement/lib/resource/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down Expand Up @@ -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;
/**
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* Entity representing the reference to the deployment paramaters.
* Entity representing the reference to the deployment parameters.
*
*/
class ParametersLink {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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',
Expand Down