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

IotSecuritySolution interface

表示 IotSecuritySolution 的接口。

方法

createOrUpdate(string, string, IoTSecuritySolutionModel, IotSecuritySolutionCreateOrUpdateOptionalParams)

使用此方法创建或更新 IoT 安全解决方案

delete(string, string, IotSecuritySolutionDeleteOptionalParams)

使用此方法删除 IoT 安全解决方案

get(string, string, IotSecuritySolutionGetOptionalParams)

用户此方法可基于解决方案名称获取特定 IoT 安全解决方案的详细信息

listByResourceGroup(string, IotSecuritySolutionListByResourceGroupOptionalParams)

使用此方法获取按资源组组织的 IoT 安全解决方案列表。

listBySubscription(IotSecuritySolutionListBySubscriptionOptionalParams)

使用此方法按订阅获取 IoT 安全解决方案的列表。

update(string, string, UpdateIotSecuritySolutionData, IotSecuritySolutionUpdateOptionalParams)

使用此方法更新现有的 IoT 安全解决方案标记或用户定义的资源。 若要更新其他字段,请使用 CreateOrUpdate 方法。

方法详细信息

createOrUpdate(string, string, IoTSecuritySolutionModel, IotSecuritySolutionCreateOrUpdateOptionalParams)

使用此方法创建或更新 IoT 安全解决方案

function createOrUpdate(resourceGroupName: string, solutionName: string, iotSecuritySolutionData: IoTSecuritySolutionModel, options?: IotSecuritySolutionCreateOrUpdateOptionalParams): Promise<IoTSecuritySolutionModel>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

solutionName

string

IoT 安全解决方案的名称。

iotSecuritySolutionData
IoTSecuritySolutionModel

安全解决方案数据

返回

delete(string, string, IotSecuritySolutionDeleteOptionalParams)

使用此方法删除 IoT 安全解决方案

function delete(resourceGroupName: string, solutionName: string, options?: IotSecuritySolutionDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

solutionName

string

IoT 安全解决方案的名称。

options
IotSecuritySolutionDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, IotSecuritySolutionGetOptionalParams)

用户此方法可基于解决方案名称获取特定 IoT 安全解决方案的详细信息

function get(resourceGroupName: string, solutionName: string, options?: IotSecuritySolutionGetOptionalParams): Promise<IoTSecuritySolutionModel>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

solutionName

string

IoT 安全解决方案的名称。

options
IotSecuritySolutionGetOptionalParams

选项参数。

返回

listByResourceGroup(string, IotSecuritySolutionListByResourceGroupOptionalParams)

使用此方法获取按资源组组织的 IoT 安全解决方案列表。

function listByResourceGroup(resourceGroupName: string, options?: IotSecuritySolutionListByResourceGroupOptionalParams): PagedAsyncIterableIterator<IoTSecuritySolutionModel, IoTSecuritySolutionModel[], PageSettings>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

返回

listBySubscription(IotSecuritySolutionListBySubscriptionOptionalParams)

使用此方法按订阅获取 IoT 安全解决方案的列表。

function listBySubscription(options?: IotSecuritySolutionListBySubscriptionOptionalParams): PagedAsyncIterableIterator<IoTSecuritySolutionModel, IoTSecuritySolutionModel[], PageSettings>

参数

返回

update(string, string, UpdateIotSecuritySolutionData, IotSecuritySolutionUpdateOptionalParams)

使用此方法更新现有的 IoT 安全解决方案标记或用户定义的资源。 若要更新其他字段,请使用 CreateOrUpdate 方法。

function update(resourceGroupName: string, solutionName: string, updateIotSecuritySolutionData: UpdateIotSecuritySolutionData, options?: IotSecuritySolutionUpdateOptionalParams): Promise<IoTSecuritySolutionModel>

参数

resourceGroupName

string

用户订阅中的资源组的名称。 名称不区分大小写。

solutionName

string

IoT 安全解决方案的名称。

updateIotSecuritySolutionData
UpdateIotSecuritySolutionData

安全解决方案数据

options
IotSecuritySolutionUpdateOptionalParams

选项参数。

返回