다음을 통해 공유


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

옵션 매개 변수입니다.

반환