UNPKG

@azure/arm-security

Version:
60 lines 3.5 kB
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { DeviceSecurityGroups } from "../operationsInterfaces"; import { SecurityCenter } from "../securityCenter"; import { DeviceSecurityGroup, DeviceSecurityGroupsListOptionalParams, DeviceSecurityGroupsGetOptionalParams, DeviceSecurityGroupsGetResponse, DeviceSecurityGroupsCreateOrUpdateOptionalParams, DeviceSecurityGroupsCreateOrUpdateResponse, DeviceSecurityGroupsDeleteOptionalParams } from "../models"; /** Class containing DeviceSecurityGroups operations. */ export declare class DeviceSecurityGroupsImpl implements DeviceSecurityGroups { private readonly client; /** * Initialize a new instance of the class DeviceSecurityGroups class. * @param client Reference to the service client */ constructor(client: SecurityCenter); /** * Use this method get the list of device security groups for the specified IoT Hub resource. * @param resourceId The identifier of the resource. * @param options The options parameters. */ list(resourceId: string, options?: DeviceSecurityGroupsListOptionalParams): PagedAsyncIterableIterator<DeviceSecurityGroup>; private listPagingPage; private listPagingAll; /** * Use this method get the list of device security groups for the specified IoT Hub resource. * @param resourceId The identifier of the resource. * @param options The options parameters. */ private _list; /** * Use this method to get the device security group for the specified IoT Hub resource. * @param resourceId The identifier of the resource. * @param deviceSecurityGroupName The name of the device security group. Note that the name of the * device security group is case insensitive. * @param options The options parameters. */ get(resourceId: string, deviceSecurityGroupName: string, options?: DeviceSecurityGroupsGetOptionalParams): Promise<DeviceSecurityGroupsGetResponse>; /** * Use this method to creates or updates the device security group on a specified IoT Hub resource. * @param resourceId The identifier of the resource. * @param deviceSecurityGroupName The name of the device security group. Note that the name of the * device security group is case insensitive. * @param deviceSecurityGroup Security group object. * @param options The options parameters. */ createOrUpdate(resourceId: string, deviceSecurityGroupName: string, deviceSecurityGroup: DeviceSecurityGroup, options?: DeviceSecurityGroupsCreateOrUpdateOptionalParams): Promise<DeviceSecurityGroupsCreateOrUpdateResponse>; /** * User this method to deletes the device security group. * @param resourceId The identifier of the resource. * @param deviceSecurityGroupName The name of the device security group. Note that the name of the * device security group is case insensitive. * @param options The options parameters. */ delete(resourceId: string, deviceSecurityGroupName: string, options?: DeviceSecurityGroupsDeleteOptionalParams): Promise<void>; /** * ListNext * @param resourceId The identifier of the resource. * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ private _listNext; } //# sourceMappingURL=deviceSecurityGroups.d.ts.map