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 = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Sql.Models.ManagedInstanceAdministratorType? administratorType = default, string login = default, Guid? sid = default, Guid? tenantId = default, Azure.ResourceManager.Sql.Models.ManagedInstanceAdministratorPrincipalType? principalType = default);
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 (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 ManagedInstanceAdministratorType) = Nothing, Optional login As String = Nothing, Optional sid As Nullable(Of Guid) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional principalType As Nullable(Of ManagedInstanceAdministratorPrincipalType) = Nothing) 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.