ssh

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hostkey

type Hostkey struct {
	pulumi.CustomResourceState

	// Hostname of the SSH server.
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// IP address of the SSH server.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// SSH public key name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Set the nid of the ECDSA key. Valid values: `256`, `384`, `521`.
	Nid pulumi.StringOutput `pulumi:"nid"`
	// Port of the SSH server.
	Port pulumi.IntOutput `pulumi:"port"`
	// SSH public key.
	PublicKey pulumi.StringPtrOutput `pulumi:"publicKey"`
	// Set the trust status of the public key. Valid values: `trusted`, `revoked`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Set the type of the public key. Valid values: `RSA`, `DSA`, `ECDSA`, `ED25519`, `RSA-CA`, `DSA-CA`, `ECDSA-CA`, `ED25519-CA`.
	Type pulumi.StringOutput `pulumi:"type"`
	// Usage for this public key. Valid values: `transparent-proxy`, `access-proxy`.
	Usage pulumi.StringOutput `pulumi:"usage"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

SSH proxy host public keys.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/firewall"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firewall.NewHostkey(ctx, "trname", &firewall.HostkeyArgs{
			Hostname: pulumi.String("testmachine"),
			Ip:       pulumi.String("1.1.1.1"),
			Port:     pulumi.Int(22),
			Status:   pulumi.String("trusted"),
			Type:     pulumi.String("RSA"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

FirewallSsh HostKey can be imported using any of these accepted formats:

```sh $ pulumi import fortios:firewall/ssh/hostkey:Hostkey labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:firewall/ssh/hostkey:Hostkey labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetHostkey

func GetHostkey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostkeyState, opts ...pulumi.ResourceOption) (*Hostkey, error)

GetHostkey gets an existing Hostkey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHostkey

func NewHostkey(ctx *pulumi.Context,
	name string, args *HostkeyArgs, opts ...pulumi.ResourceOption) (*Hostkey, error)

NewHostkey registers a new resource with the given unique name, arguments, and options.

func (*Hostkey) ElementType

func (*Hostkey) ElementType() reflect.Type

func (*Hostkey) ToHostkeyOutput

func (i *Hostkey) ToHostkeyOutput() HostkeyOutput

func (*Hostkey) ToHostkeyOutputWithContext

func (i *Hostkey) ToHostkeyOutputWithContext(ctx context.Context) HostkeyOutput

type HostkeyArgs

