azure-identity
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Friends | List of all members
Azure::Identity::ManagedIdentityId Class Referencefinal

The type of managed identity and its corresponding identifier. More...

#include <managed_identity_credential.hpp>

Public Member Functions

 ManagedIdentityId ()
 Constructs the type of managed identity.
 

Static Public Member Functions

static ManagedIdentityId SystemAssigned ()
 Create an instance of ManagedIdentityId for a system-assigned managed identity.
 
static ManagedIdentityId FromUserAssignedClientId (std::string id)
 Create an instance of ManagedIdentityId for a user-assigned managed identity.
 
static ManagedIdentityId FromUserAssignedObjectId (std::string id)
 Create an instance of ManagedIdentityId for a user-assigned managed identity.
 
static ManagedIdentityId FromUserAssignedResourceId (Azure::Core::ResourceIdentifier id)
 Create an instance of ManagedIdentityId for a user-assigned managed identity.
 

Friends

class ManagedIdentityCredential
 

Detailed Description

Remarks
This class holds the kind and unique identifier for either a system or user-assigned managed identity.

Constructor & Destructor Documentation

◆ ManagedIdentityId()

Azure::Identity::ManagedIdentityId::ManagedIdentityId ( )
inlineexplicit
Remarks
This defaults to a system-assigned managed identity.

Member Function Documentation

◆ FromUserAssignedClientId()

static ManagedIdentityId Azure::Identity::ManagedIdentityId::FromUserAssignedClientId ( std::string  id)
inlinestatic
Parameters
idThe client ID of the user-assigned managed identity.

◆ FromUserAssignedObjectId()

static ManagedIdentityId Azure::Identity::ManagedIdentityId::FromUserAssignedObjectId ( std::string  id)
inlinestatic
Parameters
idThe object ID of the user-assigned managed identity.

◆ FromUserAssignedResourceId()

static ManagedIdentityId Azure::Identity::ManagedIdentityId::FromUserAssignedResourceId ( Azure::Core::ResourceIdentifier  id)
inlinestatic
Parameters
idThe resource ID of the user-assigned managed identity.

◆ SystemAssigned()

static ManagedIdentityId Azure::Identity::ManagedIdentityId::SystemAssigned ( )
inlinestatic

The documentation for this class was generated from the following file: