角色分配管理 API 的入口点。 C# publicinterfaceIRoleAssignments:Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchCreation<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment>,Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsCreating<Micro...
PUT https://management.azure.com/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentId}?api-version=2022-04-01 JSON 复制 { "properties": { "roleDefinitionId": "/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}", "principalId": "{principalId}", ...
{roleAssignmentId}"} 编辑条件 若要编辑现有角色分配条件,请使用添加角色分配条件所用的角色分配 - CreateREST API。 以下是示例 JSON,其中condition和description已更新。 只有condition、conditionVersion和description属性可以编辑。 必须指定其他属性以匹配现有角色分配。
Default Api Version: 2022-04-01 Resource: RoleAssignmentResource DeleteAsync(WaitUntil, String, CancellationToken) Delete a role assignment by scope and name. Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName} Operation Id: RoleAssignments_Delete Default Api Ve...
CreateCreates a role assignment. DeleteDeletes a role assignment. Role definition operations Expand table OperationDescription GetGet the specified role definition. ListGet all role definitions that are applicable at scope and above. Create Or UpdateCreates or updates a custom role definition. ...
API 约定、版本控制和重大更改 支持的版本 beta 版 版本1.6 显示另外 4 个 本主题概述 Azure Active Directory (AD) Graph API 实体和操作之间的版本差异。 你必须通过在请求中包含api-version查询字符串参数来指定想要使用的操作版本。 不含api-version参数的请求将被拒绝并返回(400) 错误请求响应。 如果你的服务...
这意味着“AppRoleAssignment.ReadWrite.All”可让你授予自己所需的任何 API 权限。这个特殊的角色还绕过了手动的、人工的管理员授权过程。拥有这个角色意味着“MyCoolAzureApp”可以授予自己“RoleManagement.ReadWrite.Directory”: 可以用“RoleManagement.ReadWrite.Directory”做什么?文档描述如下: ...
1) 使用 REST API 来代替 PowerShell Command 发送 https://microsoftgraph.chinacloudapi.cn/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx请求 If send a put requesthttps://microsoftgraph.chinacloudapi.cn/beta/identityGovernance/entitlementManagem...
Docker - Docker API, Dockerhub API, Quay.io API scripts Databases - fast CLI wrappers, instant Docker sandboxes (PostgreSQL, MySQL, MariaDB, SQLite), SQL scripts, SQL script testers against all versions of a DB, advanced .psqlrc Data - data tools, converters and format validators for Avro...
New-AzureRmRoleAssignment -RoleDefinitionName Reader -ServicePrincipalName $azureAdApplication.ApplicationId $subscription = Get-AzureRmSubscription -SubscriptionId $subscriptionId $creds = Get-Credential -UserName $azureAdApplication.ApplicationId -Message "Please use your service principle credentials"...