azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

87 строки
6.8 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.graphrbac.ServicePrincipal.UpdateStages.WithRoleAssignment"
fullName: "com.microsoft.azure.management.graphrbac.ServicePrincipal.UpdateStages.WithRoleAssignment"
name: "ServicePrincipal.UpdateStages.WithRoleAssignment"
nameWithType: "ServicePrincipal.UpdateStages.WithRoleAssignment"
summary: "A service principal update allowing role assignments to be added."
syntax: "public static interface **ServicePrincipal.UpdateStages.WithRoleAssignment**"
methods:
- uid: "com.microsoft.azure.management.graphrbac.ServicePrincipal.UpdateStages.WithRoleAssignment.withNewRole(com.microsoft.azure.management.graphrbac.BuiltInRole,java.lang.String)"
fullName: "com.microsoft.azure.management.graphrbac.ServicePrincipal.UpdateStages.WithRoleAssignment.withNewRole(BuiltInRole role, String scope)"
name: "withNewRole(BuiltInRole role, String scope)"
nameWithType: "ServicePrincipal.UpdateStages.WithRoleAssignment.withNewRole(BuiltInRole role, String scope)"
summary: "Assigns a new role to the service principal."
modifiers:
- "abstract"
parameters:
- description: "the role to assign to the service principal"
name: "role"
type: "<xref href=\"com.microsoft.azure.management.graphrbac.BuiltInRole?alt=com.microsoft.azure.management.graphrbac.BuiltInRole&text=BuiltInRole\" data-throw-if-not-resolved=\"False\" />"
- description: "the scope the service principal can access"
name: "scope"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract ServicePrincipal.Update withNewRole(BuiltInRole role, String scope)"
desc: "Assigns a new role to the service principal."
returns:
description: "the next stage of the service principal update"
type: "<xref href=\"com.microsoft.azure.management.graphrbac.ServicePrincipal.Update?alt=com.microsoft.azure.management.graphrbac.ServicePrincipal.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.graphrbac.ServicePrincipal.UpdateStages.WithRoleAssignment.withNewRoleInResourceGroup(com.microsoft.azure.management.graphrbac.BuiltInRole,com.microsoft.azure.management.resources.ResourceGroup)"
fullName: "com.microsoft.azure.management.graphrbac.ServicePrincipal.UpdateStages.WithRoleAssignment.withNewRoleInResourceGroup(BuiltInRole role, ResourceGroup resourceGroup)"
name: "withNewRoleInResourceGroup(BuiltInRole role, ResourceGroup resourceGroup)"
nameWithType: "ServicePrincipal.UpdateStages.WithRoleAssignment.withNewRoleInResourceGroup(BuiltInRole role, ResourceGroup resourceGroup)"
summary: "Assigns a new role to the service principal."
modifiers:
- "abstract"
parameters:
- description: "the role to assign to the service principal"
name: "role"
type: "<xref href=\"com.microsoft.azure.management.graphrbac.BuiltInRole?alt=com.microsoft.azure.management.graphrbac.BuiltInRole&text=BuiltInRole\" data-throw-if-not-resolved=\"False\" />"
- description: "the resource group the service principal can access"
name: "resourceGroup"
type: "<xref href=\"com.microsoft.azure.management.resources.ResourceGroup?alt=com.microsoft.azure.management.resources.ResourceGroup&text=ResourceGroup\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract ServicePrincipal.Update withNewRoleInResourceGroup(BuiltInRole role, ResourceGroup resourceGroup)"
desc: "Assigns a new role to the service principal."
returns:
description: "the next stage of the service principal update"
type: "<xref href=\"com.microsoft.azure.management.graphrbac.ServicePrincipal.Update?alt=com.microsoft.azure.management.graphrbac.ServicePrincipal.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.graphrbac.ServicePrincipal.UpdateStages.WithRoleAssignment.withNewRoleInSubscription(com.microsoft.azure.management.graphrbac.BuiltInRole,java.lang.String)"
fullName: "com.microsoft.azure.management.graphrbac.ServicePrincipal.UpdateStages.WithRoleAssignment.withNewRoleInSubscription(BuiltInRole role, String subscriptionId)"
name: "withNewRoleInSubscription(BuiltInRole role, String subscriptionId)"
nameWithType: "ServicePrincipal.UpdateStages.WithRoleAssignment.withNewRoleInSubscription(BuiltInRole role, String subscriptionId)"
summary: "Assigns a new role to the service principal."
modifiers:
- "abstract"
parameters:
- description: "the role to assign to the service principal"
name: "role"
type: "<xref href=\"com.microsoft.azure.management.graphrbac.BuiltInRole?alt=com.microsoft.azure.management.graphrbac.BuiltInRole&text=BuiltInRole\" data-throw-if-not-resolved=\"False\" />"
- description: "the subscription the service principal can access"
name: "subscriptionId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract ServicePrincipal.Update withNewRoleInSubscription(BuiltInRole role, String subscriptionId)"
desc: "Assigns a new role to the service principal."
returns:
description: "the next stage of the service principal update"
type: "<xref href=\"com.microsoft.azure.management.graphrbac.ServicePrincipal.Update?alt=com.microsoft.azure.management.graphrbac.ServicePrincipal.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.graphrbac.ServicePrincipal.UpdateStages.WithRoleAssignment.withoutRole(com.microsoft.azure.management.graphrbac.RoleAssignment)"
fullName: "com.microsoft.azure.management.graphrbac.ServicePrincipal.UpdateStages.WithRoleAssignment.withoutRole(RoleAssignment roleAssignment)"
name: "withoutRole(RoleAssignment roleAssignment)"
nameWithType: "ServicePrincipal.UpdateStages.WithRoleAssignment.withoutRole(RoleAssignment roleAssignment)"
summary: "Removes a role from the service principal."
modifiers:
- "abstract"
parameters:
- description: "the role assignment to remove"
name: "roleAssignment"
type: "<xref href=\"com.microsoft.azure.management.graphrbac.RoleAssignment?alt=com.microsoft.azure.management.graphrbac.RoleAssignment&text=RoleAssignment\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract ServicePrincipal.Update withoutRole(RoleAssignment roleAssignment)"
desc: "Removes a role from the service principal."
returns:
description: "the next stage of the service principal update"
type: "<xref href=\"com.microsoft.azure.management.graphrbac.ServicePrincipal.Update?alt=com.microsoft.azure.management.graphrbac.ServicePrincipal.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "A service principal update allowing role assignments to be added."
metadata: {}
package: "com.microsoft.azure.management.graphrbac"
artifact: com.microsoft.azure:azure-mgmt-graph-rbac:1.41.4