fusionauth.FusionAuthReactor
Explore with Pulumi AI
# Reactor Resource
The Reactor is FusionAuth’s license system. Reactor is used to activate features based upon your licensing tier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fusionauth from "pulumi-fusionauth";
const reactor = new fusionauth.FusionAuthReactor("reactor", {
license: "abc",
licenseId: "xyz",
});
import pulumi
import theogravity_pulumi_fusionauth as fusionauth
reactor = fusionauth.FusionAuthReactor("reactor",
license="abc",
license_id="xyz")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/theogravity/pulumi-fusionauth/sdk/go/fusionauth"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fusionauth.NewFusionAuthReactor(ctx, "reactor", &fusionauth.FusionAuthReactorArgs{
License: pulumi.String("abc"),
LicenseId: pulumi.String("xyz"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fusionauth = theogravity.Fusionauth;
return await Deployment.RunAsync(() =>
{
var reactor = new Fusionauth.FusionAuthReactor("reactor", new()
{
License = "abc",
LicenseId = "xyz",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fusionauth.FusionAuthReactor;
import com.pulumi.fusionauth.FusionAuthReactorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var reactor = new FusionAuthReactor("reactor", FusionAuthReactorArgs.builder()
.license("abc")
.licenseId("xyz")
.build());
}
}
resources:
reactor:
type: fusionauth:FusionAuthReactor
properties:
license: abc
licenseId: xyz
Create FusionAuthReactor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FusionAuthReactor(name: string, args: FusionAuthReactorArgs, opts?: CustomResourceOptions);
@overload
def FusionAuthReactor(resource_name: str,
args: FusionAuthReactorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FusionAuthReactor(resource_name: str,
opts: Optional[ResourceOptions] = None,
license_id: Optional[str] = None,
license: Optional[str] = None)
func NewFusionAuthReactor(ctx *Context, name string, args FusionAuthReactorArgs, opts ...ResourceOption) (*FusionAuthReactor, error)
public FusionAuthReactor(string name, FusionAuthReactorArgs args, CustomResourceOptions? opts = null)
public FusionAuthReactor(String name, FusionAuthReactorArgs args)
public FusionAuthReactor(String name, FusionAuthReactorArgs args, CustomResourceOptions options)
type: fusionauth:FusionAuthReactor
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 FusionAuthReactorArgs
- 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 FusionAuthReactorArgs
- 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 FusionAuthReactorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FusionAuthReactorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FusionAuthReactorArgs
- 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 fusionAuthReactorResource = new Fusionauth.FusionAuthReactor("fusionAuthReactorResource", new()
{
LicenseId = "string",
License = "string",
});
example, err := fusionauth.NewFusionAuthReactor(ctx, "fusionAuthReactorResource", &fusionauth.FusionAuthReactorArgs{
LicenseId: pulumi.String("string"),
License: pulumi.String("string"),
})
var fusionAuthReactorResource = new FusionAuthReactor("fusionAuthReactorResource", FusionAuthReactorArgs.builder()
.licenseId("string")
.license("string")
.build());
fusion_auth_reactor_resource = fusionauth.FusionAuthReactor("fusionAuthReactorResource",
license_id="string",
license="string")
const fusionAuthReactorResource = new fusionauth.FusionAuthReactor("fusionAuthReactorResource", {
licenseId: "string",
license: "string",
});
type: fusionauth:FusionAuthReactor
properties:
license: string
licenseId: string
FusionAuthReactor 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 FusionAuthReactor resource accepts the following input properties:
- license_
id str - The license Id to activate.
- license str
- The Base64 encoded license value. This value is necessary in an air gapped configuration where outbound network access is not available.
Outputs
All input properties are implicitly available as output properties. Additionally, the FusionAuthReactor 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.
Look up Existing FusionAuthReactor Resource
Get an existing FusionAuthReactor resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FusionAuthReactorState, opts?: CustomResourceOptions): FusionAuthReactor
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
license: Optional[str] = None,
license_id: Optional[str] = None) -> FusionAuthReactor
func GetFusionAuthReactor(ctx *Context, name string, id IDInput, state *FusionAuthReactorState, opts ...ResourceOption) (*FusionAuthReactor, error)
public static FusionAuthReactor Get(string name, Input<string> id, FusionAuthReactorState? state, CustomResourceOptions? opts = null)
public static FusionAuthReactor get(String name, Output<String> id, FusionAuthReactorState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- license str
- The Base64 encoded license value. This value is necessary in an air gapped configuration where outbound network access is not available.
- license_
id str - The license Id to activate.
Package Details
- Repository
- fusionauth theogravity/pulumi-fusionauth
- License
- MIT
- Notes
- This Pulumi package is based on the
fusionauth
Terraform Provider.