Compartilhar via


InsightsClient Class

 

Namespace:   Microsoft.Azure.Insights
Assembly:  Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Common.ServiceClient<T>
    Microsoft.Azure.Insights.InsightsClient

Syntax

public class InsightsClient : ServiceClient<InsightsClient>, 
    IInsightsClient, IDisposable
public ref class InsightsClient : ServiceClient<InsightsClient^>, 
    IInsightsClient, IDisposable
type InsightsClient = 
    class
        inherit ServiceClient<InsightsClient>
        interface IInsightsClient
        interface IDisposable
    end
Public Class InsightsClient
    Inherits ServiceClient(Of InsightsClient)
    Implements IInsightsClient, IDisposable

Constructors

Name Description
System_CAPS_pubmethod InsightsClient(SubscriptionCloudCredentials)

Initializes a new instance of the InsightsClient class.

System_CAPS_pubmethod InsightsClient(SubscriptionCloudCredentials, HttpClient)

Initializes a new instance of the InsightsClient class.

System_CAPS_pubmethod InsightsClient(SubscriptionCloudCredentials, Uri)

Initializes a new instance of the InsightsClient class.

System_CAPS_pubmethod InsightsClient(SubscriptionCloudCredentials, Uri, HttpClient)

Initializes a new instance of the InsightsClient class.

Properties

Name Description
System_CAPS_pubproperty ApiVersion

Gets the API version.

System_CAPS_pubproperty BaseUri

Gets the URI used as the base for all cloud service requests.

System_CAPS_pubproperty Cache

System_CAPS_pubproperty Credentials

Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

System_CAPS_pubproperty EventOperations

Microsoft Azure event logs and summaries can be retrieved using these operations

System_CAPS_pubproperty HttpClient

(Inherited from ServiceClient<T>.)

System_CAPS_protproperty HttpMessageHandler

(Inherited from ServiceClient<T>.)

System_CAPS_pubproperty LongRunningOperationInitialTimeout

Gets or sets the initial timeout for Long Running Operations.

System_CAPS_pubproperty LongRunningOperationRetryTimeout

Gets or sets the retry timeout for Long Running Operations.

System_CAPS_pubproperty MetricDefinitionOperations

Operations for metric definitions.

System_CAPS_pubproperty MetricOperations

Operations for metric values.

System_CAPS_pubproperty UsageMetricOperations

System_CAPS_pubproperty UserAgent

(Inherited from ServiceClient<T>.)

Methods

Name Description
System_CAPS_protmethod Clone(ServiceClient<InsightsClient>)

Clones properties from current instance to another InsightsClient instance(Overrides ServiceClient<T>.Clone(ServiceClient<T>).)

System_CAPS_pubmethod Dispose()

(Inherited from ServiceClient<T>.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod InitializeHttpClient(HttpMessageHandler)

(Inherited from ServiceClient<T>.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod WithHandler(DelegatingHandler)

(Inherited from ServiceClient<T>.)

System_CAPS_pubmethod WithHandler(DelegatingHandler)

Get an instance of the InsightsClient class that uses the handler while initiating web requests.

System_CAPS_protmethod WithHandler(ServiceClient<T>, DelegatingHandler)

(Inherited from ServiceClient<T>.)

System_CAPS_pubmethod WithHandlers(IEnumerable<DelegatingHandler>)

(Inherited from ServiceClient<T>.)

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.Azure.Insights Namespace

Return to top