akeyless.GatewayLogForwardingLogzIo
Explore with Pulumi AI
Log Forwarding config for logz-io
Create GatewayLogForwardingLogzIo Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayLogForwardingLogzIo(name: string, args?: GatewayLogForwardingLogzIoArgs, opts?: CustomResourceOptions);
@overload
def GatewayLogForwardingLogzIo(resource_name: str,
args: Optional[GatewayLogForwardingLogzIoArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayLogForwardingLogzIo(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable: Optional[str] = None,
gateway_log_forwarding_logz_io_id: Optional[str] = None,
logz_io_token: Optional[str] = None,
output_format: Optional[str] = None,
protocol: Optional[str] = None,
pull_interval: Optional[str] = None)
func NewGatewayLogForwardingLogzIo(ctx *Context, name string, args *GatewayLogForwardingLogzIoArgs, opts ...ResourceOption) (*GatewayLogForwardingLogzIo, error)
public GatewayLogForwardingLogzIo(string name, GatewayLogForwardingLogzIoArgs? args = null, CustomResourceOptions? opts = null)
public GatewayLogForwardingLogzIo(String name, GatewayLogForwardingLogzIoArgs args)
public GatewayLogForwardingLogzIo(String name, GatewayLogForwardingLogzIoArgs args, CustomResourceOptions options)
type: akeyless:GatewayLogForwardingLogzIo
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 GatewayLogForwardingLogzIoArgs
- 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 GatewayLogForwardingLogzIoArgs
- 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 GatewayLogForwardingLogzIoArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayLogForwardingLogzIoArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayLogForwardingLogzIoArgs
- 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 gatewayLogForwardingLogzIoResource = new Akeyless.GatewayLogForwardingLogzIo("gatewayLogForwardingLogzIoResource", new()
{
Enable = "string",
GatewayLogForwardingLogzIoId = "string",
LogzIoToken = "string",
OutputFormat = "string",
Protocol = "string",
PullInterval = "string",
});
example, err := akeyless.NewGatewayLogForwardingLogzIo(ctx, "gatewayLogForwardingLogzIoResource", &akeyless.GatewayLogForwardingLogzIoArgs{
Enable: pulumi.String("string"),
GatewayLogForwardingLogzIoId: pulumi.String("string"),
LogzIoToken: pulumi.String("string"),
OutputFormat: pulumi.String("string"),
Protocol: pulumi.String("string"),
PullInterval: pulumi.String("string"),
})
var gatewayLogForwardingLogzIoResource = new GatewayLogForwardingLogzIo("gatewayLogForwardingLogzIoResource", GatewayLogForwardingLogzIoArgs.builder()
.enable("string")
.gatewayLogForwardingLogzIoId("string")
.logzIoToken("string")
.outputFormat("string")
.protocol("string")
.pullInterval("string")
.build());
gateway_log_forwarding_logz_io_resource = akeyless.GatewayLogForwardingLogzIo("gatewayLogForwardingLogzIoResource",
enable="string",
gateway_log_forwarding_logz_io_id="string",
logz_io_token="string",
output_format="string",
protocol="string",
pull_interval="string")
const gatewayLogForwardingLogzIoResource = new akeyless.GatewayLogForwardingLogzIo("gatewayLogForwardingLogzIoResource", {
enable: "string",
gatewayLogForwardingLogzIoId: "string",
logzIoToken: "string",
outputFormat: "string",
protocol: "string",
pullInterval: "string",
});
type: akeyless:GatewayLogForwardingLogzIo
properties:
enable: string
gatewayLogForwardingLogzIoId: string
logzIoToken: string
outputFormat: string
protocol: string
pullInterval: string
GatewayLogForwardingLogzIo 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 GatewayLogForwardingLogzIo resource accepts the following input properties:
- Enable string
- Enable Log Forwarding [true/false]
- Gateway
Log stringForwarding Logz Io Id - The ID of this resource.
- Logz
Io stringToken - Logz-io token
- Output
Format string - Logs format [text/json]
- Protocol string
- Logz-io protocol [tcp/https]
- Pull
Interval string - Pull interval in seconds
- Enable string
- Enable Log Forwarding [true/false]
- Gateway
Log stringForwarding Logz Io Id - The ID of this resource.
- Logz
Io stringToken - Logz-io token
- Output
Format string - Logs format [text/json]
- Protocol string
- Logz-io protocol [tcp/https]
- Pull
Interval string - Pull interval in seconds
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Logz Io Id - The ID of this resource.
- logz
Io StringToken - Logz-io token
- output
Format String - Logs format [text/json]
- protocol String
- Logz-io protocol [tcp/https]
- pull
Interval String - Pull interval in seconds
- enable string
- Enable Log Forwarding [true/false]
- gateway
Log stringForwarding Logz Io Id - The ID of this resource.
- logz
Io stringToken - Logz-io token
- output
Format string - Logs format [text/json]
- protocol string
- Logz-io protocol [tcp/https]
- pull
Interval string - Pull interval in seconds
- enable str
- Enable Log Forwarding [true/false]
- gateway_
log_ strforwarding_ logz_ io_ id - The ID of this resource.
- logz_
io_ strtoken - Logz-io token
- output_
format str - Logs format [text/json]
- protocol str
- Logz-io protocol [tcp/https]
- pull_
interval str - Pull interval in seconds
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Logz Io Id - The ID of this resource.
- logz
Io StringToken - Logz-io token
- output
Format String - Logs format [text/json]
- protocol String
- Logz-io protocol [tcp/https]
- pull
Interval String - Pull interval in seconds
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayLogForwardingLogzIo 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 GatewayLogForwardingLogzIo Resource
Get an existing GatewayLogForwardingLogzIo 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?: GatewayLogForwardingLogzIoState, opts?: CustomResourceOptions): GatewayLogForwardingLogzIo
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enable: Optional[str] = None,
gateway_log_forwarding_logz_io_id: Optional[str] = None,
logz_io_token: Optional[str] = None,
output_format: Optional[str] = None,
protocol: Optional[str] = None,
pull_interval: Optional[str] = None) -> GatewayLogForwardingLogzIo
func GetGatewayLogForwardingLogzIo(ctx *Context, name string, id IDInput, state *GatewayLogForwardingLogzIoState, opts ...ResourceOption) (*GatewayLogForwardingLogzIo, error)
public static GatewayLogForwardingLogzIo Get(string name, Input<string> id, GatewayLogForwardingLogzIoState? state, CustomResourceOptions? opts = null)
public static GatewayLogForwardingLogzIo get(String name, Output<String> id, GatewayLogForwardingLogzIoState state, CustomResourceOptions options)
resources: _: type: akeyless:GatewayLogForwardingLogzIo get: id: ${id}
- 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.
- Enable string
- Enable Log Forwarding [true/false]
- Gateway
Log stringForwarding Logz Io Id - The ID of this resource.
- Logz
Io stringToken - Logz-io token
- Output
Format string - Logs format [text/json]
- Protocol string
- Logz-io protocol [tcp/https]
- Pull
Interval string - Pull interval in seconds
- Enable string
- Enable Log Forwarding [true/false]
- Gateway
Log stringForwarding Logz Io Id - The ID of this resource.
- Logz
Io stringToken - Logz-io token
- Output
Format string - Logs format [text/json]
- Protocol string
- Logz-io protocol [tcp/https]
- Pull
Interval string - Pull interval in seconds
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Logz Io Id - The ID of this resource.
- logz
Io StringToken - Logz-io token
- output
Format String - Logs format [text/json]
- protocol String
- Logz-io protocol [tcp/https]
- pull
Interval String - Pull interval in seconds
- enable string
- Enable Log Forwarding [true/false]
- gateway
Log stringForwarding Logz Io Id - The ID of this resource.
- logz
Io stringToken - Logz-io token
- output
Format string - Logs format [text/json]
- protocol string
- Logz-io protocol [tcp/https]
- pull
Interval string - Pull interval in seconds
- enable str
- Enable Log Forwarding [true/false]
- gateway_
log_ strforwarding_ logz_ io_ id - The ID of this resource.
- logz_
io_ strtoken - Logz-io token
- output_
format str - Logs format [text/json]
- protocol str
- Logz-io protocol [tcp/https]
- pull_
interval str - Pull interval in seconds
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Logz Io Id - The ID of this resource.
- logz
Io StringToken - Logz-io token
- output
Format String - Logs format [text/json]
- protocol String
- Logz-io protocol [tcp/https]
- pull
Interval String - Pull interval in seconds
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.