ServicePrincipalBase Constructors
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.
Overloads
ServicePrincipalBase() |
Initializes a new instance of the ServicePrincipalBase class. |
ServicePrincipalBase(Nullable<Boolean>, Nullable<Boolean>, IList<KeyCredential>, IList<PasswordCredential>, String, IList<String>) |
Initializes a new instance of the ServicePrincipalBase class. |
ServicePrincipalBase()
Initializes a new instance of the ServicePrincipalBase class.
public ServicePrincipalBase ();
Public Sub New ()
Applies to
ServicePrincipalBase(Nullable<Boolean>, Nullable<Boolean>, IList<KeyCredential>, IList<PasswordCredential>, String, IList<String>)
Initializes a new instance of the ServicePrincipalBase class.
public ServicePrincipalBase (bool? accountEnabled = default, bool? appRoleAssignmentRequired = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential> keyCredentials = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PasswordCredential> passwordCredentials = default, string servicePrincipalType = default, System.Collections.Generic.IList<string> tags = default);
new Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalBase : Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential> * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PasswordCredential> * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalBase
Public Sub New (Optional accountEnabled As Nullable(Of Boolean) = Nothing, Optional appRoleAssignmentRequired As Nullable(Of Boolean) = Nothing, Optional keyCredentials As IList(Of KeyCredential) = Nothing, Optional passwordCredentials As IList(Of PasswordCredential) = Nothing, Optional servicePrincipalType As String = Nothing, Optional tags As IList(Of String) = Nothing)
Parameters
Specifies whether an AppRoleAssignment to a user or group is required before Azure AD will issue a user or access token to the application.
- keyCredentials
- IList<KeyCredential>
The collection of key credentials associated with the service principal.
- passwordCredentials
- IList<PasswordCredential>
The collection of password credentials associated with the service principal.
- servicePrincipalType
- String
the type of the service principal
Optional list of tags that you can apply to your service principals. Not nullable.
Applies to
Azure SDK for .NET