Skip to content

[F] getClientPath

function getClientPath<TServiceOperation>(client): string;

Get the path of a client in the client hierarchy. For root clients, this returns just the client name. For sub clients, this returns the full path like “RootClient.SubClient.NestedClient”.

Type Parameter
TServiceOperation extends SdkHttpOperation
ParameterTypeDescription
clientSdkClientType<TServiceOperation>The SdkClientType to get the path for

string

The client path string