@azure-rest/core-client
Version:
Core library for interfacing with Azure Rest Clients
16 lines • 727 B
TypeScript
import type { KeyCredential, TokenCredential } from "@azure/core-auth";
import type { Client, ClientOptions } from "./common.js";
/**
* Creates a client with a default pipeline
* @param endpoint - Base endpoint for the client
* @param options - Client options
*/
export declare function getClient(endpoint: string, options?: ClientOptions): Client;
/**
* Creates a client with a default pipeline
* @param endpoint - Base endpoint for the client
* @param credentials - Credentials to authenticate the requests
* @param options - Client options
*/
export declare function getClient(endpoint: string, credentials?: TokenCredential | KeyCredential, options?: ClientOptions): Client;
//# sourceMappingURL=getClient.d.ts.map