共用方式為


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

選項參數。

傳回