1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. vpc
  5. getSubnets
volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine

volcenginecc.vpc.getSubnets

Start a Neo task
Explain and create a volcenginecc.vpc.getSubnets resource
volcenginecc logo
volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine

    Plural Data Source schema for Volcengine::VPC::Subnet

    Using getSubnets

    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 getSubnets(opts?: InvokeOptions): Promise<GetSubnetsResult>
    function getSubnetsOutput(opts?: InvokeOptions): Output<GetSubnetsResult>
    def get_subnets(opts: Optional[InvokeOptions] = None) -> GetSubnetsResult
    def get_subnets_output(opts: Optional[InvokeOptions] = None) -> Output[GetSubnetsResult]
    func GetSubnets(ctx *Context, opts ...InvokeOption) (*GetSubnetsResult, error)
    func GetSubnetsOutput(ctx *Context, opts ...InvokeOption) GetSubnetsResultOutput

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

    public static class GetSubnets 
    {
        public static Task<GetSubnetsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetSubnetsResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSubnetsResult> getSubnets(InvokeOptions options)
    public static Output<GetSubnetsResult> getSubnets(InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:vpc/getSubnets:getSubnets
      arguments:
        # arguments dictionary

    getSubnets Result

    The following output properties are available:

    Id string
    Uniquely identifies the data source.
    Ids List<string>
    Set of Resource Identifiers.
    Id string
    Uniquely identifies the data source.
    Ids []string
    Set of Resource Identifiers.
    id String
    Uniquely identifies the data source.
    ids List<String>
    Set of Resource Identifiers.
    id string
    Uniquely identifies the data source.
    ids string[]
    Set of Resource Identifiers.
    id str
    Uniquely identifies the data source.
    ids Sequence[str]
    Set of Resource Identifiers.
    id String
    Uniquely identifies the data source.
    ids List<String>
    Set of Resource Identifiers.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine
      Meet Neo: Your AI Platform Teammate