1. Packages
  2. OVH
  3. API Docs
  4. Iam
  5. PermissionsGroup
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

ovh.Iam.PermissionsGroup

Explore with Pulumi AI

ovh logo
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

    Create am IAM permissions group.

    Create PermissionsGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PermissionsGroup(name: string, args: PermissionsGroupArgs, opts?: CustomResourceOptions);
    @overload
    def PermissionsGroup(resource_name: str,
                         args: PermissionsGroupArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def PermissionsGroup(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         description: Optional[str] = None,
                         allows: Optional[Sequence[str]] = None,
                         denies: Optional[Sequence[str]] = None,
                         excepts: Optional[Sequence[str]] = None,
                         name: Optional[str] = None,
                         updated_at: Optional[str] = None)
    func NewPermissionsGroup(ctx *Context, name string, args PermissionsGroupArgs, opts ...ResourceOption) (*PermissionsGroup, error)
    public PermissionsGroup(string name, PermissionsGroupArgs args, CustomResourceOptions? opts = null)
    public PermissionsGroup(String name, PermissionsGroupArgs args)
    public PermissionsGroup(String name, PermissionsGroupArgs args, CustomResourceOptions options)
    
    type: ovh:Iam:PermissionsGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PermissionsGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PermissionsGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PermissionsGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PermissionsGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PermissionsGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var permissionsGroupResource = new Ovh.Iam.PermissionsGroup("permissionsGroupResource", new()
    {
        Description = "string",
        Allows = new[]
        {
            "string",
        },
        Denies = new[]
        {
            "string",
        },
        Excepts = new[]
        {
            "string",
        },
        Name = "string",
        UpdatedAt = "string",
    });
    
    example, err := Iam.NewPermissionsGroup(ctx, "permissionsGroupResource", &Iam.PermissionsGroupArgs{
    	Description: pulumi.String("string"),
    	Allows: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Denies: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Excepts: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:      pulumi.String("string"),
    	UpdatedAt: pulumi.String("string"),
    })
    
    var permissionsGroupResource = new PermissionsGroup("permissionsGroupResource", PermissionsGroupArgs.builder()
        .description("string")
        .allows("string")
        .denies("string")
        .excepts("string")
        .name("string")
        .updatedAt("string")
        .build());
    
    permissions_group_resource = ovh.iam.PermissionsGroup("permissionsGroupResource",
        description="string",
        allows=["string"],
        denies=["string"],
        excepts=["string"],
        name="string",
        updated_at="string")
    
    const permissionsGroupResource = new ovh.iam.PermissionsGroup("permissionsGroupResource", {
        description: "string",
        allows: ["string"],
        denies: ["string"],
        excepts: ["string"],
        name: "string",
        updatedAt: "string",
    });
    
    type: ovh:Iam:PermissionsGroup
    properties:
        allows:
            - string
        denies:
            - string
        description: string
        excepts:
            - string
        name: string
        updatedAt: string
    

    PermissionsGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PermissionsGroup resource accepts the following input properties:

    Description string
    Group description.
    Allows List<string>
    Set of actions allowed by the permissions group.
    Denies List<string>
    Set of actions that will be denied no matter what permissions group exists.
    Excepts List<string>
    Set of actions that will be subtracted from the allow list.
    Name string
    Name of the permissions group.
    UpdatedAt string
    Date of the last update of this group.
    Description string
    Group description.
    Allows []string
    Set of actions allowed by the permissions group.
    Denies []string
    Set of actions that will be denied no matter what permissions group exists.
    Excepts []string
    Set of actions that will be subtracted from the allow list.
    Name string
    Name of the permissions group.
    UpdatedAt string
    Date of the last update of this group.
    description String
    Group description.
    allows List<String>
    Set of actions allowed by the permissions group.
    denies List<String>
    Set of actions that will be denied no matter what permissions group exists.
    excepts List<String>
    Set of actions that will be subtracted from the allow list.
    name String
    Name of the permissions group.
    updatedAt String
    Date of the last update of this group.
    description string
    Group description.
    allows string[]
    Set of actions allowed by the permissions group.
    denies string[]
    Set of actions that will be denied no matter what permissions group exists.
    excepts string[]
    Set of actions that will be subtracted from the allow list.
    name string
    Name of the permissions group.
    updatedAt string
    Date of the last update of this group.
    description str
    Group description.
    allows Sequence[str]
    Set of actions allowed by the permissions group.
    denies Sequence[str]
    Set of actions that will be denied no matter what permissions group exists.
    excepts Sequence[str]
    Set of actions that will be subtracted from the allow list.
    name str
    Name of the permissions group.
    updated_at str
    Date of the last update of this group.
    description String
    Group description.
    allows List<String>
    Set of actions allowed by the permissions group.
    denies List<String>
    Set of actions that will be denied no matter what permissions group exists.
    excepts List<String>
    Set of actions that will be subtracted from the allow list.
    name String
    Name of the permissions group.
    updatedAt String
    Date of the last update of this group.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PermissionsGroup resource produces the following output properties:

    CreatedAt string
    Creation date of this group.
    Id string
    The provider-assigned unique ID for this managed resource.
    Owner string
    Owner of the permissions group.
    Urn string
    URN of the permissions group.
    CreatedAt string
    Creation date of this group.
    Id string
    The provider-assigned unique ID for this managed resource.
    Owner string
    Owner of the permissions group.
    Urn string
    URN of the permissions group.
    createdAt String
    Creation date of this group.
    id String
    The provider-assigned unique ID for this managed resource.
    owner String
    Owner of the permissions group.
    urn String
    URN of the permissions group.
    createdAt string
    Creation date of this group.
    id string
    The provider-assigned unique ID for this managed resource.
    owner string
    Owner of the permissions group.
    urn string
    URN of the permissions group.
    created_at str
    Creation date of this group.
    id str
    The provider-assigned unique ID for this managed resource.
    owner str
    Owner of the permissions group.
    urn str
    URN of the permissions group.
    createdAt String
    Creation date of this group.
    id String
    The provider-assigned unique ID for this managed resource.
    owner String
    Owner of the permissions group.
    urn String
    URN of the permissions group.

    Look up Existing PermissionsGroup Resource

    Get an existing PermissionsGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PermissionsGroupState, opts?: CustomResourceOptions): PermissionsGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allows: Optional[Sequence[str]] = None,
            created_at: Optional[str] = None,
            denies: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            excepts: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            owner: Optional[str] = None,
            updated_at: Optional[str] = None,
            urn: Optional[str] = None) -> PermissionsGroup
    func GetPermissionsGroup(ctx *Context, name string, id IDInput, state *PermissionsGroupState, opts ...ResourceOption) (*PermissionsGroup, error)
    public static PermissionsGroup Get(string name, Input<string> id, PermissionsGroupState? state, CustomResourceOptions? opts = null)
    public static PermissionsGroup get(String name, Output<String> id, PermissionsGroupState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Allows List<string>
    Set of actions allowed by the permissions group.
    CreatedAt string
    Creation date of this group.
    Denies List<string>
    Set of actions that will be denied no matter what permissions group exists.
    Description string
    Group description.
    Excepts List<string>
    Set of actions that will be subtracted from the allow list.
    Name string
    Name of the permissions group.
    Owner string
    Owner of the permissions group.
    UpdatedAt 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.
    CreatedAt string
    Creation date of this group.
    Denies []string
    Set of actions that will be denied no matter what permissions group exists.
    Description string
    Group description.
    Excepts []string
    Set of actions that will be subtracted from the allow list.
    Name string
    Name of the permissions group.
    Owner string
    Owner of the permissions group.
    UpdatedAt 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.
    createdAt String
    Creation date of this group.
    denies List<String>
    Set of actions that will be denied no matter what permissions group exists.
    description String
    Group description.
    excepts List<String>
    Set of actions that will be subtracted from the allow list.
    name String
    Name of the permissions group.
    owner String
    Owner of the permissions group.
    updatedAt 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.
    createdAt string
    Creation date of this group.
    denies string[]
    Set of actions that will be denied no matter what permissions group exists.
    description string
    Group description.
    excepts string[]
    Set of actions that will be subtracted from the allow list.
    name string
    Name of the permissions group.
    owner string
    Owner of the permissions group.
    updatedAt string
    Date of the last update of this group.
    urn string
    URN of the permissions group.
    allows Sequence[str]
    Set of actions allowed by the permissions group.
    created_at str
    Creation date of this group.
    denies Sequence[str]
    Set of actions that will be denied no matter what permissions group exists.
    description str
    Group description.
    excepts Sequence[str]
    Set of actions that will be subtracted from the allow list.
    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
    URN of the permissions group.
    allows List<String>
    Set of actions allowed by the permissions group.
    createdAt String
    Creation date of this group.
    denies List<String>
    Set of actions that will be denied no matter what permissions group exists.
    description String
    Group description.
    excepts List<String>
    Set of actions that will be subtracted from the allow list.
    name String
    Name of the permissions group.
    owner String
    Owner of the permissions group.
    updatedAt String
    Date of the last update of this group.
    urn String
    URN of the permissions group.

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud