Class ManagedInstanceAdministrator
An Azure SQL managed instance administrator.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class ManagedInstanceAdministrator : Microsoft.Azure.Management.Sql.Models.ProxyResource
Constructors
ManagedInstanceAdministrator()
Initializes a new instance of the ManagedInstanceAdministrator class.
Declaration
public ManagedInstanceAdministrator ();
ManagedInstanceAdministrator(String, Guid, String, String, String, Nullable<Guid>)
Initializes a new instance of the ManagedInstanceAdministrator class.
Declaration
public ManagedInstanceAdministrator (string login, Guid sid, string id = null, string name = null, string type = null, Nullable<Guid> tenantId = null);
Parameters
String
login
Login name of the managed instance administrator. |
Guid
sid
SID (object ID) of the managed instance administrator. |
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
Nullable<Guid>
tenantId
Tenant ID of the managed instance administrator. |
Properties
AdministratorType
Type of the managed instance administrator.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.administratorType")]
public static string AdministratorType { get; }
Property Value
String
|
Login
Gets or sets login name of the managed instance administrator.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.login")]
public string Login { get; set; }
Property Value
String
|
Sid
Gets or sets SID (object ID) of the managed instance administrator.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.sid")]
public Guid Sid { get; set; }
Property Value
Guid
|
TenantId
Gets or sets tenant ID of the managed instance administrator.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.tenantId")]
public Nullable<Guid> TenantId { get; set; }
Property Value
Nullable<Guid>
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ValidationException
Thrown if validation fails |