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

scaleway.getVpcs

Explore with Pulumi AI

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

    Gets information about multiple Virtual Private Clouds.

    Using getVpcs

    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 getVpcs(args: GetVpcsArgs, opts?: InvokeOptions): Promise<GetVpcsResult>
    function getVpcsOutput(args: GetVpcsOutputArgs, opts?: InvokeOptions): Output<GetVpcsResult>
    def get_vpcs(name: Optional[str] = None,
                 project_id: Optional[str] = None,
                 region: Optional[str] = None,
                 tags: Optional[Sequence[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> GetVpcsResult
    def get_vpcs_output(name: Optional[pulumi.Input[str]] = None,
                 project_id: Optional[pulumi.Input[str]] = None,
                 region: Optional[pulumi.Input[str]] = None,
                 tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetVpcsResult]
    func GetVpcs(ctx *Context, args *GetVpcsArgs, opts ...InvokeOption) (*GetVpcsResult, error)
    func GetVpcsOutput(ctx *Context, args *GetVpcsOutputArgs, opts ...InvokeOption) GetVpcsResultOutput

    > Note: This function is named GetVpcs in the Go SDK.

    public static class GetVpcs 
    {
        public static Task<GetVpcsResult> InvokeAsync(GetVpcsArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcsResult> Invoke(GetVpcsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVpcsResult> getVpcs(GetVpcsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scaleway:index/getVpcs:getVpcs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The VPC name to filter for. VPCs with a similar name are listed.
    ProjectId string
    The ID of the Project the VPC is associated with.
    Region string
    region). The region in which the VPCs exist.
    Tags List<string>
    List of tags to filter for. VPCs with these exact tags are listed.
    Name string
    The VPC name to filter for. VPCs with a similar name are listed.
    ProjectId string
    The ID of the Project the VPC is associated with.
    Region string
    region). The region in which the VPCs exist.
    Tags []string
    List of tags to filter for. VPCs with these exact tags are listed.
    name String
    The VPC name to filter for. VPCs with a similar name are listed.
    projectId String
    The ID of the Project the VPC is associated with.
    region String
    region). The region in which the VPCs exist.
    tags List<String>
    List of tags to filter for. VPCs with these exact tags are listed.
    name string
    The VPC name to filter for. VPCs with a similar name are listed.
    projectId string
    The ID of the Project the VPC is associated with.
    region string
    region). The region in which the VPCs exist.
    tags string[]
    List of tags to filter for. VPCs with these exact tags are listed.
    name str
    The VPC name to filter for. VPCs with a similar name are listed.
    project_id str
    The ID of the Project the VPC is associated with.
    region str
    region). The region in which the VPCs exist.
    tags Sequence[str]
    List of tags to filter for. VPCs with these exact tags are listed.
    name String
    The VPC name to filter for. VPCs with a similar name are listed.
    projectId String
    The ID of the Project the VPC is associated with.
    region String
    region). The region in which the VPCs exist.
    tags List<String>
    List of tags to filter for. VPCs with these exact tags are listed.

    getVpcs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The Organization ID the VPC is associated with.
    ProjectId string
    The ID of the Project the VPC is associated with.
    Region string
    Vpcs List<Pulumiverse.Scaleway.Outputs.GetVpcsVpc>
    List of retrieved VPCs
    Name string
    Tags List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The Organization ID the VPC is associated with.
    ProjectId string
    The ID of the Project the VPC is associated with.
    Region string
    Vpcs []GetVpcsVpc
    List of retrieved VPCs
    Name string
    Tags []string
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The Organization ID the VPC is associated with.
    projectId String
    The ID of the Project the VPC is associated with.
    region String
    vpcs List<GetVpcsVpc>
    List of retrieved VPCs
    name String
    tags List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    The Organization ID the VPC is associated with.
    projectId string
    The ID of the Project the VPC is associated with.
    region string
    vpcs GetVpcsVpc[]
    List of retrieved VPCs
    name string
    tags string[]
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    The Organization ID the VPC is associated with.
    project_id str
    The ID of the Project the VPC is associated with.
    region str
    vpcs Sequence[GetVpcsVpc]
    List of retrieved VPCs
    name str
    tags Sequence[str]
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The Organization ID the VPC is associated with.
    projectId String
    The ID of the Project the VPC is associated with.
    region String
    vpcs List<Property Map>
    List of retrieved VPCs
    name String
    tags List<String>

    Supporting Types

    GetVpcsVpc

    CreatedAt string
    Date and time of VPC's creation (RFC 3339 format).
    Id string

    The associated VPC ID.

    Important: VPC IDs are regional, which means they are of the form {region}/{id}, e.g. `fr-par/11111111-1111-1111-1111-111111111111

    IsDefault bool
    Defines whether the VPC is the default one for its Project.
    Name string
    The VPC name to filter for. VPCs with a similar name are listed.
    OrganizationId string
    The Organization ID the VPC is associated with.
    ProjectId string
    The ID of the Project the VPC is associated with.
    Region string
    region). The region in which the VPCs exist.
    Tags List<string>
    List of tags to filter for. VPCs with these exact tags are listed.
    UpdateAt string
    CreatedAt string
    Date and time of VPC's creation (RFC 3339 format).
    Id string

    The associated VPC ID.

    Important: VPC IDs are regional, which means they are of the form {region}/{id}, e.g. `fr-par/11111111-1111-1111-1111-111111111111

    IsDefault bool
    Defines whether the VPC is the default one for its Project.
    Name string
    The VPC name to filter for. VPCs with a similar name are listed.
    OrganizationId string
    The Organization ID the VPC is associated with.
    ProjectId string
    The ID of the Project the VPC is associated with.
    Region string
    region). The region in which the VPCs exist.
    Tags []string
    List of tags to filter for. VPCs with these exact tags are listed.
    UpdateAt string
    createdAt String
    Date and time of VPC's creation (RFC 3339 format).
    id String

    The associated VPC ID.

    Important: VPC IDs are regional, which means they are of the form {region}/{id}, e.g. `fr-par/11111111-1111-1111-1111-111111111111

    isDefault Boolean
    Defines whether the VPC is the default one for its Project.
    name String
    The VPC name to filter for. VPCs with a similar name are listed.
    organizationId String
    The Organization ID the VPC is associated with.
    projectId String
    The ID of the Project the VPC is associated with.
    region String
    region). The region in which the VPCs exist.
    tags List<String>
    List of tags to filter for. VPCs with these exact tags are listed.
    updateAt String
    createdAt string
    Date and time of VPC's creation (RFC 3339 format).
    id string

    The associated VPC ID.

    Important: VPC IDs are regional, which means they are of the form {region}/{id}, e.g. `fr-par/11111111-1111-1111-1111-111111111111

    isDefault boolean
    Defines whether the VPC is the default one for its Project.
    name string
    The VPC name to filter for. VPCs with a similar name are listed.
    organizationId string
    The Organization ID the VPC is associated with.
    projectId string
    The ID of the Project the VPC is associated with.
    region string
    region). The region in which the VPCs exist.
    tags string[]
    List of tags to filter for. VPCs with these exact tags are listed.
    updateAt string
    created_at str
    Date and time of VPC's creation (RFC 3339 format).
    id str

    The associated VPC ID.

    Important: VPC IDs are regional, which means they are of the form {region}/{id}, e.g. `fr-par/11111111-1111-1111-1111-111111111111

    is_default bool
    Defines whether the VPC is the default one for its Project.
    name str
    The VPC name to filter for. VPCs with a similar name are listed.
    organization_id str
    The Organization ID the VPC is associated with.
    project_id str
    The ID of the Project the VPC is associated with.
    region str
    region). The region in which the VPCs exist.
    tags Sequence[str]
    List of tags to filter for. VPCs with these exact tags are listed.
    update_at str
    createdAt String
    Date and time of VPC's creation (RFC 3339 format).
    id String

    The associated VPC ID.

    Important: VPC IDs are regional, which means they are of the form {region}/{id}, e.g. `fr-par/11111111-1111-1111-1111-111111111111

    isDefault Boolean
    Defines whether the VPC is the default one for its Project.
    name String
    The VPC name to filter for. VPCs with a similar name are listed.
    organizationId String
    The Organization ID the VPC is associated with.
    projectId String
    The ID of the Project the VPC is associated with.
    region String
    region). The region in which the VPCs exist.
    tags List<String>
    List of tags to filter for. VPCs with these exact tags are listed.
    updateAt 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