Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Use this data source to retrieve an IAM permissions group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const website = ovh.Iam.getPermissionsGroup({
urn: "urn:v1:eu:permissionsGroup:ovh:controlPanelAccess",
});
import pulumi
import pulumi_ovh as ovh
website = ovh.Iam.get_permissions_group(urn="urn:v1:eu:permissionsGroup:ovh:controlPanelAccess")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iam.GetPermissionsGroup(ctx, &iam.GetPermissionsGroupArgs{
Urn: "urn:v1:eu:permissionsGroup:ovh:controlPanelAccess",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var website = Ovh.Iam.GetPermissionsGroup.Invoke(new()
{
Urn = "urn:v1:eu:permissionsGroup:ovh:controlPanelAccess",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Iam.IamFunctions;
import com.pulumi.ovh.Iam.inputs.GetPermissionsGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var website = IamFunctions.getPermissionsGroup(GetPermissionsGroupArgs.builder()
.urn("urn:v1:eu:permissionsGroup:ovh:controlPanelAccess")
.build());
}
}
variables:
website:
fn::invoke:
function: ovh:Iam:getPermissionsGroup
arguments:
urn: urn:v1:eu:permissionsGroup:ovh:controlPanelAccess
Using getPermissionsGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPermissionsGroup(args: GetPermissionsGroupArgs, opts?: InvokeOptions): Promise<GetPermissionsGroupResult>
function getPermissionsGroupOutput(args: GetPermissionsGroupOutputArgs, opts?: InvokeOptions): Output<GetPermissionsGroupResult>def get_permissions_group(allows: Optional[Sequence[str]] = None,
denies: Optional[Sequence[str]] = None,
description: Optional[str] = None,
excepts: Optional[Sequence[str]] = None,
updated_at: Optional[str] = None,
urn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPermissionsGroupResult
def get_permissions_group_output(allows: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
denies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
description: Optional[pulumi.Input[str]] = None,
excepts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
updated_at: Optional[pulumi.Input[str]] = None,
urn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPermissionsGroupResult]func LookupPermissionsGroup(ctx *Context, args *LookupPermissionsGroupArgs, opts ...InvokeOption) (*LookupPermissionsGroupResult, error)
func LookupPermissionsGroupOutput(ctx *Context, args *LookupPermissionsGroupOutputArgs, opts ...InvokeOption) LookupPermissionsGroupResultOutput> Note: This function is named LookupPermissionsGroup in the Go SDK.
public static class GetPermissionsGroup
{
public static Task<GetPermissionsGroupResult> InvokeAsync(GetPermissionsGroupArgs args, InvokeOptions? opts = null)
public static Output<GetPermissionsGroupResult> Invoke(GetPermissionsGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPermissionsGroupResult> getPermissionsGroup(GetPermissionsGroupArgs args, InvokeOptions options)
public static Output<GetPermissionsGroupResult> getPermissionsGroup(GetPermissionsGroupArgs args, InvokeOptions options)
fn::invoke:
function: ovh:Iam/getPermissionsGroup:getPermissionsGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Urn string
- URN of the permissions group.
- Allows List<string>
- Set of actions allowed by the permissions group.
- Denies List<string>
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- Description string
- Group description.
- Excepts List<string>
- Set of actions that will be subtracted from the
allowlist. - Updated
At string - Date of the last update of this group.
- Urn string
- URN of the permissions group.
- Allows []string
- Set of actions allowed by the permissions group.
- Denies []string
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- Description string
- Group description.
- Excepts []string
- Set of actions that will be subtracted from the
allowlist. - Updated
At string - Date of the last update of this group.
- urn String
- URN of the permissions group.
- allows List<String>
- Set of actions allowed by the permissions group.
- denies List<String>
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- description String
- Group description.
- excepts List<String>
- Set of actions that will be subtracted from the
allowlist. - updated
At String - Date of the last update of this group.
- urn string
- URN of the permissions group.
- allows string[]
- Set of actions allowed by the permissions group.
- denies string[]
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- description string
- Group description.
- excepts string[]
- Set of actions that will be subtracted from the
allowlist. - updated
At string - Date of the last update of this group.
- urn str
- URN of the permissions group.
- allows Sequence[str]
- Set of actions allowed by the permissions group.
- denies Sequence[str]
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- description str
- Group description.
- excepts Sequence[str]
- Set of actions that will be subtracted from the
allowlist. - updated_
at str - Date of the last update of this group.
- urn String
- URN of the permissions group.
- allows List<String>
- Set of actions allowed by the permissions group.
- denies List<String>
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- description String
- Group description.
- excepts List<String>
- Set of actions that will be subtracted from the
allowlist. - updated
At String - Date of the last update of this group.
getPermissionsGroup Result
The following output properties are available:
- Created
At string - Creation date of this group.
- Id string
- Name string
- Name of the permissions group.
- Owner string
- Owner of the permissions group.
- Updated
At string - Date of the last update of this group.
- Urn string
- Allows List<string>
- Set of actions allowed by the permissions group.
- Denies List<string>
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- Description string
- Group description.
- Excepts List<string>
- Set of actions that will be subtracted from the
allowlist.
- Created
At string - Creation date of this group.
- Id string
- Name string
- Name of the permissions group.
- Owner string
- Owner of the permissions group.
- Updated
At string - Date of the last update of this group.
- Urn string
- Allows []string
- Set of actions allowed by the permissions group.
- Denies []string
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- Description string
- Group description.
- Excepts []string
- Set of actions that will be subtracted from the
allowlist.
- created
At String - Creation date of this group.
- id String
- name String
- Name of the permissions group.
- owner String
- Owner of the permissions group.
- updated
At String - Date of the last update of this group.
- urn String
- allows List<String>
- Set of actions allowed by the permissions group.
- denies List<String>
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- description String
- Group description.
- excepts List<String>
- Set of actions that will be subtracted from the
allowlist.
- created
At string - Creation date of this group.
- id string
- name string
- Name of the permissions group.
- owner string
- Owner of the permissions group.
- updated
At string - Date of the last update of this group.
- urn string
- allows string[]
- Set of actions allowed by the permissions group.
- denies string[]
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- description string
- Group description.
- excepts string[]
- Set of actions that will be subtracted from the
allowlist.
- created_
at str - Creation date of this group.
- id str
- name str
- Name of the permissions group.
- owner str
- Owner of the permissions group.
- updated_
at str - Date of the last update of this group.
- urn str
- allows Sequence[str]
- Set of actions allowed by the permissions group.
- denies Sequence[str]
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- description str
- Group description.
- excepts Sequence[str]
- Set of actions that will be subtracted from the
allowlist.
- created
At String - Creation date of this group.
- id String
- name String
- Name of the permissions group.
- owner String
- Owner of the permissions group.
- updated
At String - Date of the last update of this group.
- urn String
- allows List<String>
- Set of actions allowed by the permissions group.
- denies List<String>
- Set of actions that will always be denied even if it is explicitly allowed by a policy.
- description String
- Group description.
- excepts List<String>
- Set of actions that will be subtracted from the
allowlist.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
