1. Packages
  2. Palo Alto Networks Cloud NGFW For AWS Provider
  3. API Docs
  4. getNgfwLogProfile
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi

cloudngfwaws.getNgfwLogProfile

Explore with Pulumi AI

cloudngfwaws logo
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi

    Data source for retrieving log profile information.

    Admin Permission Type

    • Firewall

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudngfwaws from "@pulumi/cloudngfwaws";
    
    const example = cloudngfwaws.getNgfwLogProfile({
        ngfw: "example-instance",
        accountId: "123456789",
    });
    
    import pulumi
    import pulumi_cloudngfwaws as cloudngfwaws
    
    example = cloudngfwaws.get_ngfw_log_profile(ngfw="example-instance",
        account_id="123456789")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudngfwaws/sdk/go/cloudngfwaws"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudngfwaws.LookupNgfwLogProfile(ctx, &cloudngfwaws.LookupNgfwLogProfileArgs{
    			Ngfw:      "example-instance",
    			AccountId: "123456789",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CloudNgfwAws = Pulumi.CloudNgfwAws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = CloudNgfwAws.GetNgfwLogProfile.Invoke(new()
        {
            Ngfw = "example-instance",
            AccountId = "123456789",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudngfwaws.CloudngfwawsFunctions;
    import com.pulumi.cloudngfwaws.inputs.GetNgfwLogProfileArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = CloudngfwawsFunctions.getNgfwLogProfile(GetNgfwLogProfileArgs.builder()
                .ngfw("example-instance")
                .accountId("123456789")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: cloudngfwaws:getNgfwLogProfile
          Arguments:
            ngfw: example-instance
            accountId: '123456789'
    

    Using getNgfwLogProfile

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNgfwLogProfile(args: GetNgfwLogProfileArgs, opts?: InvokeOptions): Promise<GetNgfwLogProfileResult>
    function getNgfwLogProfileOutput(args: GetNgfwLogProfileOutputArgs, opts?: InvokeOptions): Output<GetNgfwLogProfileResult>
    def get_ngfw_log_profile(account_id: Optional[str] = None,
                             ngfw: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetNgfwLogProfileResult
    def get_ngfw_log_profile_output(account_id: Optional[pulumi.Input[str]] = None,
                             ngfw: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetNgfwLogProfileResult]
    func LookupNgfwLogProfile(ctx *Context, args *LookupNgfwLogProfileArgs, opts ...InvokeOption) (*LookupNgfwLogProfileResult, error)
    func LookupNgfwLogProfileOutput(ctx *Context, args *LookupNgfwLogProfileOutputArgs, opts ...InvokeOption) LookupNgfwLogProfileResultOutput

    > Note: This function is named LookupNgfwLogProfile in the Go SDK.

    public static class GetNgfwLogProfile 
    {
        public static Task<GetNgfwLogProfileResult> InvokeAsync(GetNgfwLogProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetNgfwLogProfileResult> Invoke(GetNgfwLogProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNgfwLogProfileResult> getNgfwLogProfile(GetNgfwLogProfileArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: cloudngfwaws:index/getNgfwLogProfile:getNgfwLogProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    The unique ID of the account.
    Ngfw string
    The name of the NGFW.
    AccountId string
    The unique ID of the account.
    Ngfw string
    The name of the NGFW.
    accountId String
    The unique ID of the account.
    ngfw String
    The name of the NGFW.
    accountId string
    The unique ID of the account.
    ngfw string
    The name of the NGFW.
    account_id str
    The unique ID of the account.
    ngfw str
    The name of the NGFW.
    accountId String
    The unique ID of the account.
    ngfw String
    The name of the NGFW.

    getNgfwLogProfile Result

    The following output properties are available:

    AccountId string
    The unique ID of the account.
    AdvancedThreatLog bool
    Enable advanced threat logging.
    CloudWatchMetricNamespace string
    The CloudWatch metric namespace.
    CloudwatchMetricFields List<string>
    Cloudwatch metric fields.
    Id string
    The provider-assigned unique ID for this managed resource.
    LogDestinations List<Pulumi.CloudNgfwAws.Outputs.GetNgfwLogProfileLogDestination>
    List of log destinations.
    Ngfw string
    The name of the NGFW.
    AccountId string
    The unique ID of the account.
    AdvancedThreatLog bool
    Enable advanced threat logging.
    CloudWatchMetricNamespace string
    The CloudWatch metric namespace.
    CloudwatchMetricFields []string
    Cloudwatch metric fields.
    Id string
    The provider-assigned unique ID for this managed resource.
    LogDestinations []GetNgfwLogProfileLogDestination
    List of log destinations.
    Ngfw string
    The name of the NGFW.
    accountId String
    The unique ID of the account.
    advancedThreatLog Boolean
    Enable advanced threat logging.
    cloudWatchMetricNamespace String
    The CloudWatch metric namespace.
    cloudwatchMetricFields List<String>
    Cloudwatch metric fields.
    id String
    The provider-assigned unique ID for this managed resource.
    logDestinations List<GetNgfwLogProfileLogDestination>
    List of log destinations.
    ngfw String
    The name of the NGFW.
    accountId string
    The unique ID of the account.
    advancedThreatLog boolean
    Enable advanced threat logging.
    cloudWatchMetricNamespace string
    The CloudWatch metric namespace.
    cloudwatchMetricFields string[]
    Cloudwatch metric fields.
    id string
    The provider-assigned unique ID for this managed resource.
    logDestinations GetNgfwLogProfileLogDestination[]
    List of log destinations.
    ngfw string
    The name of the NGFW.
    account_id str
    The unique ID of the account.
    advanced_threat_log bool
    Enable advanced threat logging.
    cloud_watch_metric_namespace str
    The CloudWatch metric namespace.
    cloudwatch_metric_fields Sequence[str]
    Cloudwatch metric fields.
    id str
    The provider-assigned unique ID for this managed resource.
    log_destinations Sequence[GetNgfwLogProfileLogDestination]
    List of log destinations.
    ngfw str
    The name of the NGFW.
    accountId String
    The unique ID of the account.
    advancedThreatLog Boolean
    Enable advanced threat logging.
    cloudWatchMetricNamespace String
    The CloudWatch metric namespace.
    cloudwatchMetricFields List<String>
    Cloudwatch metric fields.
    id String
    The provider-assigned unique ID for this managed resource.
    logDestinations List<Property Map>
    List of log destinations.
    ngfw String
    The name of the NGFW.

    Supporting Types

    GetNgfwLogProfileLogDestination

    Destination string
    The log destination details.
    DestinationType string
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    LogType string
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.
    Destination string
    The log destination details.
    DestinationType string
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    LogType string
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.
    destination String
    The log destination details.
    destinationType String
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    logType String
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.
    destination string
    The log destination details.
    destinationType string
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    logType string
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.
    destination str
    The log destination details.
    destination_type str
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    log_type str
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.
    destination String
    The log destination details.
    destinationType String
    The log destination type. Valid values are S3, CloudWatchLogs, or KinesisDataFirehose.
    logType String
    The type of logs. Valid values are TRAFFIC, THREAT, or DECRYPTION.

    Package Details

    Repository
    cloudngfwaws pulumi/pulumi-cloudngfwaws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudngfwaws Terraform Provider.
    cloudngfwaws logo
    Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi