Matchbox v0.1.8 published on Monday, Sep 25, 2023 by Pulumiverse
matchbox.Profile
Explore with Pulumi AI
Create Profile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Profile(name: string, args?: ProfileArgs, opts?: CustomResourceOptions);
@overload
def Profile(resource_name: str,
args: Optional[ProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Profile(resource_name: str,
opts: Optional[ResourceOptions] = None,
args: Optional[Sequence[str]] = None,
container_linux_config: Optional[str] = None,
generic_config: Optional[str] = None,
initrds: Optional[Sequence[str]] = None,
kernel: Optional[str] = None,
name: Optional[str] = None,
raw_ignition: Optional[str] = None)
func NewProfile(ctx *Context, name string, args *ProfileArgs, opts ...ResourceOption) (*Profile, error)
public Profile(string name, ProfileArgs? args = null, CustomResourceOptions? opts = null)
public Profile(String name, ProfileArgs args)
public Profile(String name, ProfileArgs args, CustomResourceOptions options)
type: matchbox:Profile
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 ProfileArgs
- 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 ProfileArgs
- 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 ProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileArgs
- 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 profileResource = new Matchbox.Profile("profileResource", new()
{
Args = new[]
{
"string",
},
ContainerLinuxConfig = "string",
GenericConfig = "string",
Initrds = new[]
{
"string",
},
Kernel = "string",
Name = "string",
RawIgnition = "string",
});
example, err := matchbox.NewProfile(ctx, "profileResource", &matchbox.ProfileArgs{
Args: pulumi.StringArray{
pulumi.String("string"),
},
ContainerLinuxConfig: pulumi.String("string"),
GenericConfig: pulumi.String("string"),
Initrds: pulumi.StringArray{
pulumi.String("string"),
},
Kernel: pulumi.String("string"),
Name: pulumi.String("string"),
RawIgnition: pulumi.String("string"),
})
var profileResource = new Profile("profileResource", ProfileArgs.builder()
.args("string")
.containerLinuxConfig("string")
.genericConfig("string")
.initrds("string")
.kernel("string")
.name("string")
.rawIgnition("string")
.build());
profile_resource = matchbox.Profile("profileResource",
args=["string"],
container_linux_config="string",
generic_config="string",
initrds=["string"],
kernel="string",
name="string",
raw_ignition="string")
const profileResource = new matchbox.Profile("profileResource", {
args: ["string"],
containerLinuxConfig: "string",
genericConfig: "string",
initrds: ["string"],
kernel: "string",
name: "string",
rawIgnition: "string",
});
type: matchbox:Profile
properties:
args:
- string
containerLinuxConfig: string
genericConfig: string
initrds:
- string
kernel: string
name: string
rawIgnition: string
Profile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Profile resource accepts the following input properties:
- Args List<string>
- List of kernel arguments
- Container
Linux stringConfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- Generic
Config string - Initrds List<string>
- List of URLs to init RAM filesystems
- Kernel string
- URL of the kernel image to boot
- Name string
- Unqiue name for the machine matcher
- Raw
Ignition string
- Args []string
- List of kernel arguments
- Container
Linux stringConfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- Generic
Config string - Initrds []string
- List of URLs to init RAM filesystems
- Kernel string
- URL of the kernel image to boot
- Name string
- Unqiue name for the machine matcher
- Raw
Ignition string
- args List<String>
- List of kernel arguments
- container
Linux StringConfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- generic
Config String - initrds List<String>
- List of URLs to init RAM filesystems
- kernel String
- URL of the kernel image to boot
- name String
- Unqiue name for the machine matcher
- raw
Ignition String
- args string[]
- List of kernel arguments
- container
Linux stringConfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- generic
Config string - initrds string[]
- List of URLs to init RAM filesystems
- kernel string
- URL of the kernel image to boot
- name string
- Unqiue name for the machine matcher
- raw
Ignition string
- args Sequence[str]
- List of kernel arguments
- container_
linux_ strconfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- generic_
config str - initrds Sequence[str]
- List of URLs to init RAM filesystems
- kernel str
- URL of the kernel image to boot
- name str
- Unqiue name for the machine matcher
- raw_
ignition str
- args List<String>
- List of kernel arguments
- container
Linux StringConfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- generic
Config String - initrds List<String>
- List of URLs to init RAM filesystems
- kernel String
- URL of the kernel image to boot
- name String
- Unqiue name for the machine matcher
- raw
Ignition String
Outputs
All input properties are implicitly available as output properties. Additionally, the Profile 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 Profile Resource
Get an existing Profile 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?: ProfileState, opts?: CustomResourceOptions): Profile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
args: Optional[Sequence[str]] = None,
container_linux_config: Optional[str] = None,
generic_config: Optional[str] = None,
initrds: Optional[Sequence[str]] = None,
kernel: Optional[str] = None,
name: Optional[str] = None,
raw_ignition: Optional[str] = None) -> Profile
func GetProfile(ctx *Context, name string, id IDInput, state *ProfileState, opts ...ResourceOption) (*Profile, error)
public static Profile Get(string name, Input<string> id, ProfileState? state, CustomResourceOptions? opts = null)
public static Profile get(String name, Output<String> id, ProfileState 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.
- Args List<string>
- List of kernel arguments
- Container
Linux stringConfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- Generic
Config string - Initrds List<string>
- List of URLs to init RAM filesystems
- Kernel string
- URL of the kernel image to boot
- Name string
- Unqiue name for the machine matcher
- Raw
Ignition string
- Args []string
- List of kernel arguments
- Container
Linux stringConfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- Generic
Config string - Initrds []string
- List of URLs to init RAM filesystems
- Kernel string
- URL of the kernel image to boot
- Name string
- Unqiue name for the machine matcher
- Raw
Ignition string
- args List<String>
- List of kernel arguments
- container
Linux StringConfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- generic
Config String - initrds List<String>
- List of URLs to init RAM filesystems
- kernel String
- URL of the kernel image to boot
- name String
- Unqiue name for the machine matcher
- raw
Ignition String
- args string[]
- List of kernel arguments
- container
Linux stringConfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- generic
Config string - initrds string[]
- List of URLs to init RAM filesystems
- kernel string
- URL of the kernel image to boot
- name string
- Unqiue name for the machine matcher
- raw
Ignition string
- args Sequence[str]
- List of kernel arguments
- container_
linux_ strconfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- generic_
config str - initrds Sequence[str]
- List of URLs to init RAM filesystems
- kernel str
- URL of the kernel image to boot
- name str
- Unqiue name for the machine matcher
- raw_
ignition str
- args List<String>
- List of kernel arguments
- container
Linux StringConfig - CoreOS Container Linux Config (CLC) (for backwards compatibility)
- generic
Config String - initrds List<String>
- List of URLs to init RAM filesystems
- kernel String
- URL of the kernel image to boot
- name String
- Unqiue name for the machine matcher
- raw
Ignition String
Package Details
- Repository
- matchbox pulumiverse/pulumi-matchbox
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
matchbox
Terraform Provider.