ServicePrincipal.DefinitionStages.WithApplication Interface
public interface WithApplication
A service principal definition allowing application to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
Service |
withExistingApplication(ActiveDirectoryApplication application)
Specifies an existing application to use by the service principal. |
Service |
withExistingApplication(String id)
Specifies an existing application by its app ID. |
Service |
withNewApplication(Creatable<ActiveDirectoryApplication> applicationCreatable)
Specifies a new application to create and use by the service principal. |
Service |
withNewApplication(String signOnUrl)
Specifies a new application to create and use by the service principal. |
Method Details
withExistingApplication
public WithCreate withExistingApplication(ActiveDirectoryApplication application)
Specifies an existing application to use by the service principal.
Parameters:
Returns:
withExistingApplication
public WithCreate withExistingApplication(String id)
Specifies an existing application by its app ID.
Parameters:
Returns:
withNewApplication
public WithCreate withNewApplication(Creatable
Specifies a new application to create and use by the service principal.
Parameters:
Returns:
withNewApplication
public WithCreate withNewApplication(String signOnUrl)
Specifies a new application to create and use by the service principal.
Parameters:
Returns:
Applies to
Azure SDK for Java