scaleway logo
Scaleway v1.8.0, Apr 11 23

scaleway.AccountProject

Explore with Pulumi AI

Manages organization’s projects on Scaleway.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Lbrlabs.PulumiPackage.Scaleway;

return await Deployment.RunAsync(() => 
{
    var project = new Scaleway.AccountProject("project");

});
package main

import (
	"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := scaleway.NewAccountProject(ctx, "project", nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.AccountProject;
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 project = new AccountProject("project");

    }
}
import pulumi
import lbrlabs_pulumi_scaleway as scaleway

project = scaleway.AccountProject("project")
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@lbrlabs/pulumi-scaleway";

const project = new scaleway.AccountProject("project", {});
resources:
  project:
    type: scaleway:AccountProject

Create AccountProject Resource

new AccountProject(name: string, args?: AccountProjectArgs, opts?: CustomResourceOptions);
@overload
def AccountProject(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   description: Optional[str] = None,
                   name: Optional[str] = None,
                   organization_id: Optional[str] = None)
@overload
def AccountProject(resource_name: str,
                   args: Optional[AccountProjectArgs] = None,
                   opts: Optional[ResourceOptions] = None)
func NewAccountProject(ctx *Context, name string, args *AccountProjectArgs, opts ...ResourceOption) (*AccountProject, error)
public AccountProject(string name, AccountProjectArgs? args = null, CustomResourceOptions? opts = null)
public AccountProject(String name, AccountProjectArgs args)
public AccountProject(String name, AccountProjectArgs args, CustomResourceOptions options)
type: scaleway:AccountProject
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AccountProjectArgs
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 AccountProjectArgs
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 AccountProjectArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AccountProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AccountProjectArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AccountProject Resource Properties

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

Inputs

The AccountProject resource accepts the following input properties:

Description string

The description of the Project.

Name string

The name of the Project.

OrganizationId string

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

Description string

The description of the Project.

Name string

The name of the Project.

OrganizationId string

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

description String

The description of the Project.

name String

The name of the Project.

organizationId String

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

description string

The description of the Project.

name string

The name of the Project.

organizationId string

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

description str

The description of the Project.

name str

The name of the Project.

organization_id str

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

description String

The description of the Project.

name String

The name of the Project.

organizationId String

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

Outputs

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

CreatedAt string

The Project creation time.

Id string

The provider-assigned unique ID for this managed resource.

UpdatedAt string

The Project last update time.

CreatedAt string

The Project creation time.

Id string

The provider-assigned unique ID for this managed resource.

UpdatedAt string

The Project last update time.

createdAt String

The Project creation time.

id String

The provider-assigned unique ID for this managed resource.

updatedAt String

The Project last update time.

createdAt string

The Project creation time.

id string

The provider-assigned unique ID for this managed resource.

updatedAt string

The Project last update time.

created_at str

The Project creation time.

id str

The provider-assigned unique ID for this managed resource.

updated_at str

The Project last update time.

createdAt String

The Project creation time.

id String

The provider-assigned unique ID for this managed resource.

updatedAt String

The Project last update time.

Look up Existing AccountProject Resource

Get an existing AccountProject 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?: AccountProjectState, opts?: CustomResourceOptions): AccountProject
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        organization_id: Optional[str] = None,
        updated_at: Optional[str] = None) -> AccountProject
func GetAccountProject(ctx *Context, name string, id IDInput, state *AccountProjectState, opts ...ResourceOption) (*AccountProject, error)
public static AccountProject Get(string name, Input<string> id, AccountProjectState? state, CustomResourceOptions? opts = null)
public static AccountProject get(String name, Output<String> id, AccountProjectState 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:
CreatedAt string

The Project creation time.

Description string

The description of the Project.

Name string

The name of the Project.

OrganizationId string

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

UpdatedAt string

The Project last update time.

CreatedAt string

The Project creation time.

Description string

The description of the Project.

Name string

The name of the Project.

OrganizationId string

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

UpdatedAt string

The Project last update time.

createdAt String

The Project creation time.

description String

The description of the Project.

name String

The name of the Project.

organizationId String

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

updatedAt String

The Project last update time.

createdAt string

The Project creation time.

description string

The description of the Project.

name string

The name of the Project.

organizationId string

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

updatedAt string

The Project last update time.

created_at str

The Project creation time.

description str

The description of the Project.

name str

The name of the Project.

organization_id str

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

updated_at str

The Project last update time.

createdAt String

The Project creation time.

description String

The description of the Project.

name String

The name of the Project.

organizationId String

organization_id)The organization ID the Project is associated with. Please note that any change in organization_id will recreate the resource.

updatedAt String

The Project last update time.

Import

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

 $ pulumi import scaleway:index/accountProject:AccountProject project 11111111-1111-1111-1111-111111111111

Package Details

Repository
scaleway lbrlabs/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.