你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CustomizedAccelerators interface

表示 CustomAccelerators 的接口。

方法

beginCreateOrUpdate(string, string, string, string, CustomizedAcceleratorResource, CustomizedAcceleratorsCreateOrUpdateOptionalParams)

创建或更新自定义加速器。

beginCreateOrUpdateAndWait(string, string, string, string, CustomizedAcceleratorResource, CustomizedAcceleratorsCreateOrUpdateOptionalParams)

创建或更新自定义加速器。

beginDelete(string, string, string, string, CustomizedAcceleratorsDeleteOptionalParams)

删除自定义加速器。

beginDeleteAndWait(string, string, string, string, CustomizedAcceleratorsDeleteOptionalParams)

删除自定义加速器。

get(string, string, string, string, CustomizedAcceleratorsGetOptionalParams)

获取自定义加速器。

list(string, string, string, CustomizedAcceleratorsListOptionalParams)

处理列出所有自定义加速器的请求。

validate(string, string, string, string, CustomizedAcceleratorProperties, CustomizedAcceleratorsValidateOptionalParams)

检查自定义加速器是否有效。

方法详细信息

beginCreateOrUpdate(string, string, string, string, CustomizedAcceleratorResource, CustomizedAcceleratorsCreateOrUpdateOptionalParams)

创建或更新自定义加速器。

function beginCreateOrUpdate(resourceGroupName: string, serviceName: string, applicationAcceleratorName: string, customizedAcceleratorName: string, customizedAcceleratorResource: CustomizedAcceleratorResource, options?: CustomizedAcceleratorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CustomizedAcceleratorResource>, CustomizedAcceleratorResource>>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serviceName

string

服务资源的名称。

applicationAcceleratorName

string

应用程序加速器的名称。

customizedAcceleratorName

string

自定义加速器的名称。

customizedAcceleratorResource
CustomizedAcceleratorResource

用于创建或更新操作的自定义加速器

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<CustomizedAcceleratorResource>, CustomizedAcceleratorResource>>

beginCreateOrUpdateAndWait(string, string, string, string, CustomizedAcceleratorResource, CustomizedAcceleratorsCreateOrUpdateOptionalParams)

创建或更新自定义加速器。

function beginCreateOrUpdateAndWait(resourceGroupName: string, serviceName: string, applicationAcceleratorName: string, customizedAcceleratorName: string, customizedAcceleratorResource: CustomizedAcceleratorResource, options?: CustomizedAcceleratorsCreateOrUpdateOptionalParams): Promise<CustomizedAcceleratorResource>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serviceName

string

服务资源的名称。

applicationAcceleratorName

string

应用程序加速器的名称。

customizedAcceleratorName

string

自定义加速器的名称。

customizedAcceleratorResource
CustomizedAcceleratorResource

用于创建或更新操作的自定义加速器

返回

beginDelete(string, string, string, string, CustomizedAcceleratorsDeleteOptionalParams)

删除自定义加速器。

function beginDelete(resourceGroupName: string, serviceName: string, applicationAcceleratorName: string, customizedAcceleratorName: string, options?: CustomizedAcceleratorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serviceName

string

服务资源的名称。

applicationAcceleratorName

string

应用程序加速器的名称。

customizedAcceleratorName

string

自定义加速器的名称。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, CustomizedAcceleratorsDeleteOptionalParams)

删除自定义加速器。

function beginDeleteAndWait(resourceGroupName: string, serviceName: string, applicationAcceleratorName: string, customizedAcceleratorName: string, options?: CustomizedAcceleratorsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serviceName

string

服务资源的名称。

applicationAcceleratorName

string

应用程序加速器的名称。

customizedAcceleratorName

string

自定义加速器的名称。

返回

Promise<void>

get(string, string, string, string, CustomizedAcceleratorsGetOptionalParams)

获取自定义加速器。

function get(resourceGroupName: string, serviceName: string, applicationAcceleratorName: string, customizedAcceleratorName: string, options?: CustomizedAcceleratorsGetOptionalParams): Promise<CustomizedAcceleratorResource>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serviceName

string

服务资源的名称。

applicationAcceleratorName

string

应用程序加速器的名称。

customizedAcceleratorName

string

自定义加速器的名称。

options
CustomizedAcceleratorsGetOptionalParams

选项参数。

返回

list(string, string, string, CustomizedAcceleratorsListOptionalParams)

处理列出所有自定义加速器的请求。

function list(resourceGroupName: string, serviceName: string, applicationAcceleratorName: string, options?: CustomizedAcceleratorsListOptionalParams): PagedAsyncIterableIterator<CustomizedAcceleratorResource, CustomizedAcceleratorResource[], PageSettings>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serviceName

string

服务资源的名称。

applicationAcceleratorName

string

应用程序加速器的名称。

返回

validate(string, string, string, string, CustomizedAcceleratorProperties, CustomizedAcceleratorsValidateOptionalParams)

检查自定义加速器是否有效。

function validate(resourceGroupName: string, serviceName: string, applicationAcceleratorName: string, customizedAcceleratorName: string, properties: CustomizedAcceleratorProperties, options?: CustomizedAcceleratorsValidateOptionalParams): Promise<CustomizedAcceleratorValidateResult>

参数

resourceGroupName

string

包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

serviceName

string

服务资源的名称。

applicationAcceleratorName

string

应用程序加速器的名称。

customizedAcceleratorName

string

自定义加速器的名称。

properties
CustomizedAcceleratorProperties

要验证的自定义加速器属性

返回