import { AccountsGetAccountPropertiesParameters , AccountsUpdateAccountPropertiesParameters , AccountsGetAccessKeysParameters , AccountsRegenerateAccessKeyParameters , CollectionsGetCollectionParameters , CollectionsCreateOrUpdateCollectionParameters , CollectionsDeleteCollectionParameters , CollectionsListCollectionsParameters , CollectionsListChildCollectionNamesParameters , CollectionsGetCollectionPathParameters , ResourceSetRulesGetResourceSetRuleParameters , ResourceSetRulesCreateOrUpdateResourceSetRuleParameters , ResourceSetRulesDeleteResourceSetRuleParameters , ResourceSetRulesListResourceSetRulesParameters } from "./parameters" ; import { AccountsGetAccountProperties200Response , AccountsGetAccountPropertiesdefaultResponse , AccountsUpdateAccountProperties200Response , AccountsUpdateAccountPropertiesdefaultResponse , AccountsGetAccessKeys200Response , AccountsGetAccessKeysdefaultResponse , AccountsRegenerateAccessKey200Response , AccountsRegenerateAccessKeydefaultResponse , CollectionsGetCollection200Response , CollectionsGetCollectiondefaultResponse , CollectionsCreateOrUpdateCollection200Response , CollectionsCreateOrUpdateCollectiondefaultResponse , CollectionsDeleteCollection204Response , CollectionsDeleteCollectiondefaultResponse , CollectionsListCollections200Response , CollectionsListCollectionsdefaultResponse , CollectionsListChildCollectionNames200Response , CollectionsListChildCollectionNamesdefaultResponse , CollectionsGetCollectionPath200Response , CollectionsGetCollectionPathdefaultResponse , ResourceSetRulesGetResourceSetRule200Response , ResourceSetRulesGetResourceSetRuledefaultResponse , ResourceSetRulesCreateOrUpdateResourceSetRule200Response , ResourceSetRulesCreateOrUpdateResourceSetRuledefaultResponse , ResourceSetRulesDeleteResourceSetRule200Response , ResourceSetRulesDeleteResourceSetRule204Response , ResourceSetRulesDeleteResourceSetRuledefaultResponse , ResourceSetRulesListResourceSetRules200Response , ResourceSetRulesListResourceSetRulesdefaultResponse } from "./responses" ; import { Client } from "@azure-rest/core-client" ; import { TokenCredential } from "@azure/core-auth" ; export interface AccountsGetAccountProperties { /** Get an account */ get ( options ? ) : Promise < AccountsGetAccountProperties200Response | AccountsGetAccountPropertiesdefaultResponse > ; /** Updates an account */ patch ( options ) : Promise < AccountsUpdateAccountProperties200Response | AccountsUpdateAccountPropertiesdefaultResponse > ; } export interface AccountsGetAccessKeys { /** List the authorization keys associated with this account. */ post ( options ? ) : Promise < AccountsGetAccessKeys200Response | AccountsGetAccessKeysdefaultResponse > ; } export interface AccountsRegenerateAccessKey { /** Regenerate the authorization keys associated with this data catalog. */ post ( options ) : Promise < AccountsRegenerateAccessKey200Response | AccountsRegenerateAccessKeydefaultResponse > ; } export interface CollectionsGetCollection { /** Get a collection */ get ( options ? ) : Promise < CollectionsGetCollection200Response | CollectionsGetCollectiondefaultResponse > ; /** Creates or updates a collection entity. */ put ( options ) : Promise < CollectionsCreateOrUpdateCollection200Response | CollectionsCreateOrUpdateCollectiondefaultResponse > ; /** Deletes a Collection entity. */ delete ( options ? ) : Promise < CollectionsDeleteCollection204Response | CollectionsDeleteCollectiondefaultResponse > ; } export interface CollectionsListCollections { /** List the collections in the account. */ get ( options ? ) : Promise < CollectionsListCollections200Response | CollectionsListCollectionsdefaultResponse > ; } export interface CollectionsListChildCollectionNames { /** Lists the child collections names in the collection. */ get ( options ? ) : Promise < CollectionsListChildCollectionNames200Response | CollectionsListChildCollectionNamesdefaultResponse > ; } export interface CollectionsGetCollectionPath { /** Gets the parent name and parent friendly name chains that represent the collection path. */ get ( options ? ) : Promise < CollectionsGetCollectionPath200Response | CollectionsGetCollectionPathdefaultResponse > ; } export interface ResourceSetRulesGetResourceSetRule { /** Get a resource set config service model. */ get ( options ? ) : Promise < ResourceSetRulesGetResourceSetRule200Response | ResourceSetRulesGetResourceSetRuledefaultResponse > ; /** Creates or updates an resource set config. */ put ( options ) : Promise < ResourceSetRulesCreateOrUpdateResourceSetRule200Response | ResourceSetRulesCreateOrUpdateResourceSetRuledefaultResponse > ; /** Deletes a ResourceSetRuleConfig resource. */ delete ( options ? ) : Promise < ResourceSetRulesDeleteResourceSetRule200Response | ResourceSetRulesDeleteResourceSetRule204Response | ResourceSetRulesDeleteResourceSetRuledefaultResponse > ; } export interface ResourceSetRulesListResourceSetRules { /** Get a resource set config service model. */ get ( options ? ) : Promise < ResourceSetRulesListResourceSetRules200Response | ResourceSetRulesListResourceSetRulesdefaultResponse > ; } export interface Routes { /** Resource for '/' has methods for the following verbs: get, patch */ ( path ) : AccountsGetAccountProperties ; /** Resource for '/listkeys' has methods for the following verbs: post */ ( path ) : AccountsGetAccessKeys ; /** Resource for '/regeneratekeys' has methods for the following verbs: post */ ( path ) : AccountsRegenerateAccessKey ; /** Resource for '/collections/\{collectionName\}' has methods for the following verbs: get, put, delete */ ( path , collectionName ) : CollectionsGetCollection ; /** Resource for '/collections' has methods for the following verbs: get */ ( path ) : CollectionsListCollections ; /** Resource for '/collections/\{collectionName\}/getChildCollectionNames' has methods for the following verbs: get */ ( path , collectionName ) : CollectionsListChildCollectionNames ; /** Resource for '/collections/\{collectionName\}/getCollectionPath' has methods for the following verbs: get */ ( path , collectionName ) : CollectionsGetCollectionPath ; /** Resource for '/resourceSetRuleConfigs/defaultResourceSetRuleConfig' has methods for the following verbs: get, put, delete */ ( path ) : ResourceSetRulesGetResourceSetRule ; /** Resource for '/resourceSetRuleConfigs' has methods for the following verbs: get */ ( path ) : ResourceSetRulesListResourceSetRules ; } export type PurviewAccountRestClient = Client & { path : Routes ; } ;