Interface Resource.DefinitionWithRegion<T>
-
- Type Parameters:
T- the type of the next stage resource definition
- All Known Subinterfaces:
GenericResource.Definition,GenericResource.DefinitionStages.Blank,ResourceGroup.Definition,ResourceGroup.DefinitionStages.Blank
- Enclosing interface:
- Resource
public static interface Resource.DefinitionWithRegion<T>A resource definition allowing a location be selected for the resource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TwithRegion(com.azure.core.management.Region region)Specifies the region for the resource.TwithRegion(String regionName)Specifies the region for the resource by name.
-
-
-
Method Detail
-
withRegion
T withRegion(String regionName)
Specifies the region for the resource by name.- Parameters:
regionName- The name of the region for the resource- Returns:
- the next stage of the definition
-
withRegion
T withRegion(com.azure.core.management.Region region)
Specifies the region for the resource.- Parameters:
region- The location for the resource- Returns:
- the next stage of the definition
-
-