次の方法で共有


DeviceSecurityGroups interface

DeviceSecurityGroups を表すインターフェイス。

メソッド

createOrUpdate(string, string, DeviceSecurityGroup, DeviceSecurityGroupsCreateOrUpdateOptionalParams)

指定した IoT Hub リソースでデバイス セキュリティ グループを作成または更新するには、このメソッドを使用します。

delete(string, string, DeviceSecurityGroupsDeleteOptionalParams)

デバイス セキュリティ グループを削除するには、このメソッドを使用します。

get(string, string, DeviceSecurityGroupsGetOptionalParams)

このメソッドを使用して、指定した IoT Hub リソースのデバイス セキュリティ グループを取得します。

list(string, DeviceSecurityGroupsListOptionalParams)

このメソッドを使用して、指定した IoT Hub リソースのデバイス セキュリティ グループの一覧を取得します。

メソッドの詳細

createOrUpdate(string, string, DeviceSecurityGroup, DeviceSecurityGroupsCreateOrUpdateOptionalParams)

指定した IoT Hub リソースでデバイス セキュリティ グループを作成または更新するには、このメソッドを使用します。

function createOrUpdate(resourceId: string, deviceSecurityGroupName: string, deviceSecurityGroup: DeviceSecurityGroup, options?: DeviceSecurityGroupsCreateOrUpdateOptionalParams): Promise<DeviceSecurityGroup>

パラメーター

resourceId

string

リソースの識別子。

deviceSecurityGroupName

string

デバイス セキュリティ グループの名前。 デバイス セキュリティ グループの名前では大文字と小文字が区別されません。

deviceSecurityGroup
DeviceSecurityGroup

セキュリティ グループ オブジェクト。

options
DeviceSecurityGroupsCreateOrUpdateOptionalParams

オプション パラメーター。

戻り値

delete(string, string, DeviceSecurityGroupsDeleteOptionalParams)

デバイス セキュリティ グループを削除するには、このメソッドを使用します。

function delete(resourceId: string, deviceSecurityGroupName: string, options?: DeviceSecurityGroupsDeleteOptionalParams): Promise<void>

パラメーター

resourceId

string

リソースの識別子。

deviceSecurityGroupName

string

デバイス セキュリティ グループの名前。 デバイス セキュリティ グループの名前では大文字と小文字が区別されません。

options
DeviceSecurityGroupsDeleteOptionalParams

オプション パラメーター。

戻り値

Promise<void>

get(string, string, DeviceSecurityGroupsGetOptionalParams)

このメソッドを使用して、指定した IoT Hub リソースのデバイス セキュリティ グループを取得します。

function get(resourceId: string, deviceSecurityGroupName: string, options?: DeviceSecurityGroupsGetOptionalParams): Promise<DeviceSecurityGroup>

パラメーター

resourceId

string

リソースの識別子。

deviceSecurityGroupName

string

デバイス セキュリティ グループの名前。 デバイス セキュリティ グループの名前では大文字と小文字が区別されません。

options
DeviceSecurityGroupsGetOptionalParams

オプション パラメーター。

戻り値

list(string, DeviceSecurityGroupsListOptionalParams)

このメソッドを使用して、指定した IoT Hub リソースのデバイス セキュリティ グループの一覧を取得します。

function list(resourceId: string, options?: DeviceSecurityGroupsListOptionalParams): PagedAsyncIterableIterator<DeviceSecurityGroup, DeviceSecurityGroup[], PageSettings>

パラメーター

resourceId

string

リソースの識別子。

options
DeviceSecurityGroupsListOptionalParams

オプション パラメーター。

戻り値