Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EffectiveVpcFlowLogsConfig

import type { EffectiveVpcFlowLogsConfig } from "https://googleapis.deno.dev/v1/networkmanagement:v1.ts";

A configuration to generate a response for GetEffectiveVpcFlowLogsConfig request.

interface EffectiveVpcFlowLogsConfig {
aggregationInterval?:
| "AGGREGATION_INTERVAL_UNSPECIFIED"
| "INTERVAL_5_SEC"
| "INTERVAL_30_SEC"
| "INTERVAL_1_MIN"
| "INTERVAL_5_MIN"
| "INTERVAL_10_MIN"
| "INTERVAL_15_MIN";
crossProjectMetadata?: "CROSS_PROJECT_METADATA_UNSPECIFIED" | "CROSS_PROJECT_METADATA_ENABLED" | "CROSS_PROJECT_METADATA_DISABLED";
filterExpr?: string;
flowSampling?: number;
interconnectAttachment?: string;
metadata?:
| "METADATA_UNSPECIFIED"
| "INCLUDE_ALL_METADATA"
| "EXCLUDE_ALL_METADATA"
| "CUSTOM_METADATA";
metadataFields?: string[];
name?: string;
network?: string;
scope?:
| "SCOPE_UNSPECIFIED"
| "SUBNET"
| "COMPUTE_API_SUBNET"
| "NETWORK"
| "VPN_TUNNEL"
| "INTERCONNECT_ATTACHMENT"
| "ORGANIZATION";
state?: "STATE_UNSPECIFIED" | "ENABLED" | "DISABLED";
subnet?: string;
vpnTunnel?: string;
}

§Properties

§
aggregationInterval?: "AGGREGATION_INTERVAL_UNSPECIFIED" | "INTERVAL_5_SEC" | "INTERVAL_30_SEC" | "INTERVAL_1_MIN" | "INTERVAL_5_MIN" | "INTERVAL_10_MIN" | "INTERVAL_15_MIN"
[src]

The aggregation interval for the logs. Default value is INTERVAL_5_SEC.

§
crossProjectMetadata?: "CROSS_PROJECT_METADATA_UNSPECIFIED" | "CROSS_PROJECT_METADATA_ENABLED" | "CROSS_PROJECT_METADATA_DISABLED"
[src]

Determines whether to include cross project annotations in the logs. This field is available only for organization configurations. If not specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.

§
filterExpr?: string
[src]

Export filter used to define which VPC Flow Logs should be logged.

§
flowSampling?: number
[src]

The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs where 1.0 means all collected logs are reported. Setting the sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field instead. Default value is 1.0.

§
interconnectAttachment?: string
[src]

Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}

§
metadata?: "METADATA_UNSPECIFIED" | "INCLUDE_ALL_METADATA" | "EXCLUDE_ALL_METADATA" | "CUSTOM_METADATA"
[src]

Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.

§
metadataFields?: string[]
[src]

Custom metadata fields to include in the reported VPC flow logs. Can only be specified if "metadata" was set to CUSTOM_METADATA.

§
name?: string
[src]

Unique name of the configuration. The name can have one of the following forms: - For project-level configurations: projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}

  • For organization-level configurations: organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
  • For a Compute config, the name will be the path of the subnet: projects/{project_id}/regions/{region}/subnetworks/{subnet_id}
§
network?: string
[src]

Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name}

§
scope?: "SCOPE_UNSPECIFIED" | "SUBNET" | "COMPUTE_API_SUBNET" | "NETWORK" | "VPN_TUNNEL" | "INTERCONNECT_ATTACHMENT" | "ORGANIZATION"
[src]

Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..).

§
state?: "STATE_UNSPECIFIED" | "ENABLED" | "DISABLED"
[src]

The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Setting state=DISABLED will pause the log generation for this config.

§
subnet?: string
[src]

Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name}

§
vpnTunnel?: string
[src]

Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}