C# Class Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClientExtensions

显示文件 Open project: Azure/azure-powershell

Public Methods

Method Description
FilterRoleAssignmentsOnRoleId ( this assignments, string roleId ) : IEnumerable
ToPSRoleAssignment ( this assignment, AuthorizationClient policyClient, ActiveDirectoryClient activeDirectoryClient, bool excludeAssignmentsForDeletedPrincipals = true ) : PSRoleAssignment
ToPSRoleAssignment ( this classicAdministrator, string currentSubscriptionId ) : PSRoleAssignment
ToPSRoleAssignments ( this assignments, AuthorizationClient policyClient, ActiveDirectoryClient activeDirectoryClient, string scopeForRoleDefinitions, bool excludeAssignmentsForDeletedPrincipals = true ) : IEnumerable
ToPSRoleDefinition ( this role ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition

Private Methods

Method Description
GuidFromFullyQualifiedId ( this Id ) : string
ToPSRoleAssignments ( this assignments, List roleDefinitions, AuthorizationClient policyClient, ActiveDirectoryClient activeDirectoryClient, bool excludeAssignmentsForDeletedPrincipals ) : IEnumerable

Method Details

FilterRoleAssignmentsOnRoleId() public static method

public static FilterRoleAssignmentsOnRoleId ( this assignments, string roleId ) : IEnumerable
assignments this
roleId string
return IEnumerable

ToPSRoleAssignment() public static method

public static ToPSRoleAssignment ( this assignment, AuthorizationClient policyClient, ActiveDirectoryClient activeDirectoryClient, bool excludeAssignmentsForDeletedPrincipals = true ) : PSRoleAssignment
assignment this
policyClient AuthorizationClient
activeDirectoryClient Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ActiveDirectoryClient
excludeAssignmentsForDeletedPrincipals bool
return PSRoleAssignment

ToPSRoleAssignment() public static method

public static ToPSRoleAssignment ( this classicAdministrator, string currentSubscriptionId ) : PSRoleAssignment
classicAdministrator this
currentSubscriptionId string
return PSRoleAssignment

ToPSRoleAssignments() public static method

public static ToPSRoleAssignments ( this assignments, AuthorizationClient policyClient, ActiveDirectoryClient activeDirectoryClient, string scopeForRoleDefinitions, bool excludeAssignmentsForDeletedPrincipals = true ) : IEnumerable
assignments this
policyClient AuthorizationClient
activeDirectoryClient Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.ActiveDirectoryClient
scopeForRoleDefinitions string
excludeAssignmentsForDeletedPrincipals bool
return IEnumerable

ToPSRoleDefinition() public static method

public static ToPSRoleDefinition ( this role ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition
role this
return Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition