MockableSelfHelpArmClient.GetTroubleshooterResource Method

Definition

Overloads

GetTroubleshooterResource(ResourceIdentifier)

Gets an object representing a TroubleshooterResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a TroubleshooterResourceResourceIdentifier from its components.

GetTroubleshooterResource(ResourceIdentifier, String, CancellationToken)

Gets troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed.<br/> Get API is used to retrieve the result of a Troubleshooter instance, which includes the status and result of each step in the Troubleshooter workflow. This API requires the Troubleshooter resource name that was created using the Create API.

  • Request Path: /{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}
  • Operation Id: Troubleshooters_Get

GetTroubleshooterResource(ResourceIdentifier)

Source:
MockableSelfHelpArmClient.cs

Gets an object representing a TroubleshooterResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a TroubleshooterResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.SelfHelp.TroubleshooterResource GetTroubleshooterResource (Azure.Core.ResourceIdentifier id);
abstract member GetTroubleshooterResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SelfHelp.TroubleshooterResource
override this.GetTroubleshooterResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SelfHelp.TroubleshooterResource
Public Overridable Function GetTroubleshooterResource (id As ResourceIdentifier) As TroubleshooterResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a TroubleshooterResource object.

Applies to

GetTroubleshooterResource(ResourceIdentifier, String, CancellationToken)

Source:
MockableSelfHelpArmClient.cs

Gets troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed.<br/> Get API is used to retrieve the result of a Troubleshooter instance, which includes the status and result of each step in the Troubleshooter workflow. This API requires the Troubleshooter resource name that was created using the Create API.

  • Request Path: /{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}
  • Operation Id: Troubleshooters_Get
public virtual Azure.Response<Azure.ResourceManager.SelfHelp.TroubleshooterResource> GetTroubleshooterResource (Azure.Core.ResourceIdentifier scope, string troubleshooterName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTroubleshooterResource : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SelfHelp.TroubleshooterResource>
override this.GetTroubleshooterResource : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SelfHelp.TroubleshooterResource>
Public Overridable Function GetTroubleshooterResource (scope As ResourceIdentifier, troubleshooterName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of TroubleshooterResource)

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

troubleshooterName
String

Troubleshooter resource Name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

troubleshooterName is null.

troubleshooterName is an empty string, and was expected to be non-empty.

Applies to