12 KiB
title: "OtherResource" title_tag: "example.OtherResource" meta_desc: "Documentation for the example.OtherResource resource with examples, input properties, output properties, lookup functions, and supporting types."
Create a OtherResource Resource
{{< chooser language "typescript,python,go,csharp" / >}}
{{% choosable language nodejs %}}
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
{{% choosable language python %}}
@overload
def OtherResource(resource_name: str,
opts: Optional[ResourceOptions] = None,
foo: Optional[Resource] = None)
@overload
def OtherResource(resource_name: str,
args: Optional[OtherResourceArgs] = None,
opts: Optional[ResourceOptions] = None)
{{% choosable language go %}}
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
{{% choosable language csharp %}}
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
{{% choosable language nodejs %}}
- name string
- The unique name of the resource.
- args OtherResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
{{% /choosable %}}
{{% choosable language python %}}
- resource_name str
- The unique name of the resource.
- args OtherResourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
{{% /choosable %}}
{{% choosable language go %}}
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OtherResourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
{{% /choosable %}}
{{% choosable language csharp %}}
- name string
- The unique name of the resource.
- args OtherResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
{{% /choosable %}}
OtherResource Resource Properties
To learn more about resource properties and how to use them, see [Inputs and Outputs]({{< relref "/docs/intro/concepts/inputs-outputs" >}}) in the Programming Model docs.
Inputs
The OtherResource resource accepts the following [input]({{< relref "/docs/intro/concepts/inputs-outputs" >}}) properties:
{{% choosable language csharp %}}
-
Foo
Pulumi.
Example. Resource - {{% md %}}{{% /md %}}
{{% choosable language go %}}
- Foo Resource
- {{% md %}}{{% /md %}}
{{% choosable language nodejs %}}
- foo Resource
- {{% md %}}{{% /md %}}
{{% choosable language python %}}
- foo Resource
- {{% md %}}{{% /md %}}
Outputs
All input properties are implicitly available as output properties. Additionally, the OtherResource resource produces the following output properties:
{{% choosable language csharp %}}
- Id string
- {{% md %}}The provider-assigned unique ID for this managed resource.{{% /md %}}
{{% choosable language go %}}
- Id string
- {{% md %}}The provider-assigned unique ID for this managed resource.{{% /md %}}
{{% choosable language nodejs %}}
- id string
- {{% md %}}The provider-assigned unique ID for this managed resource.{{% /md %}}
{{% choosable language python %}}
- id str
- {{% md %}}The provider-assigned unique ID for this managed resource.{{% /md %}}
Package Details
- Repository
- License