다음을 통해 공유


ServicePrincipalCreateParameters Constructors

Definition

Overloads

ServicePrincipalCreateParameters()

Initializes a new instance of the ServicePrincipalCreateParameters class.

ServicePrincipalCreateParameters(String, Nullable<Boolean>, 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, Nullable<Boolean>, Nullable<Boolean>, IList<KeyCredential>, IList<PasswordCredential>, String, IList<String>)

Initializes a new instance of the ServicePrincipalCreateParameters class.

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

appId
String

The application ID.

accountEnabled
Nullable<Boolean>

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