AzureStackManagementClient class
构造函数
| Azure |
初始化 AzureStackManagementClient 类的新实例。 |
属性
| $host | |
| api |
|
| cloud |
|
| customer |
|
| linked |
|
| operations | |
| products | |
| registrations | |
| subscription |
继承属性
| pipeline | 此客户端用于发出请求的管道 |
继承的方法
| send |
发送使用提供的 OperationSpec 填充的 HTTP 请求。 |
| send |
发送提供的 httpRequest。 |
构造函数详细信息
AzureStackManagementClient(TokenCredential, string, AzureStackManagementClientOptionalParams)
初始化 AzureStackManagementClient 类的新实例。
new AzureStackManagementClient(credentials: TokenCredential, subscriptionId: string, options?: AzureStackManagementClientOptionalParams)
参数
- credentials
- TokenCredential
唯一标识客户端订阅的订阅凭据。
- subscriptionId
-
string
唯一标识Microsoft Azure 订阅的订阅凭据。 订阅 ID 构成了每个服务调用的 URI 的一部分。
参数选项
属性详细信息
$host
$host: string
属性值
string
apiVersion
apiVersion: string
属性值
string
cloudManifestFile
customerSubscriptions
linkedSubscriptions
operations
products
registrations
subscriptionId
subscriptionId: string
属性值
string
继承属性详细信息
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