Delen via


ServicePrincipalCreateParameters Constructors

Definition

Overloads

ServicePrincipalCreateParameters()

Initializes a new instance of the ServicePrincipalCreateParameters class.

ServicePrincipalCreateParameters(String, String, Nullable<Boolean>, IList<KeyCredential>, IList<PasswordCredential>, String, IList<String>)

Initializes a new instance of the ServicePrincipalCreateParameters class.

ServicePrincipalCreateParameters()

Initializes a new instance of the ServicePrincipalCreateParameters class.

public ServicePrincipalCreateParameters ();
Public Sub New ()

Applies to

ServicePrincipalCreateParameters(String, String, Nullable<Boolean>, IList<KeyCredential>, IList<PasswordCredential>, String, IList<String>)

Initializes a new instance of the ServicePrincipalCreateParameters class.

public ServicePrincipalCreateParameters (string appId, 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.ServicePrincipalCreateParameters : string * 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.ServicePrincipalCreateParameters
Public Sub New (appId As String, 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

appId
String

The application ID.

accountEnabled
String

whether or not the service principal account is enabled

appRoleAssignmentRequired
Nullable<Boolean>

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

tags
IList<String>

Optional list of tags that you can apply to your service principals. Not nullable.

Applies to