IDefinitionWithRegion<T>.WithRegion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithRegion(Region) |
Specifies the region for the resource. |
WithRegion(String) |
Specifies the region for the resource by name. |
WithRegion(Region)
Specifies the region for the resource.
public T WithRegion (Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region);
abstract member WithRegion : Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region -> 'T
Public Function WithRegion (region As Region) As T
Parameters
- region
- Region
region The location for the resource
Returns
T
the next stage of the resource definition
Applies to
WithRegion(String)
Specifies the region for the resource by name.
public T WithRegion (string regionName);
abstract member WithRegion : string -> 'T
Public Function WithRegion (regionName As String) As T
Parameters
- regionName
- String
regionName The name of the region for the resource
Returns
T
the next stage of the resource definition