Interface ManagementLock.DefinitionStages.WithLockedResource

    • Method Detail

      • withLockedResource

        ManagementLock.DefinitionStages.WithLevel withLockedResource​(String resourceId)
        Specifies the resource to lock.
        Parameters:
        resourceId - the resource ID of the resource to lock
        Returns:
        the next stage of the definition
      • withLockedResource

        ManagementLock.DefinitionStages.WithLevel withLockedResource​(com.microsoft.azure.management.resources.fluentcore.arm.models.Resource resource)
        Specifies the resource to lock.
        Parameters:
        resource - the resource to lock
        Returns:
        the next stage of the definition
      • withLockedResourceGroup

        ManagementLock.DefinitionStages.WithLevel withLockedResourceGroup​(String resourceGroupName)
        Specifies the resource group to lock.
        Parameters:
        resourceGroupName - the name of a resource group
        Returns:
        the next stage of the definition
      • withLockedResourceGroup

        ManagementLock.DefinitionStages.WithLevel withLockedResourceGroup​(com.microsoft.azure.management.resources.ResourceGroup resourceGroup)
        Specifies the resource group to lock.
        Parameters:
        resourceGroup - a resource group
        Returns:
        then next stage of the definition