1. Packages
  2. Volcengine
  3. API Docs
  4. vefaas
  5. Releases
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

volcengine.vefaas.Releases

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
    Deprecated: volcengine.vefaas.Releases has been deprecated in favor of volcengine.vefaas.getReleases

    Use this data source to query detailed information of vefaas releases

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.vefaas.getReleases({
        functionId: "g79asxxx",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.vefaas.get_releases(function_id="g79asxxx")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vefaas"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vefaas.GetReleases(ctx, &vefaas.GetReleasesArgs{
    			FunctionId: "g79asxxx",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Vefaas.GetReleases.Invoke(new()
        {
            FunctionId = "g79asxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.vefaas.VefaasFunctions;
    import com.pulumi.volcengine.vefaas.inputs.GetReleasesArgs;
    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 foo = VefaasFunctions.getReleases(GetReleasesArgs.builder()
                .functionId("g79asxxx")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:vefaas:getReleases
          Arguments:
            functionId: g79asxxx
    

    Using Releases

    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 releases(args: ReleasesArgs, opts?: InvokeOptions): Promise<ReleasesResult>
    function releasesOutput(args: ReleasesOutputArgs, opts?: InvokeOptions): Output<ReleasesResult>
    def releases(filters: Optional[Sequence[ReleasesFilter]] = None,
                 function_id: Optional[str] = None,
                 name_regex: Optional[str] = None,
                 order_bies: Optional[Sequence[ReleasesOrderBy]] = None,
                 output_file: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> ReleasesResult
    def releases_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[ReleasesFilterArgs]]]] = None,
                 function_id: Optional[pulumi.Input[str]] = None,
                 name_regex: Optional[pulumi.Input[str]] = None,
                 order_bies: Optional[pulumi.Input[Sequence[pulumi.Input[ReleasesOrderByArgs]]]] = None,
                 output_file: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[ReleasesResult]
    func Releases(ctx *Context, args *ReleasesArgs, opts ...InvokeOption) (*ReleasesResult, error)
    func ReleasesOutput(ctx *Context, args *ReleasesOutputArgs, opts ...InvokeOption) ReleasesResultOutput
    public static class Releases 
    {
        public static Task<ReleasesResult> InvokeAsync(ReleasesArgs args, InvokeOptions? opts = null)
        public static Output<ReleasesResult> Invoke(ReleasesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ReleasesResult> releases(ReleasesArgs args, InvokeOptions options)
    public static Output<ReleasesResult> releases(ReleasesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:vefaas:Releases
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FunctionId string
    The ID of Function.
    Filters List<ReleasesFilter>
    Query the filtering conditions.
    NameRegex string
    A Name Regex of Resource.
    OrderBies List<ReleasesOrderBy>
    Query the sorting parameters.
    OutputFile string
    File name where to save data source results.
    FunctionId string
    The ID of Function.
    Filters []ReleasesFilter
    Query the filtering conditions.
    NameRegex string
    A Name Regex of Resource.
    OrderBies []ReleasesOrderBy
    Query the sorting parameters.
    OutputFile string
    File name where to save data source results.
    functionId String
    The ID of Function.
    filters List<ReleasesFilter>
    Query the filtering conditions.
    nameRegex String
    A Name Regex of Resource.
    orderBies List<ReleasesOrderBy>
    Query the sorting parameters.
    outputFile String
    File name where to save data source results.
    functionId string
    The ID of Function.
    filters ReleasesFilter[]
    Query the filtering conditions.
    nameRegex string
    A Name Regex of Resource.
    orderBies ReleasesOrderBy[]
    Query the sorting parameters.
    outputFile string
    File name where to save data source results.
    function_id str
    The ID of Function.
    filters Sequence[ReleasesFilter]
    Query the filtering conditions.
    name_regex str
    A Name Regex of Resource.
    order_bies Sequence[ReleasesOrderBy]
    Query the sorting parameters.
    output_file str
    File name where to save data source results.
    functionId String
    The ID of Function.
    filters List<Property Map>
    Query the filtering conditions.
    nameRegex String
    A Name Regex of Resource.
    orderBies List<Property Map>
    Query the sorting parameters.
    outputFile String
    File name where to save data source results.

    Releases Result

    The following output properties are available:

    FunctionId string
    The ID of Function.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<ReleasesItem>
    The list of function publication records.
    TotalCount int
    The total count of query.
    Filters List<ReleasesFilter>
    NameRegex string
    OrderBies List<ReleasesOrderBy>
    OutputFile string
    FunctionId string
    The ID of Function.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []ReleasesItem
    The list of function publication records.
    TotalCount int
    The total count of query.
    Filters []ReleasesFilter
    NameRegex string
    OrderBies []ReleasesOrderBy
    OutputFile string
    functionId String
    The ID of Function.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<ReleasesItem>
    The list of function publication records.
    totalCount Integer
    The total count of query.
    filters List<ReleasesFilter>
    nameRegex String
    orderBies List<ReleasesOrderBy>
    outputFile String
    functionId string
    The ID of Function.
    id string
    The provider-assigned unique ID for this managed resource.
    items ReleasesItem[]
    The list of function publication records.
    totalCount number
    The total count of query.
    filters ReleasesFilter[]
    nameRegex string
    orderBies ReleasesOrderBy[]
    outputFile string
    function_id str
    The ID of Function.
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[ReleasesItem]
    The list of function publication records.
    total_count int
    The total count of query.
    filters Sequence[ReleasesFilter]
    name_regex str
    order_bies Sequence[ReleasesOrderBy]
    output_file str
    functionId String
    The ID of Function.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    The list of function publication records.
    totalCount Number
    The total count of query.
    filters List<Property Map>
    nameRegex String
    orderBies List<Property Map>
    outputFile String

    Supporting Types

    ReleasesFilter

    Name string
    Filter key enumeration.
    Values List<string>
    The filtering value of the query.
    Name string
    Filter key enumeration.
    Values []string
    The filtering value of the query.
    name String
    Filter key enumeration.
    values List<String>
    The filtering value of the query.
    name string
    Filter key enumeration.
    values string[]
    The filtering value of the query.
    name str
    Filter key enumeration.
    values Sequence[str]
    The filtering value of the query.
    name String
    Filter key enumeration.
    values List<String>
    The filtering value of the query.

    ReleasesItem

    CreationTime string
    The create time of the published information.
    Description string
    The description of the published information.
    FinishTime string
    Finish time.
    FunctionId string
    The ID of Function.
    Id string
    The ID of function release.
    LastUpdateTime string
    The last update time of the published information.
    SourceRevisionNumber int
    The historical version numbers released.
    Status string
    The status of function release.
    TargetRevisionNumber int
    The target version number released.
    CreationTime string
    The create time of the published information.
    Description string
    The description of the published information.
    FinishTime string
    Finish time.
    FunctionId string
    The ID of Function.
    Id string
    The ID of function release.
    LastUpdateTime string
    The last update time of the published information.
    SourceRevisionNumber int
    The historical version numbers released.
    Status string
    The status of function release.
    TargetRevisionNumber int
    The target version number released.
    creationTime String
    The create time of the published information.
    description String
    The description of the published information.
    finishTime String
    Finish time.
    functionId String
    The ID of Function.
    id String
    The ID of function release.
    lastUpdateTime String
    The last update time of the published information.
    sourceRevisionNumber Integer
    The historical version numbers released.
    status String
    The status of function release.
    targetRevisionNumber Integer
    The target version number released.
    creationTime string
    The create time of the published information.
    description string
    The description of the published information.
    finishTime string
    Finish time.
    functionId string
    The ID of Function.
    id string
    The ID of function release.
    lastUpdateTime string
    The last update time of the published information.
    sourceRevisionNumber number
    The historical version numbers released.
    status string
    The status of function release.
    targetRevisionNumber number
    The target version number released.
    creation_time str
    The create time of the published information.
    description str
    The description of the published information.
    finish_time str
    Finish time.
    function_id str
    The ID of Function.
    id str
    The ID of function release.
    last_update_time str
    The last update time of the published information.
    source_revision_number int
    The historical version numbers released.
    status str
    The status of function release.
    target_revision_number int
    The target version number released.
    creationTime String
    The create time of the published information.
    description String
    The description of the published information.
    finishTime String
    Finish time.
    functionId String
    The ID of Function.
    id String
    The ID of function release.
    lastUpdateTime String
    The last update time of the published information.
    sourceRevisionNumber Number
    The historical version numbers released.
    status String
    The status of function release.
    targetRevisionNumber Number
    The target version number released.

    ReleasesOrderBy

    Ascend bool
    Whether the sorting result is sorted in ascending order.
    Key string
    Key names used for sorting.
    Ascend bool
    Whether the sorting result is sorted in ascending order.
    Key string
    Key names used for sorting.
    ascend Boolean
    Whether the sorting result is sorted in ascending order.
    key String
    Key names used for sorting.
    ascend boolean
    Whether the sorting result is sorted in ascending order.
    key string
    Key names used for sorting.
    ascend bool
    Whether the sorting result is sorted in ascending order.
    key str
    Key names used for sorting.
    ascend Boolean
    Whether the sorting result is sorted in ascending order.
    key String
    Key names used for sorting.

    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.34 published on Wednesday, Jul 2, 2025 by Volcengine