1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. IdentityProjectV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.IdentityProjectV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for IAM project you can get at documentation portal

    Manages a Project resource within OpenTelekomCloud Identity And Access Management service.

    Note: You must have security admin privileges in your OpenTelekomCloud cloud to use this resource. Please refer to User Management Model.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const project1 = new opentelekomcloud.IdentityProjectV3("project1", {description: "This is a test project"});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    project1 = opentelekomcloud.IdentityProjectV3("project1", description="This is a test project")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.NewIdentityProjectV3(ctx, "project1", &opentelekomcloud.IdentityProjectV3Args{
    			Description: pulumi.String("This is a test project"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var project1 = new Opentelekomcloud.IdentityProjectV3("project1", new()
        {
            Description = "This is a test project",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.IdentityProjectV3;
    import com.pulumi.opentelekomcloud.IdentityProjectV3Args;
    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) {
            var project1 = new IdentityProjectV3("project1", IdentityProjectV3Args.builder()
                .description("This is a test project")
                .build());
    
        }
    }
    
    resources:
      project1:
        type: opentelekomcloud:IdentityProjectV3
        properties:
          description: This is a test project
    

    Create IdentityProjectV3 Resource

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

    Constructor syntax

    new IdentityProjectV3(name: string, args?: IdentityProjectV3Args, opts?: CustomResourceOptions);
    @overload
    def IdentityProjectV3(resource_name: str,
                          args: Optional[IdentityProjectV3Args] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def IdentityProjectV3(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          description: Optional[str] = None,
                          domain_id: Optional[str] = None,
                          identity_project_v3_id: Optional[str] = None,
                          name: Optional[str] = None,
                          parent_id: Optional[str] = None,
                          region: Optional[str] = None)
    func NewIdentityProjectV3(ctx *Context, name string, args *IdentityProjectV3Args, opts ...ResourceOption) (*IdentityProjectV3, error)
    public IdentityProjectV3(string name, IdentityProjectV3Args? args = null, CustomResourceOptions? opts = null)
    public IdentityProjectV3(String name, IdentityProjectV3Args args)
    public IdentityProjectV3(String name, IdentityProjectV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:IdentityProjectV3
    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 IdentityProjectV3Args
    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 IdentityProjectV3Args
    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 IdentityProjectV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IdentityProjectV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IdentityProjectV3Args
    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 identityProjectV3Resource = new Opentelekomcloud.IdentityProjectV3("identityProjectV3Resource", new()
    {
        Description = "string",
        DomainId = "string",
        IdentityProjectV3Id = "string",
        Name = "string",
        ParentId = "string",
        Region = "string",
    });
    
    example, err := opentelekomcloud.NewIdentityProjectV3(ctx, "identityProjectV3Resource", &opentelekomcloud.IdentityProjectV3Args{
    	Description:         pulumi.String("string"),
    	DomainId:            pulumi.String("string"),
    	IdentityProjectV3Id: pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	ParentId:            pulumi.String("string"),
    	Region:              pulumi.String("string"),
    })
    
    var identityProjectV3Resource = new IdentityProjectV3("identityProjectV3Resource", IdentityProjectV3Args.builder()
        .description("string")
        .domainId("string")
        .identityProjectV3Id("string")
        .name("string")
        .parentId("string")
        .region("string")
        .build());
    
    identity_project_v3_resource = opentelekomcloud.IdentityProjectV3("identityProjectV3Resource",
        description="string",
        domain_id="string",
        identity_project_v3_id="string",
        name="string",
        parent_id="string",
        region="string")
    
    const identityProjectV3Resource = new opentelekomcloud.IdentityProjectV3("identityProjectV3Resource", {
        description: "string",
        domainId: "string",
        identityProjectV3Id: "string",
        name: "string",
        parentId: "string",
        region: "string",
    });
    
    type: opentelekomcloud:IdentityProjectV3
    properties:
        description: string
        domainId: string
        identityProjectV3Id: string
        name: string
        parentId: string
        region: string
    

    IdentityProjectV3 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 IdentityProjectV3 resource accepts the following input properties:

    Description string
    A description of the project.
    DomainId string
    The domain this project belongs to. Changing this creates a new Project.
    IdentityProjectV3Id string
    Name string
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    ParentId string
    The parent of this project. Changing this creates a new Project.
    Region string
    Description string
    A description of the project.
    DomainId string
    The domain this project belongs to. Changing this creates a new Project.
    IdentityProjectV3Id string
    Name string
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    ParentId string
    The parent of this project. Changing this creates a new Project.
    Region string
    description String
    A description of the project.
    domainId String
    The domain this project belongs to. Changing this creates a new Project.
    identityProjectV3Id String
    name String
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    parentId String
    The parent of this project. Changing this creates a new Project.
    region String
    description string
    A description of the project.
    domainId string
    The domain this project belongs to. Changing this creates a new Project.
    identityProjectV3Id string
    name string
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    parentId string
    The parent of this project. Changing this creates a new Project.
    region string
    description str
    A description of the project.
    domain_id str
    The domain this project belongs to. Changing this creates a new Project.
    identity_project_v3_id str
    name str
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    parent_id str
    The parent of this project. Changing this creates a new Project.
    region str
    description String
    A description of the project.
    domainId String
    The domain this project belongs to. Changing this creates a new Project.
    identityProjectV3Id String
    name String
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    parentId String
    The parent of this project. Changing this creates a new Project.
    region String

    Outputs

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

    Enabled bool
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDomain bool
    Enabled bool
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDomain bool
    enabled Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    isDomain Boolean
    enabled boolean
    id string
    The provider-assigned unique ID for this managed resource.
    isDomain boolean
    enabled bool
    id str
    The provider-assigned unique ID for this managed resource.
    is_domain bool
    enabled Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    isDomain Boolean

    Look up Existing IdentityProjectV3 Resource

    Get an existing IdentityProjectV3 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?: IdentityProjectV3State, opts?: CustomResourceOptions): IdentityProjectV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            domain_id: Optional[str] = None,
            enabled: Optional[bool] = None,
            identity_project_v3_id: Optional[str] = None,
            is_domain: Optional[bool] = None,
            name: Optional[str] = None,
            parent_id: Optional[str] = None,
            region: Optional[str] = None) -> IdentityProjectV3
    func GetIdentityProjectV3(ctx *Context, name string, id IDInput, state *IdentityProjectV3State, opts ...ResourceOption) (*IdentityProjectV3, error)
    public static IdentityProjectV3 Get(string name, Input<string> id, IdentityProjectV3State? state, CustomResourceOptions? opts = null)
    public static IdentityProjectV3 get(String name, Output<String> id, IdentityProjectV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:IdentityProjectV3    get:      id: ${id}
    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:
    Description string
    A description of the project.
    DomainId string
    The domain this project belongs to. Changing this creates a new Project.
    Enabled bool
    IdentityProjectV3Id string
    IsDomain bool
    Name string
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    ParentId string
    The parent of this project. Changing this creates a new Project.
    Region string
    Description string
    A description of the project.
    DomainId string
    The domain this project belongs to. Changing this creates a new Project.
    Enabled bool
    IdentityProjectV3Id string
    IsDomain bool
    Name string
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    ParentId string
    The parent of this project. Changing this creates a new Project.
    Region string
    description String
    A description of the project.
    domainId String
    The domain this project belongs to. Changing this creates a new Project.
    enabled Boolean
    identityProjectV3Id String
    isDomain Boolean
    name String
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    parentId String
    The parent of this project. Changing this creates a new Project.
    region String
    description string
    A description of the project.
    domainId string
    The domain this project belongs to. Changing this creates a new Project.
    enabled boolean
    identityProjectV3Id string
    isDomain boolean
    name string
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    parentId string
    The parent of this project. Changing this creates a new Project.
    region string
    description str
    A description of the project.
    domain_id str
    The domain this project belongs to. Changing this creates a new Project.
    enabled bool
    identity_project_v3_id str
    is_domain bool
    name str
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    parent_id str
    The parent of this project. Changing this creates a new Project.
    region str
    description String
    A description of the project.
    domainId String
    The domain this project belongs to. Changing this creates a new Project.
    enabled Boolean
    identityProjectV3Id String
    isDomain Boolean
    name String
    The name of the project. it must start with ID of an existing region and be less than or equal to 64 characters. Example: eu-de_project1.
    parentId String
    The parent of this project. Changing this creates a new Project.
    region String

    Import

    Projects can be imported using the id, e.g.

    $ pulumi import opentelekomcloud:index/identityProjectV3:IdentityProjectV3 project_1 89c60255-9bd6-460c-822a-e2b959ede9d2
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud