Documentation
¶
Index ¶
- type Explicit
- type ExplicitArgs
- type ExplicitArray
- type ExplicitArrayInput
- type ExplicitArrayOutput
- type ExplicitInput
- type ExplicitMap
- type ExplicitMapInput
- type ExplicitMapOutput
- type ExplicitOutput
- func (ExplicitOutput) ElementType() reflect.Type
- func (o ExplicitOutput) IncomingIp() pulumi.StringOutput
- func (o ExplicitOutput) IncomingPort() pulumi.StringOutput
- func (o ExplicitOutput) OutgoingIp() pulumi.StringOutput
- func (o ExplicitOutput) SecDefaultAction() pulumi.StringOutput
- func (o ExplicitOutput) ServerDataMode() pulumi.StringOutput
- func (o ExplicitOutput) Ssl() pulumi.StringOutput
- func (o ExplicitOutput) SslAlgorithm() pulumi.StringOutput
- func (o ExplicitOutput) SslCert() pulumi.StringOutput
- func (o ExplicitOutput) SslDhBits() pulumi.StringOutput
- func (o ExplicitOutput) Status() pulumi.StringOutput
- func (o ExplicitOutput) ToExplicitOutput() ExplicitOutput
- func (o ExplicitOutput) ToExplicitOutputWithContext(ctx context.Context) ExplicitOutput
- func (o ExplicitOutput) Vdomparam() pulumi.StringPtrOutput
- type ExplicitState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Explicit ¶
type Explicit struct { pulumi.CustomResourceState // Accept incoming FTP requests from this IP address. An interface must have this IP address. IncomingIp pulumi.StringOutput `pulumi:"incomingIp"` // Accept incoming FTP requests on one or more ports. IncomingPort pulumi.StringOutput `pulumi:"incomingPort"` // Outgoing FTP requests will leave from this IP address. An interface must have this IP address. OutgoingIp pulumi.StringOutput `pulumi:"outgoingIp"` // Accept or deny explicit FTP proxy sessions when no FTP proxy firewall policy exists. Valid values: `accept`, `deny`. SecDefaultAction pulumi.StringOutput `pulumi:"secDefaultAction"` // Determine mode of data session on FTP server side. Valid values: `client`, `passive`. ServerDataMode pulumi.StringOutput `pulumi:"serverDataMode"` // Enable/disable the explicit FTPS proxy. Valid values: `enable`, `disable`. Ssl pulumi.StringOutput `pulumi:"ssl"` // Relative strength of encryption algorithms accepted in negotiation. Valid values: `high`, `medium`, `low`. SslAlgorithm pulumi.StringOutput `pulumi:"sslAlgorithm"` // Name of certificate for SSL connections to this server. On FortiOS versions 6.2.4-7.4.0: default = "Fortinet_CA_SSL". On FortiOS versions 7.4.1: default = "Fortinet_SSL". SslCert pulumi.StringOutput `pulumi:"sslCert"` // Bit-size of Diffie-Hellman (DH) prime used in DHE-RSA negotiation (default = 2048). Valid values: `768`, `1024`, `1536`, `2048`. SslDhBits pulumi.StringOutput `pulumi:"sslDhBits"` // Enable/disable the explicit FTP proxy. Valid values: `enable`, `disable`. Status pulumi.StringOutput `pulumi:"status"` // 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"` }
Configure explicit FTP 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/ftpproxy"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ftpproxy.NewExplicit(ctx, "trname", &ftpproxy.ExplicitArgs{ IncomingIp: pulumi.String("0.0.0.0"), SecDefaultAction: pulumi.String("deny"), Status: pulumi.String("disable"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
FtpProxy Explicit can be imported using any of these accepted formats:
```sh $ pulumi import fortios:ftpproxy/explicit:Explicit labelname FtpProxyExplicit ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:ftpproxy/explicit:Explicit labelname FtpProxyExplicit ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetExplicit ¶
func GetExplicit(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ExplicitState, opts ...pulumi.ResourceOption) (*Explicit, error)
GetExplicit gets an existing Explicit 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 NewExplicit ¶
func NewExplicit(ctx *pulumi.Context, name string, args *ExplicitArgs, opts ...pulumi.ResourceOption) (*Explicit, error)
NewExplicit registers a new resource with the given unique name, arguments, and options.
func (*Explicit) ElementType ¶
func (*Explicit) ToExplicitOutput ¶
func (i *Explicit) ToExplicitOutput() ExplicitOutput
func (*Explicit) ToExplicitOutputWithContext ¶
func (i *Explicit) ToExplicitOutputWithContext(ctx context.Context) ExplicitOutput
type ExplicitArgs ¶
type ExplicitArgs struct { // Accept incoming FTP requests from this IP address. An interface must have this IP address. IncomingIp pulumi.StringPtrInput // Accept incoming FTP requests on one or more ports. IncomingPort pulumi.StringPtrInput // Outgoing FTP requests will leave from this IP address. An interface must have this IP address. OutgoingIp pulumi.StringPtrInput // Accept or deny explicit FTP proxy sessions when no FTP proxy firewall policy exists. Valid values: `accept`, `deny`. SecDefaultAction pulumi.StringPtrInput // Determine mode of data session on FTP server side. Valid values: `client`, `passive`. ServerDataMode pulumi.StringPtrInput // Enable/disable the explicit FTPS proxy. Valid values: `enable`, `disable`. Ssl pulumi.StringPtrInput // Relative strength of encryption algorithms accepted in negotiation. Valid values: `high`, `medium`, `low`. SslAlgorithm pulumi.StringPtrInput // Name of certificate for SSL connections to this server. On FortiOS versions 6.2.4-7.4.0: default = "Fortinet_CA_SSL". On FortiOS versions 7.4.1: default = "Fortinet_SSL". SslCert pulumi.StringPtrInput // Bit-size of Diffie-Hellman (DH) prime used in DHE-RSA negotiation (default = 2048). Valid values: `768`, `1024`, `1536`, `2048`. SslDhBits pulumi.StringPtrInput // Enable/disable the explicit FTP proxy. Valid values: `enable`, `disable`. Status 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 Explicit resource.
func (ExplicitArgs) ElementType ¶
func (ExplicitArgs) ElementType() reflect.Type
type ExplicitArray ¶
type ExplicitArray []ExplicitInput
func (ExplicitArray) ElementType ¶
func (ExplicitArray) ElementType() reflect.Type
func (ExplicitArray) ToExplicitArrayOutput ¶
func (i ExplicitArray) ToExplicitArrayOutput() ExplicitArrayOutput
func (ExplicitArray) ToExplicitArrayOutputWithContext ¶
func (i ExplicitArray) ToExplicitArrayOutputWithContext(ctx context.Context) ExplicitArrayOutput
type ExplicitArrayInput ¶
type ExplicitArrayInput interface { pulumi.Input ToExplicitArrayOutput() ExplicitArrayOutput ToExplicitArrayOutputWithContext(context.Context) ExplicitArrayOutput }
ExplicitArrayInput is an input type that accepts ExplicitArray and ExplicitArrayOutput values. You can construct a concrete instance of `ExplicitArrayInput` via:
ExplicitArray{ ExplicitArgs{...} }
type ExplicitArrayOutput ¶
type ExplicitArrayOutput struct{ *pulumi.OutputState }
func (ExplicitArrayOutput) ElementType ¶
func (ExplicitArrayOutput) ElementType() reflect.Type
func (ExplicitArrayOutput) Index ¶
func (o ExplicitArrayOutput) Index(i pulumi.IntInput) ExplicitOutput
func (ExplicitArrayOutput) ToExplicitArrayOutput ¶
func (o ExplicitArrayOutput) ToExplicitArrayOutput() ExplicitArrayOutput
func (ExplicitArrayOutput) ToExplicitArrayOutputWithContext ¶
func (o ExplicitArrayOutput) ToExplicitArrayOutputWithContext(ctx context.Context) ExplicitArrayOutput
type ExplicitInput ¶
type ExplicitInput interface { pulumi.Input ToExplicitOutput() ExplicitOutput ToExplicitOutputWithContext(ctx context.Context) ExplicitOutput }
type ExplicitMap ¶
type ExplicitMap map[string]ExplicitInput
func (ExplicitMap) ElementType ¶
func (ExplicitMap) ElementType() reflect.Type
func (ExplicitMap) ToExplicitMapOutput ¶
func (i ExplicitMap) ToExplicitMapOutput() ExplicitMapOutput
func (ExplicitMap) ToExplicitMapOutputWithContext ¶
func (i ExplicitMap) ToExplicitMapOutputWithContext(ctx context.Context) ExplicitMapOutput
type ExplicitMapInput ¶
type ExplicitMapInput interface { pulumi.Input ToExplicitMapOutput() ExplicitMapOutput ToExplicitMapOutputWithContext(context.Context) ExplicitMapOutput }
ExplicitMapInput is an input type that accepts ExplicitMap and ExplicitMapOutput values. You can construct a concrete instance of `ExplicitMapInput` via:
ExplicitMap{ "key": ExplicitArgs{...} }
type ExplicitMapOutput ¶
type ExplicitMapOutput struct{ *pulumi.OutputState }
func (ExplicitMapOutput) ElementType ¶
func (ExplicitMapOutput) ElementType() reflect.Type
func (ExplicitMapOutput) MapIndex ¶
func (o ExplicitMapOutput) MapIndex(k pulumi.StringInput) ExplicitOutput
func (ExplicitMapOutput) ToExplicitMapOutput ¶
func (o ExplicitMapOutput) ToExplicitMapOutput() ExplicitMapOutput
func (ExplicitMapOutput) ToExplicitMapOutputWithContext ¶
func (o ExplicitMapOutput) ToExplicitMapOutputWithContext(ctx context.Context) ExplicitMapOutput
type ExplicitOutput ¶
type ExplicitOutput struct{ *pulumi.OutputState }
func (ExplicitOutput) ElementType ¶
func (ExplicitOutput) ElementType() reflect.Type
func (ExplicitOutput) IncomingIp ¶
func (o ExplicitOutput) IncomingIp() pulumi.StringOutput
Accept incoming FTP requests from this IP address. An interface must have this IP address.
func (ExplicitOutput) IncomingPort ¶
func (o ExplicitOutput) IncomingPort() pulumi.StringOutput
Accept incoming FTP requests on one or more ports.
func (ExplicitOutput) OutgoingIp ¶
func (o ExplicitOutput) OutgoingIp() pulumi.StringOutput
Outgoing FTP requests will leave from this IP address. An interface must have this IP address.
func (ExplicitOutput) SecDefaultAction ¶
func (o ExplicitOutput) SecDefaultAction() pulumi.StringOutput
Accept or deny explicit FTP proxy sessions when no FTP proxy firewall policy exists. Valid values: `accept`, `deny`.
func (ExplicitOutput) ServerDataMode ¶
func (o ExplicitOutput) ServerDataMode() pulumi.StringOutput
Determine mode of data session on FTP server side. Valid values: `client`, `passive`.
func (ExplicitOutput) Ssl ¶
func (o ExplicitOutput) Ssl() pulumi.StringOutput
Enable/disable the explicit FTPS proxy. Valid values: `enable`, `disable`.
func (ExplicitOutput) SslAlgorithm ¶
func (o ExplicitOutput) SslAlgorithm() pulumi.StringOutput
Relative strength of encryption algorithms accepted in negotiation. Valid values: `high`, `medium`, `low`.
func (ExplicitOutput) SslCert ¶
func (o ExplicitOutput) SslCert() pulumi.StringOutput
Name of certificate for SSL connections to this server. On FortiOS versions 6.2.4-7.4.0: default = "Fortinet_CA_SSL". On FortiOS versions 7.4.1: default = "Fortinet_SSL".
func (ExplicitOutput) SslDhBits ¶
func (o ExplicitOutput) SslDhBits() pulumi.StringOutput
Bit-size of Diffie-Hellman (DH) prime used in DHE-RSA negotiation (default = 2048). Valid values: `768`, `1024`, `1536`, `2048`.
func (ExplicitOutput) Status ¶
func (o ExplicitOutput) Status() pulumi.StringOutput
Enable/disable the explicit FTP proxy. Valid values: `enable`, `disable`.
func (ExplicitOutput) ToExplicitOutput ¶
func (o ExplicitOutput) ToExplicitOutput() ExplicitOutput
func (ExplicitOutput) ToExplicitOutputWithContext ¶
func (o ExplicitOutput) ToExplicitOutputWithContext(ctx context.Context) ExplicitOutput
func (ExplicitOutput) Vdomparam ¶
func (o ExplicitOutput) 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 ExplicitState ¶
type ExplicitState struct { // Accept incoming FTP requests from this IP address. An interface must have this IP address. IncomingIp pulumi.StringPtrInput // Accept incoming FTP requests on one or more ports. IncomingPort pulumi.StringPtrInput // Outgoing FTP requests will leave from this IP address. An interface must have this IP address. OutgoingIp pulumi.StringPtrInput // Accept or deny explicit FTP proxy sessions when no FTP proxy firewall policy exists. Valid values: `accept`, `deny`. SecDefaultAction pulumi.StringPtrInput // Determine mode of data session on FTP server side. Valid values: `client`, `passive`. ServerDataMode pulumi.StringPtrInput // Enable/disable the explicit FTPS proxy. Valid values: `enable`, `disable`. Ssl pulumi.StringPtrInput // Relative strength of encryption algorithms accepted in negotiation. Valid values: `high`, `medium`, `low`. SslAlgorithm pulumi.StringPtrInput // Name of certificate for SSL connections to this server. On FortiOS versions 6.2.4-7.4.0: default = "Fortinet_CA_SSL". On FortiOS versions 7.4.1: default = "Fortinet_SSL". SslCert pulumi.StringPtrInput // Bit-size of Diffie-Hellman (DH) prime used in DHE-RSA negotiation (default = 2048). Valid values: `768`, `1024`, `1536`, `2048`. SslDhBits pulumi.StringPtrInput // Enable/disable the explicit FTP proxy. Valid values: `enable`, `disable`. Status 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 (ExplicitState) ElementType ¶
func (ExplicitState) ElementType() reflect.Type