StorageTargetsExtensions.CreateOrUpdate メソッド

定義

ストレージ ターゲットを作成または更新します。 この操作はいつでも許可されますが、キャッシュがダウンしているか異常な場合は、キャッシュが正常になるまで、ストレージ ターゲットの実際の作成または変更が遅れる可能性があります。

public static Microsoft.Azure.Management.StorageCache.Models.StorageTarget CreateOrUpdate (this Microsoft.Azure.Management.StorageCache.IStorageTargets operations, string resourceGroupName, string cacheName, string storageTargetName, Microsoft.Azure.Management.StorageCache.Models.StorageTarget storagetarget = default);
static member CreateOrUpdate : Microsoft.Azure.Management.StorageCache.IStorageTargets * string * string * string * Microsoft.Azure.Management.StorageCache.Models.StorageTarget -> Microsoft.Azure.Management.StorageCache.Models.StorageTarget
<Extension()>
Public Function CreateOrUpdate (operations As IStorageTargets, resourceGroupName As String, cacheName As String, storageTargetName As String, Optional storagetarget As StorageTarget = Nothing) As StorageTarget

パラメーター

operations
IStorageTargets

この拡張メソッドの操作グループ。

resourceGroupName
String

ターゲット リソース グループ。

cacheName
String

キャッシュの名前。 name の長さは 80 を超えてはいけません。char は [-0-9a-zA-Z_] char クラスからである必要があります。

storageTargetName
String

ストレージ ターゲットの名前。

storagetarget
StorageTarget

ストレージ ターゲットの定義を含むオブジェクト。

戻り値

適用対象