IdentityArgs

data class IdentityArgs(val type: Output<ResourceIdentityType>? = null, val userAssignedIdentities: Output<List<String>>? = null) : ConvertibleToJava<IdentityArgs>

Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity.

Constructors

Link copied to clipboard
constructor(type: Output<ResourceIdentityType>? = null, userAssignedIdentities: Output<List<String>>? = null)

Properties

Link copied to clipboard
val type: Output<ResourceIdentityType>? = null

The identity type. This is the only required field when adding a system or user assigned identity to a resource.

Link copied to clipboard
val userAssignedIdentities: Output<List<String>>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): IdentityArgs