scaleway.getAccountProject
Explore with Pulumi AI
The scaleway.AccountProject
data source is used to retrieve information about a Scaleway project.
Refer to the Organizations and Projects documentation and API documentation for more information.
Using getAccountProject
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 getAccountProject(args: GetAccountProjectArgs, opts?: InvokeOptions): Promise<GetAccountProjectResult>
function getAccountProjectOutput(args: GetAccountProjectOutputArgs, opts?: InvokeOptions): Output<GetAccountProjectResult>
def get_account_project(name: Optional[str] = None,
organization_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountProjectResult
def get_account_project_output(name: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccountProjectResult]
func LookupAccountProject(ctx *Context, args *LookupAccountProjectArgs, opts ...InvokeOption) (*LookupAccountProjectResult, error)
func LookupAccountProjectOutput(ctx *Context, args *LookupAccountProjectOutputArgs, opts ...InvokeOption) LookupAccountProjectResultOutput
> Note: This function is named LookupAccountProject
in the Go SDK.
public static class GetAccountProject
{
public static Task<GetAccountProjectResult> InvokeAsync(GetAccountProjectArgs args, InvokeOptions? opts = null)
public static Output<GetAccountProjectResult> Invoke(GetAccountProjectInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccountProjectResult> getAccountProject(GetAccountProjectArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scaleway:index/getAccountProject:getAccountProject
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the Project.
Only one of the
name
andproject_id
should be specified. - Organization
Id string The unique identifier of the Organization with which the Project is associated.
If no default
organization_id
is set, one must be set explicitly in this datasource- Project
Id string - The unique identifier of the Project.
Only one of the
name
andproject_id
should be specified.
- Name string
- The name of the Project.
Only one of the
name
andproject_id
should be specified. - Organization
Id string The unique identifier of the Organization with which the Project is associated.
If no default
organization_id
is set, one must be set explicitly in this datasource- Project
Id string - The unique identifier of the Project.
Only one of the
name
andproject_id
should be specified.
- name String
- The name of the Project.
Only one of the
name
andproject_id
should be specified. - organization
Id String The unique identifier of the Organization with which the Project is associated.
If no default
organization_id
is set, one must be set explicitly in this datasource- project
Id String - The unique identifier of the Project.
Only one of the
name
andproject_id
should be specified.
- name string
- The name of the Project.
Only one of the
name
andproject_id
should be specified. - organization
Id string The unique identifier of the Organization with which the Project is associated.
If no default
organization_id
is set, one must be set explicitly in this datasource- project
Id string - The unique identifier of the Project.
Only one of the
name
andproject_id
should be specified.
- name str
- The name of the Project.
Only one of the
name
andproject_id
should be specified. - organization_
id str The unique identifier of the Organization with which the Project is associated.
If no default
organization_id
is set, one must be set explicitly in this datasource- project_
id str - The unique identifier of the Project.
Only one of the
name
andproject_id
should be specified.
- name String
- The name of the Project.
Only one of the
name
andproject_id
should be specified. - organization
Id String The unique identifier of the Organization with which the Project is associated.
If no default
organization_id
is set, one must be set explicitly in this datasource- project
Id String - The unique identifier of the Project.
Only one of the
name
andproject_id
should be specified.
getAccountProject Result
The following output properties are available:
- Created
At string - Description string
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Updated
At string - Name string
- Organization
Id string
- Created
At string - Description string
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Updated
At string - Name string
- Organization
Id string
- created
At String - description String
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - updated
At String - name String
- organization
Id String
- created
At string - description string
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - updated
At string - name string
- organization
Id string
- created_
at str - description str
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - updated_
at str - name str
- organization_
id str
- created
At String - description String
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - updated
At String - name String
- organization
Id String
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.