Interface Resource.DefinitionWithRegion<T>
- Type Parameters:
T- the type of the next stage resource definition
- All Known Subinterfaces:
ApplicationGateway.Definition,ApplicationGateway.DefinitionStages.Blank,ApplicationSecurityGroup.Definition,ApplicationSecurityGroup.DefinitionStages.Blank,AppServiceCertificate.Definition,AppServiceCertificate.DefinitionStages.Blank,AppServicePlan.Definition,AppServicePlan.DefinitionStages.Blank,AutoscaleSetting.Definition,AutoscaleSetting.DefinitionStages.Blank,AvailabilitySet.Definition,AvailabilitySet.DefinitionStages.Blank,BatchAccount.Definition,BatchAccount.DefinitionStages.Blank,BatchAIWorkspace.Definition,BatchAIWorkspace.DefinitionStages.Blank,CdnProfile.Definition,CdnProfile.DefinitionStages.Blank,ContainerGroup.Definition,ContainerGroup.DefinitionStages.Blank,ContainerService.Definition,ContainerService.DefinitionStages.Blank,CosmosDBAccount.Definition,CosmosDBAccount.DefinitionStages.Blank,DdosProtectionPlan.Definition,DdosProtectionPlan.DefinitionStages.Blank,Disk.Definition,Disk.DefinitionStages.Blank,EventHubNamespace.Definition,EventHubNamespace.DefinitionStages.Blank,ExpressRouteCircuit.Definition,ExpressRouteCircuit.DefinitionStages.Blank,FunctionApp.Definition,FunctionApp.DefinitionStages.Blank,Gallery.Definition,Gallery.DefinitionStages.Blank,GenericResource.Definition,GenericResource.DefinitionStages.Blank,Identity.Definition,Identity.DefinitionStages.Blank,KubernetesCluster.Definition,KubernetesCluster.DefinitionStages.Blank,LoadBalancer.Definition,LoadBalancer.DefinitionStages.Blank,LocalNetworkGateway.Definition,LocalNetworkGateway.DefinitionStages.Blank,Network.Definition,Network.DefinitionStages.Blank,NetworkInterface.Definition,NetworkInterface.DefinitionStages.Blank,NetworkSecurityGroup.Definition,NetworkSecurityGroup.DefinitionStages.Blank,NetworkWatcher.Definition,NetworkWatcher.DefinitionStages.Blank,PublicIPAddress.Definition,PublicIPAddress.DefinitionStages.Blank,PublicIPPrefix.Definition,PublicIPPrefix.DefinitionStages.Blank,RedisCache.Definition,RedisCache.DefinitionStages.Blank,Registry.Definition,Registry.DefinitionStages.Blank,ResourceGroup.Definition,ResourceGroup.DefinitionStages.Blank,RouteFilter.Definition,RouteFilter.DefinitionStages.Blank,RouteTable.Definition,RouteTable.DefinitionStages.Blank,SearchService.Definition,SearchService.DefinitionStages.Blank,ServiceBusNamespace.Definition,ServiceBusNamespace.DefinitionStages.Blank,Snapshot.Definition,Snapshot.DefinitionStages.Blank,SqlServer.Definition,SqlServer.DefinitionStages.Blank,StorageAccount.Definition,StorageAccount.DefinitionStages.Blank,Vault.Definition,Vault.DefinitionStages.Blank,VirtualMachine.DefinitionManaged,VirtualMachine.DefinitionManagedOrUnmanaged,VirtualMachine.DefinitionShared,VirtualMachine.DefinitionStages.Blank,VirtualMachine.DefinitionUnmanaged,VirtualMachineCustomImage.Definition,VirtualMachineCustomImage.DefinitionStages.Blank,VirtualMachineScaleSet.DefinitionManaged,VirtualMachineScaleSet.DefinitionManagedOrUnmanaged,VirtualMachineScaleSet.DefinitionShared,VirtualMachineScaleSet.DefinitionStages.Blank,VirtualMachineScaleSet.DefinitionUnmanaged,VirtualNetworkGateway.Definition,VirtualNetworkGateway.DefinitionStages.Blank,WebApp.Definition,WebApp.DefinitionStages.Blank
- Enclosing interface:
- Resource
public static interface Resource.DefinitionWithRegion<T>
A resource definition allowing a location be selected for the resource.
-
Method Summary
Modifier and TypeMethodDescriptionwithRegion(Region region) Specifies the region for the resource.withRegion(String regionName) Specifies the region for the resource by name.
-
Method Details
-
withRegion
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
-
withRegion
Specifies the region for the resource.- Parameters:
region- The location for the resource- Returns:
- the next stage of the definition
-