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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java