Interface ResourceSyncRule.DefinitionStages.WithTargetResourceGroup

All Known Subinterfaces:
ResourceSyncRule.Definition, ResourceSyncRule.DefinitionStages.WithCreate
Enclosing interface:
ResourceSyncRule.DefinitionStages

public static interface ResourceSyncRule.DefinitionStages.WithTargetResourceGroup
The stage of the ResourceSyncRule definition allowing to specify targetResourceGroup.
  • Method Details

    • withTargetResourceGroup

      ResourceSyncRule.DefinitionStages.WithCreate withTargetResourceGroup(String targetResourceGroup)
      Specifies the targetResourceGroup property: For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule..
      Parameters:
      targetResourceGroup - For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule.
      Returns:
      the next definition stage.