Resource.DefinitionWithRegion<T> Interface
Type Parameters
- T
the type of the next stage resource definition
public interface DefinitionWithRegion
A resource definition allowing a location be selected for the resource.
Method Summary
Modifier and Type | Method and Description |
---|---|
T |
withRegion(Region region)
Specifies the region for the resource. |
T |
withRegion(String regionName)
Specifies the region for the resource by name. |
Method Details
withRegion
public 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 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Java