Interface Policy.DefinitionStages.WithLocation
- All Known Subinterfaces:
Policy.Definition
,Policy.DefinitionStages.Blank
- Enclosing interface:
- Policy.DefinitionStages
public static interface Policy.DefinitionStages.WithLocation
The stage of the Policy definition allowing to specify location.
-
Method Summary
Modifier and TypeMethodDescriptionwithRegion
(com.azure.core.management.Region location) Specifies the region for the resource.withRegion
(String location) Specifies the region for the resource.
-
Method Details
-
withRegion
Specifies the region for the resource.- Parameters:
location
- The geo-location where the resource lives.- Returns:
- the next definition stage.
-
withRegion
Specifies the region for the resource.- Parameters:
location
- The geo-location where the resource lives.- Returns:
- the next definition stage.
-