Skip to main content

manager/base.ts

Source: sdks/typescript/packages/sdk/src/manager/base.ts. Back to the TypeScript SDK reference index.

note

This page is generated by tools/docs/gen_sdk_reference.py from the SDK sources and the OpenAPI text folders. Do not edit it by hand: change the source and regenerate.

Type alias ManagerCallOptions​

Per call options of the manager methods.

Definition: Pick<RequestOptions, "headers" \| "signal" \| "traceparent" \| "responseType">.

Type alias ManagerQuery​

Query parameters of a manager call.

Definition: Record<string, QueryValue>.

Class ManagerResource​

Base of the generated manager sub-clients: one call per Platform Manager route.

Attributes:

NameTypeRequiredDescription
bodyunknown,yesBody of the call made by the protected op helper.
methodHttpMethod,yesHTTP method of the call made by op; only GET, PUT and DELETE are retried.
optsManagerCallOptions,yesPer call options of op: headers, signal, traceparent and response type.
paramsRecord<string, string>,yesValues of the placeholders of the path of op.
pathstring,yesPath template of the Platform Manager route called by op.
queryManagerQuery,yesQuery parameters of the call made by op.

Constructor ManagerResource​

new ManagerResource(readonly http: HttpClient)

Keeps the HTTP client shared with ManagerClient.

NameTypeDefaultRequiredDescription
readonly httpHttpClientyesHTTP client of the ManagerClient.