你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmSqlModelFactory.ManagedInstanceAdministratorData Method

Definition

Initializes a new instance of ManagedInstanceAdministratorData.

public static Azure.ResourceManager.Sql.ManagedInstanceAdministratorData ManagedInstanceAdministratorData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Sql.Models.ManagedInstanceAdministratorType? administratorType = default, string login = default, Guid? sid = default, Guid? tenantId = default);
static member ManagedInstanceAdministratorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Sql.Models.ManagedInstanceAdministratorType> * string * Nullable<Guid> * Nullable<Guid> -> Azure.ResourceManager.Sql.ManagedInstanceAdministratorData
Public Shared Function ManagedInstanceAdministratorData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional administratorType As Nullable(Of ManagedInstanceAdministratorType) = Nothing, Optional login As String = Nothing, Optional sid As Nullable(Of Guid) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing) As ManagedInstanceAdministratorData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

administratorType
Nullable<ManagedInstanceAdministratorType>

Type of the managed instance administrator.

login
String

Login name of the managed instance administrator.

sid
Nullable<Guid>

SID (object ID) of the managed instance administrator.

tenantId
Nullable<Guid>

Tenant ID of the managed instance administrator.

Returns

A new ManagedInstanceAdministratorData instance for mocking.

Applies to