1. Packages
  2. Volcengine
  3. API Docs
  4. vke
  5. SupportResourceTypes
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.vke.SupportResourceTypes

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Use this data source to query detailed information of vke support resource types

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Vke.SupportResourceTypes.Invoke();
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vke"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vke.SupportResourceTypes(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.vke.VkeFunctions;
    import com.pulumi.volcengine.vke.inputs.SupportResourceTypesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var default = VkeFunctions.SupportResourceTypes();
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.vke.support_resource_types()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.vke.SupportResourceTypes({});
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:vke:SupportResourceTypes
          Arguments: {}
    

    Using SupportResourceTypes

    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 supportResourceTypes(args: SupportResourceTypesArgs, opts?: InvokeOptions): Promise<SupportResourceTypesResult>
    function supportResourceTypesOutput(args: SupportResourceTypesOutputArgs, opts?: InvokeOptions): Output<SupportResourceTypesResult>
    def support_resource_types(output_file: Optional[str] = None,
                               resource_types: Optional[Sequence[str]] = None,
                               zone_ids: Optional[Sequence[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> SupportResourceTypesResult
    def support_resource_types_output(output_file: Optional[pulumi.Input[str]] = None,
                               resource_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                               zone_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[SupportResourceTypesResult]
    func SupportResourceTypes(ctx *Context, args *SupportResourceTypesArgs, opts ...InvokeOption) (*SupportResourceTypesResult, error)
    func SupportResourceTypesOutput(ctx *Context, args *SupportResourceTypesOutputArgs, opts ...InvokeOption) SupportResourceTypesResultOutput
    public static class SupportResourceTypes 
    {
        public static Task<SupportResourceTypesResult> InvokeAsync(SupportResourceTypesArgs args, InvokeOptions? opts = null)
        public static Output<SupportResourceTypesResult> Invoke(SupportResourceTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<SupportResourceTypesResult> supportResourceTypes(SupportResourceTypesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:vke:SupportResourceTypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OutputFile string
    File name where to save data source results.
    ResourceTypes List<string>
    A list of resource types. Support Ecs or Zone.
    ZoneIds List<string>
    A list of zone ids. If no parameter value, all available regions is returned.
    OutputFile string
    File name where to save data source results.
    ResourceTypes []string
    A list of resource types. Support Ecs or Zone.
    ZoneIds []string
    A list of zone ids. If no parameter value, all available regions is returned.
    outputFile String
    File name where to save data source results.
    resourceTypes List<String>
    A list of resource types. Support Ecs or Zone.
    zoneIds List<String>
    A list of zone ids. If no parameter value, all available regions is returned.
    outputFile string
    File name where to save data source results.
    resourceTypes string[]
    A list of resource types. Support Ecs or Zone.
    zoneIds string[]
    A list of zone ids. If no parameter value, all available regions is returned.
    output_file str
    File name where to save data source results.
    resource_types Sequence[str]
    A list of resource types. Support Ecs or Zone.
    zone_ids Sequence[str]
    A list of zone ids. If no parameter value, all available regions is returned.
    outputFile String
    File name where to save data source results.
    resourceTypes List<String>
    A list of resource types. Support Ecs or Zone.
    zoneIds List<String>
    A list of zone ids. If no parameter value, all available regions is returned.

    SupportResourceTypes Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Resources List<SupportResourceTypesResource>
    The collection of query.
    TotalCount int
    The total count of query.
    OutputFile string
    ResourceTypes List<string>
    ZoneIds List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Resources []SupportResourceTypesResource
    The collection of query.
    TotalCount int
    The total count of query.
    OutputFile string
    ResourceTypes []string
    ZoneIds []string
    id String
    The provider-assigned unique ID for this managed resource.
    resources List<SupportResourceTypesResource>
    The collection of query.
    totalCount Integer
    The total count of query.
    outputFile String
    resourceTypes List<String>
    zoneIds List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    resources SupportResourceTypesResource[]
    The collection of query.
    totalCount number
    The total count of query.
    outputFile string
    resourceTypes string[]
    zoneIds string[]
    id str
    The provider-assigned unique ID for this managed resource.
    resources Sequence[SupportResourceTypesResource]
    The collection of query.
    total_count int
    The total count of query.
    output_file str
    resource_types Sequence[str]
    zone_ids Sequence[str]
    id String
    The provider-assigned unique ID for this managed resource.
    resources List<Property Map>
    The collection of query.
    totalCount Number
    The total count of query.
    outputFile String
    resourceTypes List<String>
    zoneIds List<String>

    Supporting Types

    SupportResourceTypesResource

    ResourceScope string
    The scope of resource.
    ResourceSpecifications List<string>
    The resource specifications info.
    ResourceType string
    The type of resource.
    ZoneId string
    The id of zone.
    ResourceScope string
    The scope of resource.
    ResourceSpecifications []string
    The resource specifications info.
    ResourceType string
    The type of resource.
    ZoneId string
    The id of zone.
    resourceScope String
    The scope of resource.
    resourceSpecifications List<String>
    The resource specifications info.
    resourceType String
    The type of resource.
    zoneId String
    The id of zone.
    resourceScope string
    The scope of resource.
    resourceSpecifications string[]
    The resource specifications info.
    resourceType string
    The type of resource.
    zoneId string
    The id of zone.
    resource_scope str
    The scope of resource.
    resource_specifications Sequence[str]
    The resource specifications info.
    resource_type str
    The type of resource.
    zone_id str
    The id of zone.
    resourceScope String
    The scope of resource.
    resourceSpecifications List<String>
    The resource specifications info.
    resourceType String
    The type of resource.
    zoneId String
    The id of zone.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine