pulumi/tests/testdata/codegen/naming-collisions/docs/resourceinput/_index.md

19 KiB


title: "ResourceInput" title_tag: "example.ResourceInput" meta_desc: "Documentation for the example.ResourceInput resource with examples, input properties, output properties, lookup functions, and supporting types." layout: api no_edit_this_page: true

Create ResourceInput Resource

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

Constructor syntax

new ResourceInput(name: string, args?: ResourceInputArgs, opts?: CustomResourceOptions);
@overload
def ResourceInput(resource_name: str,
                  args: Optional[ResourceInputArgs] = None,
                  opts: Optional[ResourceOptions] = None)

@overload
def ResourceInput(resource_name: str,
                  opts: Optional[ResourceOptions] = None)
func NewResourceInput(ctx *Context, name string, args *ResourceInputArgs, opts ...ResourceOption) (*ResourceInput, error)
public ResourceInput(string name, ResourceInputArgs? args = null, CustomResourceOptions? opts = null)
public ResourceInput(String name, ResourceInputArgs args)
public ResourceInput(String name, ResourceInputArgs args, CustomResourceOptions options)
type: example:ResourceInput
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 ResourceInputArgs
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 ResourceInputArgs
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 ResourceInputArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ResourceInputArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ResourceInputArgs
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 resourceInputResource = new Example.ResourceInput("resourceInputResource");
example, err := example.NewResourceInput(ctx, "resourceInputResource", nil)
var resourceInputResource = new ResourceInput("resourceInputResource");
resource_input_resource = example.ResourceInput("resourceInputResource")
const resourceInputResource = new example.ResourceInput("resourceInputResource", {});
type: example:ResourceInput
properties: {}

ResourceInput 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 ResourceInput resource accepts the following input properties:

Outputs

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

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

Package Details

Repository
example
License