mirror of https://github.com/pulumi/pulumi.git
20 KiB
20 KiB
title: "BasicResourceV3" title_tag: "example.BasicResourceV3" meta_desc: "Documentation for the example.BasicResourceV3 resource with examples, input properties, output properties, lookup functions, and supporting types." layout: api no_edit_this_page: true
Create BasicResourceV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BasicResourceV3(name: string, args: BasicResourceV3Args, opts?: CustomResourceOptions);
@overload
def BasicResourceV3(resource_name: str,
args: BasicResourceV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def BasicResourceV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
bar: Optional[str] = None)
func NewBasicResourceV3(ctx *Context, name string, args BasicResourceV3Args, opts ...ResourceOption) (*BasicResourceV3, error)
public BasicResourceV3(string name, BasicResourceV3Args args, CustomResourceOptions? opts = null)
public BasicResourceV3(String name, BasicResourceV3Args args)
public BasicResourceV3(String name, BasicResourceV3Args args, CustomResourceOptions options)
type: example:BasicResourceV3
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 BasicResourceV3Args
- 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 BasicResourceV3Args
- 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 BasicResourceV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BasicResourceV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BasicResourceV3Args
- 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 basicResourceV3Resource = new Example.BasicResourceV3("basicResourceV3Resource", new()
{
Bar = "string",
});
example, err := example.NewBasicResourceV3(ctx, "basicResourceV3Resource", &example.BasicResourceV3Args{
Bar: pulumi.String("string"),
})
var basicResourceV3Resource = new BasicResourceV3("basicResourceV3Resource", BasicResourceV3Args.builder()
.bar("string")
.build());
basic_resource_v3_resource = example.BasicResourceV3("basicResourceV3Resource", bar="string")
const basicResourceV3Resource = new example.BasicResourceV3("basicResourceV3Resource", {bar: "string"});
type: example:BasicResourceV3
properties:
bar: string
BasicResourceV3 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 BasicResourceV3 resource accepts the following input properties:
- Bar string
- Bar string
- bar String
- bar string
- bar str
- bar String
Outputs
All input properties are implicitly available as output properties. Additionally, the BasicResourceV3 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.
Package Details
- Repository
- example
- License