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

Update the label property of request body of find target resource api #17917

Merged
merged 3 commits into from
Feb 24, 2022
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
Original file line number Diff line number Diff line change
Expand Up @@ -421,13 +421,13 @@
"$ref": "#/parameters/ResourceNameParameter"
},
{
"name": "labels",
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/customLocationFindTargetResourceGroupProperties"
},
"description": "Labels supplied to match with Resource Sync Rule. This is a map of {key,value} pairs."
"description": "Parameters of the find target resource group request."
}
],
"responses": {
Expand Down Expand Up @@ -878,10 +878,16 @@
]
},
"customLocationFindTargetResourceGroupProperties": {
"description": "Labels of the custom resource, this is a map of {key,value} pairs.",
"description": "The Find Target Resource Group operation request.",
"type": "object",
"additionalProperties": {
"type": "string"
"properties": {
"labels": {
"description": "Labels of the custom resource, this is a map of {key,value} pairs.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"customLocationFindTargetResourceGroupResult": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
"subscriptionId": "11111111-2222-3333-4444-555555555555",
"resourceGroupName": "testresourcegroup",
"resourceName": "customLocation01",
"labels": {
"key1": "value1",
"key2": "value2"
"parameters": {
"labels": {
"key1": "value1",
"key2": "value2"
}
}
},
"responses": {
Expand Down