1. Packages
  2. Scaleway
  3. API Docs
  4. IamApplication
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.IamApplication

Explore with Pulumi AI

Deprecated: scaleway.index/iamapplication.IamApplication has been deprecated in favor of scaleway.iam/application.Application

Creates and manages Scaleway IAM Applications. For more information refer to the IAM API documentation.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";

const main = new scaleway.iam.Application("main", {
    name: "My application",
    description: "a description",
});
Copy
import pulumi
import pulumiverse_scaleway as scaleway

main = scaleway.iam.Application("main",
    name="My application",
    description="a description")
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := iam.NewApplication(ctx, "main", &iam.ApplicationArgs{
			Name:        pulumi.String("My application"),
			Description: pulumi.String("a description"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;

return await Deployment.RunAsync(() => 
{
    var main = new Scaleway.Iam.Application("main", new()
    {
        Name = "My application",
        Description = "a description",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.iam.Application;
import com.pulumi.scaleway.iam.ApplicationArgs;
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 main = new Application("main", ApplicationArgs.builder()
            .name("My application")
            .description("a description")
            .build());

    }
}
Copy
resources:
  main:
    type: scaleway:iam:Application
    properties:
      name: My application
      description: a description
Copy

Create IamApplication Resource

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

Constructor syntax

new IamApplication(name: string, args?: IamApplicationArgs, opts?: CustomResourceOptions);
@overload
def IamApplication(resource_name: str,
                   args: Optional[IamApplicationArgs] = None,
                   opts: Optional[ResourceOptions] = None)

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

Parameters

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

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

Description string
The description of the iam application.
Name string
The name of the iam application.
OrganizationId string
organization_id) The ID of the organization the application is associated with.
Tags List<string>
The tags associated with the application.
Description string
The description of the iam application.
Name string
The name of the iam application.
OrganizationId string
organization_id) The ID of the organization the application is associated with.
Tags []string
The tags associated with the application.
description String
The description of the iam application.
name String
The name of the iam application.
organizationId String
organization_id) The ID of the organization the application is associated with.
tags List<String>
The tags associated with the application.
description string
The description of the iam application.
name string
The name of the iam application.
organizationId string
organization_id) The ID of the organization the application is associated with.
tags string[]
The tags associated with the application.
description str
The description of the iam application.
name str
The name of the iam application.
organization_id str
organization_id) The ID of the organization the application is associated with.
tags Sequence[str]
The tags associated with the application.
description String
The description of the iam application.
name String
The name of the iam application.
organizationId String
organization_id) The ID of the organization the application is associated with.
tags List<String>
The tags associated with the application.

Outputs

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

CreatedAt string
The date and time of the creation of the application.
Editable bool
Whether the application is editable.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
The date and time of the last update of the application.
CreatedAt string
The date and time of the creation of the application.
Editable bool
Whether the application is editable.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
The date and time of the last update of the application.
createdAt String
The date and time of the creation of the application.
editable Boolean
Whether the application is editable.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
The date and time of the last update of the application.
createdAt string
The date and time of the creation of the application.
editable boolean
Whether the application is editable.
id string
The provider-assigned unique ID for this managed resource.
updatedAt string
The date and time of the last update of the application.
created_at str
The date and time of the creation of the application.
editable bool
Whether the application is editable.
id str
The provider-assigned unique ID for this managed resource.
updated_at str
The date and time of the last update of the application.
createdAt String
The date and time of the creation of the application.
editable Boolean
Whether the application is editable.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
The date and time of the last update of the application.

Look up Existing IamApplication Resource

Get an existing IamApplication 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?: IamApplicationState, opts?: CustomResourceOptions): IamApplication
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        editable: Optional[bool] = None,
        name: Optional[str] = None,
        organization_id: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        updated_at: Optional[str] = None) -> IamApplication
func GetIamApplication(ctx *Context, name string, id IDInput, state *IamApplicationState, opts ...ResourceOption) (*IamApplication, error)
public static IamApplication Get(string name, Input<string> id, IamApplicationState? state, CustomResourceOptions? opts = null)
public static IamApplication get(String name, Output<String> id, IamApplicationState state, CustomResourceOptions options)
resources:  _:    type: scaleway:IamApplication    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 date and time of the creation of the application.
Description string
The description of the iam application.
Editable bool
Whether the application is editable.
Name string
The name of the iam application.
OrganizationId string
organization_id) The ID of the organization the application is associated with.
Tags List<string>
The tags associated with the application.
UpdatedAt string
The date and time of the last update of the application.
CreatedAt string
The date and time of the creation of the application.
Description string
The description of the iam application.
Editable bool
Whether the application is editable.
Name string
The name of the iam application.
OrganizationId string
organization_id) The ID of the organization the application is associated with.
Tags []string
The tags associated with the application.
UpdatedAt string
The date and time of the last update of the application.
createdAt String
The date and time of the creation of the application.
description String
The description of the iam application.
editable Boolean
Whether the application is editable.
name String
The name of the iam application.
organizationId String
organization_id) The ID of the organization the application is associated with.
tags List<String>
The tags associated with the application.
updatedAt String
The date and time of the last update of the application.
createdAt string
The date and time of the creation of the application.
description string
The description of the iam application.
editable boolean
Whether the application is editable.
name string
The name of the iam application.
organizationId string
organization_id) The ID of the organization the application is associated with.
tags string[]
The tags associated with the application.
updatedAt string
The date and time of the last update of the application.
created_at str
The date and time of the creation of the application.
description str
The description of the iam application.
editable bool
Whether the application is editable.
name str
The name of the iam application.
organization_id str
organization_id) The ID of the organization the application is associated with.
tags Sequence[str]
The tags associated with the application.
updated_at str
The date and time of the last update of the application.
createdAt String
The date and time of the creation of the application.
description String
The description of the iam application.
editable Boolean
Whether the application is editable.
name String
The name of the iam application.
organizationId String
organization_id) The ID of the organization the application is associated with.
tags List<String>
The tags associated with the application.
updatedAt String
The date and time of the last update of the application.

Import

Applications can be imported using the {id}, e.g.

bash

$ pulumi import scaleway:index/iamApplication:IamApplication main 11111111-1111-1111-1111-111111111111
Copy

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

Package Details

Repository
scaleway pulumiverse/pulumi-scaleway
License
Apache-2.0
Notes
This Pulumi package is based on the scaleway Terraform Provider.