Resource.DefinitionWithRegion<T> Interface
Type Parameters
- T
the type of the next stage resource definition
public static interface Resource.DefinitionWithRegion
A resource definition allowing a location be selected for the resource.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract T |
withRegion(Region region)
Specifies the region for the resource. |
abstract T |
withRegion(String regionName)
Specifies the region for the resource by name. |
Method Details
withRegion
public abstract T withRegion(Region region)
Specifies the region for the resource.
Parameters:
region
- The location for the resource
Returns:
the next stage of the definition
withRegion
public abstract 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
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java