This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3876 from Azure/restapi_auto_automation/resource-…
…manager [AutoPR] automation/resource-manager
- Loading branch information
Showing
10 changed files
with
331 additions
and
1 deletion.
There are no files selected for viewing
87 changes: 87 additions & 0 deletions
87
lib/services/automationManagement/lib/models/azureQueryProperties.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* Azure query for the update configuration. | ||
* | ||
*/ | ||
class AzureQueryProperties { | ||
/** | ||
* Create a AzureQueryProperties. | ||
* @member {array} [scope] List of Subscription or Resource Group ARM Ids. | ||
* @member {array} [location] List of locations to scope the query to. | ||
* @member {object} [tagSettings] Tag settings for the VM. | ||
* @member {object} [tagSettings.tags] Dictionary of tags with its list of | ||
* values. | ||
* @member {string} [tagSettings.filterOperator] Filter VMs by Any or All | ||
* specified tags. Possible values include: 'All', 'Any' | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of AzureQueryProperties | ||
* | ||
* @returns {object} metadata of AzureQueryProperties | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'AzureQueryProperties', | ||
type: { | ||
name: 'Composite', | ||
className: 'AzureQueryProperties', | ||
modelProperties: { | ||
scope: { | ||
required: false, | ||
serializedName: 'scope', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
}, | ||
location: { | ||
required: false, | ||
serializedName: 'location', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
}, | ||
tagSettings: { | ||
required: false, | ||
serializedName: 'tagSettings', | ||
type: { | ||
name: 'Composite', | ||
className: 'TagSettingsProperties' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = AzureQueryProperties; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
lib/services/automationManagement/lib/models/tagSettingsProperties.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* Tag filter information for the VM. | ||
* | ||
*/ | ||
class TagSettingsProperties { | ||
/** | ||
* Create a TagSettingsProperties. | ||
* @member {object} [tags] Dictionary of tags with its list of values. | ||
* @member {string} [filterOperator] Filter VMs by Any or All specified tags. | ||
* Possible values include: 'All', 'Any' | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of TagSettingsProperties | ||
* | ||
* @returns {object} metadata of TagSettingsProperties | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'TagSettingsProperties', | ||
type: { | ||
name: 'Composite', | ||
className: 'TagSettingsProperties', | ||
modelProperties: { | ||
tags: { | ||
required: false, | ||
serializedName: 'tags', | ||
type: { | ||
name: 'Dictionary', | ||
value: { | ||
required: false, | ||
serializedName: 'ArrayElementType', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
filterOperator: { | ||
required: false, | ||
serializedName: 'filterOperator', | ||
type: { | ||
name: 'Enum', | ||
allowedValues: [ 'All', 'Any' ] | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = TagSettingsProperties; |
61 changes: 61 additions & 0 deletions
61
lib/services/automationManagement/lib/models/targetProperties.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* Group specific to the update configuration. | ||
* | ||
*/ | ||
class TargetProperties { | ||
/** | ||
* Create a TargetProperties. | ||
* @member {array} [azureQueries] List of Azure queries in the software | ||
* update configuration. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of TargetProperties | ||
* | ||
* @returns {object} metadata of TargetProperties | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'TargetProperties', | ||
type: { | ||
name: 'Composite', | ||
className: 'TargetProperties', | ||
modelProperties: { | ||
azureQueries: { | ||
required: false, | ||
serializedName: 'azureQueries', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'AzureQueryPropertiesElementType', | ||
type: { | ||
name: 'Composite', | ||
className: 'AzureQueryProperties' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = TargetProperties; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.