{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-marketplaceordering-agreements","description":"MarketplaceOrdering.Agreements","version":"2015-06-01","base_url":"https://management.azure.com","endpoints":7,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api MarketplaceOrdering.Agreements\n@base https://management.azure.com\n@version 2015-06-01\n@auth OAuth2\n@common_fields {api-version: any # The API version to use for the request.}\n@endpoints 7\n@toc subscriptions(6), providers(1)\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current\n@desc Get marketplace terms.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., offerType: any # Offer Type, currently only virtualmachine type is supported., publisherId: any # Publisher identifier string of image being deployed., offerId: any # Offer identifier string of image being deployed., planId: any # Plan identifier string of image being deployed.}\n@returns(200) Terms returned successfully\n@errors {415: Unsupported Media Type}\n\n@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current\n@desc Save marketplace terms.\n@required {offerType: any # Offer Type, currently only virtualmachine type is supported., subscriptionId: any # The subscription ID that identifies an Azure subscription., publisherId: any # Publisher identifier string of image being deployed., offerId: any # Offer identifier string of image being deployed., planId: any # Plan identifier string of image being deployed., parameters: map # Parameters supplied to the Create Marketplace Terms operation.}\n@returns(200) OK. The request was successfully processed and the terms were accepted or acceptance revoked as per the request body.\n@errors {415: Unsupported Media Type}\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.MarketplaceOrdering/operations\n@desc Lists all of the available Microsoft.MarketplaceOrdering REST API operations.\n@returns(200) OK. The request has succeeded.\n@errors {415: Unsupported Media Type}\n\n@endgroup\n\n@group subscriptions\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/sign\n@desc Sign marketplace terms.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., publisherId: any # Publisher identifier string of image being deployed., offerId: any # Offer identifier string of image being deployed., planId: any # Plan identifier string of image being deployed.}\n@returns(200) OK. The request was successfully processed and the terms were accepted.\n@errors {415: Unsupported Media Type}\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/cancel\n@desc Cancel marketplace terms.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., publisherId: any # Publisher identifier string of image being deployed., offerId: any # Offer identifier string of image being deployed., planId: any # Plan identifier string of image being deployed.}\n@returns(200) OK. The request was successfully processed and the terms were rejected.\n@errors {415: Unsupported Media Type}\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}\n@desc Get marketplace agreement.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., publisherId: any # Publisher identifier string of image being deployed., offerId: any # Offer identifier string of image being deployed., planId: any # Plan identifier string of image being deployed.}\n@returns(200) Terms returned successfully\n@errors {415: Unsupported Media Type}\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements\n@desc List marketplace agreements in the subscription.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription.}\n@returns(200) Terms returned successfully\n@errors {415: Unsupported Media Type}\n\n@endgroup\n\n@end\n"}