pulumi/tests/testdata/codegen/replace-on-change/docs/god/_index.md

19 KiB


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

Create God Resource

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

Constructor syntax

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

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

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

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Backwards Pulumi.Example.Dog
Id string
The provider-assigned unique ID for this managed resource.
Backwards Dog
id String
The provider-assigned unique ID for this managed resource.
backwards Dog
id string
The provider-assigned unique ID for this managed resource.
backwards Dog
id str
The provider-assigned unique ID for this managed resource.
backwards Dog
id String
The provider-assigned unique ID for this managed resource.
backwards example:Dog

Package Details

Repository
example
License