Interface ServicePrincipal.DefinitionStages.WithApplication
-
- All Known Subinterfaces:
ServicePrincipal.Definition,ServicePrincipal.DefinitionStages.Blank
- Enclosing interface:
- ServicePrincipal.DefinitionStages
public static interface ServicePrincipal.DefinitionStages.WithApplicationA service principal definition allowing application to be specified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServicePrincipal.DefinitionStages.WithCreatewithExistingApplication(ActiveDirectoryApplication application)Specifies an existing application to use by the service principal.ServicePrincipal.DefinitionStages.WithCreatewithExistingApplication(String id)Specifies an existing application by its app ID.ServicePrincipal.DefinitionStages.WithCreatewithNewApplication()Specifies a new application to create and use by the service principal.ServicePrincipal.DefinitionStages.WithCreatewithNewApplication(Creatable<ActiveDirectoryApplication> applicationCreatable)Specifies a new application to create and use by the service principal.ServicePrincipal.DefinitionStages.WithCreatewithNewApplication(String signOnUrl)Specifies a new application to create and use by the service principal.
-
-
-
Method Detail
-
withExistingApplication
ServicePrincipal.DefinitionStages.WithCreate withExistingApplication(String id)
Specifies an existing application by its app ID.- Parameters:
id- the app ID of the application- Returns:
- the next stage of the service principal definition
-
withExistingApplication
ServicePrincipal.DefinitionStages.WithCreate withExistingApplication(ActiveDirectoryApplication application)
Specifies an existing application to use by the service principal.- Parameters:
application- the application- Returns:
- the next stage of the service principal definition
-
withNewApplication
ServicePrincipal.DefinitionStages.WithCreate withNewApplication(Creatable<ActiveDirectoryApplication> applicationCreatable)
Specifies a new application to create and use by the service principal.- Parameters:
applicationCreatable- the new application's creatable- Returns:
- the next stage of the service principal definition
-
withNewApplication
ServicePrincipal.DefinitionStages.WithCreate withNewApplication(String signOnUrl)
Specifies a new application to create and use by the service principal.- Parameters:
signOnUrl- the new application's sign on URL- Returns:
- the next stage of the service principal definition
-
withNewApplication
ServicePrincipal.DefinitionStages.WithCreate withNewApplication()
Specifies a new application to create and use by the service principal.- Returns:
- the next stage of the service principal definition
-
-