@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api MonitorManagementClient
@base https://management.azure.com
@version 2016-09-01
@auth OAuth2
@endpoints 3
@toc {resourceUri}(3)

@endpoint GET /{resourceUri}/providers/microsoft.insights/diagnosticSettings/service
@desc Gets the active diagnostic settings for the specified resource. **WARNING**: This method will be deprecated in future releases.
@required {resourceUri: any # The identifier of the resource.}
@returns(200) Successful request to get more information about service diagnostic setting

@endpoint PUT /{resourceUri}/providers/microsoft.insights/diagnosticSettings/service
@desc Create or update new diagnostic settings for the specified resource. **WARNING**: This method will be deprecated in future releases.
@required {resourceUri: any # The identifier of the resource., parameters: map # Parameters supplied to the operation.}
@returns(200) Successful request to create a service diagnostic setting

@endpoint PATCH /{resourceUri}/providers/microsoft.insights/diagnosticSettings/service
@desc Updates an existing ServiceDiagnosticSettingsResource. To update other fields use the CreateOrUpdate method. **WARNING**: This method will be deprecated in future releases.
@required {resourceUri: any # The identifier of the resource., serviceDiagnosticSettingsResource: any # Parameters supplied to the operation.}
@returns(200) An existing service diagnostics setting resource was successfully updated.

@end
