Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.cr.Repositories
Explore with Pulumi AI
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.Repositories({
    names: ["repo*"],
    registry: "tf-1",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cr.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.Repositories(ctx, &cr.RepositoriesArgs{
			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.Repositories.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.RepositoriesArgs;
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.Repositories(RepositoriesArgs.builder()
            .names("repo*")
            .registry("tf-1")
            .build());
    }
}
variables:
  foo:
    fn::invoke:
      Function: volcengine:cr:Repositories
      Arguments:
        names:
          - repo*
        registry: tf-1
Using Repositories
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 repositories(args: RepositoriesArgs, opts?: InvokeOptions): Promise<RepositoriesResult>
function repositoriesOutput(args: RepositoriesOutputArgs, opts?: InvokeOptions): Output<RepositoriesResult>def 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) -> RepositoriesResult
def 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[RepositoriesResult]func Repositories(ctx *Context, args *RepositoriesArgs, opts ...InvokeOption) (*RepositoriesResult, error)
func RepositoriesOutput(ctx *Context, args *RepositoriesOutputArgs, opts ...InvokeOption) RepositoriesResultOutputpublic static class Repositories 
{
    public static Task<RepositoriesResult> InvokeAsync(RepositoriesArgs args, InvokeOptions? opts = null)
    public static Output<RepositoriesResult> Invoke(RepositoriesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<RepositoriesResult> repositories(RepositoriesArgs args, InvokeOptions options)
public static Output<RepositoriesResult> repositories(RepositoriesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:cr:Repositories
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Registry string
- The CR instance name.
- AccessLevels List<string>
- The list of instance access level.
- Names List<string>
- The list of instance names.
- Namespaces List<string>
- The list of instance namespace.
- OutputFile string
- File name where to save data source results.
- Registry string
- The CR instance name.
- AccessLevels []string
- The list of instance access level.
- Names []string
- The list of instance names.
- Namespaces []string
- The list of instance namespace.
- OutputFile string
- File name where to save data source results.
- registry String
- The CR instance name.
- accessLevels List<String>
- The list of instance access level.
- names List<String>
- The list of instance names.
- namespaces List<String>
- The list of instance namespace.
- outputFile String
- File name where to save data source results.
- registry string
- The CR instance name.
- accessLevels string[]
- The list of instance access level.
- names string[]
- The list of instance names.
- namespaces string[]
- The list of instance namespace.
- outputFile 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.
- accessLevels List<String>
- The list of instance access level.
- names List<String>
- The list of instance names.
- namespaces List<String>
- The list of instance namespace.
- outputFile String
- File name where to save data source results.
Repositories Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Registry string
- Repositories
List<RepositoriesRepository> 
- The collection of repository query.
- TotalCount int
- The total count of instance query.
- AccessLevels List<string>
- Names List<string>
- Namespaces List<string>
- OutputFile string
- Id string
- The provider-assigned unique ID for this managed resource.
- Registry string
- Repositories
[]RepositoriesRepository 
- The collection of repository query.
- TotalCount int
- The total count of instance query.
- AccessLevels []string
- Names []string
- Namespaces []string
- OutputFile string
- id String
- The provider-assigned unique ID for this managed resource.
- registry String
- repositories
List<RepositoriesRepository> 
- The collection of repository query.
- totalCount Integer
- The total count of instance query.
- accessLevels List<String>
- names List<String>
- namespaces List<String>
- outputFile String
- id string
- The provider-assigned unique ID for this managed resource.
- registry string
- repositories
RepositoriesRepository[] 
- The collection of repository query.
- totalCount number
- The total count of instance query.
- accessLevels string[]
- names string[]
- namespaces string[]
- outputFile string
- id str
- The provider-assigned unique ID for this managed resource.
- registry str
- repositories
Sequence[RepositoriesRepository] 
- 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.
- totalCount Number
- The total count of instance query.
- accessLevels List<String>
- names List<String>
- namespaces List<String>
- outputFile String
Supporting Types
RepositoriesRepository 
- AccessLevel string
- The access level of repository.
- CreateTime string
- The creation time of repository.
- Description string
- The description of repository.
- Name string
- The name of repository.
- Namespace string
- The namespace of repository.
- UpdateTime string
- The last update time of repository.
- AccessLevel string
- The access level of repository.
- CreateTime string
- The creation time of repository.
- Description string
- The description of repository.
- Name string
- The name of repository.
- Namespace string
- The namespace of repository.
- UpdateTime string
- The last update time of repository.
- accessLevel String
- The access level of repository.
- createTime String
- The creation time of repository.
- description String
- The description of repository.
- name String
- The name of repository.
- namespace String
- The namespace of repository.
- updateTime String
- The last update time of repository.
- accessLevel string
- The access level of repository.
- createTime string
- The creation time of repository.
- description string
- The description of repository.
- name string
- The name of repository.
- namespace string
- The namespace of repository.
- updateTime 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.
- accessLevel String
- The access level of repository.
- createTime String
- The creation time of repository.
- description String
- The description of repository.
- name String
- The name of repository.
- namespace String
- The namespace of repository.
- updateTime 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.