1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. TeamsAccount
Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi

cloudflare.TeamsAccount

Explore with Pulumi AI

cloudflare logo
Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi

    Provides a Cloudflare Teams Account resource. The Teams Account resource defines configuration for secure web gateway.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const example = new cloudflare.TeamsAccount("example", {
        accountId: "f037e56e89293a057740de681ac9abbe",
        tlsDecryptEnabled: true,
        protocolDetectionEnabled: true,
        blockPage: {
            footerText: "hello",
            headerText: "hello",
            logoPath: "https://example.com/logo.jpg",
            backgroundColor: "#000000",
        },
        bodyScanning: {
            inspectionMode: "deep",
        },
        antivirus: {
            enabledDownloadPhase: true,
            enabledUploadPhase: false,
            failClosed: true,
            notificationSettings: {
                enabled: true,
                message: "you are blocked",
                supportUrl: "https://example.com/blocked",
            },
        },
        fips: {
            tls: true,
        },
        proxy: {
            tcp: true,
            udp: true,
            rootCa: true,
            virtualIp: false,
            disableForTime: 3600,
        },
        urlBrowserIsolationEnabled: true,
        logging: {
            redactPii: true,
            settingsByRuleType: {
                dns: {
                    logAll: false,
                    logBlocks: true,
                },
                http: {
                    logAll: true,
                    logBlocks: true,
                },
                l4: {
                    logAll: false,
                    logBlocks: true,
                },
            },
        },
        extendedEmailMatching: {
            enabled: true,
        },
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example = cloudflare.TeamsAccount("example",
        account_id="f037e56e89293a057740de681ac9abbe",
        tls_decrypt_enabled=True,
        protocol_detection_enabled=True,
        block_page={
            "footer_text": "hello",
            "header_text": "hello",
            "logo_path": "https://example.com/logo.jpg",
            "background_color": "#000000",
        },
        body_scanning={
            "inspection_mode": "deep",
        },
        antivirus={
            "enabled_download_phase": True,
            "enabled_upload_phase": False,
            "fail_closed": True,
            "notification_settings": {
                "enabled": True,
                "message": "you are blocked",
                "support_url": "https://example.com/blocked",
            },
        },
        fips={
            "tls": True,
        },
        proxy={
            "tcp": True,
            "udp": True,
            "root_ca": True,
            "virtual_ip": False,
            "disable_for_time": 3600,
        },
        url_browser_isolation_enabled=True,
        logging={
            "redact_pii": True,
            "settings_by_rule_type": {
                "dns": {
                    "log_all": False,
                    "log_blocks": True,
                },
                "http": {
                    "log_all": True,
                    "log_blocks": True,
                },
                "l4": {
                    "log_all": False,
                    "log_blocks": True,
                },
            },
        },
        extended_email_matching={
            "enabled": True,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.NewTeamsAccount(ctx, "example", &cloudflare.TeamsAccountArgs{
    			AccountId:                pulumi.String("f037e56e89293a057740de681ac9abbe"),
    			TlsDecryptEnabled:        pulumi.Bool(true),
    			ProtocolDetectionEnabled: pulumi.Bool(true),
    			BlockPage: &cloudflare.TeamsAccountBlockPageArgs{
    				FooterText:      pulumi.String("hello"),
    				HeaderText:      pulumi.String("hello"),
    				LogoPath:        pulumi.String("https://example.com/logo.jpg"),
    				BackgroundColor: pulumi.String("#000000"),
    			},
    			BodyScanning: &cloudflare.TeamsAccountBodyScanningArgs{
    				InspectionMode: pulumi.String("deep"),
    			},
    			Antivirus: &cloudflare.TeamsAccountAntivirusArgs{
    				EnabledDownloadPhase: pulumi.Bool(true),
    				EnabledUploadPhase:   pulumi.Bool(false),
    				FailClosed:           pulumi.Bool(true),
    				NotificationSettings: &cloudflare.TeamsAccountAntivirusNotificationSettingsArgs{
    					Enabled:    pulumi.Bool(true),
    					Message:    pulumi.String("you are blocked"),
    					SupportUrl: pulumi.String("https://example.com/blocked"),
    				},
    			},
    			Fips: &cloudflare.TeamsAccountFipsArgs{
    				Tls: pulumi.Bool(true),
    			},
    			Proxy: &cloudflare.TeamsAccountProxyArgs{
    				Tcp:            pulumi.Bool(true),
    				Udp:            pulumi.Bool(true),
    				RootCa:         pulumi.Bool(true),
    				VirtualIp:      pulumi.Bool(false),
    				DisableForTime: pulumi.Int(3600),
    			},
    			UrlBrowserIsolationEnabled: pulumi.Bool(true),
    			Logging: &cloudflare.TeamsAccountLoggingArgs{
    				RedactPii: pulumi.Bool(true),
    				SettingsByRuleType: &cloudflare.TeamsAccountLoggingSettingsByRuleTypeArgs{
    					Dns: &cloudflare.TeamsAccountLoggingSettingsByRuleTypeDnsArgs{
    						LogAll:    pulumi.Bool(false),
    						LogBlocks: pulumi.Bool(true),
    					},
    					Http: &cloudflare.TeamsAccountLoggingSettingsByRuleTypeHttpArgs{
    						LogAll:    pulumi.Bool(true),
    						LogBlocks: pulumi.Bool(true),
    					},
    					L4: &cloudflare.TeamsAccountLoggingSettingsByRuleTypeL4Args{
    						LogAll:    pulumi.Bool(false),
    						LogBlocks: pulumi.Bool(true),
    					},
    				},
    			},
    			ExtendedEmailMatching: &cloudflare.TeamsAccountExtendedEmailMatchingArgs{
    				Enabled: pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Cloudflare.TeamsAccount("example", new()
        {
            AccountId = "f037e56e89293a057740de681ac9abbe",
            TlsDecryptEnabled = true,
            ProtocolDetectionEnabled = true,
            BlockPage = new Cloudflare.Inputs.TeamsAccountBlockPageArgs
            {
                FooterText = "hello",
                HeaderText = "hello",
                LogoPath = "https://example.com/logo.jpg",
                BackgroundColor = "#000000",
            },
            BodyScanning = new Cloudflare.Inputs.TeamsAccountBodyScanningArgs
            {
                InspectionMode = "deep",
            },
            Antivirus = new Cloudflare.Inputs.TeamsAccountAntivirusArgs
            {
                EnabledDownloadPhase = true,
                EnabledUploadPhase = false,
                FailClosed = true,
                NotificationSettings = new Cloudflare.Inputs.TeamsAccountAntivirusNotificationSettingsArgs
                {
                    Enabled = true,
                    Message = "you are blocked",
                    SupportUrl = "https://example.com/blocked",
                },
            },
            Fips = new Cloudflare.Inputs.TeamsAccountFipsArgs
            {
                Tls = true,
            },
            Proxy = new Cloudflare.Inputs.TeamsAccountProxyArgs
            {
                Tcp = true,
                Udp = true,
                RootCa = true,
                VirtualIp = false,
                DisableForTime = 3600,
            },
            UrlBrowserIsolationEnabled = true,
            Logging = new Cloudflare.Inputs.TeamsAccountLoggingArgs
            {
                RedactPii = true,
                SettingsByRuleType = new Cloudflare.Inputs.TeamsAccountLoggingSettingsByRuleTypeArgs
                {
                    Dns = new Cloudflare.Inputs.TeamsAccountLoggingSettingsByRuleTypeDnsArgs
                    {
                        LogAll = false,
                        LogBlocks = true,
                    },
                    Http = new Cloudflare.Inputs.TeamsAccountLoggingSettingsByRuleTypeHttpArgs
                    {
                        LogAll = true,
                        LogBlocks = true,
                    },
                    L4 = new Cloudflare.Inputs.TeamsAccountLoggingSettingsByRuleTypeL4Args
                    {
                        LogAll = false,
                        LogBlocks = true,
                    },
                },
            },
            ExtendedEmailMatching = new Cloudflare.Inputs.TeamsAccountExtendedEmailMatchingArgs
            {
                Enabled = true,
            },
        });
    
    });
    
    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.TeamsAccountBlockPageArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountBodyScanningArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountAntivirusArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountAntivirusNotificationSettingsArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountFipsArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountProxyArgs;
    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.TeamsAccountExtendedEmailMatchingArgs;
    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")
                .tlsDecryptEnabled(true)
                .protocolDetectionEnabled(true)
                .blockPage(TeamsAccountBlockPageArgs.builder()
                    .footerText("hello")
                    .headerText("hello")
                    .logoPath("https://example.com/logo.jpg")
                    .backgroundColor("#000000")
                    .build())
                .bodyScanning(TeamsAccountBodyScanningArgs.builder()
                    .inspectionMode("deep")
                    .build())
                .antivirus(TeamsAccountAntivirusArgs.builder()
                    .enabledDownloadPhase(true)
                    .enabledUploadPhase(false)
                    .failClosed(true)
                    .notificationSettings(TeamsAccountAntivirusNotificationSettingsArgs.builder()
                        .enabled(true)
                        .message("you are blocked")
                        .supportUrl("https://example.com/blocked")
                        .build())
                    .build())
                .fips(TeamsAccountFipsArgs.builder()
                    .tls(true)
                    .build())
                .proxy(TeamsAccountProxyArgs.builder()
                    .tcp(true)
                    .udp(true)
                    .rootCa(true)
                    .virtualIp(false)
                    .disableForTime(3600)
                    .build())
                .urlBrowserIsolationEnabled(true)
                .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())
                .extendedEmailMatching(TeamsAccountExtendedEmailMatchingArgs.builder()
                    .enabled(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: cloudflare:TeamsAccount
        properties:
          accountId: f037e56e89293a057740de681ac9abbe
          tlsDecryptEnabled: true
          protocolDetectionEnabled: true
          blockPage:
            footerText: hello
            headerText: hello
            logoPath: https://example.com/logo.jpg
            backgroundColor: '#000000'
          bodyScanning:
            inspectionMode: deep
          antivirus:
            enabledDownloadPhase: true
            enabledUploadPhase: false
            failClosed: true
            notificationSettings:
              enabled: true
              message: you are blocked
              supportUrl: https://example.com/blocked
          fips:
            tls: true
          proxy:
            tcp: true
            udp: true
            rootCa: true
            virtualIp: false
            disableForTime: 3600
          urlBrowserIsolationEnabled: true
          logging:
            redactPii: true
            settingsByRuleType:
              dns:
                logAll: false
                logBlocks: true
              http:
                logAll: true
                logBlocks: true
              l4:
                logAll: false
                logBlocks: true
          extendedEmailMatching:
            enabled: true
    

    Create TeamsAccount Resource

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

    Constructor syntax

    new TeamsAccount(name: string, args: TeamsAccountArgs, opts?: CustomResourceOptions);
    @overload
    def TeamsAccount(resource_name: str,
                     args: TeamsAccountArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeamsAccount(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     account_id: Optional[str] = None,
                     activity_log_enabled: Optional[bool] = None,
                     antivirus: Optional[TeamsAccountAntivirusArgs] = None,
                     block_page: Optional[TeamsAccountBlockPageArgs] = None,
                     body_scanning: Optional[TeamsAccountBodyScanningArgs] = None,
                     certificate: Optional[TeamsAccountCertificateArgs] = None,
                     custom_certificate: Optional[TeamsAccountCustomCertificateArgs] = None,
                     extended_email_matching: Optional[TeamsAccountExtendedEmailMatchingArgs] = None,
                     fips: Optional[TeamsAccountFipsArgs] = None,
                     logging: Optional[TeamsAccountLoggingArgs] = None,
                     non_identity_browser_isolation_enabled: Optional[bool] = None,
                     payload_log: Optional[TeamsAccountPayloadLogArgs] = None,
                     protocol_detection_enabled: Optional[bool] = None,
                     proxy: Optional[TeamsAccountProxyArgs] = None,
                     ssh_session_log: Optional[TeamsAccountSshSessionLogArgs] = None,
                     tls_decrypt_enabled: Optional[bool] = None,
                     url_browser_isolation_enabled: Optional[bool] = None)
    func NewTeamsAccount(ctx *Context, name string, args TeamsAccountArgs, opts ...ResourceOption) (*TeamsAccount, error)
    public TeamsAccount(string name, TeamsAccountArgs args, CustomResourceOptions? opts = null)
    public TeamsAccount(String name, TeamsAccountArgs args)
    public TeamsAccount(String name, TeamsAccountArgs args, CustomResourceOptions options)
    
    type: cloudflare:TeamsAccount
    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 TeamsAccountArgs
    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 TeamsAccountArgs
    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 TeamsAccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeamsAccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeamsAccountArgs
    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 teamsAccountResource = new Cloudflare.TeamsAccount("teamsAccountResource", new()
    {
        AccountId = "string",
        ActivityLogEnabled = false,
        Antivirus = new Cloudflare.Inputs.TeamsAccountAntivirusArgs
        {
            EnabledDownloadPhase = false,
            EnabledUploadPhase = false,
            FailClosed = false,
            NotificationSettings = new Cloudflare.Inputs.TeamsAccountAntivirusNotificationSettingsArgs
            {
                Enabled = false,
                Message = "string",
                SupportUrl = "string",
            },
        },
        BlockPage = new Cloudflare.Inputs.TeamsAccountBlockPageArgs
        {
            BackgroundColor = "string",
            Enabled = false,
            FooterText = "string",
            HeaderText = "string",
            LogoPath = "string",
            MailtoAddress = "string",
            MailtoSubject = "string",
            Name = "string",
        },
        BodyScanning = new Cloudflare.Inputs.TeamsAccountBodyScanningArgs
        {
            InspectionMode = "string",
        },
        Certificate = new Cloudflare.Inputs.TeamsAccountCertificateArgs
        {
            Id = "string",
        },
        ExtendedEmailMatching = new Cloudflare.Inputs.TeamsAccountExtendedEmailMatchingArgs
        {
            Enabled = false,
        },
        Fips = new Cloudflare.Inputs.TeamsAccountFipsArgs
        {
            Tls = false,
        },
        Logging = new Cloudflare.Inputs.TeamsAccountLoggingArgs
        {
            RedactPii = false,
            SettingsByRuleType = new Cloudflare.Inputs.TeamsAccountLoggingSettingsByRuleTypeArgs
            {
                Dns = new Cloudflare.Inputs.TeamsAccountLoggingSettingsByRuleTypeDnsArgs
                {
                    LogAll = false,
                    LogBlocks = false,
                },
                Http = new Cloudflare.Inputs.TeamsAccountLoggingSettingsByRuleTypeHttpArgs
                {
                    LogAll = false,
                    LogBlocks = false,
                },
                L4 = new Cloudflare.Inputs.TeamsAccountLoggingSettingsByRuleTypeL4Args
                {
                    LogAll = false,
                    LogBlocks = false,
                },
            },
        },
        NonIdentityBrowserIsolationEnabled = false,
        PayloadLog = new Cloudflare.Inputs.TeamsAccountPayloadLogArgs
        {
            PublicKey = "string",
        },
        ProtocolDetectionEnabled = false,
        Proxy = new Cloudflare.Inputs.TeamsAccountProxyArgs
        {
            DisableForTime = 0,
            RootCa = false,
            Tcp = false,
            Udp = false,
            VirtualIp = false,
        },
        SshSessionLog = new Cloudflare.Inputs.TeamsAccountSshSessionLogArgs
        {
            PublicKey = "string",
        },
        TlsDecryptEnabled = false,
        UrlBrowserIsolationEnabled = false,
    });
    
    example, err := cloudflare.NewTeamsAccount(ctx, "teamsAccountResource", &cloudflare.TeamsAccountArgs{
    	AccountId:          pulumi.String("string"),
    	ActivityLogEnabled: pulumi.Bool(false),
    	Antivirus: &cloudflare.TeamsAccountAntivirusArgs{
    		EnabledDownloadPhase: pulumi.Bool(false),
    		EnabledUploadPhase:   pulumi.Bool(false),
    		FailClosed:           pulumi.Bool(false),
    		NotificationSettings: &cloudflare.TeamsAccountAntivirusNotificationSettingsArgs{
    			Enabled:    pulumi.Bool(false),
    			Message:    pulumi.String("string"),
    			SupportUrl: pulumi.String("string"),
    		},
    	},
    	BlockPage: &cloudflare.TeamsAccountBlockPageArgs{
    		BackgroundColor: pulumi.String("string"),
    		Enabled:         pulumi.Bool(false),
    		FooterText:      pulumi.String("string"),
    		HeaderText:      pulumi.String("string"),
    		LogoPath:        pulumi.String("string"),
    		MailtoAddress:   pulumi.String("string"),
    		MailtoSubject:   pulumi.String("string"),
    		Name:            pulumi.String("string"),
    	},
    	BodyScanning: &cloudflare.TeamsAccountBodyScanningArgs{
    		InspectionMode: pulumi.String("string"),
    	},
    	Certificate: &cloudflare.TeamsAccountCertificateArgs{
    		Id: pulumi.String("string"),
    	},
    	ExtendedEmailMatching: &cloudflare.TeamsAccountExtendedEmailMatchingArgs{
    		Enabled: pulumi.Bool(false),
    	},
    	Fips: &cloudflare.TeamsAccountFipsArgs{
    		Tls: pulumi.Bool(false),
    	},
    	Logging: &cloudflare.TeamsAccountLoggingArgs{
    		RedactPii: pulumi.Bool(false),
    		SettingsByRuleType: &cloudflare.TeamsAccountLoggingSettingsByRuleTypeArgs{
    			Dns: &cloudflare.TeamsAccountLoggingSettingsByRuleTypeDnsArgs{
    				LogAll:    pulumi.Bool(false),
    				LogBlocks: pulumi.Bool(false),
    			},
    			Http: &cloudflare.TeamsAccountLoggingSettingsByRuleTypeHttpArgs{
    				LogAll:    pulumi.Bool(false),
    				LogBlocks: pulumi.Bool(false),
    			},
    			L4: &cloudflare.TeamsAccountLoggingSettingsByRuleTypeL4Args{
    				LogAll:    pulumi.Bool(false),
    				LogBlocks: pulumi.Bool(false),
    			},
    		},
    	},
    	NonIdentityBrowserIsolationEnabled: pulumi.Bool(false),
    	PayloadLog: &cloudflare.TeamsAccountPayloadLogArgs{
    		PublicKey: pulumi.String("string"),
    	},
    	ProtocolDetectionEnabled: pulumi.Bool(false),
    	Proxy: &cloudflare.TeamsAccountProxyArgs{
    		DisableForTime: pulumi.Int(0),
    		RootCa:         pulumi.Bool(false),
    		Tcp:            pulumi.Bool(false),
    		Udp:            pulumi.Bool(false),
    		VirtualIp:      pulumi.Bool(false),
    	},
    	SshSessionLog: &cloudflare.TeamsAccountSshSessionLogArgs{
    		PublicKey: pulumi.String("string"),
    	},
    	TlsDecryptEnabled:          pulumi.Bool(false),
    	UrlBrowserIsolationEnabled: pulumi.Bool(false),
    })
    
    var teamsAccountResource = new TeamsAccount("teamsAccountResource", TeamsAccountArgs.builder()
        .accountId("string")
        .activityLogEnabled(false)
        .antivirus(TeamsAccountAntivirusArgs.builder()
            .enabledDownloadPhase(false)
            .enabledUploadPhase(false)
            .failClosed(false)
            .notificationSettings(TeamsAccountAntivirusNotificationSettingsArgs.builder()
                .enabled(false)
                .message("string")
                .supportUrl("string")
                .build())
            .build())
        .blockPage(TeamsAccountBlockPageArgs.builder()
            .backgroundColor("string")
            .enabled(false)
            .footerText("string")
            .headerText("string")
            .logoPath("string")
            .mailtoAddress("string")
            .mailtoSubject("string")
            .name("string")
            .build())
        .bodyScanning(TeamsAccountBodyScanningArgs.builder()
            .inspectionMode("string")
            .build())
        .certificate(TeamsAccountCertificateArgs.builder()
            .id("string")
            .build())
        .extendedEmailMatching(TeamsAccountExtendedEmailMatchingArgs.builder()
            .enabled(false)
            .build())
        .fips(TeamsAccountFipsArgs.builder()
            .tls(false)
            .build())
        .logging(TeamsAccountLoggingArgs.builder()
            .redactPii(false)
            .settingsByRuleType(TeamsAccountLoggingSettingsByRuleTypeArgs.builder()
                .dns(TeamsAccountLoggingSettingsByRuleTypeDnsArgs.builder()
                    .logAll(false)
                    .logBlocks(false)
                    .build())
                .http(TeamsAccountLoggingSettingsByRuleTypeHttpArgs.builder()
                    .logAll(false)
                    .logBlocks(false)
                    .build())
                .l4(TeamsAccountLoggingSettingsByRuleTypeL4Args.builder()
                    .logAll(false)
                    .logBlocks(false)
                    .build())
                .build())
            .build())
        .nonIdentityBrowserIsolationEnabled(false)
        .payloadLog(TeamsAccountPayloadLogArgs.builder()
            .publicKey("string")
            .build())
        .protocolDetectionEnabled(false)
        .proxy(TeamsAccountProxyArgs.builder()
            .disableForTime(0)
            .rootCa(false)
            .tcp(false)
            .udp(false)
            .virtualIp(false)
            .build())
        .sshSessionLog(TeamsAccountSshSessionLogArgs.builder()
            .publicKey("string")
            .build())
        .tlsDecryptEnabled(false)
        .urlBrowserIsolationEnabled(false)
        .build());
    
    teams_account_resource = cloudflare.TeamsAccount("teamsAccountResource",
        account_id="string",
        activity_log_enabled=False,
        antivirus={
            "enabled_download_phase": False,
            "enabled_upload_phase": False,
            "fail_closed": False,
            "notification_settings": {
                "enabled": False,
                "message": "string",
                "support_url": "string",
            },
        },
        block_page={
            "background_color": "string",
            "enabled": False,
            "footer_text": "string",
            "header_text": "string",
            "logo_path": "string",
            "mailto_address": "string",
            "mailto_subject": "string",
            "name": "string",
        },
        body_scanning={
            "inspection_mode": "string",
        },
        certificate={
            "id": "string",
        },
        extended_email_matching={
            "enabled": False,
        },
        fips={
            "tls": False,
        },
        logging={
            "redact_pii": False,
            "settings_by_rule_type": {
                "dns": {
                    "log_all": False,
                    "log_blocks": False,
                },
                "http": {
                    "log_all": False,
                    "log_blocks": False,
                },
                "l4": {
                    "log_all": False,
                    "log_blocks": False,
                },
            },
        },
        non_identity_browser_isolation_enabled=False,
        payload_log={
            "public_key": "string",
        },
        protocol_detection_enabled=False,
        proxy={
            "disable_for_time": 0,
            "root_ca": False,
            "tcp": False,
            "udp": False,
            "virtual_ip": False,
        },
        ssh_session_log={
            "public_key": "string",
        },
        tls_decrypt_enabled=False,
        url_browser_isolation_enabled=False)
    
    const teamsAccountResource = new cloudflare.TeamsAccount("teamsAccountResource", {
        accountId: "string",
        activityLogEnabled: false,
        antivirus: {
            enabledDownloadPhase: false,
            enabledUploadPhase: false,
            failClosed: false,
            notificationSettings: {
                enabled: false,
                message: "string",
                supportUrl: "string",
            },
        },
        blockPage: {
            backgroundColor: "string",
            enabled: false,
            footerText: "string",
            headerText: "string",
            logoPath: "string",
            mailtoAddress: "string",
            mailtoSubject: "string",
            name: "string",
        },
        bodyScanning: {
            inspectionMode: "string",
        },
        certificate: {
            id: "string",
        },
        extendedEmailMatching: {
            enabled: false,
        },
        fips: {
            tls: false,
        },
        logging: {
            redactPii: false,
            settingsByRuleType: {
                dns: {
                    logAll: false,
                    logBlocks: false,
                },
                http: {
                    logAll: false,
                    logBlocks: false,
                },
                l4: {
                    logAll: false,
                    logBlocks: false,
                },
            },
        },
        nonIdentityBrowserIsolationEnabled: false,
        payloadLog: {
            publicKey: "string",
        },
        protocolDetectionEnabled: false,
        proxy: {
            disableForTime: 0,
            rootCa: false,
            tcp: false,
            udp: false,
            virtualIp: false,
        },
        sshSessionLog: {
            publicKey: "string",
        },
        tlsDecryptEnabled: false,
        urlBrowserIsolationEnabled: false,
    });
    
    type: cloudflare:TeamsAccount
    properties:
        accountId: string
        activityLogEnabled: false
        antivirus:
            enabledDownloadPhase: false
            enabledUploadPhase: false
            failClosed: false
            notificationSettings:
                enabled: false
                message: string
                supportUrl: string
        blockPage:
            backgroundColor: string
            enabled: false
            footerText: string
            headerText: string
            logoPath: string
            mailtoAddress: string
            mailtoSubject: string
            name: string
        bodyScanning:
            inspectionMode: string
        certificate:
            id: string
        extendedEmailMatching:
            enabled: false
        fips:
            tls: false
        logging:
            redactPii: false
            settingsByRuleType:
                dns:
                    logAll: false
                    logBlocks: false
                http:
                    logAll: false
                    logBlocks: false
                l4:
                    logAll: false
                    logBlocks: false
        nonIdentityBrowserIsolationEnabled: false
        payloadLog:
            publicKey: string
        protocolDetectionEnabled: false
        proxy:
            disableForTime: 0
            rootCa: false
            tcp: false
            udp: false
            virtualIp: false
        sshSessionLog:
            publicKey: string
        tlsDecryptEnabled: false
        urlBrowserIsolationEnabled: false
    

    TeamsAccount Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TeamsAccount resource accepts the following input properties:

    AccountId string
    The account identifier to target for the resource.
    ActivityLogEnabled bool
    Whether to enable the activity log.
    Antivirus TeamsAccountAntivirus
    Configuration block for antivirus traffic scanning.
    BlockPage TeamsAccountBlockPage
    Configuration for a custom block page.
    BodyScanning TeamsAccountBodyScanning
    Configuration for body scanning.
    Certificate TeamsAccountCertificate
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    CustomCertificate TeamsAccountCustomCertificate
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    ExtendedEmailMatching TeamsAccountExtendedEmailMatching
    Configuration for extended e-mail matching.
    Fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    Logging TeamsAccountLogging
    NonIdentityBrowserIsolationEnabled bool
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    PayloadLog TeamsAccountPayloadLog
    Configuration for DLP Payload Logging.
    ProtocolDetectionEnabled bool
    Indicator that protocol detection is enabled.
    Proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    SshSessionLog TeamsAccountSshSessionLog
    Configuration for SSH Session Logging.
    TlsDecryptEnabled bool
    Indicator that decryption of TLS traffic is enabled.
    UrlBrowserIsolationEnabled bool
    Safely browse websites in Browser Isolation through a URL. Defaults to false.
    AccountId string
    The account identifier to target for the resource.
    ActivityLogEnabled bool
    Whether to enable the activity log.
    Antivirus TeamsAccountAntivirusArgs
    Configuration block for antivirus traffic scanning.
    BlockPage TeamsAccountBlockPageArgs
    Configuration for a custom block page.
    BodyScanning TeamsAccountBodyScanningArgs
    Configuration for body scanning.
    Certificate TeamsAccountCertificateArgs
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    CustomCertificate TeamsAccountCustomCertificateArgs
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    ExtendedEmailMatching TeamsAccountExtendedEmailMatchingArgs
    Configuration for extended e-mail matching.
    Fips TeamsAccountFipsArgs
    Configure compliance with Federal Information Processing Standards.
    Logging TeamsAccountLoggingArgs
    NonIdentityBrowserIsolationEnabled bool
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    PayloadLog TeamsAccountPayloadLogArgs
    Configuration for DLP Payload Logging.
    ProtocolDetectionEnabled bool
    Indicator that protocol detection is enabled.
    Proxy TeamsAccountProxyArgs
    Configuration block for specifying which protocols are proxied.
    SshSessionLog TeamsAccountSshSessionLogArgs
    Configuration for SSH Session Logging.
    TlsDecryptEnabled bool
    Indicator that decryption of TLS traffic is enabled.
    UrlBrowserIsolationEnabled bool
    Safely browse websites in Browser Isolation through a URL. Defaults to false.
    accountId String
    The account identifier to target for the resource.
    activityLogEnabled Boolean
    Whether to enable the activity log.
    antivirus TeamsAccountAntivirus
    Configuration block for antivirus traffic scanning.
    blockPage TeamsAccountBlockPage
    Configuration for a custom block page.
    bodyScanning TeamsAccountBodyScanning
    Configuration for body scanning.
    certificate TeamsAccountCertificate
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    customCertificate TeamsAccountCustomCertificate
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    extendedEmailMatching TeamsAccountExtendedEmailMatching
    Configuration for extended e-mail matching.
    fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLogging
    nonIdentityBrowserIsolationEnabled Boolean
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    payloadLog TeamsAccountPayloadLog
    Configuration for DLP Payload Logging.
    protocolDetectionEnabled Boolean
    Indicator that protocol detection is enabled.
    proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    sshSessionLog TeamsAccountSshSessionLog
    Configuration for SSH Session Logging.
    tlsDecryptEnabled Boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled Boolean
    Safely browse websites in Browser Isolation through a URL. Defaults to false.
    accountId string
    The account identifier to target for the resource.
    activityLogEnabled boolean
    Whether to enable the activity log.
    antivirus TeamsAccountAntivirus
    Configuration block for antivirus traffic scanning.
    blockPage TeamsAccountBlockPage
    Configuration for a custom block page.
    bodyScanning TeamsAccountBodyScanning
    Configuration for body scanning.
    certificate TeamsAccountCertificate
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    customCertificate TeamsAccountCustomCertificate
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    extendedEmailMatching TeamsAccountExtendedEmailMatching
    Configuration for extended e-mail matching.
    fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLogging
    nonIdentityBrowserIsolationEnabled boolean
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    payloadLog TeamsAccountPayloadLog
    Configuration for DLP Payload Logging.
    protocolDetectionEnabled boolean
    Indicator that protocol detection is enabled.
    proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    sshSessionLog TeamsAccountSshSessionLog
    Configuration for SSH Session Logging.
    tlsDecryptEnabled boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled boolean
    Safely browse websites in Browser Isolation through a URL. Defaults to false.
    account_id str
    The account identifier to target for the resource.
    activity_log_enabled bool
    Whether to enable the activity log.
    antivirus TeamsAccountAntivirusArgs
    Configuration block for antivirus traffic scanning.
    block_page TeamsAccountBlockPageArgs
    Configuration for a custom block page.
    body_scanning TeamsAccountBodyScanningArgs
    Configuration for body scanning.
    certificate TeamsAccountCertificateArgs
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    custom_certificate TeamsAccountCustomCertificateArgs
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    extended_email_matching TeamsAccountExtendedEmailMatchingArgs
    Configuration for extended e-mail matching.
    fips TeamsAccountFipsArgs
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLoggingArgs
    non_identity_browser_isolation_enabled bool
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    payload_log TeamsAccountPayloadLogArgs
    Configuration for DLP Payload Logging.
    protocol_detection_enabled bool
    Indicator that protocol detection is enabled.
    proxy TeamsAccountProxyArgs
    Configuration block for specifying which protocols are proxied.
    ssh_session_log TeamsAccountSshSessionLogArgs
    Configuration for SSH Session Logging.
    tls_decrypt_enabled bool
    Indicator that decryption of TLS traffic is enabled.
    url_browser_isolation_enabled bool
    Safely browse websites in Browser Isolation through a URL. Defaults to false.
    accountId String
    The account identifier to target for the resource.
    activityLogEnabled Boolean
    Whether to enable the activity log.
    antivirus Property Map
    Configuration block for antivirus traffic scanning.
    blockPage Property Map
    Configuration for a custom block page.
    bodyScanning Property Map
    Configuration for body scanning.
    certificate Property Map
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    customCertificate Property Map
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    extendedEmailMatching Property Map
    Configuration for extended e-mail matching.
    fips Property Map
    Configure compliance with Federal Information Processing Standards.
    logging Property Map
    nonIdentityBrowserIsolationEnabled Boolean
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    payloadLog Property Map
    Configuration for DLP Payload Logging.
    protocolDetectionEnabled Boolean
    Indicator that protocol detection is enabled.
    proxy Property Map
    Configuration block for specifying which protocols are proxied.
    sshSessionLog Property Map
    Configuration for SSH Session Logging.
    tlsDecryptEnabled Boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled Boolean
    Safely browse websites in Browser Isolation through a URL. Defaults to false.

    Outputs

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

    Get an existing TeamsAccount 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?: TeamsAccountState, opts?: CustomResourceOptions): TeamsAccount
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            activity_log_enabled: Optional[bool] = None,
            antivirus: Optional[TeamsAccountAntivirusArgs] = None,
            block_page: Optional[TeamsAccountBlockPageArgs] = None,
            body_scanning: Optional[TeamsAccountBodyScanningArgs] = None,
            certificate: Optional[TeamsAccountCertificateArgs] = None,
            custom_certificate: Optional[TeamsAccountCustomCertificateArgs] = None,
            extended_email_matching: Optional[TeamsAccountExtendedEmailMatchingArgs] = None,
            fips: Optional[TeamsAccountFipsArgs] = None,
            logging: Optional[TeamsAccountLoggingArgs] = None,
            non_identity_browser_isolation_enabled: Optional[bool] = None,
            payload_log: Optional[TeamsAccountPayloadLogArgs] = None,
            protocol_detection_enabled: Optional[bool] = None,
            proxy: Optional[TeamsAccountProxyArgs] = None,
            ssh_session_log: Optional[TeamsAccountSshSessionLogArgs] = None,
            tls_decrypt_enabled: Optional[bool] = None,
            url_browser_isolation_enabled: Optional[bool] = None) -> TeamsAccount
    func GetTeamsAccount(ctx *Context, name string, id IDInput, state *TeamsAccountState, opts ...ResourceOption) (*TeamsAccount, error)
    public static TeamsAccount Get(string name, Input<string> id, TeamsAccountState? state, CustomResourceOptions? opts = null)
    public static TeamsAccount get(String name, Output<String> id, TeamsAccountState 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:
    AccountId string
    The account identifier to target for the resource.
    ActivityLogEnabled bool
    Whether to enable the activity log.
    Antivirus TeamsAccountAntivirus
    Configuration block for antivirus traffic scanning.
    BlockPage TeamsAccountBlockPage
    Configuration for a custom block page.
    BodyScanning TeamsAccountBodyScanning
    Configuration for body scanning.
    Certificate TeamsAccountCertificate
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    CustomCertificate TeamsAccountCustomCertificate
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    ExtendedEmailMatching TeamsAccountExtendedEmailMatching
    Configuration for extended e-mail matching.
    Fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    Logging TeamsAccountLogging
    NonIdentityBrowserIsolationEnabled bool
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    PayloadLog TeamsAccountPayloadLog
    Configuration for DLP Payload Logging.
    ProtocolDetectionEnabled bool
    Indicator that protocol detection is enabled.
    Proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    SshSessionLog TeamsAccountSshSessionLog
    Configuration for SSH Session Logging.
    TlsDecryptEnabled bool
    Indicator that decryption of TLS traffic is enabled.
    UrlBrowserIsolationEnabled bool
    Safely browse websites in Browser Isolation through a URL. Defaults to false.
    AccountId string
    The account identifier to target for the resource.
    ActivityLogEnabled bool
    Whether to enable the activity log.
    Antivirus TeamsAccountAntivirusArgs
    Configuration block for antivirus traffic scanning.
    BlockPage TeamsAccountBlockPageArgs
    Configuration for a custom block page.
    BodyScanning TeamsAccountBodyScanningArgs
    Configuration for body scanning.
    Certificate TeamsAccountCertificateArgs
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    CustomCertificate TeamsAccountCustomCertificateArgs
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    ExtendedEmailMatching TeamsAccountExtendedEmailMatchingArgs
    Configuration for extended e-mail matching.
    Fips TeamsAccountFipsArgs
    Configure compliance with Federal Information Processing Standards.
    Logging TeamsAccountLoggingArgs
    NonIdentityBrowserIsolationEnabled bool
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    PayloadLog TeamsAccountPayloadLogArgs
    Configuration for DLP Payload Logging.
    ProtocolDetectionEnabled bool
    Indicator that protocol detection is enabled.
    Proxy TeamsAccountProxyArgs
    Configuration block for specifying which protocols are proxied.
    SshSessionLog TeamsAccountSshSessionLogArgs
    Configuration for SSH Session Logging.
    TlsDecryptEnabled bool
    Indicator that decryption of TLS traffic is enabled.
    UrlBrowserIsolationEnabled bool
    Safely browse websites in Browser Isolation through a URL. Defaults to false.
    accountId String
    The account identifier to target for the resource.
    activityLogEnabled Boolean
    Whether to enable the activity log.
    antivirus TeamsAccountAntivirus
    Configuration block for antivirus traffic scanning.
    blockPage TeamsAccountBlockPage
    Configuration for a custom block page.
    bodyScanning TeamsAccountBodyScanning
    Configuration for body scanning.
    certificate TeamsAccountCertificate
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    customCertificate TeamsAccountCustomCertificate
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    extendedEmailMatching TeamsAccountExtendedEmailMatching
    Configuration for extended e-mail matching.
    fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLogging
    nonIdentityBrowserIsolationEnabled Boolean
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    payloadLog TeamsAccountPayloadLog
    Configuration for DLP Payload Logging.
    protocolDetectionEnabled Boolean
    Indicator that protocol detection is enabled.
    proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    sshSessionLog TeamsAccountSshSessionLog
    Configuration for SSH Session Logging.
    tlsDecryptEnabled Boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled Boolean
    Safely browse websites in Browser Isolation through a URL. Defaults to false.
    accountId string
    The account identifier to target for the resource.
    activityLogEnabled boolean
    Whether to enable the activity log.
    antivirus TeamsAccountAntivirus
    Configuration block for antivirus traffic scanning.
    blockPage TeamsAccountBlockPage
    Configuration for a custom block page.
    bodyScanning TeamsAccountBodyScanning
    Configuration for body scanning.
    certificate TeamsAccountCertificate
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    customCertificate TeamsAccountCustomCertificate
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    extendedEmailMatching TeamsAccountExtendedEmailMatching
    Configuration for extended e-mail matching.
    fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLogging
    nonIdentityBrowserIsolationEnabled boolean
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    payloadLog TeamsAccountPayloadLog
    Configuration for DLP Payload Logging.
    protocolDetectionEnabled boolean
    Indicator that protocol detection is enabled.
    proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    sshSessionLog TeamsAccountSshSessionLog
    Configuration for SSH Session Logging.
    tlsDecryptEnabled boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled boolean
    Safely browse websites in Browser Isolation through a URL. Defaults to false.
    account_id str
    The account identifier to target for the resource.
    activity_log_enabled bool
    Whether to enable the activity log.
    antivirus TeamsAccountAntivirusArgs
    Configuration block for antivirus traffic scanning.
    block_page TeamsAccountBlockPageArgs
    Configuration for a custom block page.
    body_scanning TeamsAccountBodyScanningArgs
    Configuration for body scanning.
    certificate TeamsAccountCertificateArgs
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    custom_certificate TeamsAccountCustomCertificateArgs
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    extended_email_matching TeamsAccountExtendedEmailMatchingArgs
    Configuration for extended e-mail matching.
    fips TeamsAccountFipsArgs
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLoggingArgs
    non_identity_browser_isolation_enabled bool
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    payload_log TeamsAccountPayloadLogArgs
    Configuration for DLP Payload Logging.
    protocol_detection_enabled bool
    Indicator that protocol detection is enabled.
    proxy TeamsAccountProxyArgs
    Configuration block for specifying which protocols are proxied.
    ssh_session_log TeamsAccountSshSessionLogArgs
    Configuration for SSH Session Logging.
    tls_decrypt_enabled bool
    Indicator that decryption of TLS traffic is enabled.
    url_browser_isolation_enabled bool
    Safely browse websites in Browser Isolation through a URL. Defaults to false.
    accountId String
    The account identifier to target for the resource.
    activityLogEnabled Boolean
    Whether to enable the activity log.
    antivirus Property Map
    Configuration block for antivirus traffic scanning.
    blockPage Property Map
    Configuration for a custom block page.
    bodyScanning Property Map
    Configuration for body scanning.
    certificate Property Map
    Configuration for TLS interception certificate. This will be required starting Feb 2025.
    customCertificate Property Map
    Configuration for custom certificates / BYO-PKI. Conflicts with certificate.

    Deprecated: Use certificate instead. Continuing to use custom_certificate may result in inconsistent configuration.

    extendedEmailMatching Property Map
    Configuration for extended e-mail matching.
    fips Property Map
    Configure compliance with Federal Information Processing Standards.
    logging Property Map
    nonIdentityBrowserIsolationEnabled Boolean
    Enable non-identity onramp for Browser Isolation. Defaults to false.
    payloadLog Property Map
    Configuration for DLP Payload Logging.
    protocolDetectionEnabled Boolean
    Indicator that protocol detection is enabled.
    proxy Property Map
    Configuration block for specifying which protocols are proxied.
    sshSessionLog Property Map
    Configuration for SSH Session Logging.
    tlsDecryptEnabled Boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled Boolean
    Safely browse websites in Browser Isolation through a URL. Defaults to false.

    Supporting Types

    TeamsAccountAntivirus, TeamsAccountAntivirusArgs

    EnabledDownloadPhase bool
    Scan on file download.
    EnabledUploadPhase bool
    Scan on file upload.
    FailClosed bool
    Block requests for files that cannot be scanned.
    NotificationSettings TeamsAccountAntivirusNotificationSettings
    Set notifications for antivirus.
    EnabledDownloadPhase bool
    Scan on file download.
    EnabledUploadPhase bool
    Scan on file upload.
    FailClosed bool
    Block requests for files that cannot be scanned.
    NotificationSettings TeamsAccountAntivirusNotificationSettings
    Set notifications for antivirus.
    enabledDownloadPhase Boolean
    Scan on file download.
    enabledUploadPhase Boolean
    Scan on file upload.
    failClosed Boolean
    Block requests for files that cannot be scanned.
    notificationSettings TeamsAccountAntivirusNotificationSettings
    Set notifications for antivirus.
    enabledDownloadPhase boolean
    Scan on file download.
    enabledUploadPhase boolean
    Scan on file upload.
    failClosed boolean
    Block requests for files that cannot be scanned.
    notificationSettings TeamsAccountAntivirusNotificationSettings
    Set notifications for antivirus.
    enabled_download_phase bool
    Scan on file download.
    enabled_upload_phase bool
    Scan on file upload.
    fail_closed bool
    Block requests for files that cannot be scanned.
    notification_settings TeamsAccountAntivirusNotificationSettings
    Set notifications for antivirus.
    enabledDownloadPhase Boolean
    Scan on file download.
    enabledUploadPhase Boolean
    Scan on file upload.
    failClosed Boolean
    Block requests for files that cannot be scanned.
    notificationSettings Property Map
    Set notifications for antivirus.

    TeamsAccountAntivirusNotificationSettings, TeamsAccountAntivirusNotificationSettingsArgs

    Enabled bool
    Enable notification settings.
    Message string
    Notification content.
    SupportUrl string
    Support URL to show in the notification.
    Enabled bool
    Enable notification settings.
    Message string
    Notification content.
    SupportUrl string
    Support URL to show in the notification.
    enabled Boolean
    Enable notification settings.
    message String
    Notification content.
    supportUrl String
    Support URL to show in the notification.
    enabled boolean
    Enable notification settings.
    message string
    Notification content.
    supportUrl string
    Support URL to show in the notification.
    enabled bool
    Enable notification settings.
    message str
    Notification content.
    support_url str
    Support URL to show in the notification.
    enabled Boolean
    Enable notification settings.
    message String
    Notification content.
    supportUrl String
    Support URL to show in the notification.

    TeamsAccountBlockPage, TeamsAccountBlockPageArgs

    BackgroundColor string
    Hex code of block page background color.
    Enabled bool
    Indicator of enablement.
    FooterText string
    Block page footer text.
    HeaderText string
    Block page header text.
    LogoPath string
    URL of block page logo.
    MailtoAddress string
    Admin email for users to contact.
    MailtoSubject string
    Subject line for emails created from block page.
    Name string
    Name of block page configuration.
    BackgroundColor string
    Hex code of block page background color.
    Enabled bool
    Indicator of enablement.
    FooterText string
    Block page footer text.
    HeaderText string
    Block page header text.
    LogoPath string
    URL of block page logo.
    MailtoAddress string
    Admin email for users to contact.
    MailtoSubject string
    Subject line for emails created from block page.
    Name string
    Name of block page configuration.
    backgroundColor String
    Hex code of block page background color.
    enabled Boolean
    Indicator of enablement.
    footerText String
    Block page footer text.
    headerText String
    Block page header text.
    logoPath String
    URL of block page logo.
    mailtoAddress String
    Admin email for users to contact.
    mailtoSubject String
    Subject line for emails created from block page.
    name String
    Name of block page configuration.
    backgroundColor string
    Hex code of block page background color.
    enabled boolean
    Indicator of enablement.
    footerText string
    Block page footer text.
    headerText string
    Block page header text.
    logoPath string
    URL of block page logo.
    mailtoAddress string
    Admin email for users to contact.
    mailtoSubject string
    Subject line for emails created from block page.
    name string
    Name of block page configuration.
    background_color str
    Hex code of block page background color.
    enabled bool
    Indicator of enablement.
    footer_text str
    Block page footer text.
    header_text str
    Block page header text.
    logo_path str
    URL of block page logo.
    mailto_address str
    Admin email for users to contact.
    mailto_subject str
    Subject line for emails created from block page.
    name str
    Name of block page configuration.
    backgroundColor String
    Hex code of block page background color.
    enabled Boolean
    Indicator of enablement.
    footerText String
    Block page footer text.
    headerText String
    Block page header text.
    logoPath String
    URL of block page logo.
    mailtoAddress String
    Admin email for users to contact.
    mailtoSubject String
    Subject line for emails created from block page.
    name String
    Name of block page configuration.

    TeamsAccountBodyScanning, TeamsAccountBodyScanningArgs

    InspectionMode string
    Body scanning inspection mode. Available values: deep, shallow.
    InspectionMode string
    Body scanning inspection mode. Available values: deep, shallow.
    inspectionMode String
    Body scanning inspection mode. Available values: deep, shallow.
    inspectionMode string
    Body scanning inspection mode. Available values: deep, shallow.
    inspection_mode str
    Body scanning inspection mode. Available values: deep, shallow.
    inspectionMode String
    Body scanning inspection mode. Available values: deep, shallow.

    TeamsAccountCertificate, TeamsAccountCertificateArgs

    Id string
    ID of certificate for TLS interception.
    Id string
    ID of certificate for TLS interception.
    id String
    ID of certificate for TLS interception.
    id string
    ID of certificate for TLS interception.
    id str
    ID of certificate for TLS interception.
    id String
    ID of certificate for TLS interception.

    TeamsAccountCustomCertificate, TeamsAccountCustomCertificateArgs

    Enabled bool
    Whether TLS encryption should use a custom certificate.
    Id string
    ID of custom certificate.
    UpdatedAt string
    Enabled bool
    Whether TLS encryption should use a custom certificate.
    Id string
    ID of custom certificate.
    UpdatedAt string
    enabled Boolean
    Whether TLS encryption should use a custom certificate.
    id String
    ID of custom certificate.
    updatedAt String
    enabled boolean
    Whether TLS encryption should use a custom certificate.
    id string
    ID of custom certificate.
    updatedAt string
    enabled bool
    Whether TLS encryption should use a custom certificate.
    id str
    ID of custom certificate.
    updated_at str
    enabled Boolean
    Whether TLS encryption should use a custom certificate.
    id String
    ID of custom certificate.
    updatedAt String

    TeamsAccountExtendedEmailMatching, TeamsAccountExtendedEmailMatchingArgs

    Enabled bool
    Whether e-mails should be matched on all variants of user emails (with + or . modifiers) in Firewall policies.
    Enabled bool
    Whether e-mails should be matched on all variants of user emails (with + or . modifiers) in Firewall policies.
    enabled Boolean
    Whether e-mails should be matched on all variants of user emails (with + or . modifiers) in Firewall policies.
    enabled boolean
    Whether e-mails should be matched on all variants of user emails (with + or . modifiers) in Firewall policies.
    enabled bool
    Whether e-mails should be matched on all variants of user emails (with + or . modifiers) in Firewall policies.
    enabled Boolean
    Whether e-mails should be matched on all variants of user emails (with + or . modifiers) in Firewall policies.

    TeamsAccountFips, TeamsAccountFipsArgs

    Tls bool
    Only allow FIPS-compliant TLS configuration.
    Tls bool
    Only allow FIPS-compliant TLS configuration.
    tls Boolean
    Only allow FIPS-compliant TLS configuration.
    tls boolean
    Only allow FIPS-compliant TLS configuration.
    tls bool
    Only allow FIPS-compliant TLS configuration.
    tls Boolean
    Only allow FIPS-compliant TLS configuration.

    TeamsAccountLogging, TeamsAccountLoggingArgs

    RedactPii bool
    Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
    SettingsByRuleType TeamsAccountLoggingSettingsByRuleType
    Represents whether all requests are logged or only the blocked requests are slogged in DNS, HTTP and L4 filters.
    RedactPii bool
    Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
    SettingsByRuleType TeamsAccountLoggingSettingsByRuleType
    Represents whether all requests are logged or only the blocked requests are slogged in DNS, HTTP and L4 filters.
    redactPii Boolean
    Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
    settingsByRuleType TeamsAccountLoggingSettingsByRuleType
    Represents whether all requests are logged or only the blocked requests are slogged in DNS, HTTP and L4 filters.
    redactPii boolean
    Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
    settingsByRuleType TeamsAccountLoggingSettingsByRuleType
    Represents whether all requests are logged or only the blocked requests are slogged in DNS, HTTP and L4 filters.
    redact_pii bool
    Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
    settings_by_rule_type TeamsAccountLoggingSettingsByRuleType
    Represents whether all requests are logged or only the blocked requests are slogged in DNS, HTTP and L4 filters.
    redactPii Boolean
    Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
    settingsByRuleType Property Map
    Represents whether all requests are logged or only the blocked requests are slogged in DNS, HTTP and L4 filters.

    TeamsAccountLoggingSettingsByRuleType, TeamsAccountLoggingSettingsByRuleTypeArgs

    Dns TeamsAccountLoggingSettingsByRuleTypeDns
    Logging configuration for DNS requests.
    Http TeamsAccountLoggingSettingsByRuleTypeHttp
    Logging configuration for HTTP requests.
    L4 TeamsAccountLoggingSettingsByRuleTypeL4
    Logging configuration for layer 4 requests.
    Dns TeamsAccountLoggingSettingsByRuleTypeDns
    Logging configuration for DNS requests.
    Http TeamsAccountLoggingSettingsByRuleTypeHttp
    Logging configuration for HTTP requests.
    L4 TeamsAccountLoggingSettingsByRuleTypeL4
    Logging configuration for layer 4 requests.
    dns TeamsAccountLoggingSettingsByRuleTypeDns
    Logging configuration for DNS requests.
    http TeamsAccountLoggingSettingsByRuleTypeHttp
    Logging configuration for HTTP requests.
    l4 TeamsAccountLoggingSettingsByRuleTypeL4
    Logging configuration for layer 4 requests.
    dns TeamsAccountLoggingSettingsByRuleTypeDns
    Logging configuration for DNS requests.
    http TeamsAccountLoggingSettingsByRuleTypeHttp
    Logging configuration for HTTP requests.
    l4 TeamsAccountLoggingSettingsByRuleTypeL4
    Logging configuration for layer 4 requests.
    dns TeamsAccountLoggingSettingsByRuleTypeDns
    Logging configuration for DNS requests.
    http TeamsAccountLoggingSettingsByRuleTypeHttp
    Logging configuration for HTTP requests.
    l4 TeamsAccountLoggingSettingsByRuleTypeL4
    Logging configuration for layer 4 requests.
    dns Property Map
    Logging configuration for DNS requests.
    http Property Map
    Logging configuration for HTTP requests.
    l4 Property Map
    Logging configuration for layer 4 requests.

    TeamsAccountLoggingSettingsByRuleTypeDns, TeamsAccountLoggingSettingsByRuleTypeDnsArgs

    LogAll bool
    Whether to log all activity.
    LogBlocks bool
    LogAll bool
    Whether to log all activity.
    LogBlocks bool
    logAll Boolean
    Whether to log all activity.
    logBlocks Boolean
    logAll boolean
    Whether to log all activity.
    logBlocks boolean
    log_all bool
    Whether to log all activity.
    log_blocks bool
    logAll Boolean
    Whether to log all activity.
    logBlocks Boolean

    TeamsAccountLoggingSettingsByRuleTypeHttp, TeamsAccountLoggingSettingsByRuleTypeHttpArgs

    LogAll bool
    Whether to log all activity.
    LogBlocks bool
    LogAll bool
    Whether to log all activity.
    LogBlocks bool
    logAll Boolean
    Whether to log all activity.
    logBlocks Boolean
    logAll boolean
    Whether to log all activity.
    logBlocks boolean
    log_all bool
    Whether to log all activity.
    log_blocks bool
    logAll Boolean
    Whether to log all activity.
    logBlocks Boolean

    TeamsAccountLoggingSettingsByRuleTypeL4, TeamsAccountLoggingSettingsByRuleTypeL4Args

    LogAll bool
    Whether to log all activity.
    LogBlocks bool
    LogAll bool
    Whether to log all activity.
    LogBlocks bool
    logAll Boolean
    Whether to log all activity.
    logBlocks Boolean
    logAll boolean
    Whether to log all activity.
    logBlocks boolean
    log_all bool
    Whether to log all activity.
    log_blocks bool
    logAll Boolean
    Whether to log all activity.
    logBlocks Boolean

    TeamsAccountPayloadLog, TeamsAccountPayloadLogArgs

    PublicKey string
    Public key used to encrypt matched payloads.
    PublicKey string
    Public key used to encrypt matched payloads.
    publicKey String
    Public key used to encrypt matched payloads.
    publicKey string
    Public key used to encrypt matched payloads.
    public_key str
    Public key used to encrypt matched payloads.
    publicKey String
    Public key used to encrypt matched payloads.

    TeamsAccountProxy, TeamsAccountProxyArgs

    DisableForTime int
    Sets the time limit in seconds that a user can use an override code to bypass WARP.
    RootCa bool
    Whether root ca is enabled account wide for ZT clients.
    Tcp bool
    Whether gateway proxy is enabled on gateway devices for TCP traffic.
    Udp bool
    Whether gateway proxy is enabled on gateway devices for UDP traffic.
    VirtualIp bool
    Whether virtual IP (CGNAT) is enabled account wide and will override existing local interface IP for ZT clients.
    DisableForTime int
    Sets the time limit in seconds that a user can use an override code to bypass WARP.
    RootCa bool
    Whether root ca is enabled account wide for ZT clients.
    Tcp bool
    Whether gateway proxy is enabled on gateway devices for TCP traffic.
    Udp bool
    Whether gateway proxy is enabled on gateway devices for UDP traffic.
    VirtualIp bool
    Whether virtual IP (CGNAT) is enabled account wide and will override existing local interface IP for ZT clients.
    disableForTime Integer
    Sets the time limit in seconds that a user can use an override code to bypass WARP.
    rootCa Boolean
    Whether root ca is enabled account wide for ZT clients.
    tcp Boolean
    Whether gateway proxy is enabled on gateway devices for TCP traffic.
    udp Boolean
    Whether gateway proxy is enabled on gateway devices for UDP traffic.
    virtualIp Boolean
    Whether virtual IP (CGNAT) is enabled account wide and will override existing local interface IP for ZT clients.
    disableForTime number
    Sets the time limit in seconds that a user can use an override code to bypass WARP.
    rootCa boolean
    Whether root ca is enabled account wide for ZT clients.
    tcp boolean
    Whether gateway proxy is enabled on gateway devices for TCP traffic.
    udp boolean
    Whether gateway proxy is enabled on gateway devices for UDP traffic.
    virtualIp boolean
    Whether virtual IP (CGNAT) is enabled account wide and will override existing local interface IP for ZT clients.
    disable_for_time int
    Sets the time limit in seconds that a user can use an override code to bypass WARP.
    root_ca bool
    Whether root ca is enabled account wide for ZT clients.
    tcp bool
    Whether gateway proxy is enabled on gateway devices for TCP traffic.
    udp bool
    Whether gateway proxy is enabled on gateway devices for UDP traffic.
    virtual_ip bool
    Whether virtual IP (CGNAT) is enabled account wide and will override existing local interface IP for ZT clients.
    disableForTime Number
    Sets the time limit in seconds that a user can use an override code to bypass WARP.
    rootCa Boolean
    Whether root ca is enabled account wide for ZT clients.
    tcp Boolean
    Whether gateway proxy is enabled on gateway devices for TCP traffic.
    udp Boolean
    Whether gateway proxy is enabled on gateway devices for UDP traffic.
    virtualIp Boolean
    Whether virtual IP (CGNAT) is enabled account wide and will override existing local interface IP for ZT clients.

    TeamsAccountSshSessionLog, TeamsAccountSshSessionLogArgs

    PublicKey string
    Public key used to encrypt ssh session.
    PublicKey string
    Public key used to encrypt ssh session.
    publicKey String
    Public key used to encrypt ssh session.
    publicKey string
    Public key used to encrypt ssh session.
    public_key str
    Public key used to encrypt ssh session.
    publicKey String
    Public key used to encrypt ssh session.

    Import

    $ pulumi import cloudflare:index/teamsAccount:TeamsAccount example <account_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi