-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.ManagedServices to add v…
…ersion preview/2022-01-01-preview (#17089) * Adds base for updating Microsoft.ManagedServices from version preview/2020-02-01-preview to version 2022-01-01-preview * Updates readme * Updates API version in new specs and examples * Add 2022 API swagger details * Prettier fix changes * Fix for operations API * Fix example ref * Further swagger fixes * Further swagger fixes * Changed system data definition ref to v3
- Loading branch information
Showing
20 changed files
with
2,386 additions
and
5 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
...oft.ManagedServices/preview/2022-01-01-preview/examples/DeleteRegistrationAssignment.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", | ||
"registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {}, | ||
"202": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...oft.ManagedServices/preview/2022-01-01-preview/examples/DeleteRegistrationDefinition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", | ||
"registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...gedServices/preview/2022-01-01-preview/examples/GetMarketplaceRegistrationDefinition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"parameters": { | ||
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", | ||
"marketplaceIdentifier": "publisher.product.planName.version", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc", | ||
"authorizations": [ | ||
{ | ||
"principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "Support User", | ||
"roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" | ||
}, | ||
{ | ||
"principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "User Access Administrator", | ||
"roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", | ||
"delegatedRoleDefinitionIds": [ | ||
"b24988ac-6180-42a0-ab88-20f7382dd24c" | ||
] | ||
} | ||
], | ||
"offerDisplayName": "Marketplace Test Offer", | ||
"publisherDisplayName": "Marketplace Test Publisher", | ||
"planDisplayName": "Test Plan" | ||
}, | ||
"plan": { | ||
"name": "test-plan", | ||
"product": "test", | ||
"publisher": "marketplace-test", | ||
"version": "1.0.0" | ||
}, | ||
"id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/marketplaceRegistrationDefinitions/marketplace-test.test.test-plan.1.0.0", | ||
"type": "Microsoft.ManagedServices/marketplaceRegistrationDefinitions", | ||
"name": "marketplace-test.test.test-plan.1.0.0" | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...review/2022-01-01-preview/examples/GetMarketplaceRegistrationDefinitionAtTenantScope.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"parameters": { | ||
"marketplaceIdentifier": "publisher.product.planName.version", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc", | ||
"authorizations": [ | ||
{ | ||
"principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "Support User", | ||
"roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" | ||
}, | ||
{ | ||
"principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "User Access Administrator", | ||
"roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", | ||
"delegatedRoleDefinitionIds": [ | ||
"b24988ac-6180-42a0-ab88-20f7382dd24c" | ||
] | ||
} | ||
], | ||
"eligibleAuthorizations": [], | ||
"offerDisplayName": "Marketplace Test Offer", | ||
"publisherDisplayName": "Marketplace Test Publisher", | ||
"planDisplayName": "Test Plan" | ||
}, | ||
"plan": { | ||
"name": "test-plan", | ||
"product": "test", | ||
"publisher": "marketplace-test", | ||
"version": "1.0.0" | ||
}, | ||
"id": "/providers/Microsoft.ManagedServices/marketplaceRegistrationDefinitions/marketplace-test.test.test-plan.1.0.0", | ||
"type": "Microsoft.ManagedServices/marketplaceRegistrationDefinitions", | ||
"name": "marketplace-test.test.test-plan.1.0.0" | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...edServices/preview/2022-01-01-preview/examples/GetMarketplaceRegistrationDefinitions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"parameters": { | ||
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", | ||
"$filter": "planIdentifier eq 'publisher.offerIdentifier.planName.version'", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc", | ||
"authorizations": [ | ||
{ | ||
"principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "Support User", | ||
"roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" | ||
}, | ||
{ | ||
"principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "User Access Administrator", | ||
"roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", | ||
"delegatedRoleDefinitionIds": [ | ||
"b24988ac-6180-42a0-ab88-20f7382dd24c" | ||
] | ||
} | ||
], | ||
"offerDisplayName": "Marketplace Test Offer", | ||
"publisherDisplayName": "Marketplace Test Publisher", | ||
"planDisplayName": "Test Plan" | ||
}, | ||
"plan": { | ||
"name": "test-plan", | ||
"product": "test", | ||
"publisher": "marketplace-test", | ||
"version": "1.0.0" | ||
}, | ||
"id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/marketplaceRegistrationDefinitions/marketplace-test.test.test-plan.1.0.0", | ||
"type": "Microsoft.ManagedServices/marketplaceRegistrationDefinitions", | ||
"name": "marketplace-test.test.test-plan.1.0.0" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...eview/2022-01-01-preview/examples/GetMarketplaceRegistrationDefinitionsAtTenantScope.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"parameters": { | ||
"$filter": "planIdentifier eq 'publisher.offerIdentifier.planName.version'", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc", | ||
"authorizations": [ | ||
{ | ||
"principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "Support User", | ||
"roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" | ||
}, | ||
{ | ||
"principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "User Access Administrator", | ||
"roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", | ||
"delegatedRoleDefinitionIds": [ | ||
"b24988ac-6180-42a0-ab88-20f7382dd24c" | ||
] | ||
} | ||
], | ||
"eligibleAuthorizations": [], | ||
"offerDisplayName": "Marketplace Test Offer", | ||
"publisherDisplayName": "Marketplace Test Publisher", | ||
"planDisplayName": "Test Plan" | ||
}, | ||
"plan": { | ||
"name": "test-plan", | ||
"product": "test", | ||
"publisher": "marketplace-test", | ||
"version": "1.0.0" | ||
}, | ||
"id": "/providers/Microsoft.ManagedServices/marketplaceRegistrationDefinitions/marketplace-test.test.test-plan.1.0.0", | ||
"type": "Microsoft.ManagedServices/marketplaceRegistrationDefinitions", | ||
"name": "marketplace-test.test.test-plan.1.0.0" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...-manager/Microsoft.ManagedServices/preview/2022-01-01-preview/examples/GetOperations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.ManagedServices/registrationDefinitions/read", | ||
"display": { | ||
"provider": "Microsoft Managed Services", | ||
"resource": "Managed Services Registration Definition", | ||
"operation": "List Managed Services Registration Definitions", | ||
"description": "Retrieves a list of Managed Services registration definitions." | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...Microsoft.ManagedServices/preview/2022-01-01-preview/examples/GetOperationsWithScope.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.ManagedServices/registrationDefinitions/read", | ||
"display": { | ||
"provider": "Microsoft Managed Services", | ||
"resource": "Managed Services Registration Definition", | ||
"operation": "List Managed Services Registration Definitions", | ||
"description": "Retrieves a list of Managed Services registration definitions." | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
...rosoft.ManagedServices/preview/2022-01-01-preview/examples/GetRegistrationAssignment.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"parameters": { | ||
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", | ||
"registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"properties": { | ||
"registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", | ||
"provisioningState": "Succeeded", | ||
"registrationDefinition": { | ||
"properties": { | ||
"description": "Test", | ||
"managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc", | ||
"registrationDefinitionName": "DefinitionName", | ||
"authorizations": [ | ||
{ | ||
"principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "Support User", | ||
"roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" | ||
}, | ||
{ | ||
"principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "User Access Administrator", | ||
"roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", | ||
"delegatedRoleDefinitionIds": [ | ||
"b24988ac-6180-42a0-ab88-20f7382dd24c" | ||
] | ||
} | ||
], | ||
"eligibleAuthorizations": [ | ||
{ | ||
"justInTimeAccessPolicy": { | ||
"multiFactorAuthProvider": "Azure", | ||
"maximumActivationDuration": "PT8H" | ||
}, | ||
"principalId": "3e0ed8c6-e902-4fc5-863c-e3ddbb2ae2a2", | ||
"principalIdDisplayName": "Support User", | ||
"roleDefinitionId": "ae349356-3a1b-4a5e-921d-050484c6347e" | ||
} | ||
], | ||
"provisioningState": "Succeeded", | ||
"manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854", | ||
"manageeTenantName": "test_test_aad_SbtFhyGiLHPFm", | ||
"managedByTenantName": "Contoso Corp." | ||
}, | ||
"plan": { | ||
"name": "addesai-plan", | ||
"product": "test", | ||
"publisher": "marketplace-test", | ||
"version": "1.0.0" | ||
}, | ||
"id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", | ||
"type": "Microsoft.ManagedServices/registrationDefinitions", | ||
"name": "26c128c2-fefa-4340-9bb1-8e081c90ada2" | ||
} | ||
}, | ||
"id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013", | ||
"type": "Microsoft.ManagedServices/registrationAssignments", | ||
"name": "484a7d5f-9729-4b87-bc9b-26610985a013" | ||
} | ||
} | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
...osoft.ManagedServices/preview/2022-01-01-preview/examples/GetRegistrationAssignments.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"parameters": { | ||
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea", | ||
"api-version": "2022-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", | ||
"provisioningState": "Succeeded", | ||
"registrationDefinition": { | ||
"properties": { | ||
"description": "Test", | ||
"registrationDefinitionName": "DefinitionName", | ||
"authorizations": [ | ||
{ | ||
"principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "Support User", | ||
"roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7" | ||
}, | ||
{ | ||
"principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc", | ||
"principalIdDisplayName": "User Access Administrator", | ||
"roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", | ||
"delegatedRoleDefinitionIds": [ | ||
"b24988ac-6180-42a0-ab88-20f7382dd24c" | ||
] | ||
} | ||
], | ||
"eligibleAuthorizations": [ | ||
{ | ||
"principalId": "700bddf4-2c3b-4cd1-bb02-6a2c622524f4", | ||
"roleDefinitionId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635", | ||
"justInTimeAccessPolicy": { | ||
"multiFactorAuthProvider": "Azure", | ||
"maximumActivationDuration": "PT8H" | ||
} | ||
} | ||
], | ||
"provisioningState": "Succeeded", | ||
"manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854", | ||
"manageeTenantName": "test_test_aad_SbtFhyGiLHPFm", | ||
"managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc", | ||
"managedByTenantName": "Contoso Corp." | ||
}, | ||
"plan": { | ||
"name": "addesai-plan", | ||
"product": "test", | ||
"publisher": "marketplace-test", | ||
"version": "1.0.0" | ||
}, | ||
"id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2", | ||
"type": "Microsoft.ManagedServices/registrationDefinitions", | ||
"name": "26c128c2-fefa-4340-9bb1-8e081c90ada2" | ||
} | ||
}, | ||
"id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013", | ||
"type": "Microsoft.ManagedServices/registrationAssignments", | ||
"name": "484a7d5f-9729-4b87-bc9b-26610985a013" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.