Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 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
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,21 @@
{
"parameters": {
"subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {
"body": {
"subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
"acceptOwnershipState": "Pending",
"provisioningState": "Accepted",
"billingOwner": "abc@test.com",
"subscriptionTenantId": "6c541ca7-1cab-4ea0-adde-6305e1d534e2",
"displayName": "Test Subscription",
"tags": {
"tag1": "TagValue1"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
"api-version": "2024-08-01-preview",
"body": {
"properties": {
"displayName": "Test Subscription",
"managementGroupId": null,
"tags": {
"tag1": "Messi",
"tag2": "Ronaldo",
"tag3": "Lebron"
}
}
}
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/providers/Microsoft.Subscription/subscriptionOperations/ODdmYTU0MDktODc5YS00ZTEzLTg2MWItNTQ4ZjYxNzBlOTQw?api-version=2021-10-01",
"Retry-After": 8
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"parameters": {
"subscriptionId": "6c3c85bc-5366-4eaa-8055-a10529eafd03",
"api-version": "2024-08-01-preview"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad",
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {
"body": {
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"api-version": "2024-08-01-preview",
"body": {
"blockSubscriptionsLeavingTenant": true,
"blockSubscriptionsIntoTenant": true,
"exemptedPrincipals": [
"e879cf0f-2b4d-5431-109a-f72fc9868693",
"9792da87-c97b-410d-a97d-27021ba09ce6"
]
}
},
"responses": {
"200": {
"body": {
"id": "providers/Microsoft.Subscription/policies/default",
"name": "default",
"type": "providers/Microsoft.Subscription/policies",
"properties": {
"policyId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
"blockSubscriptionsLeavingTenant": true,
"blockSubscriptionsIntoTenant": true,
"exemptedPrincipals": [
"e879cf0f-2b4d-5431-109a-f72fc9868693",
"9792da87-c97b-410d-a97d-27021ba09ce6"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"parameters": {
"aliasName": "dummyalias",
"api-version": "2024-08-01-preview",
"body": {
"properties": {
"displayName": "Test Subscription",
"workload": "Production",
"billingScope": "/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH",
"subscriptionId": null,
"additionalProperties": {
"managementGroupId": null,
"subscriptionTenantId": "66f6e4d6-07dc-4aea-94ea-e12d3026a3c8",
"subscriptionOwnerId": "f09b39eb-c496-482c-9ab9-afd799572f4c",
"tags": {
"tag1": "Messi",
"tag2": "Ronaldo",
"tag3": "Lebron"
}
}
}
}
},
"responses": {
"200": {
"body": {
"id": "string",
"name": "string",
"type": "string",
"properties": {
"subscriptionId": "e2283d0f-acad-4904-b803-627dd74cc072",
"displayName": "Test Subscription",
"provisioningState": "Accepted",
"acceptOwnershipUrl": "/providers/Microsoft.Subscription/e2283d0f-acad-4904-b803-627dd74cc072/acceptOwnership",
"acceptOwnershipState": "Pending",
"billingScope": "/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH",
"workload": "Production",
"resellerId": null,
"subscriptionOwnerId": "f09b39eb-c496-482c-9ab9-afd799572f4c",
"managementGroupId": null,
"tags": {
"tag1": "Messi",
"tag2": "Ronaldo",
"tag3": "Lebron"
}
}
}
},
"201": {
"body": {
"id": "string",
"name": "string",
"type": "string",
"properties": {
"subscriptionId": "e2283d0f-acad-4904-b803-627dd74cc072",
"displayName": "Test Subscription",
"provisioningState": "Accepted",
"acceptOwnershipUrl": "/providers/Microsoft.Subscription/e2283d0f-acad-4904-b803-627dd74cc072/acceptOwnership",
"acceptOwnershipState": "Pending",
"billingScope": "/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH",
"workload": "Production",
"resellerId": null,
"subscriptionOwnerId": "f09b39eb-c496-482c-9ab9-afd799572f4c",
"managementGroupId": null,
"tags": {
"tag1": "Messi",
"tag2": "Ronaldo",
"tag3": "Lebron"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"aliasName": "dummyalias",
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "7948bcee-488c-47ce-941c-38e20ede803d",
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {
"body": {
"subscriptionId": "7948bcee-488c-47ce-941c-38e20ede803d"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"aliasName": "dummyalias",
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {
"body": {
"id": "string",
"name": "string",
"type": "string",
"properties": {
"subscriptionId": "e2283d0f-acad-4904-b803-627dd74cc072",
"displayName": "Test Subscription",
"provisioningState": "Accepted",
"acceptOwnershipUrl": "/providers/Microsoft.Subscription/e2283d0f-acad-4904-b803-627dd74cc072/acceptOwnership",
"acceptOwnershipState": "Pending",
"billingScope": "/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH",
"workload": "Production",
"resellerId": null,
"subscriptionOwnerId": "f09b39eb-c496-482c-9ab9-afd799572f4c",
"managementGroupId": null,
"tags": {
"tag1": "Messi",
"tag2": "Ronaldo",
"tag3": "Lebron"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"billingAccountId": "testBillingAccountId",
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Subscription/Policies/policyForBillingAccount",
"name": "testBillingAccountId",
"type": "Microsoft.Subscription/policies",
"properties": {
"serviceTenants": [
{
"tenantName": "testServiceTenant",
"tenantId": "b8ed2088-c458-4e77-bd61-9e048d96a1c0"
}
],
"allowTransfers": true
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.Subscription/createOperation/action",
"display": {
"provider": "Microsoft Subscription",
"resource": "Resources",
"operation": "Create a subscription"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"operationId": "e4b8d068-f574-462a-a76f-6fa0afc613c9",
"api-version": "2024-08-01-preview"
},
"responses": {
"202": {
"headers": {
"Location": "/providers/Microsoft.Subscription/subscriptionOperations/e4b8d068-f574-462a-a76f-6fa0afc613c9?api-version=2021-10-01",
"Retry-After": 8
}
},
"200": {
"body": {
"subscriptionLink": "/subscriptions/4df8d5c2-1b7e-4dd5-bc61-640704bde633"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "ebe4f8fd-d8b3-4867-bcf4-b2407edd196d",
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {
"body": {
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {
"body": {
"id": "providers/Microsoft.Subscription/policies/default",
"name": "default",
"type": "providers/Microsoft.Subscription/policies",
"properties": {
"policyId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
"blockSubscriptionsLeavingTenant": true,
"blockSubscriptionsIntoTenant": true,
"exemptedPrincipals": [
"e879cf0f-2b4d-5431-109a-f72fc9868693",
"9792da87-c97b-410d-a97d-27021ba09ce6"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2024-08-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "providers/Microsoft.Subscription/policies/default",
"name": "default",
"type": "providers/Microsoft.Subscription/policies",
"properties": {
"policyId": "291bba3f-e0a5-47bc-a099-3bdcb2a50a05",
"blockSubscriptionsLeavingTenant": true,
"blockSubscriptionsIntoTenant": true,
"exemptedPrincipals": [
"e879cf0f-2b4d-5431-109a-f72fc9868693",
"9792da87-c97b-410d-a97d-27021ba09ce6"
]
}
}
],
"nextLink": null
}
}
}
}
Loading