@pulumi/yandex
Version:
A Pulumi package for creating and managing yandex cloud resources.
91 lines (90 loc) • 2.49 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get information about a Yandex Container Registry. For more information, see
* [the official documentation](https://cloud.yandex.com/docs/container-registry/concepts/registry)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as yandex from "@pulumi/yandex";
*
* const source = pulumi.output(yandex.getContainerRegistry({
* registryId: "some_registry_id",
* }));
* ```
*/
export declare function getContainerRegistry(args?: GetContainerRegistryArgs, opts?: pulumi.InvokeOptions): Promise<GetContainerRegistryResult>;
/**
* A collection of arguments for invoking getContainerRegistry.
*/
export interface GetContainerRegistryArgs {
/**
* Folder that the resource belongs to. If value is omitted, the default provider folder is used.
*/
folderId?: string;
/**
* Labels to assign to this registry.
*/
labels?: {
[key: string]: string;
};
/**
* Name of the registry.
*/
name?: string;
/**
* The ID of a specific registry.
*/
registryId?: string;
}
/**
* A collection of values returned by getContainerRegistry.
*/
export interface GetContainerRegistryResult {
/**
* Creation timestamp of this registry.
*/
readonly createdAt: string;
readonly folderId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Labels to assign to this registry.
*/
readonly labels?: {
[key: string]: string;
};
readonly name: string;
readonly registryId: string;
/**
* Status of the registry.
*/
readonly status: string;
}
export declare function getContainerRegistryOutput(args?: GetContainerRegistryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetContainerRegistryResult>;
/**
* A collection of arguments for invoking getContainerRegistry.
*/
export interface GetContainerRegistryOutputArgs {
/**
* Folder that the resource belongs to. If value is omitted, the default provider folder is used.
*/
folderId?: pulumi.Input<string>;
/**
* Labels to assign to this registry.
*/
labels?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Name of the registry.
*/
name?: pulumi.Input<string>;
/**
* The ID of a specific registry.
*/
registryId?: pulumi.Input<string>;
}