Udostępnij przez


AzureRedHatOpenShiftClient class

Rozszerzenie

Konstruktory

AzureRedHatOpenShiftClient(TokenCredential, string, AzureRedHatOpenShiftClientOptionalParams)

Inicjuje nowe wystąpienie klasy AzureRedHatOpenShiftClient.

Właściwości

$host
apiVersion
machinePools
openShiftClusters
openShiftVersions
operations
secrets
subscriptionId
syncIdentityProviders
syncSets

Właściwości dziedziczone

pipeline

Potok używany przez tego klienta do tworzenia żądań

Metody dziedziczone

sendOperationRequest<T>(OperationArguments, OperationSpec)

Wyślij żądanie HTTP wypełnione przy użyciu podanego elementu OperationSpec.

sendRequest(PipelineRequest)

Wyślij podany element httpRequest.

Szczegóły konstruktora

AzureRedHatOpenShiftClient(TokenCredential, string, AzureRedHatOpenShiftClientOptionalParams)

Inicjuje nowe wystąpienie klasy AzureRedHatOpenShiftClient.

new AzureRedHatOpenShiftClient(credentials: TokenCredential, subscriptionId: string, options?: AzureRedHatOpenShiftClientOptionalParams)

Parametry

credentials
TokenCredential

Poświadczenia subskrypcji, które jednoznacznie identyfikują subskrypcję klienta.

subscriptionId

string

Identyfikator subskrypcji docelowej.

options
AzureRedHatOpenShiftClientOptionalParams

Opcje parametrów

Szczegóły właściwości

$host

$host: string

Wartość właściwości

string

apiVersion

apiVersion: string

Wartość właściwości

string

machinePools

machinePools: MachinePools

Wartość właściwości

openShiftClusters

openShiftClusters: OpenShiftClusters

Wartość właściwości

openShiftVersions

openShiftVersions: OpenShiftVersions

Wartość właściwości

operations

operations: Operations

Wartość właściwości

secrets

secrets: Secrets

Wartość właściwości

subscriptionId

subscriptionId: string

Wartość właściwości

string

syncIdentityProviders

syncIdentityProviders: SyncIdentityProviders

Wartość właściwości

syncSets

syncSets: SyncSets

Wartość właściwości

Szczegóły właściwości dziedziczonej

pipeline

Potok używany przez tego klienta do tworzenia żądań

pipeline: Pipeline

Wartość właściwości

dziedziczone z coreClient.ServiceClient.pipeline

Szczegóły metody dziedziczonej

sendOperationRequest<T>(OperationArguments, OperationSpec)

Wyślij żądanie HTTP wypełnione przy użyciu podanego elementu OperationSpec.

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

Parametry

operationArguments
OperationArguments

Argumenty, z których zostaną wypełnione wartości szablonowe żądania HTTP.

operationSpec
OperationSpec

Element OperationSpec do użycia w celu wypełnienia żądania httpRequest.

Zwraca

Promise<T>

dziedziczone z coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

Wyślij podany element httpRequest.

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

Parametry

request
PipelineRequest

Zwraca

Promise<PipelineResponse>

dziedziczone z coreClient.ServiceClient.sendRequest