Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.cr.Repositories
Explore with Pulumi AI
Use this data source to query detailed information of cr repositories
Example Usage
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 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
	})
}
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());
    }
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cr.repositories(names=["repo*"],
    registry="tf-1")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cr.Repositories({
    names: ["repo*"],
    registry: "tf-1",
});
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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: volcengine:cr:Repositories
  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.
 
Repositories Result
The following output properties are available:
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Registry string
 - Repositories
List<Pulumi.
Volcengine. Cr. Outputs. 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
[]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<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
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[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
RepositoriesRepository 
- 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.