@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ApiManagementClient
@base https://management.azure.com
@version 2019-12-01-preview
@auth OAuth2
@endpoints 7
@toc subscriptions(7)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues
@desc Lists a collection of NamedValues defined within a service instance.
@optional {$filter: any # |   Field     |     Usage     |     Supported operators     |     Supported functions     ||-------------|-------------|-------------|-------------|| tags | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith, any, all | | displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |}
@returns(200) A Collection of the NamedValue entities for the specified API Management service instance.

@endpoint HEAD /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
@desc Gets the entity state (Etag) version of the NamedValue specified by its identifier.
@returns(200) Specified NamedValue entity exists and current entity state version is present in the ETag header.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
@desc Gets the details of the NamedValue specified by its identifier.
@returns(200) The response body contains the specified NamedValue entity.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
@desc Creates or updates a NamedValue.
@required {parameters: any # Create parameters.}
@returns(200) NamedValue was successfully updated.
@returns(201) NamedValue was successfully created.
@returns(202) Request to create or update NamedValue was accepted. Location header contains the URL where the status of the long running operation can be checked.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
@desc Updates the specific NamedValue.
@required {parameters: any # Update parameters.}
@returns(200) NamedValue was successfully updated.
@returns(202) Request to update NamedValue was accepted. Location header contains the URL where the status of the long running operation can be checked.
@returns(204) NamedValue was successfully updated.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
@desc Deletes specific NamedValue from the API Management service instance.
@returns(200) NamedValue was successfully deleted.
@returns(204) NamedValue was successfully deleted.

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}/listValue
@desc Gets the secret value of the NamedValue.
@returns(200) The response body contains secret value.

@end
