Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.cr.getEndpoints
Explore with Pulumi AI
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 getEndpoints
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 getEndpoints(args: GetEndpointsArgs, opts?: InvokeOptions): Promise<GetEndpointsResult>
function getEndpointsOutput(args: GetEndpointsOutputArgs, opts?: InvokeOptions): Output<GetEndpointsResult>
def get_endpoints(output_file: Optional[str] = None,
registry: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEndpointsResult
def get_endpoints_output(output_file: Optional[pulumi.Input[str]] = None,
registry: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEndpointsResult]
func GetEndpoints(ctx *Context, args *GetEndpointsArgs, opts ...InvokeOption) (*GetEndpointsResult, error)
func GetEndpointsOutput(ctx *Context, args *GetEndpointsOutputArgs, opts ...InvokeOption) GetEndpointsResultOutput
> Note: This function is named GetEndpoints
in the Go SDK.
public static class GetEndpoints
{
public static Task<GetEndpointsResult> InvokeAsync(GetEndpointsArgs args, InvokeOptions? opts = null)
public static Output<GetEndpointsResult> Invoke(GetEndpointsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEndpointsResult> getEndpoints(GetEndpointsArgs args, InvokeOptions options)
public static Output<GetEndpointsResult> getEndpoints(GetEndpointsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:cr/getEndpoints:getEndpoints
arguments:
# arguments dictionary
The following arguments are supported:
- Registry string
- The CR instance name.
- Output
File string - File name where to save data source results.
- Registry string
- The CR instance name.
- Output
File string - File name where to save data source results.
- registry String
- The CR instance name.
- output
File String - File name where to save data source results.
- registry string
- The CR instance name.
- output
File 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.
- output
File String - File name where to save data source results.
getEndpoints Result
The following output properties are available:
- Endpoints
List<Get
Endpoints Endpoint> - The collection of endpoint query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Registry string
- The name of CR instance.
- Total
Count int - The total count of tag query.
- Output
File string
- Endpoints
[]Get
Endpoints Endpoint - The collection of endpoint query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Registry string
- The name of CR instance.
- Total
Count int - The total count of tag query.
- Output
File string
- endpoints
List<Get
Endpoints Endpoint> - The collection of endpoint query.
- id String
- The provider-assigned unique ID for this managed resource.
- registry String
- The name of CR instance.
- total
Count Integer - The total count of tag query.
- output
File String
- endpoints
Get
Endpoints Endpoint[] - The collection of endpoint query.
- id string
- The provider-assigned unique ID for this managed resource.
- registry string
- The name of CR instance.
- total
Count number - The total count of tag query.
- output
File string
- endpoints
Sequence[Get
Endpoints Endpoint] - 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.
- total
Count Number - The total count of tag query.
- output
File String
Supporting Types
GetEndpointsEndpoint
- Acl
Policies List<GetEndpoints Endpoint Acl Policy> - 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.
- Acl
Policies []GetEndpoints Endpoint Acl Policy - 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.
- acl
Policies List<GetEndpoints Endpoint Acl Policy> - 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 GetEndpoints Endpoint Acl Policy[] - 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[GetEndpoints Endpoint Acl Policy] - 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.
- acl
Policies 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.
GetEndpointsEndpointAclPolicy
- 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.