LoggerContract コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
LoggerContract() |
LoggerContract クラスの新しいインスタンスを初期化します。 |
LoggerContract(String, String, String, String, String, IDictionary<String,String>, Nullable<Boolean>, String) |
LoggerContract クラスの新しいインスタンスを初期化します。 |
LoggerContract()
LoggerContract クラスの新しいインスタンスを初期化します。
public LoggerContract();
Public Sub New ()
適用対象
LoggerContract(String, String, String, String, String, IDictionary<String,String>, Nullable<Boolean>, String)
LoggerContract クラスの新しいインスタンスを初期化します。
public LoggerContract(string loggerType, string id = default, string name = default, string type = default, string description = default, System.Collections.Generic.IDictionary<string,string> credentials = default, bool? isBuffered = default, string resourceId = default);
new Microsoft.Azure.Management.ApiManagement.Models.LoggerContract : string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * string -> Microsoft.Azure.Management.ApiManagement.Models.LoggerContract
Public Sub New (loggerType As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional description As String = Nothing, Optional credentials As IDictionary(Of String, String) = Nothing, Optional isBuffered As Nullable(Of Boolean) = Nothing, Optional resourceId As String = Nothing)
パラメーター
- loggerType
- String
ロガーの種類。 使用可能な値は、'azureEventHub'、'applicationInsights'、'azureMonitor' です。
- id
- String
リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
リソースの名前
- type
- String
リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"
- description
- String
ロガーの説明。
- credentials
- IDictionary<String,String>
azureEventHub ロガーのイベント ハブの名前と SendRule 接続文字列。 applicationInsights ロガーのインストルメンテーション キー。
- resourceId
- String
ログ ターゲットの Azure リソース ID (Azure Event Hub リソースまたは Azure アプリケーション Insights リソース)。
適用対象
Azure SDK for .NET