public static interface ManagementLock.UpdateStages.WithLockedResource
Modifier and Type | Method and Description |
---|---|
ManagementLock.Update |
withLockedResource(Resource resource)
Specifies the resource to lock.
|
ManagementLock.Update |
withLockedResource(String resourceId)
Specifies the resource to lock.
|
ManagementLock.Update |
withLockedResourceGroup(ResourceGroup resourceGroup)
Specifies the resource group to lock.
|
ManagementLock.Update |
withLockedResourceGroup(String resourceGroupName)
Specifies the resource group to lock.
|
ManagementLock.Update withLockedResource(String resourceId)
resourceId
- the resource ID of the resource to lockManagementLock.Update withLockedResource(Resource resource)
resource
- the resource to lockManagementLock.Update withLockedResourceGroup(String resourceGroupName)
resourceGroupName
- the name of a resource groupManagementLock.Update withLockedResourceGroup(ResourceGroup resourceGroup)
resourceGroup
- a resource groupCopyright © 2019. All rights reserved.