C# Class Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ActiveDirectoryClient

Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Méthodes publiques

Méthode Description
ActiveDirectoryClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication

Creates new ActiveDirectoryClient using WindowsAzureSubscription.

CreateAppKeyCredential ( string appObjectId, Microsoft.Azure.Graph.RBAC.Models.KeyCredential credential ) : PSADCredential
CreateAppPasswordCredential ( string appObjectId, Microsoft.Azure.Graph.RBAC.Models.PasswordCredential credential ) : PSADCredential
CreateApplication ( CreatePSApplicationParameters createParameters ) : PSADApplication
CreateServicePrincipal ( CreatePSServicePrincipalParameters createParameters ) : PSADServicePrincipal
CreateSpKeyCredential ( string spObjectId, Microsoft.Azure.Graph.RBAC.Models.KeyCredential credential ) : PSADCredential
CreateSpPasswordCredential ( string spObjectId, Microsoft.Azure.Graph.RBAC.Models.PasswordCredential credential ) : PSADCredential
CreateUser ( Microsoft.Azure.Graph.RBAC.Models.UserCreateParameters userCreateParam ) : PSADUser
FilterGroups ( ) : List
FilterGroups ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : List
FilterServicePrincipals ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : List
FilterServices ( ) : List
FilterUsers ( ) : List
FilterUsers ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : List
GetADObject ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : PSADObject
GetAppCredentials ( string appObjectId ) : List
GetApplication ( string applicationObjectId ) : PSADApplication
GetApplicationWithFilters ( Rest odataQueryFilter ) : IEnumerable
GetGroupMembers ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : List
GetObjectId ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : System.Guid
GetObjectIdFromApplicationId ( string applicationId ) : string
GetObjectIdFromSPN ( string spn ) : string
GetObjectsByObjectId ( List objectIds ) : List
GetSpCredentials ( string spObjectId ) : List
ListUserGroups ( string principal ) : List
RemoveAllAppCredentials ( string appObjectId ) : void
RemoveAllSpCredentials ( string spObjectId ) : void
RemoveAppCredentialByKeyId ( string appObjectId, System.Guid keyId ) : void
RemoveApplication ( string applicationObjectId ) : void
RemoveServicePrincipal ( string objectId ) : PSADServicePrincipal
RemoveSpCredentialByKeyId ( string spObjectId, System.Guid keyId ) : void
RemoveUser ( string upnOrObjectId ) : void
UpdateApplication ( string appObjectId, ApplicationUpdateParameters parameters ) : void
UpdateUser ( string upnOrObjectId, UserUpdateParameters userUpdateParam ) : PSADUser

Private Methods

Méthode Description
GetAppKeyCredentials ( string appObjectId ) : List
GetAppPasswordCredentials ( string appObjectId ) : List
GetSpKeyCredentials ( string spObjectId ) : List
GetSpPasswordCredentials ( string spObjectId ) : List
IsSet ( ) : bool
Normalize ( string s ) : string
PatchAppKeyCredentials ( string appObjectId, List keyCredentails ) : void
PatchAppPasswordCredentials ( string appObjectId, List passwordCredentials ) : void
PatchSpKeyCredentials ( string spObjectId, List keyCredentails ) : void
PatchSpPasswordCredentials ( string spObjectId, List passwordCredentials ) : void
ValidateKeyCredential ( Microsoft.Azure.Graph.RBAC.Models.KeyCredential credential ) : void
ValidatePasswordCredential ( Microsoft.Azure.Graph.RBAC.Models.PasswordCredential credential ) : void

Method Details

ActiveDirectoryClient() public méthode

Creates new ActiveDirectoryClient using WindowsAzureSubscription.
public ActiveDirectoryClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Résultat Microsoft.Azure.Commands.Common.Authentication

CreateAppKeyCredential() public méthode

public CreateAppKeyCredential ( string appObjectId, Microsoft.Azure.Graph.RBAC.Models.KeyCredential credential ) : PSADCredential
appObjectId string
credential Microsoft.Azure.Graph.RBAC.Models.KeyCredential
Résultat PSADCredential

CreateAppPasswordCredential() public méthode

public CreateAppPasswordCredential ( string appObjectId, Microsoft.Azure.Graph.RBAC.Models.PasswordCredential credential ) : PSADCredential
appObjectId string
credential Microsoft.Azure.Graph.RBAC.Models.PasswordCredential
Résultat PSADCredential

CreateApplication() public méthode

public CreateApplication ( CreatePSApplicationParameters createParameters ) : PSADApplication
createParameters CreatePSApplicationParameters
Résultat PSADApplication

CreateServicePrincipal() public méthode

