共用方式為


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
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

Applies to