1. Packages
  2. Scaleway
  3. API Docs
  4. getAccountProject
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

scaleway.getAccountProject

Explore with Pulumi AI

scaleway logo
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

    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 and project_id should be specified.
    OrganizationId 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

    ProjectId string
    The unique identifier of the Project. Only one of the name and project_id should be specified.
    Name string
    The name of the Project. Only one of the name and project_id should be specified.
    OrganizationId 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

    ProjectId string
    The unique identifier of the Project. Only one of the name and project_id should be specified.
    name String
    The name of the Project. Only one of the name and project_id should be specified.
    organizationId 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

    projectId String
    The unique identifier of the Project. Only one of the name and project_id should be specified.
    name string
    The name of the Project. Only one of the name and project_id should be specified.
    organizationId 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

    projectId string
    The unique identifier of the Project. Only one of the name and project_id should be specified.
    name str
    The name of the Project. Only one of the name and project_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 and project_id should be specified.
    name String
    The name of the Project. Only one of the name and project_id should be specified.
    organizationId 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

    projectId String
    The unique identifier of the Project. Only one of the name and project_id should be specified.

    getAccountProject Result

    The following output properties are available:

    CreatedAt string
    Description string
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    UpdatedAt string
    Name string
    OrganizationId string
    CreatedAt string
    Description string
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    UpdatedAt string
    Name string
    OrganizationId string
    createdAt String
    description String
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    updatedAt String
    name String
    organizationId String
    createdAt string
    description string
    id string
    The provider-assigned unique ID for this managed resource.
    projectId string
    updatedAt string
    name string
    organizationId 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
    createdAt String
    description String
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    updatedAt String
    name String
    organizationId String

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse