1. Packages
  2. Volcengine
  3. API Docs
  4. cr
  5. Endpoints
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.cr.Endpoints

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

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.Endpoints({
    registry: "tf-1",
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.cr.endpoints(registry="tf-1")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:cr:Endpoints
      Arguments:
        registry: tf-1
Copy

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>
Copy
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]
Copy
func Endpoints(ctx *Context, args *EndpointsArgs, opts ...InvokeOption) (*EndpointsResult, error)
func EndpointsOutput(ctx *Context, args *EndpointsOutputArgs, opts ...InvokeOption) EndpointsResultOutput
Copy
public static class Endpoints 
{
    public static Task<EndpointsResult> InvokeAsync(EndpointsArgs args, InvokeOptions? opts = null)
    public static Output<EndpointsResult> Invoke(EndpointsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<EndpointsResult> endpoints(EndpointsArgs args, InvokeOptions options)
public static Output<EndpointsResult> endpoints(EndpointsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:cr:Endpoints
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Registry This property is required. string
The CR instance name.
OutputFile string
File name where to save data source results.
Registry This property is required. string
The CR instance name.
OutputFile string
File name where to save data source results.
registry This property is required. String
The CR instance name.
outputFile String
File name where to save data source results.
registry This property is required. string
The CR instance name.
outputFile string
File name where to save data source results.
registry This property is required. str
The CR instance name.
output_file str
File name where to save data source results.
registry This property is required. 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 This property is required. bool
Whether public endpoint is enabled.
Registry This property is required. string
The CR instance name.
Status This property is required. string
The status of public endpoint.
Enabled This property is required. bool
Whether public endpoint is enabled.
Registry This property is required. string
The CR instance name.
Status This property is required. string
The status of public endpoint.
enabled This property is required. Boolean
Whether public endpoint is enabled.
registry This property is required. String
The CR instance name.
status This property is required. String
The status of public endpoint.
enabled This property is required. boolean
Whether public endpoint is enabled.
registry This property is required. string
The CR instance name.
status This property is required. string
The status of public endpoint.
enabled This property is required. bool
Whether public endpoint is enabled.
registry This property is required. str
The CR instance name.
status This property is required. str
The status of public endpoint.
enabled This property is required. Boolean
Whether public endpoint is enabled.
registry This property is required. String
The CR instance name.
status This property is required. 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 v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine