Interface GroupableResource.DefinitionStages.WithNewResourceGroupWithRegion<T>

    • Method Detail

      • withNewResourceGroup

        T withNewResourceGroup​(String name,
                               com.azure.core.management.Region region)
        Creates a new resource group to put the resource in.

        The group will be created in the same location as the resource.

        Parameters:
        name - the name of the new group
        region - the region where resource group needs to be created
        Returns:
        the next stage of the definition
      • withNewResourceGroup

        T withNewResourceGroup​(com.azure.core.management.Region region)
        Creates a new resource group to put the resource in.

        The group will be created in the same location as the resource. The group's name is automatically derived from the resource's name.

        Parameters:
        region - the region where resource group needs to be created
        Returns:
        the next stage of the definition