1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. IdentityProjectV3
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.IdentityProjectV3

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manages a Project resource within FlexibleEngine IAM service.

    You must have admin privileges in your FlexibleEngine cloud to use this resource.

    !> Project deletion is not supported by FlexibleEngine API

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const project1 = new flexibleengine.IdentityProjectV3("project1", {description: "A ACC test project"});
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    project1 = flexibleengine.IdentityProjectV3("project1", description="A ACC test project")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.NewIdentityProjectV3(ctx, "project1", &flexibleengine.IdentityProjectV3Args{
    			Description: pulumi.String("A ACC test project"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var project1 = new Flexibleengine.IdentityProjectV3("project1", new()
        {
            Description = "A ACC test project",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.IdentityProjectV3;
    import com.pulumi.flexibleengine.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("A ACC test project")
                .build());
    
        }
    }
    
    resources:
      project1:
        type: flexibleengine:IdentityProjectV3
        properties:
          description: A ACC 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,
                          identity_project_v3_id: Optional[str] = None,
                          name: Optional[str] = None,
                          timeouts: Optional[IdentityProjectV3TimeoutsArgs] = 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: flexibleengine: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 Flexibleengine.IdentityProjectV3("identityProjectV3Resource", new()
    {
        Description = "string",
        IdentityProjectV3Id = "string",
        Name = "string",
        Timeouts = new Flexibleengine.Inputs.IdentityProjectV3TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := flexibleengine.NewIdentityProjectV3(ctx, "identityProjectV3Resource", &flexibleengine.IdentityProjectV3Args{
    	Description:         pulumi.String("string"),
    	IdentityProjectV3Id: pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	Timeouts: &flexibleengine.IdentityProjectV3TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var identityProjectV3Resource = new IdentityProjectV3("identityProjectV3Resource", IdentityProjectV3Args.builder()
        .description("string")
        .identityProjectV3Id("string")
        .name("string")
        .timeouts(IdentityProjectV3TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    identity_project_v3_resource = flexibleengine.IdentityProjectV3("identityProjectV3Resource",
        description="string",
        identity_project_v3_id="string",
        name="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const identityProjectV3Resource = new flexibleengine.IdentityProjectV3("identityProjectV3Resource", {
        description: "string",
        identityProjectV3Id: "string",
        name: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: flexibleengine:IdentityProjectV3
    properties:
        description: string
        identityProjectV3Id: string
        name: string
        timeouts:
            create: string
            delete: string
            update: 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.
    IdentityProjectV3Id string
    A resource ID in UUID format.
    Name string
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    Timeouts IdentityProjectV3Timeouts
    Description string
    A description of the project.
    IdentityProjectV3Id string
    A resource ID in UUID format.
    Name string
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    Timeouts IdentityProjectV3TimeoutsArgs
    description String
    A description of the project.
    identityProjectV3Id String
    A resource ID in UUID format.
    name String
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    timeouts IdentityProjectV3Timeouts
    description string
    A description of the project.
    identityProjectV3Id string
    A resource ID in UUID format.
    name string
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    timeouts IdentityProjectV3Timeouts
    description str
    A description of the project.
    identity_project_v3_id str
    A resource ID in UUID format.
    name str
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    timeouts IdentityProjectV3TimeoutsArgs
    description String
    A description of the project.
    identityProjectV3Id String
    A resource ID in UUID format.
    name String
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    timeouts Property Map

    Outputs

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

    DomainId string
    The domain this project belongs to.
    Enabled bool
    Enabling status of this project.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDomain bool
    ParentId string
    The parent of this project.
    DomainId string
    The domain this project belongs to.
    Enabled bool
    Enabling status of this project.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDomain bool
    ParentId string
    The parent of this project.
    domainId String
    The domain this project belongs to.
    enabled Boolean
    Enabling status of this project.
    id String
    The provider-assigned unique ID for this managed resource.
    isDomain Boolean
    parentId String
    The parent of this project.
    domainId string
    The domain this project belongs to.
    enabled boolean
    Enabling status of this project.
    id string
    The provider-assigned unique ID for this managed resource.
    isDomain boolean
    parentId string
    The parent of this project.
    domain_id str
    The domain this project belongs to.
    enabled bool
    Enabling status of this project.
    id str
    The provider-assigned unique ID for this managed resource.
    is_domain bool
    parent_id str
    The parent of this project.
    domainId String
    The domain this project belongs to.
    enabled Boolean
    Enabling status of this project.
    id String
    The provider-assigned unique ID for this managed resource.
    isDomain Boolean
    parentId String
    The parent of this project.

    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,
            timeouts: Optional[IdentityProjectV3TimeoutsArgs] = 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: flexibleengine: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.
    Enabled bool
    Enabling status of this project.
    IdentityProjectV3Id string
    A resource ID in UUID format.
    IsDomain bool
    Name string
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    ParentId string
    The parent of this project.
    Timeouts IdentityProjectV3Timeouts
    Description string
    A description of the project.
    DomainId string
    The domain this project belongs to.
    Enabled bool
    Enabling status of this project.
    IdentityProjectV3Id string
    A resource ID in UUID format.
    IsDomain bool
    Name string
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    ParentId string
    The parent of this project.
    Timeouts IdentityProjectV3TimeoutsArgs
    description String
    A description of the project.
    domainId String
    The domain this project belongs to.
    enabled Boolean
    Enabling status of this project.
    identityProjectV3Id String
    A resource ID in UUID format.
    isDomain Boolean
    name String
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    parentId String
    The parent of this project.
    timeouts IdentityProjectV3Timeouts
    description string
    A description of the project.
    domainId string
    The domain this project belongs to.
    enabled boolean
    Enabling status of this project.
    identityProjectV3Id string
    A resource ID in UUID format.
    isDomain boolean
    name string
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    parentId string
    The parent of this project.
    timeouts IdentityProjectV3Timeouts
    description str
    A description of the project.
    domain_id str
    The domain this project belongs to.
    enabled bool
    Enabling status of this project.
    identity_project_v3_id str
    A resource ID in UUID format.
    is_domain bool
    name str
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    parent_id str
    The parent of this project.
    timeouts IdentityProjectV3TimeoutsArgs
    description String
    A description of the project.
    domainId String
    The domain this project belongs to.
    enabled Boolean
    Enabling status of this project.
    identityProjectV3Id String
    A resource ID in UUID format.
    isDomain Boolean
    name String
    The name of the project. The length is less than or equal to 64 bytes. Name mut be prefixed with a valid region name (eg. eu-west-0_project_1).
    parentId String
    The parent of this project.
    timeouts Property Map

    Supporting Types

    IdentityProjectV3Timeouts, IdentityProjectV3TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

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

    $ pulumi import flexibleengine:index/identityProjectV3:IdentityProjectV3 project_1 <ID>
    

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

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud