ManagementLockOperationsExtensions.CreateOrUpdateAtSubscriptionLevelAsync 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 subscription level.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult> CreateOrUpdateAtSubscriptionLevelAsync (this Microsoft.Azure.Management.Resources.IManagementLockOperations operations, string lockName, Microsoft.Azure.Management.Resources.Models.ManagementLockProperties parameters);
static member CreateOrUpdateAtSubscriptionLevelAsync : Microsoft.Azure.Management.Resources.IManagementLockOperations * string * Microsoft.Azure.Management.Resources.Models.ManagementLockProperties -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockReturnResult>
<Extension()>
Public Function CreateOrUpdateAtSubscriptionLevelAsync (operations As IManagementLockOperations, lockName As String, parameters As ManagementLockProperties) As Task(Of ManagementLockReturnResult)
Parameters
- operations
- IManagementLockOperations
Reference to the Microsoft.Azure.Management.Resources.IManagementLockOperations.
- lockName
- String
Required. The name of lock.
- parameters
- ManagementLockProperties
Required. The management lock parameters.
Returns
Management lock information.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET