akeyless.GatewayLogForwardingStdout
Explore with Pulumi AI
Log Forwarding config for standard output
Create GatewayLogForwardingStdout Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayLogForwardingStdout(name: string, args?: GatewayLogForwardingStdoutArgs, opts?: CustomResourceOptions);
@overload
def GatewayLogForwardingStdout(resource_name: str,
args: Optional[GatewayLogForwardingStdoutArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayLogForwardingStdout(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable: Optional[str] = None,
gateway_log_forwarding_stdout_id: Optional[str] = None,
output_format: Optional[str] = None,
pull_interval: Optional[str] = None)
func NewGatewayLogForwardingStdout(ctx *Context, name string, args *GatewayLogForwardingStdoutArgs, opts ...ResourceOption) (*GatewayLogForwardingStdout, error)
public GatewayLogForwardingStdout(string name, GatewayLogForwardingStdoutArgs? args = null, CustomResourceOptions? opts = null)
public GatewayLogForwardingStdout(String name, GatewayLogForwardingStdoutArgs args)
public GatewayLogForwardingStdout(String name, GatewayLogForwardingStdoutArgs args, CustomResourceOptions options)
type: akeyless:GatewayLogForwardingStdout
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 GatewayLogForwardingStdoutArgs
- 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 GatewayLogForwardingStdoutArgs
- 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 GatewayLogForwardingStdoutArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayLogForwardingStdoutArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayLogForwardingStdoutArgs
- 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 gatewayLogForwardingStdoutResource = new Akeyless.GatewayLogForwardingStdout("gatewayLogForwardingStdoutResource", new()
{
Enable = "string",
GatewayLogForwardingStdoutId = "string",
OutputFormat = "string",
PullInterval = "string",
});
example, err := akeyless.NewGatewayLogForwardingStdout(ctx, "gatewayLogForwardingStdoutResource", &akeyless.GatewayLogForwardingStdoutArgs{
Enable: pulumi.String("string"),
GatewayLogForwardingStdoutId: pulumi.String("string"),
OutputFormat: pulumi.String("string"),
PullInterval: pulumi.String("string"),
})
var gatewayLogForwardingStdoutResource = new GatewayLogForwardingStdout("gatewayLogForwardingStdoutResource", GatewayLogForwardingStdoutArgs.builder()
.enable("string")
.gatewayLogForwardingStdoutId("string")
.outputFormat("string")
.pullInterval("string")
.build());
gateway_log_forwarding_stdout_resource = akeyless.GatewayLogForwardingStdout("gatewayLogForwardingStdoutResource",
enable="string",
gateway_log_forwarding_stdout_id="string",
output_format="string",
pull_interval="string")
const gatewayLogForwardingStdoutResource = new akeyless.GatewayLogForwardingStdout("gatewayLogForwardingStdoutResource", {
enable: "string",
gatewayLogForwardingStdoutId: "string",
outputFormat: "string",
pullInterval: "string",
});
type: akeyless:GatewayLogForwardingStdout
properties:
enable: string
gatewayLogForwardingStdoutId: string
outputFormat: string
pullInterval: string
GatewayLogForwardingStdout 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 GatewayLogForwardingStdout resource accepts the following input properties:
- Enable string
- Enable Log Forwarding [true/false]
- Gateway
Log stringForwarding Stdout Id - The ID of this resource.
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- Enable string
- Enable Log Forwarding [true/false]
- Gateway
Log stringForwarding Stdout Id - The ID of this resource.
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Stdout Id - The ID of this resource.
- output
Format String - Logs format [text/json]
- pull
Interval String - Pull interval in seconds
- enable string
- Enable Log Forwarding [true/false]
- gateway
Log stringForwarding Stdout Id - The ID of this resource.
- output
Format string - Logs format [text/json]
- pull
Interval string - Pull interval in seconds
- enable str
- Enable Log Forwarding [true/false]
- gateway_
log_ strforwarding_ stdout_ id - The ID of this resource.
- output_
format str - Logs format [text/json]
- pull_
interval str - Pull interval in seconds
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Stdout Id - The ID of this resource.
- output
Format String - Logs format [text/json]
- pull
Interval String - Pull interval in seconds
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayLogForwardingStdout 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 GatewayLogForwardingStdout Resource
Get an existing GatewayLogForwardingStdout 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?: GatewayLogForwardingStdoutState, opts?: CustomResourceOptions): GatewayLogForwardingStdout
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enable: Optional[str] = None,
gateway_log_forwarding_stdout_id: Optional[str] = None,
output_format: Optional[str] = None,
pull_interval: Optional[str] = None) -> GatewayLogForwardingStdout
func GetGatewayLogForwardingStdout(ctx *Context, name string, id IDInput, state *GatewayLogForwardingStdoutState, opts ...ResourceOption) (*GatewayLogForwardingStdout, error)
public static GatewayLogForwardingStdout Get(string name, Input<string> id, GatewayLogForwardingStdoutState? state, CustomResourceOptions? opts = null)
public static GatewayLogForwardingStdout get(String name, Output<String> id, GatewayLogForwardingStdoutState state, CustomResourceOptions options)
resources: _: type: akeyless:GatewayLogForwardingStdout 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 Stdout Id - The ID of this resource.
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- Enable string
- Enable Log Forwarding [true/false]
- Gateway
Log stringForwarding Stdout Id - The ID of this resource.
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Stdout Id - The ID of this resource.
- output
Format String - Logs format [text/json]
- pull
Interval String - Pull interval in seconds
- enable string
- Enable Log Forwarding [true/false]
- gateway
Log stringForwarding Stdout Id - The ID of this resource.
- output
Format string - Logs format [text/json]
- pull
Interval string - Pull interval in seconds
- enable str
- Enable Log Forwarding [true/false]
- gateway_
log_ strforwarding_ stdout_ id - The ID of this resource.
- output_
format str - Logs format [text/json]
- pull_
interval str - Pull interval in seconds
- enable String
- Enable Log Forwarding [true/false]
- gateway
Log StringForwarding Stdout Id - The ID of this resource.
- output
Format String - Logs format [text/json]
- 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.