Registry

Create a Registry Resource

def Registry(resource_name, opts=None, annotations=None, description=None, labels=None, name=None, namespace_id=None, project_id=None, registries=None, __props__=None);
func NewRegistry(ctx *Context, name string, args RegistryArgs, opts ...ResourceOption) (*Registry, error)
public Registry(string name, RegistryArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args RegistryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RegistryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RegistryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Registry Resource Properties

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

Inputs

The Registry resource accepts the following input properties:

ProjectId string

The project id where to assign the registry (string)

Registries List<RegistryRegistryArgs>

Registries data for registry (list)

Annotations Dictionary<string, object>

Annotations for Registry object (map)

Description string

A registry description (string)

Labels Dictionary<string, object>

Labels for Registry object (map)

Name string

The name of the registry (string)

NamespaceId string

The namespace id where to assign the namespaced registry (string)

ProjectId string

The project id where to assign the registry (string)

Registries []RegistryRegistry

Registries data for registry (list)

Annotations map[string]interface{}

Annotations for Registry object (map)

Description string

A registry description (string)

Labels map[string]interface{}

Labels for Registry object (map)

Name string

The name of the registry (string)

NamespaceId string

The namespace id where to assign the namespaced registry (string)

projectId string

The project id where to assign the registry (string)

registries RegistryRegistry[]

Registries data for registry (list)

annotations {[key: string]: any}

Annotations for Registry object (map)

description string

A registry description (string)

labels {[key: string]: any}

Labels for Registry object (map)

name string

The name of the registry (string)

namespaceId string

The namespace id where to assign the namespaced registry (string)

project_id str

The project id where to assign the registry (string)

registries List[RegistryRegistry]

Registries data for registry (list)

annotations Dict[str, Any]

Annotations for Registry object (map)

description str

A registry description (string)

labels Dict[str, Any]

Labels for Registry object (map)

name str

The name of the registry (string)

namespace_id str

The namespace id where to assign the namespaced registry (string)

Outputs

All input properties are implicitly available as output properties. Additionally, the Registry 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing Registry Resource

Get an existing Registry 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?: RegistryState, opts?: CustomResourceOptions): Registry
static get(resource_name, id, opts=None, annotations=None, description=None, labels=None, name=None, namespace_id=None, project_id=None, registries=None, __props__=None);
func GetRegistry(ctx *Context, name string, id IDInput, state *RegistryState, opts ...ResourceOption) (*Registry, error)
public static Registry Get(string name, Input<string> id, RegistryState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Annotations Dictionary<string, object>

Annotations for Registry object (map)

Description string

A registry description (string)

Labels Dictionary<string, object>

Labels for Registry object (map)

Name string

The name of the registry (string)

NamespaceId string

The namespace id where to assign the namespaced registry (string)

ProjectId string

The project id where to assign the registry (string)

Registries List<RegistryRegistryArgs>

Registries data for registry (list)

Annotations map[string]interface{}

Annotations for Registry object (map)

Description string

A registry description (string)

Labels map[string]interface{}

Labels for Registry object (map)

Name string

The name of the registry (string)

NamespaceId string

The namespace id where to assign the namespaced registry (string)

ProjectId string

The project id where to assign the registry (string)

Registries []RegistryRegistry

Registries data for registry (list)

annotations {[key: string]: any}

Annotations for Registry object (map)

description string

A registry description (string)

labels {[key: string]: any}

Labels for Registry object (map)

name string

The name of the registry (string)

namespaceId string

The namespace id where to assign the namespaced registry (string)

projectId string

The project id where to assign the registry (string)

registries RegistryRegistry[]

Registries data for registry (list)

annotations Dict[str, Any]

Annotations for Registry object (map)

description str

A registry description (string)

labels Dict[str, Any]

Labels for Registry object (map)

name str

The name of the registry (string)

namespace_id str

The namespace id where to assign the namespaced registry (string)

project_id str

The project id where to assign the registry (string)

registries List[RegistryRegistry]

Registries data for registry (list)

Supporting Types

RegistryRegistry

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Address string

Address for registry.

Password string

Password for the registry (string)

Username string

Username for the registry (string)

Address string

Address for registry.

Password string

Password for the registry (string)

Username string

Username for the registry (string)

address string

Address for registry.

password string

Password for the registry (string)

username string

Username for the registry (string)

address str

Address for registry.

password str

Password for the registry (string)

username str

Username for the registry (string)

Package Details

Repository
https://github.com/pulumi/pulumi-rancher2
License
Apache-2.0
Notes
This Pulumi package is based on the rancher2 Terraform Provider.