Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi
yandex.getContainerRegistry
Explore with Pulumi AI
Get information about a Yandex Container Registry. For more information, see the official documentation
Example Usage
using Pulumi;
using Yandex = Pulumi.Yandex;
class MyStack : Stack
{
public MyStack()
{
var source = Output.Create(Yandex.GetContainerRegistry.InvokeAsync(new Yandex.GetContainerRegistryArgs
{
RegistryId = "some_registry_id",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
opt0 := "some_registry_id"
_, err := yandex.LookupContainerRegistry(ctx, &GetContainerRegistryArgs{
RegistryId: &opt0,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_yandex as yandex
source = yandex.get_container_registry(registry_id="some_registry_id")
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const source = pulumi.output(yandex.getContainerRegistry({
registryId: "some_registry_id",
}));
Coming soon!
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(folder_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
registry_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContainerRegistryResult
def get_container_registry_output(folder_id: Optional[pulumi.Input[str]] = None,
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
name: Optional[pulumi.Input[str]] = None,
registry_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: yandex:index/getContainerRegistry:getContainerRegistry
arguments:
# arguments dictionary
The following arguments are supported:
- Folder
Id string - Folder that the resource belongs to. If value is omitted, the default provider folder is used.
- Labels Dictionary<string, string>
- Labels to assign to this registry.
- Name string
- Name of the registry.
- Registry
Id string - The ID of a specific registry.
- Folder
Id string - Folder that the resource belongs to. If value is omitted, the default provider folder is used.
- Labels map[string]string
- Labels to assign to this registry.
- Name string
- Name of the registry.
- Registry
Id string - The ID of a specific registry.
- folder
Id String - Folder that the resource belongs to. If value is omitted, the default provider folder is used.
- labels Map<String,String>
- Labels to assign to this registry.
- name String
- Name of the registry.
- registry
Id String - The ID of a specific registry.
- folder
Id string - Folder that the resource belongs to. If value is omitted, the default provider folder is used.
- labels {[key: string]: string}
- Labels to assign to this registry.
- name string
- Name of the registry.
- registry
Id string - The ID of a specific registry.
- folder_
id str - Folder that the resource belongs to. If value is omitted, the default provider folder is used.
- labels Mapping[str, str]
- Labels to assign to this registry.
- name str
- Name of the registry.
- registry_
id str - The ID of a specific registry.
- folder
Id String - Folder that the resource belongs to. If value is omitted, the default provider folder is used.
- labels Map<String>
- Labels to assign to this registry.
- name String
- Name of the registry.
- registry
Id String - The ID of a specific registry.
getContainerRegistry Result
The following output properties are available:
- created_
at str - Creation timestamp of this registry.
- folder_
id str - id str
- The provider-assigned unique ID for this managed resource.
- name str
- registry_
id str - status str
- Status of the registry.
- labels Mapping[str, str]
- Labels to assign to this registry.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.