scaleway.network.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)
public static Output<GetVpcsResult> getVpcs(GetVpcsArgs args, InvokeOptions options)
fn::invoke:
  function: scaleway:network/getVpcs:getVpcs
  arguments:
    # arguments dictionaryThe 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.
- 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. Network. Outputs. Get Vpcs Vpc> 
- List of retrieved VPCs
- Name string
- 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
[]GetVpcs Vpc 
- List of retrieved VPCs
- Name string
- []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<GetVpcs Vpc> 
- List of retrieved VPCs
- name String
- 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
GetVpcs 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[GetVpcs Vpc] 
- List of retrieved VPCs
- name str
- 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
- 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.
- 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.
- []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.
- 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.
- 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.
- 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.
- 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 scalewayTerraform Provider.
