Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MarketplaceOrdering] [S360] Add missing Operations example #20936

Merged
merged 3 commits into from
Oct 3, 2022
Merged
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
Expand Up @@ -157,6 +157,11 @@
}
}
},
"x-ms-examples": {
"List Operations": {
"$ref": "./examples/OperationsList.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
Expand Down Expand Up @@ -293,7 +298,7 @@
"operationId": "MarketplaceAgreements_List",
"description": "List marketplace agreements in the subscription.",
"x-ms-examples": {
"SetMarketplaceTerms": {
"ListMarketplaceTerms": {
"$ref": "./examples/ListMarketplaceTerms.json"
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"parameters": {
"api-version": "2021-01-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.MarketplaceOrdering/agreements/read",
"display": {
"provider": "Microsoft Marketplace Ordering",
"resource": "Agreement",
"operation": "Get all Agreements",
"description": "Return all agreements under given subscription"
}
},
{
"name": "Microsoft.MarketplaceOrdering/agreements/offers/plans/read",
"display": {
"provider": "Microsoft Marketplace Ordering",
"resource": "Agreement",
"operation": "Get Agreement",
"description": "Return an agreement for a given marketplace item"
}
},
{
"name": "Microsoft.MarketplaceOrdering/agreements/offers/plans/sign/action",
"display": {
"provider": "Microsoft Marketplace Ordering",
"resource": "Agreement",
"operation": "Sign Agreement",
"description": "Sign an agreement for a given marketplace item"
}
},
{
"name": "Microsoft.MarketplaceOrdering/agreements/offers/plans/cancel/action",
"display": {
"provider": "Microsoft Marketplace Ordering",
"resource": "Agreement",
"operation": "Cancel Agreement",
"description": "Cancel an agreement for a given marketplace item"
}
},
{
"name": "Microsoft.MarketplaceOrdering/offertypes/publishers/offers/plans/agreements/read",
"display": {
"provider": "Microsoft Marketplace Ordering",
"resource": "Agreement",
"operation": "Get Agreement for virtual machine",
"description": "Get an agreement for a given marketplace virtual machine item"
}
},
{
"name": "Microsoft.MarketplaceOrdering/offertypes/publishers/offers/plans/agreements/write",
"display": {
"provider": "Microsoft Marketplace Ordering",
"resource": "Agreement",
"operation": "Save Agreement for virtual machine",
"description": "Sign or Cancel an agreement for a given marketplace virtual machine item"
}
},
{
"name": "Microsoft.MarketplaceOrdering/operations/read",
"display": {
"provider": "Microsoft Marketplace Ordering",
"resource": "Agreement",
"operation": "List Operations",
"description": "List all possible operations in the API"
}
}
]
}
}
}
}