import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { ServicePrincipal , ServicePrincipalsListNextOptionalParams , ServicePrincipalsListOptionalParams , DirectoryObjectUnion , ServicePrincipalsListOwnersOptionalParams , KeyCredential , ServicePrincipalsListKeyCredentialsOptionalParams , PasswordCredential , ServicePrincipalsListPasswordCredentialsOptionalParams , ServicePrincipalCreateParameters , ServicePrincipalsCreateOptionalParams , ServicePrincipalsCreateResponse , ServicePrincipalUpdateParameters , ServicePrincipalsUpdateOptionalParams , ServicePrincipalsDeleteOptionalParams , ServicePrincipalsGetOptionalParams , ServicePrincipalsGetResponse , KeyCredentialsUpdateParameters , ServicePrincipalsUpdateKeyCredentialsOptionalParams , PasswordCredentialsUpdateParameters , ServicePrincipalsUpdatePasswordCredentialsOptionalParams } from "../models" ; /** Interface representing a ServicePrincipals. */ export interface ServicePrincipals { param options list ( options ? ) : PagedAsyncIterableIterator < ServicePrincipal > ; param objectId param options listOwners ( objectId , options ? ) : PagedAsyncIterableIterator < DirectoryObjectUnion > ; param objectId param options listKeyCredentials ( objectId , options ? ) : PagedAsyncIterableIterator < KeyCredential > ; param objectId param options listPasswordCredentials ( objectId , options ? ) : PagedAsyncIterableIterator < PasswordCredential > ; param nextLink param options listNext ( nextLink , options ? ) : PagedAsyncIterableIterator < ServicePrincipal > ; param parameters param options create ( parameters , options ? ) : Promise < ServicePrincipalsCreateResponse > ; param objectId param parameters param options update ( objectId , parameters , options ? ) : Promise < void > ; param objectId param options delete ( objectId , options ? ) : Promise < void > ; param objectId param options get ( objectId , options ? ) : Promise < ServicePrincipalsGetResponse > ; param objectId param parameters param options updateKeyCredentials ( objectId , parameters , options ? ) : Promise < void > ; param objectId param parameters param options updatePasswordCredentials ( objectId , parameters , options ? ) : Promise < void > ; }