Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of cr repositories
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cr.getRepositories({
names: ["repo*"],
registry: "tf-1",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cr.get_repositories(names=["repo*"],
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.GetRepositories(ctx, &cr.GetRepositoriesArgs{
Names: []string{
"repo*",
},
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.GetRepositories.Invoke(new()
{
Names = new[]
{
"repo*",
},
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.GetRepositoriesArgs;
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.getRepositories(GetRepositoriesArgs.builder()
.names("repo*")
.registry("tf-1")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:cr:getRepositories
Arguments:
names:
- repo*
registry: tf-1
Using getRepositories
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 getRepositories(args: GetRepositoriesArgs, opts?: InvokeOptions): Promise<GetRepositoriesResult>
function getRepositoriesOutput(args: GetRepositoriesOutputArgs, opts?: InvokeOptions): Output<GetRepositoriesResult>def get_repositories(access_levels: Optional[Sequence[str]] = None,
names: Optional[Sequence[str]] = None,
namespaces: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
registry: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRepositoriesResult
def get_repositories_output(access_levels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
registry: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRepositoriesResult]func GetRepositories(ctx *Context, args *GetRepositoriesArgs, opts ...InvokeOption) (*GetRepositoriesResult, error)
func GetRepositoriesOutput(ctx *Context, args *GetRepositoriesOutputArgs, opts ...InvokeOption) GetRepositoriesResultOutput> Note: This function is named GetRepositories in the Go SDK.
public static class GetRepositories
{
public static Task<GetRepositoriesResult> InvokeAsync(GetRepositoriesArgs args, InvokeOptions? opts = null)
public static Output<GetRepositoriesResult> Invoke(GetRepositoriesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRepositoriesResult> getRepositories(GetRepositoriesArgs args, InvokeOptions options)
public static Output<GetRepositoriesResult> getRepositories(GetRepositoriesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:cr/getRepositories:getRepositories
arguments:
# arguments dictionaryThe following arguments are supported:
- Registry string
- The CR instance name.
- Access
Levels List<string> - The list of instance access level.
- Names List<string>
- The list of instance names.
- Namespaces List<string>
- The list of instance namespace.
- Output
File string - File name where to save data source results.
- Registry string
- The CR instance name.
- Access
Levels []string - The list of instance access level.
- Names []string
- The list of instance names.
- Namespaces []string
- The list of instance namespace.
- Output
File string - File name where to save data source results.
- registry String
- The CR instance name.
- access
Levels List<String> - The list of instance access level.
- names List<String>
- The list of instance names.
- namespaces List<String>
- The list of instance namespace.
- output
File String - File name where to save data source results.
- registry string
- The CR instance name.
- access
Levels string[] - The list of instance access level.
- names string[]
- The list of instance names.
- namespaces string[]
- The list of instance namespace.
- output
File string - File name where to save data source results.
- registry str
- The CR instance name.
- access_
levels Sequence[str] - The list of instance access level.
- names Sequence[str]
- The list of instance names.
- namespaces Sequence[str]
- The list of instance namespace.
- output_
file str - File name where to save data source results.
- registry String
- The CR instance name.
- access
Levels List<String> - The list of instance access level.
- names List<String>
- The list of instance names.
- namespaces List<String>
- The list of instance namespace.
- output
File String - File name where to save data source results.
getRepositories Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Registry string
- Repositories
List<Get
Repositories Repository> - The collection of repository query.
- Total
Count int - The total count of instance query.
- Access
Levels List<string> - Names List<string>
- Namespaces List<string>
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Registry string
- Repositories
[]Get
Repositories Repository - The collection of repository query.
- Total
Count int - The total count of instance query.
- Access
Levels []string - Names []string
- Namespaces []string
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- registry String
- repositories
List<Get
Repositories Repository> - The collection of repository query.
- total
Count Integer - The total count of instance query.
- access
Levels List<String> - names List<String>
- namespaces List<String>
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- registry string
- repositories
Get
Repositories Repository[] - The collection of repository query.
- total
Count number - The total count of instance query.
- access
Levels string[] - names string[]
- namespaces string[]
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- registry str
- repositories
Sequence[Get
Repositories Repository] - The collection of repository query.
- total_
count int - The total count of instance query.
- access_
levels Sequence[str] - names Sequence[str]
- namespaces Sequence[str]
- output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- registry String
- repositories List<Property Map>
- The collection of repository query.
- total
Count Number - The total count of instance query.
- access
Levels List<String> - names List<String>
- namespaces List<String>
- output
File String
Supporting Types
GetRepositoriesRepository
- Access
Level string - The access level of repository.
- Create
Time string - The creation time of repository.
- Description string
- The description of repository.
- Name string
- The name of repository.
- Namespace string
- The namespace of repository.
- Update
Time string - The last update time of repository.
- Access
Level string - The access level of repository.
- Create
Time string - The creation time of repository.
- Description string
- The description of repository.
- Name string
- The name of repository.
- Namespace string
- The namespace of repository.
- Update
Time string - The last update time of repository.
- access
Level String - The access level of repository.
- create
Time String - The creation time of repository.
- description String
- The description of repository.
- name String
- The name of repository.
- namespace String
- The namespace of repository.
- update
Time String - The last update time of repository.
- access
Level string - The access level of repository.
- create
Time string - The creation time of repository.
- description string
- The description of repository.
- name string
- The name of repository.
- namespace string
- The namespace of repository.
- update
Time string - The last update time of repository.
- access_
level str - The access level of repository.
- create_
time str - The creation time of repository.
- description str
- The description of repository.
- name str
- The name of repository.
- namespace str
- The namespace of repository.
- update_
time str - The last update time of repository.
- access
Level String - The access level of repository.
- create
Time String - The creation time of repository.
- description String
- The description of repository.
- name String
- The name of repository.
- namespace String
- The namespace of repository.
- update
Time String - The last update time of repository.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
