1. Packages
  2. Volcengine
  3. API Docs
  4. cr
  5. Endpoints
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.cr.Endpoints

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Use this data source to query detailed information of cr endpoints

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Cr.Endpoints.Invoke(new()
        {
            Registry = "tf-1",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cr"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cr.Endpoints(ctx, &cr.EndpointsArgs{
    			Registry: "tf-1",
    		}, 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.cr.CrFunctions;
    import com.pulumi.volcengine.cr.inputs.EndpointsArgs;
    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 = CrFunctions.Endpoints(EndpointsArgs.builder()
                .registry("tf-1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.cr.endpoints(registry="tf-1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.cr.Endpoints({
        registry: "tf-1",
    });
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:cr:Endpoints
          Arguments:
            registry: tf-1
    

    Using Endpoints

    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 endpoints(args: EndpointsArgs, opts?: InvokeOptions): Promise<EndpointsResult>
    function endpointsOutput(args: EndpointsOutputArgs, opts?: InvokeOptions): Output<EndpointsResult>
    def endpoints(output_file: Optional[str] = None,
                  registry: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> EndpointsResult
    def endpoints_output(output_file: Optional[pulumi.Input[str]] = None,
                  registry: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[EndpointsResult]
    func Endpoints(ctx *Context, args *EndpointsArgs, opts ...InvokeOption) (*EndpointsResult, error)
    func EndpointsOutput(ctx *Context, args *EndpointsOutputArgs, opts ...InvokeOption) EndpointsResultOutput
    public static class Endpoints 
    {
        public static Task<EndpointsResult> InvokeAsync(EndpointsArgs args, InvokeOptions? opts = null)
        public static Output<EndpointsResult> Invoke(EndpointsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<EndpointsResult> endpoints(EndpointsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:cr:Endpoints
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Registry string
    The CR instance name.
    OutputFile string
    File name where to save data source results.
    Registry string
    The CR instance name.
    OutputFile string
    File name where to save data source results.
    registry String
    The CR instance name.
    outputFile String
    File name where to save data source results.
    registry string
    The CR instance name.
    outputFile string
    File name where to save data source results.
    registry str
    The CR instance name.
    output_file str
    File name where to save data source results.
    registry String
    The CR instance name.
    outputFile String
    File name where to save data source results.

    Endpoints Result

    The following output properties are available:

    Endpoints List<EndpointsEndpoint>
    The collection of endpoint query.
    Id string
    The provider-assigned unique ID for this managed resource.
    Registry string
    The name of CR instance.
    TotalCount int
    The total count of tag query.
    OutputFile string
    Endpoints []EndpointsEndpoint
    The collection of endpoint query.
    Id string
    The provider-assigned unique ID for this managed resource.
    Registry string
    The name of CR instance.
    TotalCount int
    The total count of tag query.
    OutputFile string
    endpoints List<EndpointsEndpoint>
    The collection of endpoint query.
    id String
    The provider-assigned unique ID for this managed resource.
    registry String
    The name of CR instance.
    totalCount Integer
    The total count of tag query.
    outputFile String
    endpoints EndpointsEndpoint[]
    The collection of endpoint query.
    id string
    The provider-assigned unique ID for this managed resource.
    registry string
    The name of CR instance.
    totalCount number
    The total count of tag query.
    outputFile string
    endpoints Sequence[EndpointsEndpoint]
    The collection of endpoint query.
    id str
    The provider-assigned unique ID for this managed resource.
    registry str
    The name of CR instance.
    total_count int
    The total count of tag query.
    output_file str
    endpoints List<Property Map>
    The collection of endpoint query.
    id String
    The provider-assigned unique ID for this managed resource.
    registry String
    The name of CR instance.
    totalCount Number
    The total count of tag query.
    outputFile String

    Supporting Types

    EndpointsEndpoint

    Enabled bool
    Whether public endpoint is enabled.
    Registry string
    The CR instance name.
    Status string
    The status of public endpoint.
    Enabled bool
    Whether public endpoint is enabled.
    Registry string
    The CR instance name.
    Status string
    The status of public endpoint.
    enabled Boolean
    Whether public endpoint is enabled.
    registry String
    The CR instance name.
    status String
    The status of public endpoint.
    enabled boolean
    Whether public endpoint is enabled.
    registry string
    The CR instance name.
    status string
    The status of public endpoint.
    enabled bool
    Whether public endpoint is enabled.
    registry str
    The CR instance name.
    status str
    The status of public endpoint.
    enabled Boolean
    Whether public endpoint is enabled.
    registry String
    The CR instance name.
    status String
    The status of public endpoint.

    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.26 published on Friday, Sep 13, 2024 by Volcengine