1. Packages
  2. Prodvana
  3. API Docs
  4. ContainerRegistry
Prodvana v0.1.20 published on Tuesday, Apr 2, 2024 by Prodvana

prodvana.ContainerRegistry

Explore with Pulumi AI

prodvana logo
Prodvana v0.1.20 published on Tuesday, Apr 2, 2024 by Prodvana

    This resource allows you to link a container registry to Prodvana.

    Create ContainerRegistry Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ContainerRegistry(name: string, args: ContainerRegistryArgs, opts?: CustomResourceOptions);
    @overload
    def ContainerRegistry(resource_name: str,
                          args: ContainerRegistryArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ContainerRegistry(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          url: Optional[str] = None,
                          name: Optional[str] = None,
                          password: Optional[str] = None,
                          public: Optional[bool] = None,
                          username: Optional[str] = None)
    func NewContainerRegistry(ctx *Context, name string, args ContainerRegistryArgs, opts ...ResourceOption) (*ContainerRegistry, error)
    public ContainerRegistry(string name, ContainerRegistryArgs args, CustomResourceOptions? opts = null)
    public ContainerRegistry(String name, ContainerRegistryArgs args)
    public ContainerRegistry(String name, ContainerRegistryArgs args, CustomResourceOptions options)
    
    type: prodvana:ContainerRegistry
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ContainerRegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ContainerRegistryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ContainerRegistryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContainerRegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContainerRegistryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var containerRegistryResource = new Prodvana.ContainerRegistry("containerRegistryResource", new()
    {
        Url = "string",
        Name = "string",
        Password = "string",
        Public = false,
        Username = "string",
    });
    
    example, err := prodvana.NewContainerRegistry(ctx, "containerRegistryResource", &prodvana.ContainerRegistryArgs{
    	Url:      pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Password: pulumi.String("string"),
    	Public:   pulumi.Bool(false),
    	Username: pulumi.String("string"),
    })
    
    var containerRegistryResource = new ContainerRegistry("containerRegistryResource", ContainerRegistryArgs.builder()
        .url("string")
        .name("string")
        .password("string")
        .public_(false)
        .username("string")
        .build());
    
    container_registry_resource = prodvana.ContainerRegistry("containerRegistryResource",
        url="string",
        name="string",
        password="string",
        public=False,
        username="string")
    
    const containerRegistryResource = new prodvana.ContainerRegistry("containerRegistryResource", {
        url: "string",
        name: "string",
        password: "string",
        "public": false,
        username: "string",
    });
    
    type: prodvana:ContainerRegistry
    properties:
        name: string
        password: string
        public: false
        url: string
        username: string
    

    ContainerRegistry Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ContainerRegistry resource accepts the following input properties:

    Url string
    URL pointing to the container registry.
    Name string
    Name for the container registry, used to reference it in Prodvana configuration.
    Password string
    Password to authenticate with the container registry.
    Public bool
    Whether the container registry is public (no authentication required) or not.
    Username string
    Username to authenticate with the container registry.
    Url string
    URL pointing to the container registry.
    Name string
    Name for the container registry, used to reference it in Prodvana configuration.
    Password string
    Password to authenticate with the container registry.
    Public bool
    Whether the container registry is public (no authentication required) or not.
    Username string
    Username to authenticate with the container registry.
    url String
    URL pointing to the container registry.
    name String
    Name for the container registry, used to reference it in Prodvana configuration.
    password String
    Password to authenticate with the container registry.
    public_ Boolean
    Whether the container registry is public (no authentication required) or not.
    username String
    Username to authenticate with the container registry.
    url string
    URL pointing to the container registry.
    name string
    Name for the container registry, used to reference it in Prodvana configuration.
    password string
    Password to authenticate with the container registry.
    public boolean
    Whether the container registry is public (no authentication required) or not.
    username string
    Username to authenticate with the container registry.
    url str
    URL pointing to the container registry.
    name str
    Name for the container registry, used to reference it in Prodvana configuration.
    password str
    Password to authenticate with the container registry.
    public bool
    Whether the container registry is public (no authentication required) or not.
    username str
    Username to authenticate with the container registry.
    url String
    URL pointing to the container registry.
    name String
    Name for the container registry, used to reference it in Prodvana configuration.
    password String
    Password to authenticate with the container registry.
    public Boolean
    Whether the container registry is public (no authentication required) or not.
    username String
    Username to authenticate with the container registry.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ContainerRegistry resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ContainerRegistry Resource

    Get an existing ContainerRegistry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ContainerRegistryState, opts?: CustomResourceOptions): ContainerRegistry
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            password: Optional[str] = None,
            public: Optional[bool] = None,
            url: Optional[str] = None,
            username: Optional[str] = None) -> ContainerRegistry
    func GetContainerRegistry(ctx *Context, name string, id IDInput, state *ContainerRegistryState, opts ...ResourceOption) (*ContainerRegistry, error)
    public static ContainerRegistry Get(string name, Input<string> id, ContainerRegistryState? state, CustomResourceOptions? opts = null)
    public static ContainerRegistry get(String name, Output<String> id, ContainerRegistryState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Name string
    Name for the container registry, used to reference it in Prodvana configuration.
    Password string
    Password to authenticate with the container registry.
    Public bool
    Whether the container registry is public (no authentication required) or not.
    Url string
    URL pointing to the container registry.
    Username string
    Username to authenticate with the container registry.
    Name string
    Name for the container registry, used to reference it in Prodvana configuration.
    Password string
    Password to authenticate with the container registry.
    Public bool
    Whether the container registry is public (no authentication required) or not.
    Url string
    URL pointing to the container registry.
    Username string
    Username to authenticate with the container registry.
    name String
    Name for the container registry, used to reference it in Prodvana configuration.
    password String
    Password to authenticate with the container registry.
    public_ Boolean
    Whether the container registry is public (no authentication required) or not.
    url String
    URL pointing to the container registry.
    username String
    Username to authenticate with the container registry.
    name string
    Name for the container registry, used to reference it in Prodvana configuration.
    password string
    Password to authenticate with the container registry.
    public boolean
    Whether the container registry is public (no authentication required) or not.
    url string
    URL pointing to the container registry.
    username string
    Username to authenticate with the container registry.
    name str
    Name for the container registry, used to reference it in Prodvana configuration.
    password str
    Password to authenticate with the container registry.
    public bool
    Whether the container registry is public (no authentication required) or not.
    url str
    URL pointing to the container registry.
    username str
    Username to authenticate with the container registry.
    name String
    Name for the container registry, used to reference it in Prodvana configuration.
    password String
    Password to authenticate with the container registry.
    public Boolean
    Whether the container registry is public (no authentication required) or not.
    url String
    URL pointing to the container registry.
    username String
    Username to authenticate with the container registry.

    Package Details

    Repository
    prodvana prodvana/pulumi-prodvana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the prodvana Terraform Provider.
    prodvana logo
    Prodvana v0.1.20 published on Tuesday, Apr 2, 2024 by Prodvana