KustoDatabaseCollection.CreateOrUpdate メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
CreateOrUpdate(WaitUntil, String, KustoDatabaseData, CancellationToken) |
データベースを作成または更新します。
|
CreateOrUpdate(WaitUntil, String, KustoDatabaseData, Nullable<KustoDatabaseCallerRole>, CancellationToken) |
データベースを作成または更新します。
|
CreateOrUpdate(WaitUntil, String, KustoDatabaseData, CancellationToken)
データベースを作成または更新します。
- 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
- 操作IdDatabases_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.KustoDatabaseResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string databaseName, Azure.ResourceManager.Kusto.KustoDatabaseData data, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Kusto.KustoDatabaseData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.KustoDatabaseResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Kusto.KustoDatabaseData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.KustoDatabaseResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, databaseName As String, data As KustoDatabaseData, cancellationToken As CancellationToken) As ArmOperation(Of KustoDatabaseResource)
パラメーター
- waitUntil
- WaitUntil
Completed メソッドがサービスで実行時間の長い操作が完了するまで戻るのを待機する必要がある場合。 Started 操作を開始した後に が返される場合は 。 実行時間の長い操作の詳細については、「 Azure.Core Long-Running 操作のサンプル」を参照してください。
- databaseName
- String
Kusto クラスター内のデータベースの名前。
- data
- KustoDatabaseData
CreateOrUpdate 操作に指定されたデータベース パラメーター。
- cancellationToken
- CancellationToken
使用する取り消しトークン。
戻り値
例外
databaseName
は空の文字列であり、空でないと想定されていました。
databaseName
または data
が null です。
適用対象
CreateOrUpdate(WaitUntil, String, KustoDatabaseData, Nullable<KustoDatabaseCallerRole>, CancellationToken)
データベースを作成または更新します。
- 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
- 操作IdDatabases_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.KustoDatabaseResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string databaseName, Azure.ResourceManager.Kusto.KustoDatabaseData data, Azure.ResourceManager.Kusto.Models.KustoDatabaseCallerRole? callerRole = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Kusto.KustoDatabaseData * Nullable<Azure.ResourceManager.Kusto.Models.KustoDatabaseCallerRole> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.KustoDatabaseResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Kusto.KustoDatabaseData * Nullable<Azure.ResourceManager.Kusto.Models.KustoDatabaseCallerRole> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.KustoDatabaseResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, databaseName As String, data As KustoDatabaseData, Optional callerRole As Nullable(Of KustoDatabaseCallerRole) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of KustoDatabaseResource)
パラメーター
- waitUntil
- WaitUntil
Completed メソッドがサービスで実行時間の長い操作が完了するまで戻るのを待機する必要がある場合。 Started 操作を開始した後に が返される場合は 。 実行時間の長い操作の詳細については、「 Azure.Core Long-Running 操作のサンプル」を参照してください。
- databaseName
- String
Kusto クラスター内のデータベースの名前。
- data
- KustoDatabaseData
CreateOrUpdate 操作に指定されたデータベース パラメーター。
- callerRole
- Nullable<KustoDatabaseCallerRole>
既定では、データベースに対して操作を実行するすべてのユーザーが、そのデータベースに対する管理になります。 このプロパティを使用すると、呼び出し元は管理者リストから呼び出し元を除外できます。
- cancellationToken
- CancellationToken
使用する取り消しトークン。
戻り値
例外
databaseName
は空の文字列であり、空でないと想定されていました。
databaseName
または data
が null です。
適用対象
Azure SDK for .NET