import * as pulumi from "@pulumi/pulumi"; /** * Provides an OVHcloud IAM resource group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myResourceGroup = new ovh.iam.ResourceGroup("my_resource_group", { * name: "my_resource_group", * resources: [ * "urn:v1:eu:resource:service1:service1-id", * "urn:v1:eu:resource:service2:service2-id", * ], * }); * ``` * * ## Import * * Resource groups can be imported by using their id. * * bash * * ```sh * $ pulumi import ovh:Iam/resourceGroup:ResourceGroup my_resource_group resource_group_id * ``` * * -> Read only resource groups cannot be imported */ export declare class ResourceGroup extends pulumi.CustomResource { /** * Get an existing ResourceGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ResourceGroupState, opts?: pulumi.CustomResourceOptions): ResourceGroup; /** * Returns true if the given object is an instance of ResourceGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ResourceGroup; /** * URN of the resource group, used when writing policies */ readonly GroupURN: pulumi.Output; /** * Date of the creation of the resource group */ readonly createdAt: pulumi.Output; /** * Name of the resource group */ readonly name: pulumi.Output; /** * Name of the account owning the resource group */ readonly owner: pulumi.Output; /** * Marks that the resource group is not editable. Usually means that this is a default resource group created by OVHcloud */ readonly readOnly: pulumi.Output; /** * Set of the URNs of the resources contained in the resource group. All urns must be ones of valid resources */ readonly resources: pulumi.Output; /** * Date of the last modification of the resource group */ readonly updatedAt: pulumi.Output; /** * Create a ResourceGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: ResourceGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ResourceGroup resources. */ export interface ResourceGroupState { /** * URN of the resource group, used when writing policies */ GroupURN?: pulumi.Input; /** * Date of the creation of the resource group */ createdAt?: pulumi.Input; /** * Name of the resource group */ name?: pulumi.Input; /** * Name of the account owning the resource group */ owner?: pulumi.Input; /** * Marks that the resource group is not editable. Usually means that this is a default resource group created by OVHcloud */ readOnly?: pulumi.Input; /** * Set of the URNs of the resources contained in the resource group. All urns must be ones of valid resources */ resources?: pulumi.Input[]>; /** * Date of the last modification of the resource group */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a ResourceGroup resource. */ export interface ResourceGroupArgs { /** * Name of the resource group */ name?: pulumi.Input; /** * Set of the URNs of the resources contained in the resource group. All urns must be ones of valid resources */ resources?: pulumi.Input[]>; }