ManagementLocksClient Interface
Implements
public interface ManagementLocksClient
extends InnerSupportsGet<ManagementLockObjectInner>, InnerSupportsListing<ManagementLockObjectInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ManagementLocksClient.
Method Summary
Method Details
createOrUpdateAtResourceGroupLevel
public abstract ManagementLockObjectInner createOrUpdateAtResourceGroupLevel(String resourceGroupName, String lockName, ManagementLockObjectInner parameters)
Creates or updates a management lock at the resource group level. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateAtResourceGroupLevelAsync
public abstract Mono
Creates or updates a management lock at the resource group level. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateAtResourceGroupLevelWithResponse
public abstract Response
Creates or updates a management lock at the resource group level. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateAtResourceGroupLevelWithResponseAsync
public abstract Mono
Creates or updates a management lock at the resource group level. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateAtResourceLevel
public abstract ManagementLockObjectInner createOrUpdateAtResourceLevel(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName, ManagementLockObjectInner parameters)
Creates or updates a management lock at the resource level or any level below the resource. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateAtResourceLevelAsync
public abstract Mono
Creates or updates a management lock at the resource level or any level below the resource. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateAtResourceLevelWithResponse
public abstract Response
Creates or updates a management lock at the resource level or any level below the resource. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateAtResourceLevelWithResponseAsync
public abstract Mono
Creates or updates a management lock at the resource level or any level below the resource. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateAtSubscriptionLevel
public abstract ManagementLockObjectInner createOrUpdateAtSubscriptionLevel(String lockName, ManagementLockObjectInner parameters)
Creates or updates a management lock at the subscription level. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateAtSubscriptionLevelAsync
public abstract Mono
Creates or updates a management lock at the subscription level. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateAtSubscriptionLevelWithResponse
public abstract Response
Creates or updates a management lock at the subscription level. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateAtSubscriptionLevelWithResponseAsync
public abstract Mono
Creates or updates a management lock at the subscription level. When you apply a lock at a parent scope, all child resources inherit the same lock. To create 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.
Parameters:
Returns:
createOrUpdateByScope
public abstract ManagementLockObjectInner createOrUpdateByScope(String scope, String lockName, ManagementLockObjectInner parameters)
Create or update a management lock by scope.
Parameters:
Returns:
createOrUpdateByScopeAsync
public abstract Mono
Create or update a management lock by scope.
Parameters:
Returns:
createOrUpdateByScopeWithResponse
public abstract Response
Create or update a management lock by scope.
Parameters:
Returns:
createOrUpdateByScopeWithResponseAsync
public abstract Mono
Create or update a management lock by scope.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String lockName)
Deletes a management lock at the resource group level. 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.
Parameters:
deleteAsync
public abstract Mono
Deletes a management lock at the resource group level. 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.
Parameters:
Returns:
deleteAtResourceLevel
public abstract void deleteAtResourceLevel(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName)
Deletes the management lock of a resource or any level below the resource. 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.
Parameters:
deleteAtResourceLevelAsync
public abstract Mono
Deletes the management lock of a resource or any level below the resource. 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.
Parameters:
Returns:
deleteAtResourceLevelWithResponse
public abstract Response
Deletes the management lock of a resource or any level below the resource. 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.
Parameters:
Returns:
deleteAtResourceLevelWithResponseAsync
public abstract Mono
Deletes the management lock of a resource or any level below the resource. 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.
Parameters:
Returns:
deleteAtSubscriptionLevel
public abstract void deleteAtSubscriptionLevel(String lockName)
Deletes the management lock at the subscription level. 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.
Parameters:
deleteAtSubscriptionLevelAsync
public abstract Mono
Deletes the management lock at the subscription level. 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.
Parameters:
Returns:
deleteAtSubscriptionLevelWithResponse
public abstract Response
Deletes the management lock at the subscription level. 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.
Parameters:
Returns:
deleteAtSubscriptionLevelWithResponseAsync
public abstract Mono
Deletes the management lock at the subscription level. 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.
Parameters:
Returns:
deleteByScope
public abstract void deleteByScope(String scope, String lockName)
Delete a management lock by scope.
Parameters:
deleteByScopeAsync
public abstract Mono
Delete a management lock by scope.
Parameters:
Returns:
deleteByScopeWithResponse
public abstract Response
Delete a management lock by scope.
Parameters:
Returns:
deleteByScopeWithResponseAsync
public abstract Mono
Delete a management lock by scope.
Parameters:
Returns:
deleteWithResponse
public abstract Response
Deletes a management lock at the resource group level. 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.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono
Deletes a management lock at the resource group level. 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.
Parameters:
Returns:
getAtResourceLevel
public abstract ManagementLockObjectInner getAtResourceLevel(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName)
Get the management lock of a resource or any level below resource.
Parameters:
Returns:
getAtResourceLevelAsync
public abstract Mono
Get the management lock of a resource or any level below resource.
Parameters:
Returns:
getAtResourceLevelWithResponse
public abstract Response
Get the management lock of a resource or any level below resource.
Parameters:
Returns:
getAtResourceLevelWithResponseAsync
public abstract Mono
Get the management lock of a resource or any level below resource.
Parameters:
Returns:
getAtSubscriptionLevel
public abstract ManagementLockObjectInner getAtSubscriptionLevel(String lockName)
Gets a management lock at the subscription level.
Parameters:
Returns:
getAtSubscriptionLevelAsync
public abstract Mono
Gets a management lock at the subscription level.
Parameters:
Returns:
getAtSubscriptionLevelWithResponse
public abstract Response
Gets a management lock at the subscription level.
Parameters:
Returns:
getAtSubscriptionLevelWithResponseAsync
public abstract Mono
Gets a management lock at the subscription level.
Parameters:
Returns:
getByResourceGroup
public abstract ManagementLockObjectInner getByResourceGroup(String resourceGroupName, String lockName)
Gets a management lock at the resource group level.
Parameters:
Returns:
getByResourceGroupAsync
public abstract Mono
Gets a management lock at the resource group level.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response
Gets a management lock at the resource group level.
Parameters:
Returns:
getByResourceGroupWithResponseAsync
public abstract Mono
Gets a management lock at the resource group level.
Parameters:
Returns:
getByScope
public abstract ManagementLockObjectInner getByScope(String scope, String lockName)
Get a management lock by scope.
Parameters:
Returns:
getByScopeAsync
public abstract Mono
Get a management lock by scope.
Parameters:
Returns:
getByScopeWithResponse
public abstract Response
Get a management lock by scope.
Parameters:
Returns:
getByScopeWithResponseAsync
public abstract Mono
Get a management lock by scope.
Parameters:
Returns:
list
public abstract PagedIterable
Gets all the management locks for a subscription.
Returns:
list
public abstract PagedIterable
Gets all the management locks for a subscription.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Gets all the management locks for a subscription.
Returns:
listAsync
public abstract PagedFlux
Gets all the management locks for a subscription.
Parameters:
Returns:
listAtResourceLevel
public abstract PagedIterable
Gets all the management locks for a resource or any level below resource.
Parameters:
Returns:
listAtResourceLevel
public abstract PagedIterable
Gets all the management locks for a resource or any level below resource.
Parameters:
Returns:
listAtResourceLevelAsync
public abstract PagedFlux
Gets all the management locks for a resource or any level below resource.
Parameters:
Returns:
listAtResourceLevelAsync
public abstract PagedFlux
Gets all the management locks for a resource or any level below resource.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Gets all the management locks for a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Gets all the management locks for a resource group.
Parameters:
Returns:
listByResourceGroupAsync
public abstract PagedFlux
Gets all the management locks for a resource group.
Parameters:
Returns:
listByResourceGroupAsync
public abstract PagedFlux
Gets all the management locks for a resource group.
Parameters:
Returns:
listByScope
public abstract PagedIterable
Gets all the management locks for a scope.
Parameters:
Returns:
listByScope
public abstract PagedIterable
Gets all the management locks for a scope.
Parameters:
Returns:
listByScopeAsync
public abstract PagedFlux
Gets all the management locks for a scope.
Parameters:
Returns:
listByScopeAsync
public abstract PagedFlux
Gets all the management locks for a scope.
Parameters:
Returns:
Applies to
Azure SDK for Java