@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api azureactivedirectory
@base https://management.azure.com
@version 2017-04-01
@auth OAuth2
@common_fields {api-version: any # Client Api Version.}
@endpoints 6
@toc providers(6)

@endpoint GET /providers/microsoft.aadiam/operations
@desc Operation to return the list of available operations.
@returns(200) Successful request to get list of AadIam operations.

@endpoint GET /providers/microsoft.aadiam/diagnosticSettings
@desc Gets the active diagnostic settings list for AadIam.
@returns(200) Successful request to get more information about AadIam diagnostic settings

@endpoint GET /providers/microsoft.aadiam/diagnosticSettings/{name}
@desc Gets the active diagnostic setting for AadIam.
@required {name: any # The name of the diagnostic setting.}
@returns(200) Successful request to get more information about diagnostic setting

@endpoint PUT /providers/microsoft.aadiam/diagnosticSettings/{name}
@desc Creates or updates diagnostic settings for AadIam.
@required {parameters: map # Parameters supplied to the operation., name: any # The name of the diagnostic setting.}
@returns(200) Successful request to create AadIam diagnostic setting.

@endpoint DELETE /providers/microsoft.aadiam/diagnosticSettings/{name}
@desc Deletes existing diagnostic setting for AadIam.
@required {name: any # The name of the diagnostic setting.}
@returns(200) Successful request to remove a diagnostic setting
@returns(204) Successful request to remove a diagnostic setting

@endpoint GET /providers/microsoft.aadiam/diagnosticSettingsCategories
@desc Lists the diagnostic settings categories for AadIam.
@returns(200) Successful request to get list of diagnostic setting categories

@end
