{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-apimanagement-apimsubscriptions","description":"ApiManagementClient","version":"2019-12-01-preview","base_url":"https://management.azure.com","endpoints":9,"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-12-01-preview\n@auth OAuth2\n@endpoints 9\n@toc subscriptions(9)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions\n@desc Lists all subscriptions of the API Management service instance.\n@optional {$filter: any # |   Field     |     Usage     |     Supported operators     |     Supported functions     ||-------------|-------------|-------------|-------------|| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | | displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | | stateComment | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | | ownerId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | | scope | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | | userId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | | productId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | | state | filter | eq |     | | user | expand |     |     |}\n@returns(200) A collection of the Subscription entities for the specified API Management service instance.\n\n@endpoint HEAD /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}\n@desc Gets the entity state (Etag) version of the apimanagement subscription specified by its identifier.\n@returns(200) Specified apimanagement subscription entity exists and current entity state version is present in the ETag header.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}\n@desc Gets the specified Subscription entity.\n@returns(200) The response body contains the specified Subscription entity.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}\n@desc Creates or updates the subscription of specified user to the specified product.\n@required {parameters: any # Create parameters.}\n@returns(200) The user already subscribed to the product.\n@returns(201) The user was successfully subscribed to the product.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}\n@desc Updates the details of a subscription specified by its identifier.\n@required {parameters: any # Update parameters.}\n@returns(204) The subscription details were successfully updated.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}\n@desc Deletes the specified subscription.\n@returns(200) The subscription details were successfully deleted.\n@returns(204) The subscription details were successfully deleted.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/regeneratePrimaryKey\n@desc Regenerates primary key of existing subscription of the API Management service instance.\n@returns(204) The primary key was successfully regenerated.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/regenerateSecondaryKey\n@desc Regenerates secondary key of existing subscription of the API Management service instance.\n@returns(204) The secondary key was successfully regenerated.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/listSecrets\n@desc Gets the subscription keys.\n@returns(200) The response body contains subscription keys.\n\n@end\n"}