共用方式為


ArmMySqlFlexibleServersModelFactory.MySqlFlexibleServerAadAdministratorData Method

Definition

Initializes a new instance of MySqlFlexibleServerAadAdministratorData.

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

administratorType
Nullable<MySqlFlexibleServerAdministratorType>

Type of the sever administrator.

login
String

Login name of the server administrator.

sid
String

SID (object ID) of the server administrator.

tenantId
Nullable<Guid>

Tenant ID of the administrator.

identityResourceId
ResourceIdentifier

The resource id of the identity used for AAD Authentication.

Returns

A new MySqlFlexibleServerAadAdministratorData instance for mocking.

Applies to