GroupableResource.DefinitionStages.WithNewResourceGroupWithRegion<T> Interface
Type Parameters
- T
the next stage of the definition
Implements
public static interface GroupableResource.DefinitionStages.WithNewResourceGroupWithRegion
extends WithCreatableResourceGroup<T>
A resource definition allowing a new resource group to be created in a different region .
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract T |
withNewResourceGroup(Region region)
Creates a new resource group to put the resource in. |
abstract T |
withNewResourceGroup(String name, Region region)
Creates a new resource group to put the resource in. |
Method Details
withNewResourceGroup
public abstract T withNewResourceGroup(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:
Returns:
withNewResourceGroup
public abstract T withNewResourceGroup(String name, 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:
Returns:
Applies to
Azure SDK for Java
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: