UNPKG

@azure-rest/core-client

Version:
16 lines 727 B
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