SelfHelpDiagnosticCollection Class

Definition

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
SelfHelpDiagnosticCollection

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/>

  • Request Path: /{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}
  • Operation Id: Diagnostics_Create
  • Default Api Version: 2024-03-01-preview
  • Resource: SelfHelpDiagnosticResource
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/>

  • Request Path: /{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}
  • Operation Id: Diagnostics_Create
  • Default Api Version: 2024-03-01-preview
  • Resource: SelfHelpDiagnosticResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}
  • Operation Id: Diagnostics_Get
  • Default Api Version: 2024-03-01-preview
  • Resource: SelfHelpDiagnosticResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}
  • Operation Id: Diagnostics_Get
  • Default Api Version: 2024-03-01-preview
  • Resource: SelfHelpDiagnosticResource
Get(String, CancellationToken)

Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.

  • Request Path: /{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}
  • Operation Id: Diagnostics_Get
  • Default Api Version: 2024-03-01-preview
  • Resource: SelfHelpDiagnosticResource
GetAsync(String, CancellationToken)

Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.

  • Request Path: /{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}
  • Operation Id: Diagnostics_Get
  • Default Api Version: 2024-03-01-preview
  • Resource: SelfHelpDiagnosticResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}
  • Operation Id: Diagnostics_Get
  • Default Api Version: 2024-03-01-preview
  • Resource: SelfHelpDiagnosticResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}
  • Operation Id: Diagnostics_Get
  • Default Api Version: 2024-03-01-preview
  • Resource: SelfHelpDiagnosticResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to