Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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,12 @@
{
"parameters": {
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
"registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
"api-version": "2021-11-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": "2021-11-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": "2021-11-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": "2021-11-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'",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

publisher.offerIdentifier.planName.version

would it be good if these match with the plan details in the response ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally I try to avoid changing existing examples but I guess it wouldn't be a bad idea as we are using GUIDs instead of placeholders

"api-version": "2021-11-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": "2021-11-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": "2021-11-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,83 @@
{
"parameters": {
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
"registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
"api-version": "2021-11-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",
"systemData": {
"createdBy": "testuser@outlook.com",
"createdByType": "User",
"createdAt": "2021-11-22T19:56:05.0703382Z",
"lastModifiedBy": "testuser@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-11-22T19:56:05.0703382Z"
}
}
},
"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",
"systemData": {
"createdBy": "testuser@outlook.com",
"createdByType": "User",
"createdAt": "2021-11-22T19:56:05.0703382Z",
"lastModifiedBy": "testuser@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-11-22T19:56:05.0703382Z"
}
}
}
}
}
Loading