Teams Account Args
data class TeamsAccountArgs(val accountId: Output<String>? = null, val activityLogEnabled: Output<Boolean>? = null, val antivirus: Output<TeamsAccountAntivirusArgs>? = null, val blockPage: Output<TeamsAccountBlockPageArgs>? = null, val fips: Output<TeamsAccountFipsArgs>? = null, val logging: Output<TeamsAccountLoggingArgs>? = null, val proxy: Output<TeamsAccountProxyArgs>? = null, val tlsDecryptEnabled: Output<Boolean>? = null, val urlBrowserIsolationEnabled: Output<Boolean>? = null) : ConvertibleToJava<TeamsAccountArgs>
Provides a Cloudflare Teams Account resource. The Teams Account resource defines configuration for secure web gateway.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.TeamsAccount;
import com.pulumi.cloudflare.TeamsAccountArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountAntivirusArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountBlockPageArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountFipsArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountLoggingArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeDnsArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeHttpArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeL4Args;
import com.pulumi.cloudflare.inputs.TeamsAccountProxyArgs;
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) {
var example = new TeamsAccount("example", TeamsAccountArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.antivirus(TeamsAccountAntivirusArgs.builder()
.enabledDownloadPhase(true)
.enabledUploadPhase(false)
.failClosed(true)
.build())
.blockPage(TeamsAccountBlockPageArgs.builder()
.backgroundColor("#000000")
.footerText("hello")
.headerText("hello")
.logoPath("https://example.com/logo.jpg")
.build())
.fips(TeamsAccountFipsArgs.builder()
.tls(true)
.build())
.logging(TeamsAccountLoggingArgs.builder()
.redactPii(true)
.settingsByRuleType(TeamsAccountLoggingSettingsByRuleTypeArgs.builder()
.dns(TeamsAccountLoggingSettingsByRuleTypeDnsArgs.builder()
.logAll(false)
.logBlocks(true)
.build())
.http(TeamsAccountLoggingSettingsByRuleTypeHttpArgs.builder()
.logAll(true)
.logBlocks(true)
.build())
.l4(TeamsAccountLoggingSettingsByRuleTypeL4Args.builder()
.logAll(false)
.logBlocks(true)
.build())
.build())
.build())
.proxy(TeamsAccountProxyArgs.builder()
.tcp(true)
.udp(true)
.build())
.tlsDecryptEnabled(true)
.urlBrowserIsolationEnabled(true)
.build());
}
}
Content copied to clipboard
Import
$ pulumi import cloudflare:index/teamsAccount:TeamsAccount example <account_id>
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(accountId: Output<String>? = null, activityLogEnabled: Output<Boolean>? = null, antivirus: Output<TeamsAccountAntivirusArgs>? = null, blockPage: Output<TeamsAccountBlockPageArgs>? = null, fips: Output<TeamsAccountFipsArgs>? = null, logging: Output<TeamsAccountLoggingArgs>? = null, proxy: Output<TeamsAccountProxyArgs>? = null, tlsDecryptEnabled: Output<Boolean>? = null, urlBrowserIsolationEnabled: Output<Boolean>? = null)
Properties
Link copied to clipboard
Whether to enable the activity log.
Link copied to clipboard
Configuration block for antivirus traffic scanning.
Link copied to clipboard
Configuration for a custom block page.
Link copied to clipboard
Configure compliance with Federal Information Processing Standards.
Link copied to clipboard
Link copied to clipboard
Configuration block for specifying which protocols are proxied.
Link copied to clipboard
Indicator that decryption of TLS traffic is enabled.
Link copied to clipboard
Safely browse websites in Browser Isolation through a URL.