DiagnosticsOperations interface
Interface representing a Diagnostics operations.
Properties
| begin |
|
| begin |
|
| create | Creates a diagnostic for the specific resource using solutionId from discovery solutions. |
| get | Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic. |
Property Details
beginCreate
Warning
This API is now deprecated.
use create instead
beginCreate: (scope: string, diagnosticsResourceName: string, options?: DiagnosticsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<DiagnosticResource>, DiagnosticResource>>
Property Value
(scope: string, diagnosticsResourceName: string, options?: DiagnosticsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<DiagnosticResource>, DiagnosticResource>>
beginCreateAndWait
Warning
This API is now deprecated.
use create instead
beginCreateAndWait: (scope: string, diagnosticsResourceName: string, options?: DiagnosticsCreateOptionalParams) => Promise<DiagnosticResource>
Property Value
(scope: string, diagnosticsResourceName: string, options?: DiagnosticsCreateOptionalParams) => Promise<DiagnosticResource>
create
Creates a diagnostic for the specific resource using solutionId from discovery solutions.
Diagnostics are powerful solutions that access product resources or other relevant data and provide the root cause of the issue and the steps to address the issue.
create: (scope: string, diagnosticsResourceName: string, options?: DiagnosticsCreateOptionalParams) => PollerLike<OperationState<DiagnosticResource>, DiagnosticResource>
Property Value
(scope: string, diagnosticsResourceName: string, options?: DiagnosticsCreateOptionalParams) => PollerLike<OperationState<DiagnosticResource>, DiagnosticResource>
get
Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
get: (scope: string, diagnosticsResourceName: string, options?: DiagnosticsGetOptionalParams) => Promise<DiagnosticResource>
Property Value
(scope: string, diagnosticsResourceName: string, options?: DiagnosticsGetOptionalParams) => Promise<DiagnosticResource>