Share via


ServerAdministratorResource Class

Represents a and external administrator to be created.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

ServerAdministratorResource(*, administrator_type: Literal['ActiveDirectory'] | None = None, login: str | None = None, sid: str | None = None, tenant_id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
administrator_type
str

The type of administrator. Default value is "ActiveDirectory".

Default value: None
login
str

The server administrator login account name.

Default value: None
sid
str

The server administrator Sid (Secure ID).

Default value: None
tenant_id
str

The server Active Directory Administrator tenant id.

Default value: None

Variables

Name Description
id
str

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

name
str

The name of the resource.

type
str

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

administrator_type
str

The type of administrator. Default value is "ActiveDirectory".

login
str

The server administrator login account name.

sid
str

The server administrator Sid (Secure ID).

tenant_id
str

The server Active Directory Administrator tenant id.