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

volcengine.cr.Repositories

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 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",
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.cr.repositories(names=["repo*"],
    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.Repositories(ctx, &cr.RepositoriesArgs{
			Names: []string{
				"repo*",
			},
			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.Repositories.Invoke(new()
    {
        Names = new[]
        {
            "repo*",
        },
        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.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());

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:cr:Repositories
      Arguments:
        names:
          - repo*
        registry: tf-1
Copy

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>
Copy
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]
Copy
func Repositories(ctx *Context, args *RepositoriesArgs, opts ...InvokeOption) (*RepositoriesResult, error)
func RepositoriesOutput(ctx *Context, args *RepositoriesOutputArgs, opts ...InvokeOption) RepositoriesResultOutput
Copy
public static class Repositories 
{
    public static Task<RepositoriesResult> InvokeAsync(RepositoriesArgs args, InvokeOptions? opts = null)
    public static Output<RepositoriesResult> Invoke(RepositoriesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<RepositoriesResult> repositories(RepositoriesArgs args, InvokeOptions options)
public static Output<RepositoriesResult> repositories(RepositoriesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:cr:Repositories
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Registry This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The access level of repository.
CreateTime This property is required. string
The creation time of repository.
Description This property is required. string
The description of repository.
Name This property is required. string
The name of repository.
Namespace This property is required. string
The namespace of repository.
UpdateTime This property is required. string
The last update time of repository.
AccessLevel This property is required. string
The access level of repository.
CreateTime This property is required. string
The creation time of repository.
Description This property is required. string
The description of repository.
Name This property is required. string
The name of repository.
Namespace This property is required. string
The namespace of repository.
UpdateTime This property is required. string
The last update time of repository.
accessLevel This property is required. String
The access level of repository.
createTime This property is required. String
The creation time of repository.
description This property is required. String
The description of repository.
name This property is required. String
The name of repository.
namespace This property is required. String
The namespace of repository.
updateTime This property is required. String
The last update time of repository.
accessLevel This property is required. string
The access level of repository.
createTime This property is required. string
The creation time of repository.
description This property is required. string
The description of repository.
name This property is required. string
The name of repository.
namespace This property is required. string
The namespace of repository.
updateTime This property is required. string
The last update time of repository.
access_level This property is required. str
The access level of repository.
create_time This property is required. str
The creation time of repository.
description This property is required. str
The description of repository.
name This property is required. str
The name of repository.
namespace This property is required. str
The namespace of repository.
update_time This property is required. str
The last update time of repository.
accessLevel This property is required. String
The access level of repository.
createTime This property is required. String
The creation time of repository.
description This property is required. String
The description of repository.
name This property is required. String
The name of repository.
namespace This property is required. String
The namespace of repository.
updateTime This property is required. 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 volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine