Documentation ¶
Index ¶
Constants ¶
const Name string = "routeros"
Variables ¶
var Version string
Version is initialized by the Go linker to contain the semver of this build.
Functions ¶
Types ¶
type Random ¶
type Random struct{}
Each resource has a controlling struct. Resource behavior is determined by implementing methods on the controlling struct. The `Create` method is mandatory, but other methods are optional. - Check: Remap inputs before they are typed. - Diff: Change how instances of a resource are compared. - Update: Mutate a resource in place. - Read: Get the state of a resource from the backing provider. - Delete: Custom logic when the resource is deleted. - Annotate: Describe fields and set defaults for a resource. - WireDependencies: Control how outputs and secrets flows through values.
type RandomArgs ¶
type RandomArgs struct { // Fields projected into Pulumi must be public and hava a `pulumi:"..."` tag. // The pulumi tag doesn't need to match the field name, but it's generally a // good idea. Length int `pulumi:"length"` }
Each resource has an input struct, defining what arguments it accepts.
type RandomState ¶
type RandomState struct { // It is generally a good idea to embed args in outputs, but it isn't strictly necessary. RandomArgs // Here we define a required output called result. Result string `pulumi:"result"` }
Each resource has a state, describing the fields that exist on the created resource.