Langue

ArmSqlModelFactory.ManagedInstanceAdministratorData Method

Definition

public static Azure.ResourceManager.Sql.ManagedInstanceAdministratorData ManagedInstanceAdministratorData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, Azure.ResourceManager.Sql.Models.ManagedInstanceAdministratorType? administratorType, string login, Guid? sid, Guid? tenantId, Azure.ResourceManager.Sql.Models.ManagedInstanceAdministratorPrincipalType? principalType);
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> * Nullable<Azure.ResourceManager.Sql.Models.ManagedInstanceAdministratorPrincipalType> -> Azure.ResourceManager.Sql.ManagedInstanceAdministratorData
Public Shared Function ManagedInstanceAdministratorData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, administratorType As Nullable(Of ManagedInstanceAdministratorType), login As String, sid As Nullable(Of Guid), tenantId As Nullable(Of Guid), principalType As Nullable(Of ManagedInstanceAdministratorPrincipalType)) As ManagedInstanceAdministratorData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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.

principalType
Nullable<ManagedInstanceAdministratorPrincipalType>

Principal type of the managed instance administrator.

Returns

A new ManagedInstanceAdministratorData instance for mocking.

Applies to