Udostępnij za pośrednictwem


ArmApiManagementModelFactory.RegionContract Method

Definition

Initializes a new instance of RegionContract.

public static Azure.ResourceManager.ApiManagement.Models.RegionContract RegionContract (string name = default, bool? isMasterRegion = default, bool? isDeleted = default);
static member RegionContract : string * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.ApiManagement.Models.RegionContract
Public Shared Function RegionContract (Optional name As String = Nothing, Optional isMasterRegion As Nullable(Of Boolean) = Nothing, Optional isDeleted As Nullable(Of Boolean) = Nothing) As RegionContract

Parameters

name
String

Region name.

isMasterRegion
Nullable<Boolean>

whether Region is the master region.

isDeleted
Nullable<Boolean>

whether Region is deleted.

Returns

A new RegionContract instance for mocking.

Applies to