Data source for looking up a Space by ID or by name. Use either id or name, but not both.
Using getSpace
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSpace(args: GetSpaceArgs, opts?: InvokeOptions): Promise<GetSpaceResult>
function getSpaceOutput(args: GetSpaceOutputArgs, opts?: InvokeOptions): Output<GetSpaceResult>def get_space(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSpaceResult
def get_space_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSpaceResult]func LookupSpace(ctx *Context, args *LookupSpaceArgs, opts ...InvokeOption) (*LookupSpaceResult, error)
func LookupSpaceOutput(ctx *Context, args *LookupSpaceOutputArgs, opts ...InvokeOption) LookupSpaceResultOutput> Note: This function is named LookupSpace in the Go SDK.
public static class GetSpace
{
public static Task<GetSpaceResult> InvokeAsync(GetSpaceArgs args, InvokeOptions? opts = null)
public static Output<GetSpaceResult> Invoke(GetSpaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSpaceResult> getSpace(GetSpaceArgs args, InvokeOptions options)
public static Output<GetSpaceResult> getSpace(GetSpaceArgs args, InvokeOptions options)
fn::invoke:
function: formal:index/getSpace:getSpace
arguments:
# arguments dictionaryThe following arguments are supported:
getSpace Result
The following output properties are available:
- Created
At int - Creation time of the Space.
- Description string
- Description of the Space.
- Termination
Protection bool - If set to true, this Space cannot be deleted.
- Id string
- The Formal ID for this Space.
- Name string
- The name of the Space to look up. Use this to fetch a space by name.
- Created
At int - Creation time of the Space.
- Description string
- Description of the Space.
- Termination
Protection bool - If set to true, this Space cannot be deleted.
- Id string
- The Formal ID for this Space.
- Name string
- The name of the Space to look up. Use this to fetch a space by name.
- created
At Integer - Creation time of the Space.
- description String
- Description of the Space.
- termination
Protection Boolean - If set to true, this Space cannot be deleted.
- id String
- The Formal ID for this Space.
- name String
- The name of the Space to look up. Use this to fetch a space by name.
- created
At number - Creation time of the Space.
- description string
- Description of the Space.
- termination
Protection boolean - If set to true, this Space cannot be deleted.
- id string
- The Formal ID for this Space.
- name string
- The name of the Space to look up. Use this to fetch a space by name.
- created_
at int - Creation time of the Space.
- description str
- Description of the Space.
- termination_
protection bool - If set to true, this Space cannot be deleted.
- id str
- The Formal ID for this Space.
- name str
- The name of the Space to look up. Use this to fetch a space by name.
- created
At Number - Creation time of the Space.
- description String
- Description of the Space.
- termination
Protection Boolean - If set to true, this Space cannot be deleted.
- id String
- The Formal ID for this Space.
- name String
- The name of the Space to look up. Use this to fetch a space by name.
Package Details
- Repository
- formal formalco/pulumi-formal
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
formalTerraform Provider.