type HostkeyArgs struct {
	// Hostname of the SSH server.
	Hostname pulumi.StringPtrInput
	// IP address of the SSH server.
	Ip pulumi.StringPtrInput
	// SSH public key name.
	Name pulumi.StringPtrInput
	// Set the nid of the ECDSA key. Valid values: `256`, `384`, `521`.
	Nid pulumi.StringPtrInput
	// Port of the SSH server.
	Port pulumi.IntPtrInput
	// SSH public key.
	PublicKey pulumi.StringPtrInput
	// Set the trust status of the public key. Valid values: `trusted`, `revoked`.
	Status pulumi.StringPtrInput
	// Set the type of the public key. Valid values: `RSA`, `DSA`, `ECDSA`, `ED25519`, `RSA-CA`, `DSA-CA`, `ECDSA-CA`, `ED25519-CA`.
	Type pulumi.StringPtrInput
	// Usage for this public key. Valid values: `transparent-proxy`, `access-proxy`.
	Usage pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Hostkey resource.

func (HostkeyArgs) ElementType

func (HostkeyArgs) ElementType() reflect.Type

type HostkeyArray

type HostkeyArray []HostkeyInput

func (HostkeyArray) ElementType

func (HostkeyArray) ElementType() reflect.Type

func (HostkeyArray) ToHostkeyArrayOutput

func (i HostkeyArray) ToHostkeyArrayOutput() HostkeyArrayOutput

func (HostkeyArray) ToHostkeyArrayOutputWithContext

func (i HostkeyArray) ToHostkeyArrayOutputWithContext(ctx context.Context) HostkeyArrayOutput

type HostkeyArrayInput

type HostkeyArrayInput interface {
	pulumi.Input

	ToHostkeyArrayOutput() HostkeyArrayOutput
	ToHostkeyArrayOutputWithContext(context.Context) HostkeyArrayOutput
}

HostkeyArrayInput is an input type that accepts HostkeyArray and HostkeyArrayOutput values. You can construct a concrete instance of `HostkeyArrayInput` via:

HostkeyArray{ HostkeyArgs{...} }

type HostkeyArrayOutput

type HostkeyArrayOutput struct{ *pulumi.OutputState }

func (HostkeyArrayOutput) ElementType

func (HostkeyArrayOutput) ElementType() reflect.Type

func (HostkeyArrayOutput) Index

func (HostkeyArrayOutput) ToHostkeyArrayOutput

func (o HostkeyArrayOutput) ToHostkeyArrayOutput() HostkeyArrayOutput

func (HostkeyArrayOutput) ToHostkeyArrayOutputWithContext

func (o HostkeyArrayOutput) ToHostkeyArrayOutputWithContext(ctx context.Context) HostkeyArrayOutput

type HostkeyInput

type HostkeyInput interface {
	pulumi.Input

	ToHostkeyOutput() HostkeyOutput
	ToHostkeyOutputWithContext(ctx context.Context) HostkeyOutput
}

type HostkeyMap

type HostkeyMap map[string]HostkeyInput

func (HostkeyMap) ElementType

func (HostkeyMap) ElementType() reflect.Type

func (HostkeyMap) ToHostkeyMapOutput

func (i HostkeyMap) ToHostkeyMapOutput() HostkeyMapOutput

func (HostkeyMap) ToHostkeyMapOutputWithContext

func (i HostkeyMap) ToHostkeyMapOutputWithContext(ctx context.Context) HostkeyMapOutput

type HostkeyMapInput

type HostkeyMapInput interface {
	pulumi.Input

	ToHostkeyMapOutput() HostkeyMapOutput
	ToHostkeyMapOutputWithContext(context.Context) HostkeyMapOutput
}

HostkeyMapInput is an input type that accepts HostkeyMap and HostkeyMapOutput values. You can construct a concrete instance of `HostkeyMapInput` via:

HostkeyMap{ "key": HostkeyArgs{...} }

type HostkeyMapOutput

type HostkeyMapOutput struct{ *pulumi.OutputState }

func (HostkeyMapOutput) ElementType

func (HostkeyMapOutput) ElementType() reflect.Type

func (HostkeyMapOutput) MapIndex

func (HostkeyMapOutput) ToHostkeyMapOutput

func (o HostkeyMapOutput) ToHostkeyMapOutput() HostkeyMapOutput

func (HostkeyMapOutput) ToHostkeyMapOutputWithContext

func (o HostkeyMapOutput) ToHostkeyMapOutputWithContext(ctx context.Context) HostkeyMapOutput

type HostkeyOutput

type HostkeyOutput struct{ *pulumi.OutputState }

func (HostkeyOutput) ElementType

func (HostkeyOutput) ElementType() reflect.Type

func (HostkeyOutput) Hostname

func (o HostkeyOutput) Hostname() pulumi.StringOutput

Hostname of the SSH server.

func (HostkeyOutput) Ip

IP address of the SSH server.

func (HostkeyOutput) Name

SSH public key name.

func (HostkeyOutput) Nid

Set the nid of the ECDSA key. Valid values: `256`, `384`, `521`.

func (HostkeyOutput) Port

func (o HostkeyOutput) Port() pulumi.IntOutput

Port of the SSH server.

func (HostkeyOutput) PublicKey

func (o HostkeyOutput) PublicKey() pulumi.StringPtrOutput

SSH public key.

func (HostkeyOutput) Status

func (o HostkeyOutput) Status() pulumi.StringOutput

Set the trust status of the public key. Valid values: `trusted`, `revoked`.

func (HostkeyOutput) ToHostkeyOutput

func (o HostkeyOutput) ToHostkeyOutput() HostkeyOutput

func (HostkeyOutput) ToHostkeyOutputWithContext

func (o HostkeyOutput) ToHostkeyOutputWithContext(ctx context.Context) HostkeyOutput

func (HostkeyOutput) Type

Set the type of the public key. Valid values: `RSA`, `DSA`, `ECDSA`, `ED25519`, `RSA-CA`, `DSA-CA`, `ECDSA-CA`, `ED25519-CA`.

func (HostkeyOutput) Usage

func (o HostkeyOutput) Usage() pulumi.StringOutput

Usage for this public key. Valid values: `transparent-proxy`, `access-proxy`.

func (HostkeyOutput) Vdomparam

func (o HostkeyOutput) Vdomparam() pulumi.StringPtrOutput

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type HostkeyState

type HostkeyState struct {
	// Hostname of the SSH server.
	Hostname pulumi.StringPtrInput
	// IP address of the SSH server.
	Ip pulumi.StringPtrInput
	// SSH public key name.
	Name pulumi.StringPtrInput
	// Set the nid of the ECDSA key. Valid values: `256`, `384`, `521`.
	Nid pulumi.StringPtrInput
	// Port of the SSH server.
	Port pulumi.IntPtrInput
	// SSH public key.
	PublicKey pulumi.StringPtrInput
	// Set the trust status of the public key. Valid values: `trusted`, `revoked`.
	Status pulumi.StringPtrInput
	// Set the type of the public key. Valid values: `RSA`, `DSA`, `ECDSA`, `ED25519`, `RSA-CA`, `DSA-CA`, `ECDSA-CA`, `ED25519-CA`.
	Type pulumi.StringPtrInput
	// Usage for this public key. Valid values: `transparent-proxy`, `access-proxy`.
	Usage pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (HostkeyState) ElementType

func (HostkeyState) ElementType() reflect.Type

type Localca

type Localca struct {
	pulumi.CustomResourceState

	// SSH proxy local CA name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Password for SSH private key.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// SSH proxy private key, encrypted with a password.
	PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
	// SSH proxy public key.
	PublicKey pulumi.StringOutput `pulumi:"publicKey"`
	// SSH proxy local CA source type. Valid values: `built-in`, `user`.
	Source pulumi.StringOutput `pulumi:"source"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

SSH proxy local CA.

## Import

FirewallSsh LocalCa can be imported using any of these accepted formats:

```sh $ pulumi import fortios:firewall/ssh/localca:Localca labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:firewall/ssh/localca:Localca labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetLocalca

func GetLocalca(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LocalcaState, opts ...pulumi.ResourceOption) (*Localca, error)

GetLocalca gets an existing Localca resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLocalca

func NewLocalca(ctx *pulumi.Context,
	name string, args *LocalcaArgs, opts ...pulumi.ResourceOption) (*Localca, error)

NewLocalca registers a new resource with the given unique name, arguments, and options.

func (*Localca) ElementType

func (*Localca) ElementType() reflect.Type

func (*Localca) ToLocalcaOutput

func (i *Localca) ToLocalcaOutput() LocalcaOutput

func (*Localca) ToLocalcaOutputWithContext

func (i *Localca) ToLocalcaOutputWithContext(ctx context.Context) LocalcaOutput

type LocalcaArgs

type LocalcaArgs struct {
	// SSH proxy local CA name.
	Name pulumi.StringPtrInput
	// Password for SSH private key.
	Password pulumi.StringPtrInput
	// SSH proxy private key, encrypted with a password.
	PrivateKey pulumi.StringInput
	// SSH proxy public key.
	PublicKey pulumi.StringInput
	// SSH proxy local CA source type. Valid values: `built-in`, `user`.
	Source pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Localca resource.

func (LocalcaArgs) ElementType

func (LocalcaArgs) ElementType() reflect.Type

type LocalcaArray

type LocalcaArray []LocalcaInput

func (LocalcaArray) ElementType

func (LocalcaArray) ElementType() reflect.Type

func (LocalcaArray) ToLocalcaArrayOutput

func (i LocalcaArray) ToLocalcaArrayOutput() LocalcaArrayOutput

func (LocalcaArray) ToLocalcaArrayOutputWithContext

func (i LocalcaArray) ToLocalcaArrayOutputWithContext(ctx context.Context) LocalcaArrayOutput

type LocalcaArrayInput

type LocalcaArrayInput interface {
	pulumi.Input

	ToLocalcaArrayOutput() LocalcaArrayOutput
	ToLocalcaArrayOutputWithContext(context.Context) LocalcaArrayOutput
}

LocalcaArrayInput is an input type that accepts LocalcaArray and LocalcaArrayOutput values. You can construct a concrete instance of `LocalcaArrayInput` via:

LocalcaArray{ LocalcaArgs{...} }

type LocalcaArrayOutput

type LocalcaArrayOutput struct{ *pulumi.OutputState }

func (LocalcaArrayOutput) ElementType

func (LocalcaArrayOutput) ElementType() reflect.Type

func (LocalcaArrayOutput) Index

func (LocalcaArrayOutput) ToLocalcaArrayOutput

func (o LocalcaArrayOutput) ToLocalcaArrayOutput() LocalcaArrayOutput

func (LocalcaArrayOutput) ToLocalcaArrayOutputWithContext

func (o LocalcaArrayOutput) ToLocalcaArrayOutputWithContext(ctx context.Context) LocalcaArrayOutput

type LocalcaInput

type LocalcaInput interface {
	pulumi.Input

	ToLocalcaOutput() LocalcaOutput
	ToLocalcaOutputWithContext(ctx context.Context) LocalcaOutput
}

type LocalcaMap

type LocalcaMap map[string]LocalcaInput

func (LocalcaMap) ElementType

func (LocalcaMap) ElementType() reflect.Type

func (LocalcaMap) ToLocalcaMapOutput

func (i LocalcaMap) ToLocalcaMapOutput() LocalcaMapOutput

func (LocalcaMap) ToLocalcaMapOutputWithContext

func (i LocalcaMap) ToLocalcaMapOutputWithContext(ctx context.Context) LocalcaMapOutput

type LocalcaMapInput

type LocalcaMapInput interface {
	pulumi.Input

	ToLocalcaMapOutput() LocalcaMapOutput
	ToLocalcaMapOutputWithContext(context.Context) LocalcaMapOutput
}

LocalcaMapInput is an input type that accepts LocalcaMap and LocalcaMapOutput values. You can construct a concrete instance of `LocalcaMapInput` via:

LocalcaMap{ "key": LocalcaArgs{...} }

type LocalcaMapOutput

type LocalcaMapOutput struct{ *pulumi.OutputState }

func (LocalcaMapOutput) ElementType

func (LocalcaMapOutput) ElementType() reflect.Type

func (LocalcaMapOutput) MapIndex

func (LocalcaMapOutput) ToLocalcaMapOutput

func (o LocalcaMapOutput) ToLocalcaMapOutput() LocalcaMapOutput

func (LocalcaMapOutput) ToLocalcaMapOutputWithContext

func (o LocalcaMapOutput) ToLocalcaMapOutputWithContext(ctx context.Context) LocalcaMapOutput

type LocalcaOutput

type LocalcaOutput struct{ *pulumi.OutputState }

func (LocalcaOutput) ElementType

func (LocalcaOutput) ElementType() reflect.Type

func (LocalcaOutput) Name

SSH proxy local CA name.

func (LocalcaOutput) Password

func (o LocalcaOutput) Password() pulumi.StringPtrOutput

Password for SSH private key.

func (LocalcaOutput) PrivateKey

func (o LocalcaOutput) PrivateKey() pulumi.StringOutput

SSH proxy private key, encrypted with a password.

func (LocalcaOutput) PublicKey

func (o LocalcaOutput) PublicKey() pulumi.StringOutput

SSH proxy public key.

func (LocalcaOutput) Source

func (o LocalcaOutput) Source() pulumi.StringOutput

SSH proxy local CA source type. Valid values: `built-in`, `user`.

func (LocalcaOutput) ToLocalcaOutput

func (o LocalcaOutput) ToLocalcaOutput() LocalcaOutput

func (LocalcaOutput) ToLocalcaOutputWithContext

func (o LocalcaOutput) ToLocalcaOutputWithContext(ctx context.Context) LocalcaOutput

func (LocalcaOutput) Vdomparam

func (o LocalcaOutput) Vdomparam() pulumi.StringPtrOutput

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type LocalcaState

type LocalcaState struct {
	// SSH proxy local CA name.
	Name pulumi.StringPtrInput
	// Password for SSH private key.
	Password pulumi.StringPtrInput
	// SSH proxy private key, encrypted with a password.
	PrivateKey pulumi.StringPtrInput
	// SSH proxy public key.
	PublicKey pulumi.StringPtrInput
	// SSH proxy local CA source type. Valid values: `built-in`, `user`.
	Source pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (LocalcaState) ElementType

func (LocalcaState) ElementType() reflect.Type

type Localkey

type Localkey struct {
	pulumi.CustomResourceState

	// SSH proxy local key name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Password for SSH private key.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// SSH proxy private key, encrypted with a password.
	PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
	// SSH proxy public key.
	PublicKey pulumi.StringOutput `pulumi:"publicKey"`
	// SSH proxy local key source type. Valid values: `built-in`, `user`.
	Source pulumi.StringOutput `pulumi:"source"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

SSH proxy local keys.

## Import

FirewallSsh LocalKey can be imported using any of these accepted formats:

```sh $ pulumi import fortios:firewall/ssh/localkey:Localkey labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:firewall/ssh/localkey:Localkey labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetLocalkey

func GetLocalkey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LocalkeyState, opts ...pulumi.ResourceOption) (*Localkey, error)

GetLocalkey gets an existing Localkey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLocalkey

func NewLocalkey(ctx *pulumi.Context,
	name string, args *LocalkeyArgs, opts ...pulumi.ResourceOption) (*Localkey, error)

NewLocalkey registers a new resource with the given unique name, arguments, and options.

func (*Localkey) ElementType

func (*Localkey) ElementType() reflect.Type

func (*Localkey) ToLocalkeyOutput

func (i *Localkey) ToLocalkeyOutput() LocalkeyOutput

func (*Localkey) ToLocalkeyOutputWithContext

func (i *Localkey) ToLocalkeyOutputWithContext(ctx context.Context) LocalkeyOutput

type LocalkeyArgs

type LocalkeyArgs struct {
	// SSH proxy local key name.
	Name pulumi.StringPtrInput
	// Password for SSH private key.
	Password pulumi.StringPtrInput
	// SSH proxy private key, encrypted with a password.
	PrivateKey pulumi.StringInput
	// SSH proxy public key.
	PublicKey pulumi.StringInput
	// SSH proxy local key source type. Valid values: `built-in`, `user`.
	Source pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Localkey resource.

func (LocalkeyArgs) ElementType

func (LocalkeyArgs) ElementType() reflect.Type

type LocalkeyArray

type LocalkeyArray []LocalkeyInput

func (LocalkeyArray) ElementType

func (LocalkeyArray) ElementType() reflect.Type

func (LocalkeyArray) ToLocalkeyArrayOutput

func (i LocalkeyArray) ToLocalkeyArrayOutput() LocalkeyArrayOutput

func (LocalkeyArray) ToLocalkeyArrayOutputWithContext

func (i LocalkeyArray) ToLocalkeyArrayOutputWithContext(ctx context.Context) LocalkeyArrayOutput

type LocalkeyArrayInput

type LocalkeyArrayInput interface {
	pulumi.Input

	ToLocalkeyArrayOutput() LocalkeyArrayOutput
	ToLocalkeyArrayOutputWithContext(context.Context) LocalkeyArrayOutput
}

LocalkeyArrayInput is an input type that accepts LocalkeyArray and LocalkeyArrayOutput values. You can construct a concrete instance of `LocalkeyArrayInput` via:

LocalkeyArray{ LocalkeyArgs{...} }

type LocalkeyArrayOutput

type LocalkeyArrayOutput struct{ *pulumi.OutputState }

func (LocalkeyArrayOutput) ElementType

func (LocalkeyArrayOutput) ElementType() reflect.Type

func (LocalkeyArrayOutput) Index

func (LocalkeyArrayOutput) ToLocalkeyArrayOutput

func (o LocalkeyArrayOutput) ToLocalkeyArrayOutput() LocalkeyArrayOutput

func (LocalkeyArrayOutput) ToLocalkeyArrayOutputWithContext

func (o LocalkeyArrayOutput) ToLocalkeyArrayOutputWithContext(ctx context.Context) LocalkeyArrayOutput

type LocalkeyInput

type LocalkeyInput interface {
	pulumi.Input

	ToLocalkeyOutput() LocalkeyOutput
	ToLocalkeyOutputWithContext(ctx context.Context) LocalkeyOutput
}

type LocalkeyMap

type LocalkeyMap map[string]LocalkeyInput

func (LocalkeyMap) ElementType

func (LocalkeyMap) ElementType() reflect.Type

func (LocalkeyMap) ToLocalkeyMapOutput

func (i LocalkeyMap) ToLocalkeyMapOutput() LocalkeyMapOutput

func (LocalkeyMap) ToLocalkeyMapOutputWithContext

func (i LocalkeyMap) ToLocalkeyMapOutputWithContext(ctx context.Context) LocalkeyMapOutput

type LocalkeyMapInput

type LocalkeyMapInput interface {
	pulumi.Input

	ToLocalkeyMapOutput() LocalkeyMapOutput
	ToLocalkeyMapOutputWithContext(context.Context) LocalkeyMapOutput
}

LocalkeyMapInput is an input type that accepts LocalkeyMap and LocalkeyMapOutput values. You can construct a concrete instance of `LocalkeyMapInput` via:

LocalkeyMap{ "key": LocalkeyArgs{...} }

type LocalkeyMapOutput

type LocalkeyMapOutput struct{ *pulumi.OutputState }

func (LocalkeyMapOutput) ElementType

func (LocalkeyMapOutput) ElementType() reflect.Type

func (LocalkeyMapOutput) MapIndex

func (LocalkeyMapOutput) ToLocalkeyMapOutput

func (o LocalkeyMapOutput) ToLocalkeyMapOutput() LocalkeyMapOutput

func (LocalkeyMapOutput) ToLocalkeyMapOutputWithContext

func (o LocalkeyMapOutput) ToLocalkeyMapOutputWithContext(ctx context.Context) LocalkeyMapOutput

type LocalkeyOutput

type LocalkeyOutput struct{ *pulumi.OutputState }

func (LocalkeyOutput) ElementType

func (LocalkeyOutput) ElementType() reflect.Type

func (LocalkeyOutput) Name

SSH proxy local key name.

func (LocalkeyOutput) Password

func (o LocalkeyOutput) Password() pulumi.StringPtrOutput

Password for SSH private key.

func (LocalkeyOutput) PrivateKey

func (o LocalkeyOutput) PrivateKey() pulumi.StringOutput

SSH proxy private key, encrypted with a password.

func (LocalkeyOutput) PublicKey

func (o LocalkeyOutput) PublicKey() pulumi.StringOutput

SSH proxy public key.

func (LocalkeyOutput) Source

func (o LocalkeyOutput) Source() pulumi.StringOutput

SSH proxy local key source type. Valid values: `built-in`, `user`.

func (LocalkeyOutput) ToLocalkeyOutput

func (o LocalkeyOutput) ToLocalkeyOutput() LocalkeyOutput

func (LocalkeyOutput) ToLocalkeyOutputWithContext

func (o LocalkeyOutput) ToLocalkeyOutputWithContext(ctx context.Context) LocalkeyOutput

func (LocalkeyOutput) Vdomparam

func (o LocalkeyOutput) Vdomparam() pulumi.StringPtrOutput

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type LocalkeyState

type LocalkeyState struct {
	// SSH proxy local key name.
	Name pulumi.StringPtrInput
	// Password for SSH private key.
	Password pulumi.StringPtrInput
	// SSH proxy private key, encrypted with a password.
	PrivateKey pulumi.StringPtrInput
	// SSH proxy public key.
	PublicKey pulumi.StringPtrInput
	// SSH proxy local key source type. Valid values: `built-in`, `user`.
	Source pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (LocalkeyState) ElementType

func (LocalkeyState) ElementType() reflect.Type

type Setting

type Setting struct {
	pulumi.CustomResourceState

	// CA certificate used by SSH Inspection.
	Caname pulumi.StringOutput `pulumi:"caname"`
	// Enable/disable host trusted checking. Valid values: `enable`, `disable`.
	HostTrustedChecking pulumi.StringOutput `pulumi:"hostTrustedChecking"`
	// DSA certificate used by SSH proxy.
	HostkeyDsa1024 pulumi.StringOutput `pulumi:"hostkeyDsa1024"`
	// ECDSA nid256 certificate used by SSH proxy.
	HostkeyEcdsa256 pulumi.StringOutput `pulumi:"hostkeyEcdsa256"`
	// ECDSA nid384 certificate used by SSH proxy.
	HostkeyEcdsa384 pulumi.StringOutput `pulumi:"hostkeyEcdsa384"`
	// ECDSA nid384 certificate used by SSH proxy.
	HostkeyEcdsa521 pulumi.StringOutput `pulumi:"hostkeyEcdsa521"`
	// ED25519 hostkey used by SSH proxy.
	HostkeyEd25519 pulumi.StringOutput `pulumi:"hostkeyEd25519"`
	// RSA certificate used by SSH proxy.
	HostkeyRsa2048 pulumi.StringOutput `pulumi:"hostkeyRsa2048"`
	// Untrusted CA certificate used by SSH Inspection.
	UntrustedCaname pulumi.StringOutput `pulumi:"untrustedCaname"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

SSH proxy settings.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/firewall"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firewall.NewSetting(ctx, "trname", &firewall.SettingArgs{
			Caname:              pulumi.String("Fortinet_SSH_CA"),
			HostTrustedChecking: pulumi.String("enable"),
			HostkeyDsa1024:      pulumi.String("Fortinet_SSH_DSA1024"),
			HostkeyEcdsa256:     pulumi.String("Fortinet_SSH_ECDSA256"),
			HostkeyEcdsa384:     pulumi.String("Fortinet_SSH_ECDSA384"),
			HostkeyEcdsa521:     pulumi.String("Fortinet_SSH_ECDSA521"),
			HostkeyEd25519:      pulumi.String("Fortinet_SSH_ED25519"),
			HostkeyRsa2048:      pulumi.String("Fortinet_SSH_RSA2048"),
			UntrustedCaname:     pulumi.String("Fortinet_SSH_CA_Untrusted"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

FirewallSsh Setting can be imported using any of these accepted formats:

```sh $ pulumi import fortios:firewall/ssh/setting:Setting labelname FirewallSshSetting ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:firewall/ssh/setting:Setting labelname FirewallSshSetting ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetSetting

func GetSetting(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SettingState, opts ...pulumi.ResourceOption) (*Setting, error)

GetSetting gets an existing Setting resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSetting

func NewSetting(ctx *pulumi.Context,
	name string, args *SettingArgs, opts ...pulumi.ResourceOption) (*Setting, error)

NewSetting registers a new resource with the given unique name, arguments, and options.

func (*Setting) ElementType

func (*Setting) ElementType() reflect.Type

func (*Setting) ToSettingOutput

func (i *Setting) ToSettingOutput() SettingOutput

func (*Setting) ToSettingOutputWithContext

func (i *Setting) ToSettingOutputWithContext(ctx context.Context) SettingOutput

type SettingArgs

type SettingArgs struct {
	// CA certificate used by SSH Inspection.
	Caname pulumi.StringPtrInput
	// Enable/disable host trusted checking. Valid values: `enable`, `disable`.
	HostTrustedChecking pulumi.StringPtrInput
	// DSA certificate used by SSH proxy.
	HostkeyDsa1024 pulumi.StringPtrInput
	// ECDSA nid256 certificate used by SSH proxy.
	HostkeyEcdsa256 pulumi.StringPtrInput
	// ECDSA nid384 certificate used by SSH proxy.
	HostkeyEcdsa384 pulumi.StringPtrInput
	// ECDSA nid384 certificate used by SSH proxy.
	HostkeyEcdsa521 pulumi.StringPtrInput
	// ED25519 hostkey used by SSH proxy.
	HostkeyEd25519 pulumi.StringPtrInput
	// RSA certificate used by SSH proxy.
	HostkeyRsa2048 pulumi.StringPtrInput
	// Untrusted CA certificate used by SSH Inspection.
	UntrustedCaname pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Setting resource.

func (SettingArgs) ElementType

func (SettingArgs) ElementType() reflect.Type

type SettingArray

type SettingArray []SettingInput

func (SettingArray) ElementType

func (SettingArray) ElementType() reflect.Type

func (SettingArray) ToSettingArrayOutput

func (i SettingArray) ToSettingArrayOutput() SettingArrayOutput

func (SettingArray) ToSettingArrayOutputWithContext

func (i SettingArray) ToSettingArrayOutputWithContext(ctx context.Context) SettingArrayOutput

type SettingArrayInput

type SettingArrayInput interface {
	pulumi.Input

	ToSettingArrayOutput() SettingArrayOutput
	ToSettingArrayOutputWithContext(context.Context) SettingArrayOutput
}

SettingArrayInput is an input type that accepts SettingArray and SettingArrayOutput values. You can construct a concrete instance of `SettingArrayInput` via:

SettingArray{ SettingArgs{...} }

type SettingArrayOutput

type SettingArrayOutput struct{ *pulumi.OutputState }

func (SettingArrayOutput) ElementType

func (SettingArrayOutput) ElementType() reflect.Type

func (SettingArrayOutput) Index

func (SettingArrayOutput) ToSettingArrayOutput

func (o SettingArrayOutput) ToSettingArrayOutput() SettingArrayOutput

func (SettingArrayOutput) ToSettingArrayOutputWithContext

func (o SettingArrayOutput) ToSettingArrayOutputWithContext(ctx context.Context) SettingArrayOutput

type SettingInput

type SettingInput interface {
	pulumi.Input

	ToSettingOutput() SettingOutput
	ToSettingOutputWithContext(ctx context.Context) SettingOutput
}

type SettingMap

type SettingMap map[string]SettingInput

func (SettingMap) ElementType

func (SettingMap) ElementType() reflect.Type

func (SettingMap) ToSettingMapOutput

func (i SettingMap) ToSettingMapOutput() SettingMapOutput

func (SettingMap) ToSettingMapOutputWithContext

func (i SettingMap) ToSettingMapOutputWithContext(ctx context.Context) SettingMapOutput

type SettingMapInput

type SettingMapInput interface {
	pulumi.Input

	ToSettingMapOutput() SettingMapOutput
	ToSettingMapOutputWithContext(context.Context) SettingMapOutput
}

SettingMapInput is an input type that accepts SettingMap and SettingMapOutput values. You can construct a concrete instance of `SettingMapInput` via:

SettingMap{ "key": SettingArgs{...} }

type SettingMapOutput

type SettingMapOutput struct{ *pulumi.OutputState }

func (SettingMapOutput) ElementType

func (SettingMapOutput) ElementType() reflect.Type

func (SettingMapOutput) MapIndex

func (SettingMapOutput) ToSettingMapOutput

func (o SettingMapOutput) ToSettingMapOutput() SettingMapOutput

func (SettingMapOutput) ToSettingMapOutputWithContext

func (o SettingMapOutput) ToSettingMapOutputWithContext(ctx context.Context) SettingMapOutput

type SettingOutput

type SettingOutput struct{ *pulumi.OutputState }

func (SettingOutput) Caname

func (o SettingOutput) Caname() pulumi.StringOutput

CA certificate used by SSH Inspection.

func (SettingOutput) ElementType

func (SettingOutput) ElementType() reflect.Type

func (SettingOutput) HostTrustedChecking

func (o SettingOutput) HostTrustedChecking() pulumi.StringOutput

Enable/disable host trusted checking. Valid values: `enable`, `disable`.

func (SettingOutput) HostkeyDsa1024

func (o SettingOutput) HostkeyDsa1024() pulumi.StringOutput

DSA certificate used by SSH proxy.

func (SettingOutput) HostkeyEcdsa256

func (o SettingOutput) HostkeyEcdsa256() pulumi.StringOutput

ECDSA nid256 certificate used by SSH proxy.

func (SettingOutput) HostkeyEcdsa384

func (o SettingOutput) HostkeyEcdsa384() pulumi.StringOutput

ECDSA nid384 certificate used by SSH proxy.

func (SettingOutput) HostkeyEcdsa521

func (o SettingOutput) HostkeyEcdsa521() pulumi.StringOutput

ECDSA nid384 certificate used by SSH proxy.

func (SettingOutput) HostkeyEd25519

func (o SettingOutput) HostkeyEd25519() pulumi.StringOutput

ED25519 hostkey used by SSH proxy.

func (SettingOutput) HostkeyRsa2048

func (o SettingOutput) HostkeyRsa2048() pulumi.StringOutput

RSA certificate used by SSH proxy.

func (SettingOutput) ToSettingOutput

func (o SettingOutput) ToSettingOutput() SettingOutput

func (SettingOutput) ToSettingOutputWithContext

func (o SettingOutput) ToSettingOutputWithContext(ctx context.Context) SettingOutput

func (SettingOutput) UntrustedCaname

func (o SettingOutput) UntrustedCaname() pulumi.StringOutput

Untrusted CA certificate used by SSH Inspection.

func (SettingOutput) Vdomparam

func (o SettingOutput) Vdomparam() pulumi.StringPtrOutput

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type SettingState

type SettingState struct {
	// CA certificate used by SSH Inspection.
	Caname pulumi.StringPtrInput
	// Enable/disable host trusted checking. Valid values: `enable`, `disable`.
	HostTrustedChecking pulumi.StringPtrInput
	// DSA certificate used by SSH proxy.
	HostkeyDsa1024 pulumi.StringPtrInput
	// ECDSA nid256 certificate used by SSH proxy.
	HostkeyEcdsa256 pulumi.StringPtrInput
	// ECDSA nid384 certificate used by SSH proxy.
	HostkeyEcdsa384 pulumi.StringPtrInput
	// ECDSA nid384 certificate used by SSH proxy.
	HostkeyEcdsa521 pulumi.StringPtrInput
	// ED25519 hostkey used by SSH proxy.
	HostkeyEd25519 pulumi.StringPtrInput
	// RSA certificate used by SSH proxy.
	HostkeyRsa2048 pulumi.StringPtrInput
	// Untrusted CA certificate used by SSH Inspection.
	UntrustedCaname pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (SettingState) ElementType

func (SettingState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL