Registry
Create a Registry Resource
new Registry(name: string, args: RegistryArgs, opts?: CustomResourceOptions);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:
- Project
Id string The project id where to assign the registry (string)
- Registries
List<Registry
Registry Args> 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)
- Namespace
Id string The namespace id where to assign the namespaced registry (string)
- Project
Id string The project id where to assign the registry (string)
- Registries
[]Registry
Registry 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)
- Namespace
Id string The namespace id where to assign the namespaced registry (string)
- project
Id string The project id where to assign the registry (string)
- registries
Registry
Registry[] 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)
- namespace
Id 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[Registry
Registry] 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:
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): Registrystatic 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)
- Namespace
Id string The namespace id where to assign the namespaced registry (string)
- Project
Id string The project id where to assign the registry (string)
- Registries
List<Registry
Registry Args> 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)
- Namespace
Id string The namespace id where to assign the namespaced registry (string)
- Project
Id string The project id where to assign the registry (string)
- Registries
[]Registry
Registry 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)
- namespace
Id string The namespace id where to assign the namespaced registry (string)
- project
Id string The project id where to assign the registry (string)
- registries
Registry
Registry[] 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[Registry
Registry] Registries data for registry (list)
Supporting Types
RegistryRegistry
Package Details
- Repository
- https://github.com/pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2Terraform Provider.