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

[AutoPR logic/resource-manager] Microsoft.Logic - Don't make ResourceReference id readonly #4117

Merged
merged 1 commit into from
Nov 16, 2018
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/services/logicManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface SubResource extends BaseResource {
* @member {string} [type] Gets the resource type.
*/
export interface ResourceReference {
readonly id?: string;
id?: string;
readonly name?: string;
readonly type?: string;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class KeyVaultReference extends models['ResourceReference'] {
modelProperties: {
id: {
required: false,
readOnly: true,
serializedName: 'id',
type: {
name: 'String'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class ResourceReference {
modelProperties: {
id: {
required: false,
readOnly: true,
serializedName: 'id',
type: {
name: 'String'
Expand Down
24 changes: 24 additions & 0 deletions lib/services/logicManagement/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ export interface Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -273,6 +275,8 @@ export interface Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -334,6 +338,8 @@ export interface Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -376,6 +382,8 @@ export interface Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -809,6 +817,8 @@ export interface Workflows {
*
* @param {object} [moveParameter.integrationAccount] The integration account.
*
* @param {string} [moveParameter.integrationAccount.id] The resource id.
*
* @param {object} [moveParameter.definition] The definition.
*
* @param {object} [moveParameter.parameters] The parameters.
Expand Down Expand Up @@ -851,6 +861,8 @@ export interface Workflows {
*
* @param {object} [moveParameter.integrationAccount] The integration account.
*
* @param {string} [moveParameter.integrationAccount.id] The resource id.
*
* @param {object} [moveParameter.definition] The definition.
*
* @param {object} [moveParameter.parameters] The parameters.
Expand Down Expand Up @@ -979,6 +991,8 @@ export interface Workflows {
*
* @param {object} [validate.integrationAccount] The integration account.
*
* @param {string} [validate.integrationAccount.id] The resource id.
*
* @param {object} [validate.definition] The definition.
*
* @param {object} [validate.parameters] The parameters.
Expand Down Expand Up @@ -1021,6 +1035,8 @@ export interface Workflows {
*
* @param {object} [validate.integrationAccount] The integration account.
*
* @param {string} [validate.integrationAccount.id] The resource id.
*
* @param {object} [validate.definition] The definition.
*
* @param {object} [validate.parameters] The parameters.
Expand Down Expand Up @@ -1083,6 +1099,8 @@ export interface Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -1127,6 +1145,8 @@ export interface Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -4279,6 +4299,8 @@ export interface IntegrationAccounts {
*
* @param {object} listKeyVaultKeysParameter.keyVault The key vault reference.
*
* @param {string} [listKeyVaultKeysParameter.keyVault.id] The resource id.
*
* @param {string} [listKeyVaultKeysParameter.skipToken] The skip token.
*
* @param {object} [options] Optional Parameters.
Expand All @@ -4305,6 +4327,8 @@ export interface IntegrationAccounts {
*
* @param {object} listKeyVaultKeysParameter.keyVault The key vault reference.
*
* @param {string} [listKeyVaultKeysParameter.keyVault.id] The resource id.
*
* @param {string} [listKeyVaultKeysParameter.skipToken] The skip token.
*
* @param {object} [options] Optional Parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,8 @@ function _listCallbackUrl(resourceGroupName, integrationAccountName, parameters,
*
* @param {object} listKeyVaultKeysParameter.keyVault The key vault reference.
*
* @param {string} [listKeyVaultKeysParameter.keyVault.id] The resource id.
*
* @param {string} [listKeyVaultKeysParameter.skipToken] The skip token.
*
* @param {object} [options] Optional Parameters.
Expand Down Expand Up @@ -2568,6 +2570,8 @@ class IntegrationAccounts {
*
* @param {object} listKeyVaultKeysParameter.keyVault The key vault reference.
*
* @param {string} [listKeyVaultKeysParameter.keyVault.id] The resource id.
*
* @param {string} [listKeyVaultKeysParameter.skipToken] The skip token.
*
* @param {object} [options] Optional Parameters.
Expand Down Expand Up @@ -2606,6 +2610,8 @@ class IntegrationAccounts {
*
* @param {object} listKeyVaultKeysParameter.keyVault The key vault reference.
*
* @param {string} [listKeyVaultKeysParameter.keyVault.id] The resource id.
*
* @param {string} [listKeyVaultKeysParameter.skipToken] The skip token.
*
* @param {object} [options] Optional Parameters.
Expand Down
30 changes: 30 additions & 0 deletions lib/services/logicManagement/lib/operations/workflows.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,8 @@ function _get(resourceGroupName, workflowName, options, callback) {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -693,6 +695,8 @@ function _createOrUpdate(resourceGroupName, workflowName, workflow, options, cal
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -1749,6 +1753,8 @@ function _listSwagger(resourceGroupName, workflowName, options, callback) {
*
* @param {object} [moveParameter.integrationAccount] The integration account.
*
* @param {string} [moveParameter.integrationAccount.id] The resource id.
*
* @param {object} [moveParameter.definition] The definition.
*
* @param {object} [moveParameter.parameters] The parameters.
Expand Down Expand Up @@ -2064,6 +2070,8 @@ function _regenerateAccessKey(resourceGroupName, workflowName, keyType, options,
*
* @param {object} [validate.integrationAccount] The integration account.
*
* @param {string} [validate.integrationAccount.id] The resource id.
*
* @param {object} [validate.definition] The definition.
*
* @param {object} [validate.parameters] The parameters.
Expand Down Expand Up @@ -2232,6 +2240,8 @@ function _validateByResourceGroup(resourceGroupName, workflowName, validate, opt
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -2953,6 +2963,8 @@ class Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -3007,6 +3019,8 @@ class Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -3083,6 +3097,8 @@ class Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -3137,6 +3153,8 @@ class Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -3747,6 +3765,8 @@ class Workflows {
*
* @param {object} [moveParameter.integrationAccount] The integration account.
*
* @param {string} [moveParameter.integrationAccount.id] The resource id.
*
* @param {object} [moveParameter.definition] The definition.
*
* @param {object} [moveParameter.parameters] The parameters.
Expand Down Expand Up @@ -3801,6 +3821,8 @@ class Workflows {
*
* @param {object} [moveParameter.integrationAccount] The integration account.
*
* @param {string} [moveParameter.integrationAccount.id] The resource id.
*
* @param {object} [moveParameter.definition] The definition.
*
* @param {object} [moveParameter.parameters] The parameters.
Expand Down Expand Up @@ -3971,6 +3993,8 @@ class Workflows {
*
* @param {object} [validate.integrationAccount] The integration account.
*
* @param {string} [validate.integrationAccount.id] The resource id.
*
* @param {object} [validate.definition] The definition.
*
* @param {object} [validate.parameters] The parameters.
Expand Down Expand Up @@ -4025,6 +4049,8 @@ class Workflows {
*
* @param {object} [validate.integrationAccount] The integration account.
*
* @param {string} [validate.integrationAccount.id] The resource id.
*
* @param {object} [validate.definition] The definition.
*
* @param {object} [validate.parameters] The parameters.
Expand Down Expand Up @@ -4102,6 +4128,8 @@ class Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down Expand Up @@ -4158,6 +4186,8 @@ class Workflows {
*
* @param {object} [workflow.integrationAccount] The integration account.
*
* @param {string} [workflow.integrationAccount.id] The resource id.
*
* @param {object} [workflow.definition] The definition.
*
* @param {object} [workflow.parameters] The parameters.
Expand Down