共用方式為


AzureAPICenter class

Extends

建構函式

AzureAPICenter(TokenCredential, string, AzureAPICenterOptionalParams)

初始化 AzureAPICenter 類別的新實例。

屬性

$host
apiDefinitions
apis
apiVersion
apiVersions
deployments
environments
metadataSchemas
operations
services
subscriptionId
workspaces

繼承的屬性

pipeline

此客戶端用來提出要求的管線

繼承的方法

sendOperationRequest<T>(OperationArguments, OperationSpec)

傳送使用提供的 OperationSpec 填入的 HTTP 要求。

sendRequest(PipelineRequest)

傳送提供的 HTTPRequest。

建構函式詳細資料

AzureAPICenter(TokenCredential, string, AzureAPICenterOptionalParams)

初始化 AzureAPICenter 類別的新實例。

new AzureAPICenter(credentials: TokenCredential, subscriptionId: string, options?: AzureAPICenterOptionalParams)

參數

credentials
TokenCredential

可唯一識別用戶端訂用帳戶的訂用帳戶認證。

subscriptionId

string

目標訂用帳戶的標識碼。 此值必須是 UUID。

options
AzureAPICenterOptionalParams

參數選項

屬性詳細資料

$host

$host: string

屬性值

string

apiDefinitions

apiDefinitions: ApiDefinitions

屬性值

apis

apis: Apis

屬性值

apiVersion

apiVersion: string

屬性值

string

apiVersions

apiVersions: ApiVersions

屬性值

deployments

deployments: Deployments

屬性值

environments

environments: Environments

屬性值

metadataSchemas

metadataSchemas: MetadataSchemas

屬性值

operations

operations: Operations

屬性值

services

services: Services

屬性值

subscriptionId

subscriptionId: string

屬性值

string

workspaces

workspaces: Workspaces

屬性值

繼承的屬性詳細資料

pipeline

此客戶端用來提出要求的管線

pipeline: Pipeline

屬性值

繼承自 coreClient.ServiceClient.pipeline

繼承的方法的詳細資料

sendOperationRequest<T>(OperationArguments, OperationSpec)

傳送使用提供的 OperationSpec 填入的 HTTP 要求。

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

參數

operationArguments
OperationArguments

HTTP 要求樣板化值的自變數將會從 中填入。

operationSpec
OperationSpec

用來填入 HTTPRequest 的 OperationSpec。

傳回

Promise<T>

繼承自 coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

傳送提供的 HTTPRequest。

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

參數

request
PipelineRequest

傳回

Promise<PipelineResponse>

繼承自 coreClient.ServiceClient.sendRequest