DiagnosticSettings interface
Interface representing a DiagnosticSettings.
Methods
create |
Creates or updates diagnostic settings for the specified resource. |
delete(string, string, Diagnostic |
Deletes existing diagnostic settings for the specified resource. |
get(string, string, Diagnostic |
Gets the active diagnostic settings for the specified resource. |
list(string, Diagnostic |
Gets the active diagnostic settings list for the specified resource. |
Method Details
createOrUpdate(string, string, DiagnosticSettingsResource, DiagnosticSettingsCreateOrUpdateOptionalParams)
Creates or updates diagnostic settings for the specified resource.
function createOrUpdate(resourceUri: string, name: string, parameters: DiagnosticSettingsResource, options?: DiagnosticSettingsCreateOrUpdateOptionalParams): Promise<DiagnosticSettingsResource>
Parameters
- resourceUri
-
string
The identifier of the resource.
- name
-
string
The name of the diagnostic setting.
- parameters
- DiagnosticSettingsResource
Parameters supplied to the operation.
The options parameters.
Returns
Promise<DiagnosticSettingsResource>
delete(string, string, DiagnosticSettingsDeleteOptionalParams)
Deletes existing diagnostic settings for the specified resource.
function delete(resourceUri: string, name: string, options?: DiagnosticSettingsDeleteOptionalParams): Promise<void>
Parameters
- resourceUri
-
string
The identifier of the resource.
- name
-
string
The name of the diagnostic setting.
The options parameters.
Returns
Promise<void>
get(string, string, DiagnosticSettingsGetOptionalParams)
Gets the active diagnostic settings for the specified resource.
function get(resourceUri: string, name: string, options?: DiagnosticSettingsGetOptionalParams): Promise<DiagnosticSettingsResource>
Parameters
- resourceUri
-
string
The identifier of the resource.
- name
-
string
The name of the diagnostic setting.
The options parameters.
Returns
Promise<DiagnosticSettingsResource>
list(string, DiagnosticSettingsListOptionalParams)
Gets the active diagnostic settings list for the specified resource.
function list(resourceUri: string, options?: DiagnosticSettingsListOptionalParams): Promise<DiagnosticSettingsResourceCollection>
Parameters
- resourceUri
-
string
The identifier of the resource.
The options parameters.
Returns
Promise<DiagnosticSettingsResourceCollection>