다음을 통해 공유


Identity Class

Definition

Describes an identity resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Identity : Microsoft.Azure.Management.ManagedServiceIdentity.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Identity = class
    inherit TrackedResource
Public Class Identity
Inherits TrackedResource
Inheritance
Attributes

Constructors

Identity()

Initializes a new instance of the Identity class.

Identity(String, String, String, String, IDictionary<String,String>, Nullable<Guid>, Nullable<Guid>, Nullable<Guid>)

Initializes a new instance of the Identity class.

Properties

ClientId

Gets the id of the app associated with the identity. This is a random generated UUID by MSI.

Id

Gets fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
Location

Gets or sets the geo-location where the resource lives

(Inherited from TrackedResource)
Name

Gets the name of the resource

(Inherited from Resource)
PrincipalId

Gets the id of the service principal object associated with the created identity.

Tags

Gets or sets resource tags.

(Inherited from TrackedResource)
TenantId

Gets the id of the tenant which the identity belongs to.

Type

Gets the type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to