ServicePrincipalImpl.WithNewRoleInSubscription(BuiltInRole, String) Method

Definition

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipalImpl WithNewRoleInSubscription (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, string subscriptionId);
member this.WithNewRoleInSubscription : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipalImpl
Public Function WithNewRoleInSubscription (role As BuiltInRole, subscriptionId As String) As ServicePrincipalImpl

Parameters

subscriptionId
String

Returns

ServicePrincipalImpl

Applies to