Partilhar via


ArmPostgreSqlModelFactory.PostgreSqlServerAdministratorData Method

Definition

Initializes a new instance of PostgreSqlServerAdministratorData.

public static Azure.ResourceManager.PostgreSql.PostgreSqlServerAdministratorData PostgreSqlServerAdministratorData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlAdministratorType? administratorType = default, string loginAccountName = default, Guid? secureId = default, Guid? tenantId = default);
static member PostgreSqlServerAdministratorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlAdministratorType> * string * Nullable<Guid> * Nullable<Guid> -> Azure.ResourceManager.PostgreSql.PostgreSqlServerAdministratorData
Public Shared Function PostgreSqlServerAdministratorData (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 PostgreSqlAdministratorType) = Nothing, Optional loginAccountName As String = Nothing, Optional secureId As Nullable(Of Guid) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing) As PostgreSqlServerAdministratorData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

administratorType
Nullable<PostgreSqlAdministratorType>

The type of administrator.

loginAccountName
String

The server administrator login account name.

secureId
Nullable<Guid>

The server administrator Sid (Secure ID).

tenantId
Nullable<Guid>

The server Active Directory Administrator tenant id.

Returns

A new PostgreSqlServerAdministratorData instance for mocking.

Applies to