InsightsClient Constructor (SubscriptionCloudCredentials, Uri, HttpClient)
Initializes a new instance of the InsightsClient class.
Namespace: Microsoft.Azure.Insights
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Syntax
public InsightsClient(
SubscriptionCloudCredentials credentials,
Uri baseUri,
HttpClient httpClient
)
public:
InsightsClient(
SubscriptionCloudCredentials^ credentials,
Uri^ baseUri,
HttpClient^ httpClient
)
new :
credentials:SubscriptionCloudCredentials *
baseUri:Uri *
httpClient:HttpClient -> InsightsClient
Public Sub New (
credentials As SubscriptionCloudCredentials,
baseUri As Uri,
httpClient As HttpClient
)
Parameters
credentials
Type: Microsoft.WindowsAzure.SubscriptionCloudCredentialsRequired. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
baseUri
Type: System.UriRequired. Gets the URI used as the base for all cloud service requests.
httpClient
Type: System.Net.Http.HttpClientThe Http client
See Also
InsightsClient Overload
InsightsClient Class
Microsoft.Azure.Insights Namespace
Return to top