public CreateServicePrincipal ( CreatePSServicePrincipalParameters createParameters ) : PSADServicePrincipal
createParameters CreatePSServicePrincipalParameters
Résultat PSADServicePrincipal

CreateSpKeyCredential() public méthode

public CreateSpKeyCredential ( string spObjectId, Microsoft.Azure.Graph.RBAC.Models.KeyCredential credential ) : PSADCredential
spObjectId string
credential Microsoft.Azure.Graph.RBAC.Models.KeyCredential
Résultat PSADCredential

CreateSpPasswordCredential() public méthode

public CreateSpPasswordCredential ( string spObjectId, Microsoft.Azure.Graph.RBAC.Models.PasswordCredential credential ) : PSADCredential
spObjectId string
credential Microsoft.Azure.Graph.RBAC.Models.PasswordCredential
Résultat PSADCredential

CreateUser() public méthode

public CreateUser ( Microsoft.Azure.Graph.RBAC.Models.UserCreateParameters userCreateParam ) : PSADUser
userCreateParam Microsoft.Azure.Graph.RBAC.Models.UserCreateParameters
Résultat PSADUser

FilterGroups() public méthode

public FilterGroups ( ) : List
Résultat List

FilterGroups() public méthode

public FilterGroups ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : List
options Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions
Résultat List

FilterServicePrincipals() public méthode

public FilterServicePrincipals ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : List
options Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions
Résultat List

FilterServices() public méthode

public FilterServices ( ) : List
Résultat List

FilterUsers() public méthode

public FilterUsers ( ) : List
Résultat List

FilterUsers() public méthode

public FilterUsers ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : List
options Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions
Résultat List

GetADObject() public méthode

public GetADObject ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : PSADObject
options Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions
Résultat PSADObject

GetAppCredentials() public méthode

public GetAppCredentials ( string appObjectId ) : List
appObjectId string
Résultat List

GetApplication() public méthode

public GetApplication ( string applicationObjectId ) : PSADApplication
applicationObjectId string
Résultat PSADApplication

GetApplicationWithFilters() public méthode

public GetApplicationWithFilters ( Rest odataQueryFilter ) : IEnumerable
odataQueryFilter Rest
Résultat IEnumerable

GetGroupMembers() public méthode

public GetGroupMembers ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : List
options Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions
Résultat List

GetObjectId() public méthode

public GetObjectId ( Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions options ) : System.Guid
options Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ADObjectFilterOptions
Résultat System.Guid

GetObjectIdFromApplicationId() public méthode

public GetObjectIdFromApplicationId ( string applicationId ) : string
applicationId string
Résultat string

GetObjectIdFromSPN() public méthode

public GetObjectIdFromSPN ( string spn ) : string
spn string
Résultat string

GetObjectsByObjectId() public méthode

public GetObjectsByObjectId ( List objectIds ) : List
objectIds List
Résultat List

GetSpCredentials() public méthode

public GetSpCredentials ( string spObjectId ) : List
spObjectId string
Résultat List

ListUserGroups() public méthode

public ListUserGroups ( string principal ) : List
principal string
Résultat List

RemoveAllAppCredentials() public méthode

public RemoveAllAppCredentials ( string appObjectId ) : void
appObjectId string
Résultat void

RemoveAllSpCredentials() public méthode

public RemoveAllSpCredentials ( string spObjectId ) : void
spObjectId string
Résultat void

RemoveAppCredentialByKeyId() public méthode

public RemoveAppCredentialByKeyId ( string appObjectId, System.Guid keyId ) : void
appObjectId string
keyId System.Guid
Résultat void

RemoveApplication() public méthode

public RemoveApplication ( string applicationObjectId ) : void
applicationObjectId string
Résultat void

RemoveServicePrincipal() public méthode

public RemoveServicePrincipal ( string objectId ) : PSADServicePrincipal
objectId string
Résultat PSADServicePrincipal

RemoveSpCredentialByKeyId() public méthode

public RemoveSpCredentialByKeyId ( string spObjectId, System.Guid keyId ) : void
spObjectId string
keyId System.Guid
Résultat void

RemoveUser() public méthode

public RemoveUser ( string upnOrObjectId ) : void
upnOrObjectId string
Résultat void

UpdateApplication() public méthode

public UpdateApplication ( string appObjectId, ApplicationUpdateParameters parameters ) : void
appObjectId string
parameters ApplicationUpdateParameters
Résultat void

UpdateUser() public méthode

public UpdateUser ( string upnOrObjectId, UserUpdateParameters userUpdateParam ) : PSADUser
upnOrObjectId string
userUpdateParam UserUpdateParameters
Résultat PSADUser