Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.cr.Namespaces has been deprecated in favor of volcengine.cr.getNamespaces
Use this data source to query detailed information of cr namespaces
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cr.getNamespaces({
names: ["namespace-*"],
registry: "tf-1",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cr.get_namespaces(names=["namespace-*"],
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.GetNamespaces(ctx, &cr.GetNamespacesArgs{
Names: []string{
"namespace-*",
},
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.GetNamespaces.Invoke(new()
{
Names = new[]
{
"namespace-*",
},
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.GetNamespacesArgs;
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.getNamespaces(GetNamespacesArgs.builder()
.names("namespace-*")
.registry("tf-1")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:cr:getNamespaces
Arguments:
names:
- namespace-*
registry: tf-1
Using Namespaces
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 namespaces(args: NamespacesArgs, opts?: InvokeOptions): Promise<NamespacesResult>
function namespacesOutput(args: NamespacesOutputArgs, opts?: InvokeOptions): Output<NamespacesResult>def namespaces(names: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
projects: Optional[Sequence[str]] = None,
registry: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> NamespacesResult
def namespaces_output(names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
projects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
registry: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[NamespacesResult]func Namespaces(ctx *Context, args *NamespacesArgs, opts ...InvokeOption) (*NamespacesResult, error)
func NamespacesOutput(ctx *Context, args *NamespacesOutputArgs, opts ...InvokeOption) NamespacesResultOutputpublic static class Namespaces
{
public static Task<NamespacesResult> InvokeAsync(NamespacesArgs args, InvokeOptions? opts = null)
public static Output<NamespacesResult> Invoke(NamespacesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<NamespacesResult> namespaces(NamespacesArgs args, InvokeOptions options)
public static Output<NamespacesResult> namespaces(NamespacesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:cr:Namespaces
arguments:
# arguments dictionaryThe following arguments are supported:
- Registry string
- The target cr instance name.
- Names List<string>
- The list of instance IDs.
- Output
File string - File name where to save data source results.
- Projects List<string>
- The list of project names to query.
- Registry string
- The target cr instance name.
- Names []string
- The list of instance IDs.
- Output
File string - File name where to save data source results.
- Projects []string
- The list of project names to query.
- registry String
- The target cr instance name.
- names List<String>
- The list of instance IDs.
- output
File String - File name where to save data source results.
- projects List<String>
- The list of project names to query.
- registry string
- The target cr instance name.
- names string[]
- The list of instance IDs.
- output
File string - File name where to save data source results.
- projects string[]
- The list of project names to query.
- registry str
- The target cr instance name.
- names Sequence[str]
- The list of instance IDs.
- output_
file str - File name where to save data source results.
- projects Sequence[str]
- The list of project names to query.
- registry String
- The target cr instance name.
- names List<String>
- The list of instance IDs.
- output
File String - File name where to save data source results.
- projects List<String>
- The list of project names to query.
Namespaces Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespaces
List<Namespaces
Namespace> - The collection of namespaces query.
- Registry string
- Total
Count int - The total count of instance query.
- Names List<string>
- Output
File string - Projects List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespaces
[]Namespaces
Namespace - The collection of namespaces query.
- Registry string
- Total
Count int - The total count of instance query.
- Names []string
- Output
File string - Projects []string
- id String
- The provider-assigned unique ID for this managed resource.
- namespaces
List<Namespaces
Namespace> - The collection of namespaces query.
- registry String
- total
Count Integer - The total count of instance query.
- names List<String>
- output
File String - projects List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- namespaces
Namespaces
Namespace[] - The collection of namespaces query.
- registry string
- total
Count number - The total count of instance query.
- names string[]
- output
File string - projects string[]
- id str
- The provider-assigned unique ID for this managed resource.
- namespaces
Sequence[Namespaces
Namespace] - The collection of namespaces query.
- registry str
- total_
count int - The total count of instance query.
- names Sequence[str]
- output_
file str - projects Sequence[str]
- id String
- The provider-assigned unique ID for this managed resource.
- namespaces List<Property Map>
- The collection of namespaces query.
- registry String
- total
Count Number - The total count of instance query.
- names List<String>
- output
File String - projects List<String>
Supporting Types
NamespacesNamespace
- Create
Time string - The time when namespace created.
- Name string
- The name of OCI repository.
- Project string
- The ProjectName of the CrNamespace.
- Repository
Default stringAccess Level - The default access level of repository. Valid values:
Private,Public.
- Create
Time string - The time when namespace created.
- Name string
- The name of OCI repository.
- Project string
- The ProjectName of the CrNamespace.
- Repository
Default stringAccess Level - The default access level of repository. Valid values:
Private,Public.
- create
Time String - The time when namespace created.
- name String
- The name of OCI repository.
- project String
- The ProjectName of the CrNamespace.
- repository
Default StringAccess Level - The default access level of repository. Valid values:
Private,Public.
- create
Time string - The time when namespace created.
- name string
- The name of OCI repository.
- project string
- The ProjectName of the CrNamespace.
- repository
Default stringAccess Level - The default access level of repository. Valid values:
Private,Public.
- create_
time str - The time when namespace created.
- name str
- The name of OCI repository.
- project str
- The ProjectName of the CrNamespace.
- repository_
default_ straccess_ level - The default access level of repository. Valid values:
Private,Public.
- create
Time String - The time when namespace created.
- name String
- The name of OCI repository.
- project String
- The ProjectName of the CrNamespace.
- repository
Default StringAccess Level - The default access level of repository. Valid values:
Private,Public.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
