scaleway.IamApplication
Explore with Pulumi AI
Creates and manages Scaleway IAM Applications. For more information, see the documentation.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
return await Deployment.RunAsync(() =>
{
var main = new Scaleway.IamApplication("main", new()
{
Description = "a description",
});
});
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.NewIamApplication(ctx, "main", &scaleway.IamApplicationArgs{
Description: pulumi.String("a description"),
})
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.IamApplication;
import com.pulumi.scaleway.IamApplicationArgs;
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 IamApplication("main", IamApplicationArgs.builder()
.description("a description")
.build());
}
}
import pulumi
import lbrlabs_pulumi_scaleway as scaleway
main = scaleway.IamApplication("main", description="a description")
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@lbrlabs/pulumi-scaleway";
const main = new scaleway.IamApplication("main", {description: "a description"});
resources:
main:
type: scaleway:IamApplication
properties:
description: a description
Create IamApplication Resource
new IamApplication(name: string, args?: IamApplicationArgs, opts?: CustomResourceOptions);
@overload
def IamApplication(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None)
@overload
def IamApplication(resource_name: str,
args: Optional[IamApplicationArgs] = None,
opts: Optional[ResourceOptions] = 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.
- name 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 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 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 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 String
- The unique name of the resource.
- args 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
The IamApplication resource accepts the following input properties:
- Description string
The description of the iam application.
- Name string
.The name of the iam application.
- Organization
Id string organization_id
) The ID of the organization the application is associated with.
- Description string
The description of the iam application.
- Name string
.The name of the iam application.
- Organization
Id string organization_id
) The ID of the organization the application is associated with.
- description String
The description of the iam application.
- name String
.The name of the iam application.
- organization
Id String organization_id
) The ID of the organization the application is associated with.
- description string
The description of the iam application.
- name string
.The name of the iam application.
- organization
Id string organization_id
) The ID of the organization the application is associated with.
- 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.
- description String
The description of the iam application.
- name String
.The name of the iam application.
- organization
Id String organization_id
) The ID of the organization the application is associated with.
Outputs
All input properties are implicitly available as output properties. Additionally, the IamApplication resource produces the following output properties:
- 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.
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,
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)
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.
- Created
At 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.
- Organization
Id string organization_id
) The ID of the organization the application is associated with.- Updated
At string The date and time of the last update of the application.
- Created
At 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.
- Organization
Id string organization_id
) The ID of the organization the application is associated with.- Updated
At string The date and time of the last update of the application.
- created
At 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.
- organization
Id String organization_id
) The ID of the organization the application is associated with.- updated
At String The date and time of the last update of the application.
- created
At 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.
- organization
Id string organization_id
) The ID of the organization the application is associated with.- updated
At 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.- updated_
at str The date and time of the last update of the application.
- created
At 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.
- organization
Id String organization_id
) The ID of the organization the application is associated with.- updated
At 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
Package Details
- Repository
- scaleway lbrlabs/pulumi-scaleway
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
scaleway
Terraform Provider.