ibm.Space
Explore with Pulumi AI
Create Space Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Space(name: string, args: SpaceArgs, opts?: CustomResourceOptions);
@overload
def Space(resource_name: str,
args: SpaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Space(resource_name: str,
opts: Optional[ResourceOptions] = None,
org: Optional[str] = None,
auditors: Optional[Sequence[str]] = None,
developers: Optional[Sequence[str]] = None,
managers: Optional[Sequence[str]] = None,
name: Optional[str] = None,
space_id: Optional[str] = None,
space_quota: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewSpace(ctx *Context, name string, args SpaceArgs, opts ...ResourceOption) (*Space, error)
public Space(string name, SpaceArgs args, CustomResourceOptions? opts = null)
type: ibm:Space
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 SpaceArgs
- 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 SpaceArgs
- 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 SpaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SpaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SpaceArgs
- 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 spaceResource = new Ibm.Space("spaceResource", new()
{
Org = "string",
Auditors = new[]
{
"string",
},
Developers = new[]
{
"string",
},
Managers = new[]
{
"string",
},
Name = "string",
SpaceId = "string",
SpaceQuota = "string",
Tags = new[]
{
"string",
},
});
example, err := ibm.NewSpace(ctx, "spaceResource", &ibm.SpaceArgs{
Org: pulumi.String("string"),
Auditors: pulumi.StringArray{
pulumi.String("string"),
},
Developers: pulumi.StringArray{
pulumi.String("string"),
},
Managers: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
SpaceId: pulumi.String("string"),
SpaceQuota: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var spaceResource = new Space("spaceResource", SpaceArgs.builder()
.org("string")
.auditors("string")
.developers("string")
.managers("string")
.name("string")
.spaceId("string")
.spaceQuota("string")
.tags("string")
.build());
space_resource = ibm.Space("spaceResource",
org="string",
auditors=["string"],
developers=["string"],
managers=["string"],
name="string",
space_id="string",
space_quota="string",
tags=["string"])
const spaceResource = new ibm.Space("spaceResource", {
org: "string",
auditors: ["string"],
developers: ["string"],
managers: ["string"],
name: "string",
spaceId: "string",
spaceQuota: "string",
tags: ["string"],
});
type: ibm:Space
properties:
auditors:
- string
developers:
- string
managers:
- string
name: string
org: string
spaceId: string
spaceQuota: string
tags:
- string
Space 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 Space resource accepts the following input properties:
- Org string
- The org this space belongs to
- Auditors List<string>
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- Developers List<string>
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- Managers List<string>
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- Name string
- The name for the space
- Space
Id string - Space
Quota string - The name of the Space Quota Definition
- List<string>
- Org string
- The org this space belongs to
- Auditors []string
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- Developers []string
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- Managers []string
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- Name string
- The name for the space
- Space
Id string - Space
Quota string - The name of the Space Quota Definition
- []string
- org String
- The org this space belongs to
- auditors List<String>
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- developers List<String>
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- managers List<String>
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- name String
- The name for the space
- space
Id String - space
Quota String - The name of the Space Quota Definition
- List<String>
- org string
- The org this space belongs to
- auditors string[]
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- developers string[]
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- managers string[]
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- name string
- The name for the space
- space
Id string - space
Quota string - The name of the Space Quota Definition
- string[]
- org str
- The org this space belongs to
- auditors Sequence[str]
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- developers Sequence[str]
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- managers Sequence[str]
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- name str
- The name for the space
- space_
id str - space_
quota str - The name of the Space Quota Definition
- Sequence[str]
- org String
- The org this space belongs to
- auditors List<String>
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- developers List<String>
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- managers List<String>
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- name String
- The name for the space
- space
Id String - space
Quota String - The name of the Space Quota Definition
- List<String>
Outputs
All input properties are implicitly available as output properties. Additionally, the Space resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Space Resource
Get an existing Space 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?: SpaceState, opts?: CustomResourceOptions): Space
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auditors: Optional[Sequence[str]] = None,
developers: Optional[Sequence[str]] = None,
managers: Optional[Sequence[str]] = None,
name: Optional[str] = None,
org: Optional[str] = None,
space_id: Optional[str] = None,
space_quota: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> Space
func GetSpace(ctx *Context, name string, id IDInput, state *SpaceState, opts ...ResourceOption) (*Space, error)
public static Space Get(string name, Input<string> id, SpaceState? state, CustomResourceOptions? opts = null)
public static Space get(String name, Output<String> id, SpaceState state, CustomResourceOptions options)
resources: _: type: ibm:Space 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.
- Auditors List<string>
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- Developers List<string>
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- Managers List<string>
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- Name string
- The name for the space
- Org string
- The org this space belongs to
- Space
Id string - Space
Quota string - The name of the Space Quota Definition
- List<string>
- Auditors []string
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- Developers []string
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- Managers []string
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- Name string
- The name for the space
- Org string
- The org this space belongs to
- Space
Id string - Space
Quota string - The name of the Space Quota Definition
- []string
- auditors List<String>
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- developers List<String>
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- managers List<String>
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- name String
- The name for the space
- org String
- The org this space belongs to
- space
Id String - space
Quota String - The name of the Space Quota Definition
- List<String>
- auditors string[]
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- developers string[]
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- managers string[]
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- name string
- The name for the space
- org string
- The org this space belongs to
- space
Id string - space
Quota string - The name of the Space Quota Definition
- string[]
- auditors Sequence[str]
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- developers Sequence[str]
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- managers Sequence[str]
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- name str
- The name for the space
- org str
- The org this space belongs to
- space_
id str - space_
quota str - The name of the Space Quota Definition
- Sequence[str]
- auditors List<String>
- The IBMID of the users who will have auditor role in this space, ex - user@example.com
- developers List<String>
- The IBMID of the users who will have developer role in this space, ex - user@example.com
- managers List<String>
- The IBMID of the users who will have manager role in this space, ex - user@example.com
- name String
- The name for the space
- org String
- The org this space belongs to
- space
Id String - space
Quota String - The name of the Space Quota Definition
- List<String>
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.