import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { ManagedHsm , ManagedHsmsListByResourceGroupOptionalParams , ManagedHsmsListBySubscriptionOptionalParams , DeletedManagedHsm , ManagedHsmsListDeletedOptionalParams , ManagedHsmsCreateOrUpdateOptionalParams , ManagedHsmsCreateOrUpdateResponse , ManagedHsmsUpdateOptionalParams , ManagedHsmsUpdateResponse , ManagedHsmsDeleteOptionalParams , ManagedHsmsGetOptionalParams , ManagedHsmsGetResponse , ManagedHsmsGetDeletedOptionalParams , ManagedHsmsGetDeletedResponse , ManagedHsmsPurgeDeletedOptionalParams } from "../models" ; /** Interface representing a ManagedHsms. */ export interface ManagedHsms { param resourceGroupName param options listByResourceGroup ( resourceGroupName , options ? ) : PagedAsyncIterableIterator < ManagedHsm > ; param options listBySubscription ( options ? ) : PagedAsyncIterableIterator < ManagedHsm > ; param options listDeleted ( options ? ) : PagedAsyncIterableIterator < DeletedManagedHsm > ; param resourceGroupName param name param parameters param options beginCreateOrUpdate ( resourceGroupName , name , parameters , options ? ) : Promise < PollerLike < PollOperationState < ManagedHsmsCreateOrUpdateResponse > , ManagedHsmsCreateOrUpdateResponse > > ; param resourceGroupName param name param parameters param options beginCreateOrUpdateAndWait ( resourceGroupName , name , parameters , options ? ) : Promise < ManagedHsmsCreateOrUpdateResponse > ; param resourceGroupName param name param parameters param options beginUpdate ( resourceGroupName , name , parameters , options ? ) : Promise < PollerLike < PollOperationState < ManagedHsmsUpdateResponse > , ManagedHsmsUpdateResponse > > ; param resourceGroupName param name param parameters param options beginUpdateAndWait ( resourceGroupName , name , parameters , options ? ) : Promise < ManagedHsmsUpdateResponse > ; param resourceGroupName param name param options beginDelete ( resourceGroupName , name , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param name param options beginDeleteAndWait ( resourceGroupName , name , options ? ) : Promise < void > ; param resourceGroupName param name param options get ( resourceGroupName , name , options ? ) : Promise < ManagedHsmsGetResponse > ; param name param location param options getDeleted ( name , location , options ? ) : Promise < ManagedHsmsGetDeletedResponse > ; param name param location param options beginPurgeDeleted ( name , location , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param name param location param options beginPurgeDeletedAndWait ( name , location , options ? ) : Promise < void > ; }