Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger change for Update configuration dynamic group #4165

Merged
merged 5 commits into from
Oct 16, 2018
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,10 @@
"type": "string",
"description": "Name of Non-Azure OMS Computer."
}
},
"targets": {
"description": "group informations that will be patched during run time.",
"$ref": "#/definitions/TargetProperties"
}
},
"required": [
Expand Down Expand Up @@ -750,6 +754,75 @@
"description": "ext run time of the update."
}
}
},
"TargetProperties": {
"type": "object",
"description": "Group specific of update configuration.",
"properties": {
"azureQueries": {
"description": "List of Azure queries in software update configuration.",
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/AzureQueryProperties"
}
}
}
},
"AzureQueryProperties": {
"type": "object",
"description": "Azure query specific to the group of machines for update configuration.",
"properties": {
"scope": {
"type": "array",
"description": "List of Subscription or Resource group arm Id.",
jemex marked this conversation as resolved.
Show resolved Hide resolved
"items": {
"type": "string",
"description": "Subscription or Resource group arm Id."
}
},
"location": {
"type": "array",
"description": "list of locations for the VM filter .",
"items": {
"type": "string",
"description": "Location for the VM."
}
},
"tagSettings": {
"type": "object",
"description": "tag filter information of the Vm.",
"$ref": "#/definitions/TagSettingsProperties"
}
}
},
"TagSettingsProperties": {
"type": "object",
"description": "Tag filter Information of the VM.",
jemex marked this conversation as resolved.
Show resolved Hide resolved
"properties": {
"tags": {
"type": "object",
"description": "dictionary of tags with its list of value",
"additionalProperties": {
"type": "array",
"items": {
"type": "string",
"description": "list of tag value for a tag"
}
}
},
"filterOperator": {
"type": "string",
"enum": [
"All",
"Any"
],
"x-ms-enum": {
"name": "TagOperators",
"modelAsString": true
}
}
}
}
}
}