Share via


Identity Class

Details about the search service identity. A null value indicates that the search service has no identity assigned.

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

All required parameters must be populated in order to send to server.

Constructor

Identity(*, type: str | _models.IdentityType, user_assigned_identities: Dict[str, _models.UserAssignedIdentity] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
type

The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. Required. Known values are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned, UserAssigned".

user_assigned_identities

The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Default value: None

Variables

Name Description
principal_id
str

The principal ID of the system-assigned identity of the search service.

tenant_id
str

The tenant ID of the system-assigned identity of the search service.

type

The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. Required. Known values are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned, UserAssigned".

user_assigned_identities

The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.