scaleway.getVpcs
Explore with Pulumi AI
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 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.- Sequence[str]
- 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.
- Organization
Id string - The Organization ID the VPC is associated with.
- Project
Id string - The ID of the Project the VPC is associated with.
- Region string
- Vpcs
List<Pulumiverse.
Scaleway. Outputs. Get Vpcs Vpc> - List of retrieved VPCs
- Name string
- List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The Organization ID the VPC is associated with.
- Project
Id string - The ID of the Project the VPC is associated with.
- Region string
- Vpcs
[]Get
Vpcs Vpc - List of retrieved VPCs
- Name string
- []string
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Organization ID the VPC is associated with.
- project
Id String - The ID of the Project the VPC is associated with.
- region String
- vpcs
List<Get
Vpcs Vpc> - List of retrieved VPCs
- name String
- List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - The Organization ID the VPC is associated with.
- project
Id string - The ID of the Project the VPC is associated with.
- region string
- vpcs
Get
Vpcs Vpc[] - List of retrieved VPCs
- name string
- 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[Get
Vpcs Vpc] - List of retrieved VPCs
- name str
- Sequence[str]
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Organization ID the VPC is associated with.
- project
Id String - The ID of the Project the VPC is associated with.
- region String
- vpcs List<Property Map>
- List of retrieved VPCs
- name String
- List<String>
Supporting Types
GetVpcsVpc
- Created
At 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- Is
Default 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.
- Organization
Id string - The Organization ID the VPC is associated with.
- Project
Id string - The ID of the Project the VPC is associated with.
- Region string
region
). The region in which the VPCs exist.- List<string>
- List of tags to filter for. VPCs with these exact tags are listed.
- Update
At string
- Created
At 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- Is
Default 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.
- Organization
Id string - The Organization ID the VPC is associated with.
- Project
Id string - The ID of the Project the VPC is associated with.
- Region string
region
). The region in which the VPCs exist.- []string
- List of tags to filter for. VPCs with these exact tags are listed.
- Update
At string
- created
At 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- is
Default 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.
- organization
Id String - The Organization ID the VPC is associated with.
- project
Id String - The ID of the Project the VPC is associated with.
- region String
region
). The region in which the VPCs exist.- List<String>
- List of tags to filter for. VPCs with these exact tags are listed.
- update
At String
- created
At 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- is
Default 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.
- organization
Id string - The Organization ID the VPC is associated with.
- project
Id string - The ID of the Project the VPC is associated with.
- region string
region
). The region in which the VPCs exist.- string[]
- List of tags to filter for. VPCs with these exact tags are listed.
- update
At 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.- Sequence[str]
- List of tags to filter for. VPCs with these exact tags are listed.
- update_
at str
- created
At 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- is
Default 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.
- organization
Id String - The Organization ID the VPC is associated with.
- project
Id String - The ID of the Project the VPC is associated with.
- region String
region
). The region in which the VPCs exist.- List<String>
- List of tags to filter for. VPCs with these exact tags are listed.
- update
At String
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.