@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Security Center
@base https://management.azure.com
@version 2017-08-01-preview
@auth OAuth2
@endpoints 5
@toc subscriptions(5)

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings
@desc Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}
@desc Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set
@required {workspaceSettingName: any # Name of the security setting}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}
@desc creating settings about where we should store your security data and logs
@required {workspaceSettingName: any # Name of the security setting, workspaceSetting: map # Security data setting object}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}
@desc Settings about where we should store your security data and logs
@required {workspaceSettingName: any # Name of the security setting, workspaceSetting: map # Security data setting object}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}
@desc Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace
@required {workspaceSettingName: any # Name of the security setting}
@returns(204) No Content

@end
