메소드 | 설명 | |
---|---|---|
AuthorizationClient ( |
Creates PoliciesClient using AzureContext instance.
|
|
CreateRoleAssignment ( Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions parameters ) : |
Creates new role assignment.
|
|
CreateRoleDefinition ( Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition roleDefinition ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
Creates a new role definition.
|
|
FilterRoleAssignments ( Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions options, string currentSubscription ) : List |
Filters role assignments based on the passed options.
|
|
FilterRoleDefinitions ( |
||
FilterRoleDefinitions ( string name, string scope, bool scopeAndBelow = false ) : List |
Filters the existing role Definitions. If name is not provided, all role definitions are fetched.
|
|
FilterRoleDefinitionsByCustom ( string scope, bool scopeAndBelow ) : List |
Filters the existing role Definitions by CustomRole.
|
|
GetAllRoleDefinitionsAtScopeAndBelow ( string scope ) : List |
Fetches all existing role Definitions.
|
|
GetRoleDefinition ( System.Guid roleId, string scope ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
Gets a single role definition by the role Id guid.
|
|
GetRoleDefinition ( string roleId ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
Gets a single role definition by a fully qualified role Id
|
|
GetSingleRoleDefinitionByName ( string name, string scope ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition | ||
RemoveRoleAssignment ( Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions options, string subscriptionId ) : IEnumerable |
Deletes a role assignments based on the used options.
|
|
RemoveRoleDefinition ( |
||
RemoveRoleDefinition ( System.Guid roleDefinitionId, string scope ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
Deletes a role definition based on the id.
|
|
RemoveRoleDefinition ( string roleDefinitionName, string scope ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
Deletes a role definition based on the name.
|
|
UpdateRoleDefinition ( Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition roleDefinition ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
Updates a role definiton.
|
메소드 | 설명 | |
---|---|---|
AuthorizationClient ( ) : Hyak.Common | ||
CreateOrUpdateRoleDefinition ( System.Guid roleDefinitionId, Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition roleDefinition ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition | ||
ValidateRoleDefinition ( Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition roleDefinition ) : void |
public AuthorizationClient ( |
||
context | The AzureContext instance | |
리턴 | Hyak.Common |
public CreateRoleAssignment ( Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions parameters ) : |
||
parameters | Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions | The create parameters |
리턴 |
public CreateRoleDefinition ( Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition roleDefinition ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition | ||
roleDefinition | Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition | The role definition to create. |
리턴 | Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
public FilterRoleAssignments ( Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions options, string currentSubscription ) : List |
||
options | Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions | The filtering options |
currentSubscription | string | The current subscription |
리턴 | List |
public FilterRoleDefinitions ( |
||
options | ||
리턴 | List |
public FilterRoleDefinitions ( string name, string scope, bool scopeAndBelow = false ) : List |
||
name | string | The role name |
scope | string | |
scopeAndBelow | bool | |
리턴 | List |
public FilterRoleDefinitionsByCustom ( string scope, bool scopeAndBelow ) : List |
||
scope | string | |
scopeAndBelow | bool | |
리턴 | List |
public GetAllRoleDefinitionsAtScopeAndBelow ( string scope ) : List |
||
scope | string | |
리턴 | List |
public GetRoleDefinition ( System.Guid roleId, string scope ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition | ||
roleId | System.Guid | RoleId guid |
scope | string | |
리턴 | Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
public GetRoleDefinition ( string roleId ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition | ||
roleId | string | Fully qualified roleId |
리턴 | Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
public GetSingleRoleDefinitionByName ( string name, string scope ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition | ||
name | string | |
scope | string | |
리턴 | Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
public RemoveRoleAssignment ( Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions options, string subscriptionId ) : IEnumerable |
||
options | Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions | The role assignment filtering options |
subscriptionId | string | Current subscription id |
리턴 | IEnumerable |
public RemoveRoleDefinition ( |
||
options | ||
리턴 | Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
public RemoveRoleDefinition ( System.Guid roleDefinitionId, string scope ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition | ||
roleDefinitionId | System.Guid | The role definition id to delete |
scope | string | |
리턴 | Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
public RemoveRoleDefinition ( string roleDefinitionName, string scope ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition | ||
roleDefinitionName | string | The role definition name. |
scope | string | |
리턴 | Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |
public UpdateRoleDefinition ( Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition roleDefinition ) : Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition | ||
roleDefinition | Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition | The role definition to update. |
리턴 | Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition |