### YamlMime:JavaType
uid: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo"
fullName: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo"
name: "IdentityInfo"
nameWithType: "IdentityInfo"
summary: "The identity information for the resource."
inheritances:
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
syntax: "public class **IdentityInfo**"
constructors:
- uid: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.IdentityInfo()"
fullName: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.IdentityInfo()"
name: "IdentityInfo()"
nameWithType: "IdentityInfo.IdentityInfo()"
syntax: "public IdentityInfo()"
methods:
- uid: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.principalId()"
fullName: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.principalId()"
name: "principalId()"
nameWithType: "IdentityInfo.principalId()"
summary: "Get the principal ID of resource identity."
syntax: "public String principalId()"
desc: "Get the principal ID of resource identity."
returns:
description: "the principalId value"
type: ""
- uid: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.tenantId()"
fullName: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.tenantId()"
name: "tenantId()"
nameWithType: "IdentityInfo.tenantId()"
summary: "Get the tenant ID of resource."
syntax: "public String tenantId()"
desc: "Get the tenant ID of resource."
returns:
description: "the tenantId value"
type: ""
- uid: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.type()"
fullName: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.type()"
name: "type()"
nameWithType: "IdentityInfo.type()"
summary: "Get the type of managed identity used."
syntax: "public IdentityType type()"
desc: "Get the type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned'."
returns:
description: "the type value"
type: ""
- uid: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.userAssignedIdentities()"
fullName: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.userAssignedIdentities()"
name: "userAssignedIdentities()"
nameWithType: "IdentityInfo.userAssignedIdentities()"
summary: "Get the list of user identities associated with the resource."
syntax: "public Map userAssignedIdentities()"
desc: "Get 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\\}'. This property is currently not used and reserved for future usage."
returns:
description: "the userAssignedIdentities value"
type: "<,>"
- uid: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.withPrincipalId(java.lang.String)"
fullName: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.withPrincipalId(String principalId)"
name: "withPrincipalId(String principalId)"
nameWithType: "IdentityInfo.withPrincipalId(String principalId)"
summary: "Set the principal ID of resource identity."
parameters:
- description: "the principalId value to set"
name: "principalId"
type: ""
syntax: "public IdentityInfo withPrincipalId(String principalId)"
desc: "Set the principal ID of resource identity."
returns:
description: "the IdentityInfo object itself."
type: ""
- uid: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.withTenantId(java.lang.String)"
fullName: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.withTenantId(String tenantId)"
name: "withTenantId(String tenantId)"
nameWithType: "IdentityInfo.withTenantId(String tenantId)"
summary: "Set the tenant ID of resource."
parameters:
- description: "the tenantId value to set"
name: "tenantId"
type: ""
syntax: "public IdentityInfo withTenantId(String tenantId)"
desc: "Set the tenant ID of resource."
returns:
description: "the IdentityInfo object itself."
type: ""
- uid: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.withType(com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityType)"
fullName: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.withType(IdentityType type)"
name: "withType(IdentityType type)"
nameWithType: "IdentityInfo.withType(IdentityType type)"
summary: "Set the type of managed identity used."
parameters:
- description: "the type value to set"
name: "type"
type: ""
syntax: "public IdentityInfo withType(IdentityType type)"
desc: "Set the type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned'."
returns:
description: "the IdentityInfo object itself."
type: ""
- uid: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.withUserAssignedIdentities(java.util.Map)"
fullName: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview.IdentityInfo.withUserAssignedIdentities(Map userAssignedIdentities)"
name: "withUserAssignedIdentities(Map userAssignedIdentities)"
nameWithType: "IdentityInfo.withUserAssignedIdentities(Map userAssignedIdentities)"
summary: "Set the list of user identities associated with the resource."
parameters:
- description: "the userAssignedIdentities value to set"
name: "userAssignedIdentities"
type: "<,>"
syntax: "public IdentityInfo withUserAssignedIdentities(Map userAssignedIdentities)"
desc: "Set 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\\}'. This property is currently not used and reserved for future usage."
returns:
description: "the IdentityInfo object itself."
type: ""
type: "class"
desc: "The identity information for the resource."
metadata: {}
package: "com.microsoft.azure.management.eventgrid.v2020_04_01_preview"
artifact: com.microsoft.azure.eventgrid.v2020_04_01_preview:azure-mgmt-eventgrid:1.0.0-beta-3