ManagementLocksOperationsExtensions.CreateOrUpdateAtResourceGroupLevel メソッド

定義

リソース グループ レベルで管理ロックを作成または更新します。

public static Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject CreateOrUpdateAtResourceGroupLevel (this Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations operations, string resourceGroupName, string lockName, Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject parameters);
static member CreateOrUpdateAtResourceGroupLevel : Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations * string * string * Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject -> Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject
<Extension()>
Public Function CreateOrUpdateAtResourceGroupLevel (operations As IManagementLocksOperations, resourceGroupName As String, lockName As String, parameters As ManagementLockObject) As ManagementLockObject

パラメーター

operations
IManagementLocksOperations

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

resourceGroupName
String

ロックするリソース グループの名前。

lockName
String

ロック名。 ロック名には、最大 260 文字を指定できます。 、%、、:、&?、/、またはコントロール文字を含<>めることはできません。

parameters
ManagementLockObject

管理ロック パラメーター。

戻り値

注釈

親スコープでロックを適用すると、すべての子リソースは同じロックを継承します。 管理ロックを作成するには、Microsoft.Authorization/* または Microsoft.Authorization/locks/* アクションにアクセスできる必要があります。 組み込みロールのうち、所有者とユーザー アクセス管理者にのみこれらのアクションが許可されています。

適用対象