Qovery v0.41.0 published on Saturday, Sep 28, 2024 by dirien
qovery.getContainerRegistry
Explore with Pulumi AI
# qovery.ContainerRegistry (Data Source)
Provides a Qovery container registry resource. This can be used to create and manage Qovery container registry.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as qovery from "@pulumi/qovery";
const myContainerRegistry = qovery.getContainerRegistry({
id: "<container_registry_id>",
});
import pulumi
import pulumi_qovery as qovery
my_container_registry = qovery.get_container_registry(id="<container_registry_id>")
package main
import (
"github.com/dirien/pulumi-qovery/sdk/go/qovery"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := qovery.LookupContainerRegistry(ctx, &qovery.LookupContainerRegistryArgs{
Id: "<container_registry_id>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Qovery = Pulumi.Qovery;
return await Deployment.RunAsync(() =>
{
var myContainerRegistry = Qovery.GetContainerRegistry.Invoke(new()
{
Id = "<container_registry_id>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.qovery.QoveryFunctions;
import com.pulumi.qovery.inputs.GetContainerRegistryArgs;
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 myContainerRegistry = QoveryFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()
.id("<container_registry_id>")
.build());
}
}
variables:
myContainerRegistry:
fn::invoke:
Function: qovery:getContainerRegistry
Arguments:
id: <container_registry_id>
Using getContainerRegistry
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 getContainerRegistry(args: GetContainerRegistryArgs, opts?: InvokeOptions): Promise<GetContainerRegistryResult>
function getContainerRegistryOutput(args: GetContainerRegistryOutputArgs, opts?: InvokeOptions): Output<GetContainerRegistryResult>
def get_container_registry(description: Optional[str] = None,
id: Optional[str] = None,
organization_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContainerRegistryResult
def get_container_registry_output(description: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetContainerRegistryResult]
func LookupContainerRegistry(ctx *Context, args *LookupContainerRegistryArgs, opts ...InvokeOption) (*LookupContainerRegistryResult, error)
func LookupContainerRegistryOutput(ctx *Context, args *LookupContainerRegistryOutputArgs, opts ...InvokeOption) LookupContainerRegistryResultOutput
> Note: This function is named LookupContainerRegistry
in the Go SDK.
public static class GetContainerRegistry
{
public static Task<GetContainerRegistryResult> InvokeAsync(GetContainerRegistryArgs args, InvokeOptions? opts = null)
public static Output<GetContainerRegistryResult> Invoke(GetContainerRegistryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContainerRegistryResult> getContainerRegistry(GetContainerRegistryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: qovery:index/getContainerRegistry:getContainerRegistry
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Organization
Id string - Description string
- Id string
- Organization
Id string - Description string
- id String
- organization
Id String - description String
- id string
- organization
Id string - description string
- id str
- organization_
id str - description str
- id String
- organization
Id String - description String
getContainerRegistry Result
The following output properties are available:
- Description string
- Id string
- Kind string
- Name string
- Organization
Id string - Url string
- Description string
- Id string
- Kind string
- Name string
- Organization
Id string - Url string
- description String
- id String
- kind String
- name String
- organization
Id String - url String
- description string
- id string
- kind string
- name string
- organization
Id string - url string
- description str
- id str
- kind str
- name str
- organization_
id str - url str
- description String
- id String
- kind String
- name String
- organization
Id String - url String
Package Details
- Repository
- qovery dirien/pulumi-qovery
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
qovery
Terraform Provider.