Interface ResourceSyncRule.UpdateStages.WithTargetResourceGroup

All Known Subinterfaces:
ResourceSyncRule.Update
Enclosing interface:
ResourceSyncRule.UpdateStages

public static interface ResourceSyncRule.UpdateStages.WithTargetResourceGroup
The stage of the ResourceSyncRule update allowing to specify targetResourceGroup.
  • Method Summary

    Modifier and Type
    Method
    Description
    withTargetResourceGroup(String targetResourceGroup)
    Specifies the targetResourceGroup property: For an unmapped custom resource, its labels will be used to find matching resource sync rules.
  • Method Details

    • withTargetResourceGroup

      ResourceSyncRule.Update 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.