1. Packages
  2. Dynatrace
  3. API Docs
  4. AuditLog
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

dynatrace.AuditLog

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

    Create AuditLog Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AuditLog(name: string, args: AuditLogArgs, opts?: CustomResourceOptions);
    @overload
    def AuditLog(resource_name: str,
                 args: AuditLogArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def AuditLog(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 enabled: Optional[bool] = None)
    func NewAuditLog(ctx *Context, name string, args AuditLogArgs, opts ...ResourceOption) (*AuditLog, error)
    public AuditLog(string name, AuditLogArgs args, CustomResourceOptions? opts = null)
    public AuditLog(String name, AuditLogArgs args)
    public AuditLog(String name, AuditLogArgs args, CustomResourceOptions options)
    
    type: dynatrace:AuditLog
    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 AuditLogArgs
    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 AuditLogArgs
    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 AuditLogArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AuditLogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AuditLogArgs
    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 auditLogResource = new Dynatrace.AuditLog("auditLogResource", new()
    {
        Enabled = false,
    });
    
    example, err := dynatrace.NewAuditLog(ctx, "auditLogResource", &dynatrace.AuditLogArgs{
    	Enabled: pulumi.Bool(false),
    })
    
    var auditLogResource = new AuditLog("auditLogResource", AuditLogArgs.builder()
        .enabled(false)
        .build());
    
    audit_log_resource = dynatrace.AuditLog("auditLogResource", enabled=False)
    
    const auditLogResource = new dynatrace.AuditLog("auditLogResource", {enabled: false});
    
    type: dynatrace:AuditLog
    properties:
        enabled: false
    

    AuditLog Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AuditLog resource accepts the following input properties:

    Enabled bool
    This setting is enabled (true) or disabled (false)
    Enabled bool
    This setting is enabled (true) or disabled (false)
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    enabled boolean
    This setting is enabled (true) or disabled (false)
    enabled bool
    This setting is enabled (true) or disabled (false)
    enabled Boolean
    This setting is enabled (true) or disabled (false)

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AuditLog 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 AuditLog Resource

    Get an existing AuditLog 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?: AuditLogState, opts?: CustomResourceOptions): AuditLog
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[bool] = None) -> AuditLog
    func GetAuditLog(ctx *Context, name string, id IDInput, state *AuditLogState, opts ...ResourceOption) (*AuditLog, error)
    public static AuditLog Get(string name, Input<string> id, AuditLogState? state, CustomResourceOptions? opts = null)
    public static AuditLog get(String name, Output<String> id, AuditLogState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Enabled bool
    This setting is enabled (true) or disabled (false)
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    enabled boolean
    This setting is enabled (true) or disabled (false)
    enabled bool
    This setting is enabled (true) or disabled (false)
    enabled Boolean
    This setting is enabled (true) or disabled (false)

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse