Share via


ServicePrincipalCreateParameters Class

Definition

Request parameters for creating a new service principal.

public class ServicePrincipalCreateParameters : Microsoft.Azure.Graph.RBAC.Models.ServicePrincipalBase
type ServicePrincipalCreateParameters = class
    inherit ServicePrincipalBase
Public Class ServicePrincipalCreateParameters
Inherits ServicePrincipalBase
Inheritance
ServicePrincipalCreateParameters

Constructors

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.

Properties

AccountEnabled

Gets or sets whether or not the service principal account is enabled

(Inherited from ServicePrincipalBase)
AppId

Gets or sets the application ID.

AppRoleAssignmentRequired

Gets or sets specifies whether an AppRoleAssignment to a user or group is required before Azure AD will issue a user or access token to the application.

(Inherited from ServicePrincipalBase)
KeyCredentials

Gets or sets the collection of key credentials associated with the service principal.

(Inherited from ServicePrincipalBase)
PasswordCredentials

Gets or sets the collection of password credentials associated with the service principal.

(Inherited from ServicePrincipalBase)
ServicePrincipalType

Gets or sets the type of the service principal

(Inherited from ServicePrincipalBase)
Tags

Gets or sets optional list of tags that you can apply to your service principals. Not nullable.

(Inherited from ServicePrincipalBase)

Methods

Validate()

Validate the object.

Applies to