ArmSqlModelFactory.ManagedInstanceAdministratorData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
- principalType
- Nullable<ManagedInstanceAdministratorPrincipalType>
Principal type of the managed instance administrator.
Returns
A new ManagedInstanceAdministratorData instance for mocking.