IDefinitionWithRegion<T>.WithRegion Method

Definition

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

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
System.String

regionName The name of the region for the resource

Returns

T

the next stage of the resource definition

Applies to