1. Packages
  2. Cloudflare
  3. API Docs
  4. TeamsAccount
Cloudflare v5.26.0 published on Wednesday, Apr 17, 2024 by Pulumi

cloudflare.TeamsAccount

Explore with Pulumi AI

cloudflare logo
Cloudflare v5.26.0 published on Wednesday, Apr 17, 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",
        antivirus: {
            enabledDownloadPhase: true,
            enabledUploadPhase: false,
            failClosed: true,
            notificationSettings: {
                enabled: true,
                message: "you are blocked",
                supportUrl: "https://example.com/blocked",
            },
        },
        blockPage: {
            backgroundColor: "#000000",
            footerText: "hello",
            headerText: "hello",
            logoPath: "https://example.com/logo.jpg",
        },
        bodyScanning: {
            inspectionMode: "deep",
        },
        extendedEmailMatching: {
            enabled: true,
        },
        fips: {
            tls: true,
        },
        logging: {
            redactPii: true,
            settingsByRuleType: {
                dns: {
                    logAll: false,
                    logBlocks: true,
                },
                http: {
                    logAll: true,
                    logBlocks: true,
                },
                l4: {
                    logAll: false,
                    logBlocks: true,
                },
            },
        },
        protocolDetectionEnabled: true,
        proxy: {
            rootCa: true,
            tcp: true,
            udp: true,
        },
        tlsDecryptEnabled: true,
        urlBrowserIsolationEnabled: true,
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example = cloudflare.TeamsAccount("example",
        account_id="f037e56e89293a057740de681ac9abbe",
        antivirus=cloudflare.TeamsAccountAntivirusArgs(
            enabled_download_phase=True,
            enabled_upload_phase=False,
            fail_closed=True,
            notification_settings=cloudflare.TeamsAccountAntivirusNotificationSettingsArgs(
                enabled=True,
                message="you are blocked",
                support_url="https://example.com/blocked",
            ),
        ),
        block_page=cloudflare.TeamsAccountBlockPageArgs(
            background_color="#000000",
            footer_text="hello",
            header_text="hello",
            logo_path="https://example.com/logo.jpg",
        ),
        body_scanning=cloudflare.TeamsAccountBodyScanningArgs(
            inspection_mode="deep",
        ),
        extended_email_matching=cloudflare.TeamsAccountExtendedEmailMatchingArgs(
            enabled=True,
        ),
        fips=cloudflare.TeamsAccountFipsArgs(
            tls=True,
        ),
        logging=cloudflare.TeamsAccountLoggingArgs(
            redact_pii=True,
            settings_by_rule_type=cloudflare.TeamsAccountLoggingSettingsByRuleTypeArgs(
                dns=cloudflare.TeamsAccountLoggingSettingsByRuleTypeDnsArgs(
                    log_all=False,
                    log_blocks=True,
                ),
                http=cloudflare.TeamsAccountLoggingSettingsByRuleTypeHttpArgs(
                    log_all=True,
                    log_blocks=True,
                ),
                l4=cloudflare.TeamsAccountLoggingSettingsByRuleTypeL4Args(
                    log_all=False,
                    log_blocks=True,
                ),
            ),
        ),
        protocol_detection_enabled=True,
        proxy=cloudflare.TeamsAccountProxyArgs(
            root_ca=True,
            tcp=True,
            udp=True,
        ),
        tls_decrypt_enabled=True,
        url_browser_isolation_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"),
    			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"),
    				},
    			},
    			BlockPage: &cloudflare.TeamsAccountBlockPageArgs{
    				BackgroundColor: pulumi.String("#000000"),
    				FooterText:      pulumi.String("hello"),
    				HeaderText:      pulumi.String("hello"),
    				LogoPath:        pulumi.String("https://example.com/logo.jpg"),
    			},
    			BodyScanning: &cloudflare.TeamsAccountBodyScanningArgs{
    				InspectionMode: pulumi.String("deep"),
    			},
    			ExtendedEmailMatching: &cloudflare.TeamsAccountExtendedEmailMatchingArgs{
    				Enabled: pulumi.Bool(true),
    			},
    			Fips: &cloudflare.TeamsAccountFipsArgs{
    				Tls: 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),
    					},
    				},
    			},
    			ProtocolDetectionEnabled: pulumi.Bool(true),
    			Proxy: &cloudflare.TeamsAccountProxyArgs{
    				RootCa: pulumi.Bool(true),
    				Tcp:    pulumi.Bool(true),
    				Udp:    pulumi.Bool(true),
    			},
    			TlsDecryptEnabled:          pulumi.Bool(true),
    			UrlBrowserIsolationEnabled: 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",
            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",
                },
            },
            BlockPage = new Cloudflare.Inputs.TeamsAccountBlockPageArgs
            {
                BackgroundColor = "#000000",
                FooterText = "hello",
                HeaderText = "hello",
                LogoPath = "https://example.com/logo.jpg",
            },
            BodyScanning = new Cloudflare.Inputs.TeamsAccountBodyScanningArgs
            {
                InspectionMode = "deep",
            },
            ExtendedEmailMatching = new Cloudflare.Inputs.TeamsAccountExtendedEmailMatchingArgs
            {
                Enabled = true,
            },
            Fips = new Cloudflare.Inputs.TeamsAccountFipsArgs
            {
                Tls = 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,
                    },
                },
            },
            ProtocolDetectionEnabled = true,
            Proxy = new Cloudflare.Inputs.TeamsAccountProxyArgs
            {
                RootCa = true,
                Tcp = true,
                Udp = true,
            },
            TlsDecryptEnabled = true,
            UrlBrowserIsolationEnabled = 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.TeamsAccountAntivirusArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountAntivirusNotificationSettingsArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountBlockPageArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountBodyScanningArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountExtendedEmailMatchingArgs;
    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)
                    .notificationSettings(TeamsAccountAntivirusNotificationSettingsArgs.builder()
                        .enabled(true)
                        .message("you are blocked")
                        .supportUrl("https://example.com/blocked")
                        .build())
                    .build())
                .blockPage(TeamsAccountBlockPageArgs.builder()
                    .backgroundColor("#000000")
                    .footerText("hello")
                    .headerText("hello")
                    .logoPath("https://example.com/logo.jpg")
                    .build())
                .bodyScanning(TeamsAccountBodyScanningArgs.builder()
                    .inspectionMode("deep")
                    .build())
                .extendedEmailMatching(TeamsAccountExtendedEmailMatchingArgs.builder()
                    .enabled(true)
                    .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())
                .protocolDetectionEnabled(true)
                .proxy(TeamsAccountProxyArgs.builder()
                    .rootCa(true)
                    .tcp(true)
                    .udp(true)
                    .build())
                .tlsDecryptEnabled(true)
                .urlBrowserIsolationEnabled(true)
                .build());
    
        }
    }
    
    resources:
      example:
        type: cloudflare:TeamsAccount
        properties:
          accountId: f037e56e89293a057740de681ac9abbe
          antivirus:
            enabledDownloadPhase: true
            enabledUploadPhase: false
            failClosed: true
            notificationSettings:
              enabled: true
              message: you are blocked
              supportUrl: https://example.com/blocked
          blockPage:
            backgroundColor: '#000000'
            footerText: hello
            headerText: hello
            logoPath: https://example.com/logo.jpg
          bodyScanning:
            inspectionMode: deep
          extendedEmailMatching:
            enabled: true
          fips:
            tls: true
          logging:
            redactPii: true
            settingsByRuleType:
              dns:
                logAll: false
                logBlocks: true
              http:
                logAll: true
                logBlocks: true
              l4:
                logAll: false
                logBlocks: true
          protocolDetectionEnabled: true
          proxy:
            rootCa: true
            tcp: true
            udp: true
          tlsDecryptEnabled: true
          urlBrowserIsolationEnabled: 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,
                     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.

    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",
        },
        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
        {
            RootCa = false,
            Tcp = false,
            Udp = 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"),
    	},
    	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{
    		RootCa: pulumi.Bool(false),
    		Tcp:    pulumi.Bool(false),
    		Udp:    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())
        .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()
            .rootCa(false)
            .tcp(false)
            .udp(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=cloudflare.TeamsAccountAntivirusArgs(
            enabled_download_phase=False,
            enabled_upload_phase=False,
            fail_closed=False,
            notification_settings=cloudflare.TeamsAccountAntivirusNotificationSettingsArgs(
                enabled=False,
                message="string",
                support_url="string",
            ),
        ),
        block_page=cloudflare.TeamsAccountBlockPageArgs(
            background_color="string",
            enabled=False,
            footer_text="string",
            header_text="string",
            logo_path="string",
            mailto_address="string",
            mailto_subject="string",
            name="string",
        ),
        body_scanning=cloudflare.TeamsAccountBodyScanningArgs(
            inspection_mode="string",
        ),
        extended_email_matching=cloudflare.TeamsAccountExtendedEmailMatchingArgs(
            enabled=False,
        ),
        fips=cloudflare.TeamsAccountFipsArgs(
            tls=False,
        ),
        logging=cloudflare.TeamsAccountLoggingArgs(
            redact_pii=False,
            settings_by_rule_type=cloudflare.TeamsAccountLoggingSettingsByRuleTypeArgs(
                dns=cloudflare.TeamsAccountLoggingSettingsByRuleTypeDnsArgs(
                    log_all=False,
                    log_blocks=False,
                ),
                http=cloudflare.TeamsAccountLoggingSettingsByRuleTypeHttpArgs(
                    log_all=False,
                    log_blocks=False,
                ),
                l4=cloudflare.TeamsAccountLoggingSettingsByRuleTypeL4Args(
                    log_all=False,
                    log_blocks=False,
                ),
            ),
        ),
        non_identity_browser_isolation_enabled=False,
        payload_log=cloudflare.TeamsAccountPayloadLogArgs(
            public_key="string",
        ),
        protocol_detection_enabled=False,
        proxy=cloudflare.TeamsAccountProxyArgs(
            root_ca=False,
            tcp=False,
            udp=False,
        ),
        ssh_session_log=cloudflare.TeamsAccountSshSessionLogArgs(
            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",
        },
        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: {
            rootCa: false,
            tcp: false,
            udp: 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
        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:
            rootCa: false
            tcp: false
            udp: 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

    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.
    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.
    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.
    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.
    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.
    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.
    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,
            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.
    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.
    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.
    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.
    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.
    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.
    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.

    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

    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.
    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.
    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.
    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.
    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.
    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.

    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.26.0 published on Wednesday, Apr 17, 2024 by Pulumi