Поделиться через


RoleInstanceDiagnosticManager Class

 

Class for remotely managing the configuration and diagnostic data for a given role instance.

Namespace:   Microsoft.WindowsAzure.Diagnostics.Management
Assembly:  Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Diagnostics.Management.RoleInstanceDiagnosticManager

Syntax

public class RoleInstanceDiagnosticManager
public ref class RoleInstanceDiagnosticManager 
type RoleInstanceDiagnosticManager = class end
Public Class RoleInstanceDiagnosticManager

Constructors

Name Description
System_CAPS_pubmethod RoleInstanceDiagnosticManager(String, String, String, String)

Initializes a new instance of the RoleInstanceDiagnosticManager class.

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static AllowInsecureRemoteConnections

This API is obsolete. Specifies that the role instance diagnostic manager may use non-secure (HTTP) connections to communicate with the storage account.

System_CAPS_pubproperty DeploymentId

Gets the deployment ID of this role instance.

System_CAPS_pubproperty RoleInstanceId

Gets the ID of this role instance.

System_CAPS_pubproperty RoleName

Gets the name of the role for this role instance.

Methods

Name Description
System_CAPS_pubmethod BeginOnDemandTransfer(DataBufferName)

Begins an on-demand transfer of the specified data buffer.

System_CAPS_pubmethod BeginOnDemandTransfer(DataBufferName, OnDemandTransferOptions)

Begins an on-demand transfer of the specified data buffer with the specified options.

System_CAPS_pubmethod CancelOnDemandTransfers(DataBufferName)

Cancel all on-demand transfers that are currently in progress, returning the request ID for each transfer.

System_CAPS_pubmethod EndOnDemandTransfer(Guid)

Stops an on-demand transfer based on its request ID.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetActiveTransfers()

Returns the set of active transfers, with associated transfer information.

System_CAPS_pubmethod GetCurrentConfiguration()

Gets the current diagnostic monitor configuration for a role instance.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SetCurrentConfiguration(DiagnosticMonitorConfiguration)

Sets the configuration for the diagnostic monitor.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

The RoleInstanceDiagnosticManager class represents the current diagnostic manager for a role instance. The methods and properties of this class enable you to configure on-demand transfers and get information about a deployment and its roles.

Warning

This API is not supported in Azure SDK versions 2.5 and higher. Instead, use the diagnostics.wadcfg XML configuration file. For more information, see Collect Logging Data by Using Azure Diagnostics.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Diagnostics.Management Namespace

Return to top