Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.cr.Namespaces
Explore with Pulumi AI
Use this data source to query detailed information of cr namespaces
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Cr.Namespaces.Invoke(new()
{
Names = new[]
{
"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.Namespaces(ctx, &cr.NamespacesArgs{
Names: []string{
"namespace-*",
},
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.NamespacesArgs;
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.Namespaces(NamespacesArgs.builder()
.names("namespace-*")
.registry("tf-1")
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cr.namespaces(names=["namespace-*"],
registry="tf-1")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cr.Namespaces({
names: ["namespace-*"],
registry: "tf-1",
});
variables:
foo:
fn::invoke:
Function: volcengine:cr:Namespaces
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,
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,
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) NamespacesResultOutput
public 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:cr:Namespaces
arguments:
# arguments dictionary
The 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Namespaces Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespaces
List<Pulumi.
Volcengine. Cr. Outputs. Namespaces Namespace> - The collection of namespaces query.
- Registry string
- Total
Count int - The total count of instance query.
- Names List<string>
- Output
File 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
- 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
- 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
- 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
- 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
Supporting Types
NamespacesNamespace
- Create
Time string - The time when namespace created.
- Name string
- The name of OCI repository.
- Create
Time string - The time when namespace created.
- Name string
- The name of OCI repository.
- create
Time String - The time when namespace created.
- name String
- The name of OCI repository.
- create
Time string - The time when namespace created.
- name string
- The name of OCI repository.
- create_
time str - The time when namespace created.
- name str
- The name of OCI repository.
- create
Time String - The time when namespace created.
- name String
- The name of OCI repository.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.