Interface ProtectionPolicyResource.DefinitionStages.WithParentResource

All Known Subinterfaces:
ProtectionPolicyResource.Definition
Enclosing interface:
ProtectionPolicyResource.DefinitionStages

public static interface ProtectionPolicyResource.DefinitionStages.WithParentResource
The stage of the ProtectionPolicyResource definition allowing to specify parent resource.
  • Method Details

    • withExistingVault

      ProtectionPolicyResource.DefinitionStages.WithCreate withExistingVault(String vaultName, String resourceGroupName)
      Specifies vaultName, resourceGroupName.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      Returns:
      the next definition stage.