Поделиться через


ConnectedKubernetesClient class

Extends

Конструкторы

ConnectedKubernetesClient(TokenCredential, string, ConnectedKubernetesClientOptionalParams)

Инициализирует новый экземпляр класса ConnectedKubernetesClient.

Свойства

$host
apiVersion
connectedClusterOperations
operations
subscriptionId

Унаследованные свойства

pipeline

Конвейер, используемый этим клиентом для выполнения запросов

Наследуемые методы

sendOperationRequest<T>(OperationArguments, OperationSpec)

Отправьте HTTP-запрос, который заполняется с помощью предоставленного operationSpec.

sendRequest(PipelineRequest)

Отправьте предоставленный запрос httpRequest.

Сведения о конструкторе

ConnectedKubernetesClient(TokenCredential, string, ConnectedKubernetesClientOptionalParams)

Инициализирует новый экземпляр класса ConnectedKubernetesClient.

new ConnectedKubernetesClient(credentials: TokenCredential, subscriptionId: string, options?: ConnectedKubernetesClientOptionalParams)

Параметры

credentials
TokenCredential

Учетные данные подписки, которые однозначно идентифицируют подписку клиента.

subscriptionId

string

Идентификатор целевой подписки.

options
ConnectedKubernetesClientOptionalParams

Параметры параметра

Сведения о свойстве

$host

$host: string

Значение свойства

string

apiVersion

apiVersion: string

Значение свойства

string

connectedClusterOperations

connectedClusterOperations: ConnectedClusterOperations

Значение свойства

operations

operations: Operations

Значение свойства

subscriptionId

subscriptionId: string

Значение свойства

string

Сведения об унаследованном свойстве

pipeline

Конвейер, используемый этим клиентом для выполнения запросов

pipeline: Pipeline

Значение свойства

Наследуется от coreClient.ServiceClient.pipeline

Сведения о наследуемом методе

sendOperationRequest<T>(OperationArguments, OperationSpec)

Отправьте HTTP-запрос, который заполняется с помощью предоставленного operationSpec.

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

Параметры

operationArguments
OperationArguments

Аргументы, из которые будут заполнены значения шаблона HTTP-запроса.

operationSpec
OperationSpec

Параметр OperationSpec, используемый для заполнения httpRequest.

Возвращаемое значение

Promise<T>

Наследуется от coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

Отправьте предоставленный запрос httpRequest.

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

Параметры

request
PipelineRequest

Возвращаемое значение

Promise<PipelineResponse>

Наследуется от coreClient.ServiceClient.sendRequest