1. Packages
  2. Volcengine
  3. API Docs
  4. cr
  5. Endpoints
Volcengine v0.0.30 published on Wednesday, May 7, 2025 by Volcengine

volcengine.cr.Endpoints

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.30 published on Wednesday, May 7, 2025 by Volcengine
    Deprecated: volcengine.cr.Endpoints has been deprecated in favor of volcengine.cr.getEndpoints

    Use this data source to query detailed information of cr endpoints

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.cr.getEndpoints({
        registry: "tf-1",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.cr.get_endpoints(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.GetEndpoints(ctx, &cr.GetEndpointsArgs{
    			Registry: "tf-1",
    		}, 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.Cr.GetEndpoints.Invoke(new()
        {
            Registry = "tf-1",
        });
    
    });
    
    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.GetEndpointsArgs;
    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.getEndpoints(GetEndpointsArgs.builder()
                .registry("tf-1")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:cr:getEndpoints
          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)
    public static Output<EndpointsResult> endpoints(EndpointsArgs args, InvokeOptions options)
    
    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

    AclPolicies List<EndpointsEndpointAclPolicy>
    The list of acl policies.
    Enabled bool
    Whether public endpoint is enabled.
    Registry string
    The CR instance name.
    Status string
    The status of public endpoint.
    AclPolicies []EndpointsEndpointAclPolicy
    The list of acl policies.
    Enabled bool
    Whether public endpoint is enabled.
    Registry string
    The CR instance name.
    Status string
    The status of public endpoint.
    aclPolicies List<EndpointsEndpointAclPolicy>
    The list of acl policies.
    enabled Boolean
    Whether public endpoint is enabled.
    registry String
    The CR instance name.
    status String
    The status of public endpoint.
    aclPolicies EndpointsEndpointAclPolicy[]
    The list of acl policies.
    enabled boolean
    Whether public endpoint is enabled.
    registry string
    The CR instance name.
    status string
    The status of public endpoint.
    acl_policies Sequence[EndpointsEndpointAclPolicy]
    The list of acl policies.
    enabled bool
    Whether public endpoint is enabled.
    registry str
    The CR instance name.
    status str
    The status of public endpoint.
    aclPolicies List<Property Map>
    The list of acl policies.
    enabled Boolean
    Whether public endpoint is enabled.
    registry String
    The CR instance name.
    status String
    The status of public endpoint.

    EndpointsEndpointAclPolicy

    Description string
    The description of the acl policy.
    Entry string
    The ip of the acl policy.
    Description string
    The description of the acl policy.
    Entry string
    The ip of the acl policy.
    description String
    The description of the acl policy.
    entry String
    The ip of the acl policy.
    description string
    The description of the acl policy.
    entry string
    The ip of the acl policy.
    description str
    The description of the acl policy.
    entry str
    The ip of the acl policy.
    description String
    The description of the acl policy.
    entry String
    The ip of the acl policy.

    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.30 published on Wednesday, May 7, 2025 by Volcengine