次の方法で共有


ApplicationInsightsComponentResource.DeleteAPIKey メソッド

定義

Application Insights コンポーネントの API キーを削除します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/APIKeys/{keyId}
  • 操作IdAPIKeys_Delete
public virtual Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAPIKey> DeleteAPIKey (string keyId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAPIKey : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAPIKey>
override this.DeleteAPIKey : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAPIKey>
Public Overridable Function DeleteAPIKey (keyId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApplicationInsightsComponentAPIKey)

パラメーター

keyId
String

API キー ID。 これは Application Insights コンポーネント内で一意です。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

keyId は空の文字列であり、空でないと想定されていました。

keyId が null です。

適用対象