共用方式為


IWithApplicationBeta.WithExistingApplication Method

Definition

Overloads

WithExistingApplication(IActiveDirectoryApplication)

Specifies an existing application to use by the service principal.

WithExistingApplication(String)

Specifies an existing application by its app ID.

WithExistingApplication(IActiveDirectoryApplication)

Specifies an existing application to use by the service principal.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate WithExistingApplication (Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryApplication application);
abstract member WithExistingApplication : Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryApplication -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate
Public Function WithExistingApplication (application As IActiveDirectoryApplication) As IWithCreate

Parameters

application
IActiveDirectoryApplication

The application.

Returns

Applies to

WithExistingApplication(String)

Specifies an existing application by its app ID.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate WithExistingApplication (string id);
abstract member WithExistingApplication : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate
Public Function WithExistingApplication (id As String) As IWithCreate

Parameters

id
String

The app ID of the application.

Returns

Applies to