-
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.
[MarketplaceOrdering] [S360] Add missing Operations example (#20936)
* Adding example for MarketplaceOrdering * fix operations list example name \ * fix typo
- Loading branch information
1 parent
7f3cad1
commit a3ba4df
Showing
2 changed files
with
82 additions
and
1 deletion.
There are no files selected for viewing
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
76 changes: 76 additions & 0 deletions
76
...urce-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/OperationsList.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,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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |