SelfHelpDiagnosticCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing a collection of SelfHelpDiagnosticResource and their operations. Each SelfHelpDiagnosticResource in the collection will belong to the same instance of ArmResource. To get a SelfHelpDiagnosticCollection instance call the GetSelfHelpDiagnostics method from an instance of ArmResource.
public class SelfHelpDiagnosticCollection : Azure.ResourceManager.ArmCollection
type SelfHelpDiagnosticCollection = class
inherit ArmCollection
Public Class SelfHelpDiagnosticCollection
Inherits ArmCollection
- Inheritance
Constructors
SelfHelpDiagnosticCollection() |
Initializes a new instance of the SelfHelpDiagnosticCollection class for mocking. |
Properties
Client |
Gets the ArmClient this resource client was created from. (Inherited from ArmCollection) |
Diagnostics |
Gets the diagnostic options for this resource client. (Inherited from ArmCollection) |
Endpoint |
Gets the base uri for this resource client. (Inherited from ArmCollection) |
Id |
Gets the resource identifier. (Inherited from ArmCollection) |
Pipeline |
Gets the pipeline for this resource client. (Inherited from ArmCollection) |
Methods
CreateOrUpdate(WaitUntil, String, SelfHelpDiagnosticData, CancellationToken) |
Creates a diagnostic for the specific resource using solutionId from discovery solutions. <br/>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.<br/><br/>
|
CreateOrUpdateAsync(WaitUntil, String, SelfHelpDiagnosticData, CancellationToken) |
Creates a diagnostic for the specific resource using solutionId from discovery solutions. <br/>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.<br/><br/>
|
Exists(String, CancellationToken) |
Checks to see if the resource exists in azure.
|
ExistsAsync(String, CancellationToken) |
Checks to see if the resource exists in azure.
|
Get(String, CancellationToken) |
Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
|
GetAsync(String, CancellationToken) |
Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
|
GetIfExists(String, CancellationToken) |
Tries to get details for this resource from the service.
|
GetIfExistsAsync(String, CancellationToken) |
Tries to get details for this resource from the service.
|
TryGetApiVersion(ResourceType, String) |
Gets the api version override if it has been set for the current client options. (Inherited from ArmCollection) |
Applies to
Azure SDK for .NET