Interface ManagementLock.UpdateStages.WithLockedResource
-
- All Known Subinterfaces:
ManagementLock.Update
- Enclosing interface:
- ManagementLock.UpdateStages
public static interface ManagementLock.UpdateStages.WithLockedResourceThe stage of a management lock update allowing to specify the resource to lock.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagementLock.UpdatewithLockedResource(Resource resource)Specifies the resource to lock.ManagementLock.UpdatewithLockedResource(String resourceId)Specifies the resource to lock.ManagementLock.UpdatewithLockedResourceGroup(ResourceGroup resourceGroup)Specifies the resource group to lock.ManagementLock.UpdatewithLockedResourceGroup(String resourceGroupName)Specifies the resource group to lock.
-
-
-
Method Detail
-
withLockedResource
ManagementLock.Update withLockedResource(String resourceId)
Specifies the resource to lock.- Parameters:
resourceId- the resource ID of the resource to lock- Returns:
- the next stage of the update
-
withLockedResource
ManagementLock.Update withLockedResource(Resource resource)
Specifies the resource to lock.- Parameters:
resource- the resource to lock- Returns:
- the next stage of the update
-
withLockedResourceGroup
ManagementLock.Update withLockedResourceGroup(String resourceGroupName)
Specifies the resource group to lock.- Parameters:
resourceGroupName- the name of a resource group- Returns:
- the next stage of the update
-
withLockedResourceGroup
ManagementLock.Update withLockedResourceGroup(ResourceGroup resourceGroup)
Specifies the resource group to lock.- Parameters:
resourceGroup- a resource group- Returns:
- then next stage of the update
-
-