-
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.
Remove scope from marketplace registration definitions operations (#1…
…2397) * Remove scope from marketplace registration definitions operations * Swagger fixes * Changed operation ids * Validation fixes * Unique x-ms-example names * Name fix for examples * Removed sub from example responses * Added empty eligibleAuths to 2020-02-01-preview MRD examples
- Loading branch information
Showing
6 changed files
with
328 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
...review/2020-02-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": "2020-02-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
...eview/2020-02-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": "2020-02-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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
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
42 changes: 42 additions & 0 deletions
42
...ervices/stable/2019-09-01/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,42 @@ | ||
{ | ||
"parameters": { | ||
"marketplaceIdentifier": "publisher.product.planName.version", | ||
"api-version": "2019-09-01" | ||
}, | ||
"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": "/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" | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...rvices/stable/2019-09-01/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,46 @@ | ||
{ | ||
"parameters": { | ||
"$filter": "planIdentifier eq 'publisher.offerIdentifier.planName.version'", | ||
"api-version": "2019-09-01" | ||
}, | ||
"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": "/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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
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