你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MetricsAdvisorKeyCredential Class

Definition

Key credential used to authenticate to the Metrics Advisor service. It provides the ability to update its keys without creating a new client.

public class MetricsAdvisorKeyCredential
type MetricsAdvisorKeyCredential = class
Public Class MetricsAdvisorKeyCredential
Inheritance
MetricsAdvisorKeyCredential

Constructors

Name Description
MetricsAdvisorKeyCredential(String, String)

Initializes a new instance of the MetricsAdvisorKeyCredential class.

Methods

Name Description
Update(String, String)

Updates the subscription and API keys. This is intended to be used when you've regenerated your keys and want to update long lived clients.

Applies to