Class Audit
Example Usage (file audit device)
using Pulumi;
using Vault = Pulumi.Vault;
class MyStack : Stack
{
public MyStack()
{
var test = new Vault.Audit("test", new Vault.AuditArgs
{
Options =
{
{ "file_path", "C:/temp/audit.txt" },
},
Type = "file",
});
}
}
Example Usage (socket audit device)
using Pulumi;
using Vault = Pulumi.Vault;
class MyStack : Stack
{
public MyStack()
{
var test = new Vault.Audit("test", new Vault.AuditArgs
{
Options =
{
{ "address", "127.0.0.1:8000" },
{ "description", "application x socket" },
{ "socket_type", "tcp" },
},
Path = "app_socket",
Type = "socket",
});
}
}
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Vault
Assembly: Pulumi.Vault.dll
Syntax
public class Audit : CustomResource
Constructors
View SourceAudit(String, AuditArgs, CustomResourceOptions)
Create a Audit resource with the given unique name, arguments, and options.
Declaration
public Audit(string name, AuditArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AuditArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDescription
Human-friendly description of the audit device.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Options
Configuration options to pass to the audit device itself.
Declaration
public Output<ImmutableDictionary<string, string>> Options { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Path
The path to mount the audit device. This defaults to the type.
Declaration
public Output<string> Path { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Type
Type of the audit device, such as 'file'.
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, AuditState, CustomResourceOptions)
Get an existing Audit resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Audit Get(string name, Input<string> id, AuditState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| AuditState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Audit |