Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
5296bd5
Resolving S320 Item - Missing Get SubscriptionOperations for 2021-10-…
Jun 12, 2023
b6b053e
Fix pipeline suggestions.
Jun 12, 2023
4936e00
Minor fix.
Jun 12, 2023
0d92101
Make Get Subscription operations sync in this version.
Jun 17, 2023
77ea806
Added suppress rules for failing lint errors.
Jun 20, 2023
792cb8a
Fix suppression Issues.
Jun 28, 2023
80cf2cf
Minor fix suppression GetOperation200.
Jun 28, 2023
7f286d7
Address minor fixes.
Jun 29, 2023
30be453
Address GetOperation200 changes.
Jun 29, 2023
41f8f34
Update readme.md: attempt suppression fix by adding ["202"] to "respo…
Jun 30, 2023
7ed3713
Add Initiate, Get and Accept Subscription Change Directory Api with n…
Jul 18, 2024
432cd66
Cleaning up the changes in the add-ons inside swagger files.
Jul 19, 2024
ba52350
Add or modified readme file.
Jul 19, 2024
1eeeffa
Fix pipeline issues.
Jul 26, 2024
e6decdf
Fixes on lint errors, model errors.
Jul 27, 2024
6a9c122
Address PR changes.
Jul 27, 2024
1ecb602
Address swagger PR fixes.
Aug 6, 2024
9c7f273
Fixing swagger changes.
Aug 7, 2024
4f5f42b
Fix breaking changes paths to include into this new version.
Aug 7, 2024
f529b39
Fix Prettier Checks.
Aug 7, 2024
90fd8d1
Add or Update the parameter location in the swagger.
Aug 7, 2024
9206a50
Add suppressions for the lint errors + plus request schema changes.
Aug 9, 2024
44ccb09
Suppress lint errors.
Aug 9, 2024
3664f47
Adding changes to revert initiate and accept subscription changed dir…
Aug 14, 2024
d57a648
Add new version, destination tenant and owner id for subscription ini…
Aug 14, 2024
7972c78
Reorder new preview version changes with the latest GA version.
Aug 14, 2024
178d6b3
Adding v5 type error response body.
Aug 14, 2024
d64572e
Merge branch 'main' into new-version-init-sub-change-request
abhaygill338 Aug 14, 2024
4514b0d
Add List and Delete Subscription Changed Directory for new version 20…
Aug 19, 2024
15f7c53
Fix prettier checks.
Aug 19, 2024
a3bb39f
Fix Lint Errors.
Aug 19, 2024
afa677c
Address Lint errors fix.
Aug 19, 2024
ce101dc
Add Suppression, for Delete Response Codes and Delete Operation Respo…
Aug 20, 2024
8b965b0
Address Fix in suppression.
Aug 20, 2024
aef63c5
Update reasons on Suppresions - DeleteResponseCodes, DeleteOperationR…
Aug 22, 2024
de7c3a9
Merge branch 'main' into users/abhaypratap/new-version-list-del-chang…
abhaygill338 Aug 22, 2024
6143ffa
Merge branch 'main' into users/abhaypratap/new-version-list-del-chang…
TimLovellSmith Sep 4, 2024
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
@@ -0,0 +1,9 @@
{
"parameters": {
"subscriptionId": "ebe4f8fd-d8b3-4867-bcf4-b2407edd196d",
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "ebe4f8fd-d8b3-4867-bcf4-b2407edd196d",
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "subscriptions/ebe4f8fd-d8b3-4867-bcf4-b2407edd196d/providers/Microsoft.Subscription/changeTenantRequest/default",
"name": "default",
"type": "Microsoft.Subscription/changeTenantRequest",
"properties": {
"destinationTenantId": "45ffe2da-b7a4-460f-9e4c-51afd47b94cb",
"destinationOwnerId": "45ffe2da-b7a4-460f-9e4c-51afd47b94cc",
"status": "Initiated",
"expiresOn": "2024-07-19T17:57:40.0278346Z"
}
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,70 @@
}
}
}
},
"delete": {
"operationId": "Subscriptions_DeleteTargetDirectory",
"x-ms-examples": {
"deleteTargetDirectory": {
"$ref": "./examples/deleteTargetDirectory.json"
}
},
"description": "The operation to delete Initiator Subscription Changed Request",
"parameters": [
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "Deleted the Target Directory"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/changeTenantRequest": {
"get": {
"operationId": "Subscriptions_ListTargetDirectory",
"x-ms-examples": {
"listTargetDirectory": {
"$ref": "./examples/listTargetDirectory.json"
}
},
"description": "The operation to list Initiator Subscription Changed Request",
"parameters": [
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK. The request has succeeded.",
"schema": {
"$ref": "#/definitions/TargetDirectoryListResult"
}
},
"default": {
"description": "Describes the error if the operation is not successful.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/providers/Microsoft.Subscription/subscriptions/{subscriptionId}/acceptChangeTenant": {
Expand Down Expand Up @@ -1235,6 +1299,28 @@
}
}
},
"TargetDirectoryListResult": {
"type": "object",
"description": "Subscription Response to list out Changed Target Directory.",
"properties": {
"value": {
"description": "The list of subscription response to changed target directory.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/TargetDirectoryResult"
},
"x-ms-identifiers": [
"name"
]
},
"nextLink": {
"description": "The link (url) to the next page of results.",
"type": "string",
"readOnly": true
}
}
},
"TargetDirectoryResult": {
"type": "object",
"x-ms-azure-resource": true,
Expand Down
6 changes: 6 additions & 0 deletions specification/subscription/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ directive:
from: subscriptions.json
where: $.paths["/providers/Microsoft.Subscription/subscriptionOperations/{operationId}"].get.responses["202"]
reason: This api will return 200 and 202 response.
- suppress: DeleteResponseCodes
from: subscriptions.json
reason: The delete subscription changed directory expected to return 200 on every user's request, once it's deleted it will return 404, since it's a change on the existing api with new version, but creating workitem - "https://msazure.visualstudio.com/One/_workitems/edit/29188912", to refactor the call on delete request and will return 204 as no content in such cases to take this item in future ref.
- suppress: DeleteOperationResponses
from: subscriptions.json
reason: The delete operation response for subscription changed directory expected to return 200 on every user's request, once it's deleted it will return 404, since it's a change on the existing api with new version, but creating workitem - "https://msazure.visualstudio.com/One/_workitems/edit/29188912", to refactor the call on delete request and will return 204 as no content in such cases to take this item in future ref.
```


Expand Down