Sdílet prostřednictvím


ArmSqlModelFactory.SqlServerAzureADAdministratorData Method

Definition

Initializes a new instance of SqlServerAzureADAdministratorData.

public static Azure.ResourceManager.Sql.SqlServerAzureADAdministratorData SqlServerAzureADAdministratorData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Sql.Models.SqlAdministratorType? administratorType = default, string login = default, Guid? sid = default, Guid? tenantId = default, bool? isAzureADOnlyAuthenticationEnabled = default);
static member SqlServerAzureADAdministratorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Sql.Models.SqlAdministratorType> * string * Nullable<Guid> * Nullable<Guid> * Nullable<bool> -> Azure.ResourceManager.Sql.SqlServerAzureADAdministratorData
Public Shared Function SqlServerAzureADAdministratorData (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 SqlAdministratorType) = Nothing, Optional login As String = Nothing, Optional sid As Nullable(Of Guid) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional isAzureADOnlyAuthenticationEnabled As Nullable(Of Boolean) = Nothing) As SqlServerAzureADAdministratorData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

administratorType
Nullable<SqlAdministratorType>

Type of the sever administrator.

login
String

Login name of the server administrator.

sid
Nullable<Guid>

SID (object ID) of the server administrator.

tenantId
Nullable<Guid>

Tenant ID of the administrator.

isAzureADOnlyAuthenticationEnabled
Nullable<Boolean>

Azure Active Directory only Authentication enabled.

Returns

A new SqlServerAzureADAdministratorData instance for mocking.

Applies to