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(String, 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(String, Nullable<Boolean>, IList<KeyCredential>, IList<PasswordCredential>, String, IList<String>)
Initializes a new instance of the ServicePrincipalBase class.
public ServicePrincipalBase (string accountEnabled = default, bool? appRoleAssignmentRequired = default, System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.KeyCredential> keyCredentials = default, System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.PasswordCredential> passwordCredentials = default, string servicePrincipalType = default, System.Collections.Generic.IList<string> tags = default);
new Microsoft.Azure.Graph.RBAC.Models.ServicePrincipalBase : string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.KeyCredential> * System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.PasswordCredential> * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Graph.RBAC.Models.ServicePrincipalBase
Public Sub New (Optional accountEnabled As String = 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
- accountEnabled
- String
whether or not the service principal account is enabled
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.