Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.ManagedServices to add v…
Browse files Browse the repository at this point in the history
…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
skayani authored Feb 8, 2022
1 parent 6a6928f commit f671a8a
Show file tree
Hide file tree
Showing 20 changed files with 2,386 additions and 5 deletions.
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": {}
}
}
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": {}
}
}
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"
}
}
}
}
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"
}
}
}
}
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"
}
]
}
}
}
}
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"
}
]
}
}
}
}
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."
}
}
]
}
}
}
}
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."
}
}
]
}
}
}
}
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"
}
}
}
}
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"
}
]
}
}
}
}
Loading

0 comments on commit f671a8a

Please sign in to comment.