1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. TeamsAccount
Viewing docs for Cloudflare v4.16.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v4.16.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

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

    Example Usage

    using System.Collections.Generic;
    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,
            },
            BlockPage = new Cloudflare.Inputs.TeamsAccountBlockPageArgs
            {
                BackgroundColor = "#000000",
                FooterText = "hello",
                HeaderText = "hello",
                LogoPath = "https://example.com/logo.jpg",
            },
            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,
                    },
                },
            },
            Proxy = new Cloudflare.Inputs.TeamsAccountProxyArgs
            {
                Tcp = true,
                Udp = true,
            },
            TlsDecryptEnabled = true,
            UrlBrowserIsolationEnabled = true,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v4/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),
    			},
    			BlockPage: &cloudflare.TeamsAccountBlockPageArgs{
    				BackgroundColor: pulumi.String("#000000"),
    				FooterText:      pulumi.String("hello"),
    				HeaderText:      pulumi.String("hello"),
    				LogoPath:        pulumi.String("https://example.com/logo.jpg"),
    			},
    			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),
    					},
    				},
    			},
    			Proxy: &cloudflare.TeamsAccountProxyArgs{
    				Tcp: pulumi.Bool(true),
    				Udp: pulumi.Bool(true),
    			},
    			TlsDecryptEnabled:          pulumi.Bool(true),
    			UrlBrowserIsolationEnabled: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.TeamsAccount;
    import com.pulumi.cloudflare.TeamsAccountArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountAntivirusArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountBlockPageArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountFipsArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountLoggingArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeDnsArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeHttpArgs;
    import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeL4Args;
    import com.pulumi.cloudflare.inputs.TeamsAccountProxyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new TeamsAccount("example", TeamsAccountArgs.builder()        
                .accountId("f037e56e89293a057740de681ac9abbe")
                .antivirus(TeamsAccountAntivirusArgs.builder()
                    .enabledDownloadPhase(true)
                    .enabledUploadPhase(false)
                    .failClosed(true)
                    .build())
                .blockPage(TeamsAccountBlockPageArgs.builder()
                    .backgroundColor("#000000")
                    .footerText("hello")
                    .headerText("hello")
                    .logoPath("https://example.com/logo.jpg")
                    .build())
                .fips(TeamsAccountFipsArgs.builder()
                    .tls(true)
                    .build())
                .logging(TeamsAccountLoggingArgs.builder()
                    .redactPii(true)
                    .settingsByRuleType(TeamsAccountLoggingSettingsByRuleTypeArgs.builder()
                        .dns(TeamsAccountLoggingSettingsByRuleTypeDnsArgs.builder()
                            .logAll(false)
                            .logBlocks(true)
                            .build())
                        .http(TeamsAccountLoggingSettingsByRuleTypeHttpArgs.builder()
                            .logAll(true)
                            .logBlocks(true)
                            .build())
                        .l4(TeamsAccountLoggingSettingsByRuleTypeL4Args.builder()
                            .logAll(false)
                            .logBlocks(true)
                            .build())
                        .build())
                    .build())
                .proxy(TeamsAccountProxyArgs.builder()
                    .tcp(true)
                    .udp(true)
                    .build())
                .tlsDecryptEnabled(true)
                .urlBrowserIsolationEnabled(true)
                .build());
    
        }
    }
    
    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,
        },
        blockPage: {
            backgroundColor: "#000000",
            footerText: "hello",
            headerText: "hello",
            logoPath: "https://example.com/logo.jpg",
        },
        fips: {
            tls: true,
        },
        logging: {
            redactPii: true,
            settingsByRuleType: {
                dns: {
                    logAll: false,
                    logBlocks: true,
                },
                http: {
                    logAll: true,
                    logBlocks: true,
                },
                l4: {
                    logAll: false,
                    logBlocks: true,
                },
            },
        },
        proxy: {
            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,
        ),
        block_page=cloudflare.TeamsAccountBlockPageArgs(
            background_color="#000000",
            footer_text="hello",
            header_text="hello",
            logo_path="https://example.com/logo.jpg",
        ),
        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,
                ),
            ),
        ),
        proxy=cloudflare.TeamsAccountProxyArgs(
            tcp=True,
            udp=True,
        ),
        tls_decrypt_enabled=True,
        url_browser_isolation_enabled=True)
    
    resources:
      example:
        type: cloudflare:TeamsAccount
        properties:
          accountId: f037e56e89293a057740de681ac9abbe
          antivirus:
            enabledDownloadPhase: true
            enabledUploadPhase: false
            failClosed: true
          blockPage:
            backgroundColor: '#000000'
            footerText: hello
            headerText: hello
            logoPath: https://example.com/logo.jpg
          fips:
            tls: true
          logging:
            redactPii: true
            settingsByRuleType:
              dns:
                logAll: false
                logBlocks: true
              http:
                logAll: true
                logBlocks: true
              l4:
                logAll: false
                logBlocks: true
          proxy:
            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,
                     fips: Optional[TeamsAccountFipsArgs] = None,
                     logging: Optional[TeamsAccountLoggingArgs] = None,
                     proxy: Optional[TeamsAccountProxyArgs] = 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,
        },
        BlockPage = new Cloudflare.Inputs.TeamsAccountBlockPageArgs
        {
            BackgroundColor = "string",
            Enabled = false,
            FooterText = "string",
            HeaderText = "string",
            LogoPath = "string",
            MailtoAddress = "string",
            MailtoSubject = "string",
            Name = "string",
        },
        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,
                },
            },
        },
        Proxy = new Cloudflare.Inputs.TeamsAccountProxyArgs
        {
            Tcp = false,
            Udp = false,
        },
        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),
    	},
    	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"),
    	},
    	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),
    			},
    		},
    	},
    	Proxy: &cloudflare.TeamsAccountProxyArgs{
    		Tcp: pulumi.Bool(false),
    		Udp: pulumi.Bool(false),
    	},
    	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)
            .build())
        .blockPage(TeamsAccountBlockPageArgs.builder()
            .backgroundColor("string")
            .enabled(false)
            .footerText("string")
            .headerText("string")
            .logoPath("string")
            .mailtoAddress("string")
            .mailtoSubject("string")
            .name("string")
            .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())
        .proxy(TeamsAccountProxyArgs.builder()
            .tcp(false)
            .udp(false)
            .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,
        },
        block_page={
            "background_color": "string",
            "enabled": False,
            "footer_text": "string",
            "header_text": "string",
            "logo_path": "string",
            "mailto_address": "string",
            "mailto_subject": "string",
            "name": "string",
        },
        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,
                },
            },
        },
        proxy={
            "tcp": False,
            "udp": False,
        },
        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,
        },
        blockPage: {
            backgroundColor: "string",
            enabled: false,
            footerText: "string",
            headerText: "string",
            logoPath: "string",
            mailtoAddress: "string",
            mailtoSubject: "string",
            name: "string",
        },
        fips: {
            tls: false,
        },
        logging: {
            redactPii: false,
            settingsByRuleType: {
                dns: {
                    logAll: false,
                    logBlocks: false,
                },
                http: {
                    logAll: false,
                    logBlocks: false,
                },
                l4: {
                    logAll: false,
                    logBlocks: false,
                },
            },
        },
        proxy: {
            tcp: false,
            udp: false,
        },
        tlsDecryptEnabled: false,
        urlBrowserIsolationEnabled: false,
    });
    
    type: cloudflare:TeamsAccount
    properties:
        accountId: string
        activityLogEnabled: false
        antivirus:
            enabledDownloadPhase: false
            enabledUploadPhase: false
            failClosed: false
        blockPage:
            backgroundColor: string
            enabled: false
            footerText: string
            headerText: string
            logoPath: string
            mailtoAddress: string
            mailtoSubject: string
            name: string
        fips:
            tls: false
        logging:
            redactPii: false
            settingsByRuleType:
                dns:
                    logAll: false
                    logBlocks: false
                http:
                    logAll: false
                    logBlocks: false
                l4:
                    logAll: false
                    logBlocks: false
        proxy:
            tcp: false
            udp: false
        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.
    Fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    Logging TeamsAccountLogging
    Proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    TlsDecryptEnabled bool
    Indicator that decryption of TLS traffic is enabled.
    UrlBrowserIsolationEnabled bool
    Safely browse websites in Browser Isolation through a URL.
    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.
    Fips TeamsAccountFipsArgs
    Configure compliance with Federal Information Processing Standards.
    Logging TeamsAccountLoggingArgs
    Proxy TeamsAccountProxyArgs
    Configuration block for specifying which protocols are proxied.
    TlsDecryptEnabled bool
    Indicator that decryption of TLS traffic is enabled.
    UrlBrowserIsolationEnabled bool
    Safely browse websites in Browser Isolation through a URL.
    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.
    fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLogging
    proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    tlsDecryptEnabled Boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled Boolean
    Safely browse websites in Browser Isolation through a URL.
    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.
    fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLogging
    proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    tlsDecryptEnabled boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled boolean
    Safely browse websites in Browser Isolation through a URL.
    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.
    fips TeamsAccountFipsArgs
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLoggingArgs
    proxy TeamsAccountProxyArgs
    Configuration block for specifying which protocols are proxied.
    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.
    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.
    fips Property Map
    Configure compliance with Federal Information Processing Standards.
    logging Property Map
    proxy Property Map
    Configuration block for specifying which protocols are proxied.
    tlsDecryptEnabled Boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled Boolean
    Safely browse websites in Browser Isolation through a URL.

    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,
            fips: Optional[TeamsAccountFipsArgs] = None,
            logging: Optional[TeamsAccountLoggingArgs] = None,
            proxy: Optional[TeamsAccountProxyArgs] = 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)
    resources:  _:    type: cloudflare:TeamsAccount    get:      id: ${id}
    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.
    Fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    Logging TeamsAccountLogging
    Proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    TlsDecryptEnabled bool
    Indicator that decryption of TLS traffic is enabled.
    UrlBrowserIsolationEnabled bool
    Safely browse websites in Browser Isolation through a URL.
    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.
    Fips TeamsAccountFipsArgs
    Configure compliance with Federal Information Processing Standards.
    Logging TeamsAccountLoggingArgs
    Proxy TeamsAccountProxyArgs
    Configuration block for specifying which protocols are proxied.
    TlsDecryptEnabled bool
    Indicator that decryption of TLS traffic is enabled.
    UrlBrowserIsolationEnabled bool
    Safely browse websites in Browser Isolation through a URL.
    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.
    fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLogging
    proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    tlsDecryptEnabled Boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled Boolean
    Safely browse websites in Browser Isolation through a URL.
    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.
    fips TeamsAccountFips
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLogging
    proxy TeamsAccountProxy
    Configuration block for specifying which protocols are proxied.
    tlsDecryptEnabled boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled boolean
    Safely browse websites in Browser Isolation through a URL.
    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.
    fips TeamsAccountFipsArgs
    Configure compliance with Federal Information Processing Standards.
    logging TeamsAccountLoggingArgs
    proxy TeamsAccountProxyArgs
    Configuration block for specifying which protocols are proxied.
    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.
    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.
    fips Property Map
    Configure compliance with Federal Information Processing Standards.
    logging Property Map
    proxy Property Map
    Configuration block for specifying which protocols are proxied.
    tlsDecryptEnabled Boolean
    Indicator that decryption of TLS traffic is enabled.
    urlBrowserIsolationEnabled Boolean
    Safely browse websites in Browser Isolation through a URL.

    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.
    EnabledDownloadPhase bool
    Scan on file download.
    EnabledUploadPhase bool
    Scan on file upload.
    FailClosed bool
    Block requests for files that cannot be scanned.
    enabledDownloadPhase Boolean
    Scan on file download.
    enabledUploadPhase Boolean
    Scan on file upload.
    failClosed Boolean
    Block requests for files that cannot be scanned.
    enabledDownloadPhase boolean
    Scan on file download.
    enabledUploadPhase boolean
    Scan on file upload.
    failClosed boolean
    Block requests for files that cannot be scanned.
    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.
    enabledDownloadPhase Boolean
    Scan on file download.
    enabledUploadPhase Boolean
    Scan on file upload.
    failClosed Boolean
    Block requests for files that cannot be scanned.

    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.

    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

    TeamsAccountLoggingSettingsByRuleTypeDns, TeamsAccountLoggingSettingsByRuleTypeDnsArgs

    LogAll bool
    LogBlocks bool
    LogAll bool
    LogBlocks bool
    logAll Boolean
    logBlocks Boolean
    logAll boolean
    logBlocks boolean
    logAll Boolean
    logBlocks Boolean

    TeamsAccountLoggingSettingsByRuleTypeHttp, TeamsAccountLoggingSettingsByRuleTypeHttpArgs

    LogAll bool
    LogBlocks bool
    LogAll bool
    LogBlocks bool
    logAll Boolean
    logBlocks Boolean
    logAll boolean
    logBlocks boolean
    logAll Boolean
    logBlocks Boolean

    TeamsAccountLoggingSettingsByRuleTypeL4, TeamsAccountLoggingSettingsByRuleTypeL4Args

    LogAll bool
    LogBlocks bool
    LogAll bool
    LogBlocks bool
    logAll Boolean
    logBlocks Boolean
    logAll boolean
    logBlocks boolean
    logAll Boolean
    logBlocks Boolean

    TeamsAccountProxy, TeamsAccountProxyArgs

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

    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
    Viewing docs for Cloudflare v4.16.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.