Skip to content

Latest commit

History

History
361 lines (299 loc) 路 15.2 KB

File metadata and controls

361 lines (299 loc) 路 15.2 KB

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

Create BarResource Resource {#create}

new BarResource(name: string, args?: BarResourceArgs, opts?: CustomResourceOptions);
@overload
def BarResource(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                foo: Optional[Resource] = None)
@overload
def BarResource(resource_name: str,
                args: Optional[BarResourceArgs] = None,
                opts: Optional[ResourceOptions] = None)
func NewBarResource(ctx *Context, name string, args *BarResourceArgs, opts ...ResourceOption) (*BarResource, error)
public BarResource(string name, BarResourceArgs? args = null, CustomResourceOptions? opts = null)
public BarResource(String name, BarResourceArgs args)
public BarResource(String name, BarResourceArgs args, CustomResourceOptions options)
type: bar:BarResource
properties: #聽The arguments to resource properties.
options: #聽Bag of options to control resource's behavior.

name string
The unique name of the resource.
args BarResourceArgs
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 BarResourceArgs
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 BarResourceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BarResourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BarResourceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

BarResource Resource Properties {#properties}

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

Inputs

The BarResource resource accepts the following input properties:

Foo Other.Example.Resource
Foo Resource
foo Resource
foo Resource
foo Resource
foo example:Resource

Outputs

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

Package Details

Repository
License