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.

Inheritance
azure.mgmt.rdbms.postgresql.models._models_py3.ProxyResource
ServerAdministratorResource

Constructor

ServerAdministratorResource(*, administrator_type: str | None = None, login: str | None = None, sid: str | None = None, tenant_id: str | None = None, **kwargs)

Parameters

Name Description
administrator_type
Required
str

The type of administrator. The only acceptable values to pass in are None and "ActiveDirectory". The default value is None.

login
Required
str

The server administrator login account name.

sid
Required
str

The server administrator Sid (Secure ID).

tenant_id
Required
str

The server Active Directory Administrator tenant id.

Keyword-Only Parameters

Name Description
administrator_type
Required
login
Required
sid
Required
tenant_id
Required

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".