{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-softwareplan","description":"Software Plan RP","version":"2019-12-01","base_url":"https://management.azure.com","endpoints":8,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Software Plan RP\n@base https://management.azure.com\n@version 2019-12-01\n@auth OAuth2\n@common_fields {api-version: any # The api-version to be used by the service}\n@endpoints 8\n@toc subscriptions(1), {scope}(7)\n\n@group subscriptions\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.SoftwarePlan/register\n@desc Register to Microsoft.SoftwarePlan resource provider.\n@returns(204) OK - Microsoft.SoftwarePlan is registered\n\n@endgroup\n\n@group {scope}\n@endpoint GET /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits\n@desc Get all hybrid use benefits associated with an ARM resource.\n@required {scope: any # The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now}\n@optional {$filter: any # Supports applying filter on the type of SKU}\n@returns(200) OK - returns an array of plans at that scope\n\n@endpoint PUT /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}\n@desc Create a new hybrid use benefit under a given scope\n@required {scope: any # The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now, planId: any # This is a unique identifier for a plan. Should be a guid., body: any # Request body for creating a hybrid use benefit}\n@returns(200) OK - returns the plan that is created\n\n@endpoint PATCH /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}\n@desc Updates an existing hybrid use benefit\n@required {scope: any # The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now, planId: any # This is a unique identifier for a plan. Should be a guid., body: any # Request body for creating a hybrid use benefit}\n@returns(200) OK - successfully updated the given hybrid use benefit\n\n@endpoint GET /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}\n@desc Gets a given plan ID\n@required {scope: any # The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now, planId: any # This is a unique identifier for a plan. Should be a guid.}\n@returns(200) OK - returns the plan that is created\n\n@endpoint DELETE /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}\n@desc Deletes a given plan ID\n@required {scope: any # The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now, planId: any # This is a unique identifier for a plan. Should be a guid.}\n@returns(200) OK - successfully deleted the given plan\n@returns(204) OK - there was no plan to delete\n\n@endpoint GET /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}/revisions\n@desc Gets the version history of a hybrid use benefit\n@required {scope: any # The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now, planId: any # This is a unique identifier for a plan. Should be a guid.}\n@returns(200) OK - returns an array of plans ordered by revision\n\n@endpoint GET /{scope}/providers/Microsoft.SoftwarePlan/operations\n@desc Get operations.\n@required {scope: any # The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now}\n@returns(200) List all the operations.\n\n@endgroup\n\n@end\n"}