IWithRoleAssignmentBeta.WithNewRole(BuiltInRole, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assigns a new role to the service principal.
public Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate WithNewRole (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, string scope);
abstract member WithNewRole : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate
Public Function WithNewRole (role As BuiltInRole, scope As String) As IUpdate
Parameters
- role
- BuiltInRole
The role to assign to the service principal.
- scope
- String
The scope the service principal can access.
Returns
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET