ArmNetworkModelFactory.TroubleshootingContent Method

Definition

public static Azure.ResourceManager.Network.Models.TroubleshootingContent TroubleshootingContent(Azure.Core.ResourceIdentifier targetResourceId = default, Azure.Core.ResourceIdentifier storageId = default, string storagePath = default);
static member TroubleshootingContent : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.Network.Models.TroubleshootingContent
Public Shared Function TroubleshootingContent (Optional targetResourceId As ResourceIdentifier = Nothing, Optional storageId As ResourceIdentifier = Nothing, Optional storagePath As String = Nothing) As TroubleshootingContent

Parameters

targetResourceId
ResourceIdentifier

The target resource to troubleshoot.

storageId
ResourceIdentifier

The ID for the storage account to save the troubleshoot result.

storagePath
String

The path to the blob to save the troubleshoot result in.

Returns

A new TroubleshootingContent instance for mocking.

Exceptions

storageId or storagePath is null.

Applies to