Interface ProtectionPolicyResource.DefinitionStages.WithLocation
- All Known Subinterfaces:
ProtectionPolicyResource.Definition
,ProtectionPolicyResource.DefinitionStages.Blank
- Enclosing interface:
- ProtectionPolicyResource.DefinitionStages
public static interface ProtectionPolicyResource.DefinitionStages.WithLocation
The stage of the ProtectionPolicyResource 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
ProtectionPolicyResource.DefinitionStages.WithParentResource withRegion(com.azure.core.management.Region location) 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.
-