ResourceIdentity Class

Azure Active Directory identity configuration for a resource.

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

Inheritance
ResourceIdentity

Constructor

ResourceIdentity(*, user_assigned_identities: Optional[Dict[str, azure.mgmt.sql.models._models_py3.UserIdentity]] = None, type: Optional[Union[str, azure.mgmt.sql.models._sql_management_client_enums.IdentityType]] = None, **kwargs)

Parameters

user_assigned_identities
dict[str, UserIdentity]
Required

The resource ids of the user assigned identities to use.

type
str or IdentityType
Required

The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. Possible values include: "None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned".

Variables

principal_id
str

The Azure Active Directory principal id.

tenant_id
str

The Azure Active Directory tenant id.