ManagementLocksOperationsExtensions.DeleteAtSubscriptionLevel 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.
Deletes the management lock at the subscription level.
public static void DeleteAtSubscriptionLevel (this Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations operations, string lockName);
static member DeleteAtSubscriptionLevel : Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations * string -> unit
<Extension()>
Public Sub DeleteAtSubscriptionLevel (operations As IManagementLocksOperations, lockName As String)
Parameters
- operations
- IManagementLocksOperations
The operations group for this extension method.
- lockName
- String
The name of lock to delete.
Remarks
To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
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