import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to list the security groups of a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const securityGroups = ovh.getCloudSecurityGroups({ * serviceName: "", * }); * export const securityGroupNames = securityGroups.then(securityGroups => .map(sg => (sg.name))); * ``` */ export declare function getCloudSecurityGroups(args: GetCloudSecurityGroupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudSecurityGroups. */ export interface GetCloudSecurityGroupsArgs { /** * Service name of the resource representing the id of the cloud project. */ serviceName: string; } /** * A collection of values returned by getCloudSecurityGroups. */ export interface GetCloudSecurityGroupsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of security groups. Each element exports: */ readonly securityGroups: outputs.GetCloudSecurityGroupsSecurityGroup[]; readonly serviceName: string; } /** * Use this data source to list the security groups of a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const securityGroups = ovh.getCloudSecurityGroups({ * serviceName: "", * }); * export const securityGroupNames = securityGroups.then(securityGroups => .map(sg => (sg.name))); * ``` */ export declare function getCloudSecurityGroupsOutput(args: GetCloudSecurityGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudSecurityGroups. */ export interface GetCloudSecurityGroupsOutputArgs { /** * Service name of the resource representing the id of the cloud project. */ serviceName: pulumi.Input; }