{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-apimanagement-apimpolicies","description":"ApiManagementClient","version":"2019-01-01","base_url":"https://management.azure.com","endpoints":5,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api ApiManagementClient\n@base https://management.azure.com\n@version 2019-01-01\n@auth OAuth2\n@endpoints 5\n@toc subscriptions(5)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies\n@desc Lists all the Global Policy definitions of the Api Management service.\n@returns(200) Returns an array of Policy Contracts.\n\n@endpoint HEAD /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}\n@desc Gets the entity state (Etag) version of the Global policy definition in the Api Management service.\n@returns(200) The current entity state version is present in the ETag header.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}\n@desc Get the Global policy definition of the Api Management service.\n@returns(200) Get the Global policy definition of the Api Management service.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}\n@desc Creates or updates the global policy configuration of the Api Management service.\n@required {parameters: any # The policy contents to apply.}\n@returns(200) Global policy configuration of the Api Management service was successfully updated.\n@returns(201) Global policy configuration was successfully created.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}\n@desc Deletes the global policy configuration of the Api Management Service.\n@returns(200) Policy was successfully removed\n@returns(204) Policy successfully removed by previous request or does not exist\n\n@end\n"}