Skip to content

Commit

Permalink
Merge ece22ca into 8dc708f
Browse files Browse the repository at this point in the history
  • Loading branch information
Grayer123 committed May 7, 2024
2 parents 8dc708f + ece22ca commit 7a9a107
Show file tree
Hide file tree
Showing 8 changed files with 166 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2022-09-01"
},
"responses": {
"200": {
"body": {
"id": "/providers/subscriptions//00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Purview/accounts/testpurview234/providers/Microsoft.Resources/tags/default",
"name": "default",
"type": "Microsoft.Resources/tags",
"properties": {
"tags": {
"tagKey1": "tag-value-1",
"tagKey2": "tag-value-2"
}
}
}
},
"202": {
"description": "Accepted",
"headers": {
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/tagsoperationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"responses": {
"200": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/myPRNameSpace/VM/myVm",
"id": "/providers/subscriptions//00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Purview/accounts/testpurview234/providers/Microsoft.Resources/tags/default",
"name": "default",
"type": "Microsoft.Resources/tags",
"properties": {
"tags": {
"tagKey1": "tag-value-1",
Expand All @@ -26,7 +28,7 @@
"202": {
"description": "Accepted",
"headers": {
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01"
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/tagsoperationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"responses": {
"200": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000",
"id": "/providers/subscriptions//00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/tags/default",
"name": "default",
"type": "Microsoft.Resources/tags",
"properties": {
"tags": {
"tagKey1": "tag-value-1",
Expand All @@ -26,7 +28,7 @@
"202": {
"description": "Accepted",
"headers": {
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01"
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/tagsoperationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3840,6 +3840,53 @@
}
}
},
"/subscriptions/{subscriptionId}/tagsoperationresults": {
"get": {
"tags": [
"Tags"
],
"operationId": "Tags_OperationResult",
"summary": "Gets the tags async operation results.",
"description": "This tracks the async operation results emitted from the Tags API.",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Get the tags operation results successfully.",
"schema": {
"$ref": "#/definitions/TagsResource"
}
},
"202": {
"headers": {
"Location": {
"type": "string",
"description": "URL to get status of the long-running operation for tags operation results."
}
},
"description": "Accepted"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Gets tags operation results": {
"$ref": "./examples/GetTagsOperationResults.json"
}
}
}
},
"/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}": {
"get": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2022-09-01"
},
"responses": {
"200": {
"body": {
"id": "/providers/subscriptions//00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Purview/accounts/testpurview234/providers/Microsoft.Resources/tags/default",
"name": "default",
"type": "Microsoft.Resources/tags",
"properties": {
"tags": {
"tagKey1": "tag-value-1",
"tagKey2": "tag-value-2"
}
}
}
},
"202": {
"description": "Accepted",
"headers": {
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/tagsoperationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/myPRNameSpace/VM/myVm",
"api-version": "2023-07-01",
"api-version": "2022-09-01",
"parameters": {
"properties": {
"tags": {
Expand All @@ -14,7 +14,9 @@
"responses": {
"200": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/myPRNameSpace/VM/myVm",
"id": "/providers/subscriptions//00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Purview/accounts/testpurview234/providers/Microsoft.Resources/tags/default",
"name": "default",
"type": "Microsoft.Resources/tags",
"properties": {
"tags": {
"tagKey1": "tag-value-1",
Expand All @@ -26,7 +28,7 @@
"202": {
"description": "Accepted",
"headers": {
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01"
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/tagsoperationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"api-version": "2023-07-01",
"api-version": "2022-09-01",
"parameters": {
"properties": {
"tags": {
Expand All @@ -14,7 +14,9 @@
"responses": {
"200": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000",
"id": "/providers/subscriptions//00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/tags/default",
"name": "default",
"type": "Microsoft.Resources/tags",
"properties": {
"tags": {
"tagKey1": "tag-value-1",
Expand All @@ -26,7 +28,7 @@
"202": {
"description": "Accepted",
"headers": {
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01"
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/tagsoperationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3846,6 +3846,53 @@
}
}
},
"/subscriptions/{subscriptionId}/tagsoperationresults": {
"get": {
"tags": [
"Tags"
],
"operationId": "Tags_OperationResult",
"summary": "Gets the tags async operation results.",
"description": "This tracks the async operation results emitted from the Tags API.",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Get the tags operation results successfully.",
"schema": {
"$ref": "#/definitions/TagsResource"
}
},
"202": {
"headers": {
"Location": {
"type": "string",
"description": "URL to get status of the long-running operation for tags operation results."
}
},
"description": "Accepted"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Gets tags operation results": {
"$ref": "./examples/GetTagsOperationResults.json"
}
}
}
},
"/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}": {
"get": {
"tags": [
Expand Down

0 comments on commit 7a9a107

Please sign in to comment.