ManagementLockOperationsExtensions.CreateOrUpdateAtResourceLevel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create or update a management lock at the resource level or any level below resource.
public static Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult CreateOrUpdateAtResourceLevel(this Microsoft.Azure.Management.Resources.IManagementLockOperations operations, string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, string lockName, Microsoft.Azure.Management.Resources.Models.ManagementLockProperties parameters);
static member CreateOrUpdateAtResourceLevel : Microsoft.Azure.Management.Resources.IManagementLockOperations * string * Microsoft.Azure.ResourceIdentity * string * Microsoft.Azure.Management.Resources.Models.ManagementLockProperties -> Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult
<Extension()>
Public Function CreateOrUpdateAtResourceLevel (operations As IManagementLockOperations, resourceGroupName As String, identity As ResourceIdentity, lockName As String, parameters As ManagementLockProperties) As ManagementLockReturnResult
Parameters
- operations
- IManagementLockOperations
Reference to the Microsoft.Azure.Management.Resources.IManagementLockOperations.
- resourceGroupName
- String
Required. The name of the resource group.
- identity
- Microsoft.Azure.ResourceIdentity
Required. Resource identity.
- lockName
- String
Required. The name of lock.
- parameters
- ManagementLockProperties
Required. Create or update management lock parameters.
Returns
Management lock information.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET