共用方式為


IWithCreate Interface

Definition

A service principal definition with sufficient inputs to create a new service principal in the cloud, but exposing additional optional inputs to specify.

public interface IWithCreate : Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCredential, Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithRoleAssignment, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal>
type IWithCreate = interface
    interface ICreatable<IServicePrincipal>
    interface IIndexable
    interface IWithCredential
    interface IWithCredentialBeta
    interface IBeta
    interface IWithRoleAssignment
    interface IWithRoleAssignmentBeta
Public Interface IWithCreate
Implements IBeta, ICreatable(Of IServicePrincipal), IWithCredential, IWithRoleAssignment
Derived
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
DefineCertificateCredential()

Starts the definition of a certificate credential.

(Inherited from IWithCredentialBeta)
DefineCertificateCredential(String)

Starts the definition of a certificate credential.

(Inherited from IWithCredentialBeta)
DefinePasswordCredential(String)

Starts the definition of a password credential.

(Inherited from IWithCredentialBeta)
WithNewRole(BuiltInRole, String)

Assigns a new role to the service principal.

(Inherited from IWithRoleAssignmentBeta)
WithNewRoleInResourceGroup(BuiltInRole, IResourceGroup)

Assigns a new role to the service principal.

(Inherited from IWithRoleAssignmentBeta)
WithNewRoleInSubscription(BuiltInRole, String)

Assigns a new role to the service principal.

(Inherited from IWithRoleAssignmentBeta)

Applies to