1. Packages
  2. Ibm Provider
  3. API Docs
  4. LogsRouterSettings
ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud
ibm logo
ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud

    Create, update, and delete logs_router_settingss with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const logsRouterSettingsInstance = new ibm.LogsRouterSettings("logs_router_settings_instance", {
        backupMetadataRegion: "us-east",
        defaultTargets: [{
            id: "c3af557f-fb0e-4476-85c3-0889e7fe7bc4",
        }],
        permittedTargetRegions: us_south,
        primaryMetadataRegion: "us-south",
        privateApiEndpointOnly: false,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    logs_router_settings_instance = ibm.LogsRouterSettings("logs_router_settings_instance",
        backup_metadata_region="us-east",
        default_targets=[{
            "id": "c3af557f-fb0e-4476-85c3-0889e7fe7bc4",
        }],
        permitted_target_regions=us_south,
        primary_metadata_region="us-south",
        private_api_endpoint_only=False)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewLogsRouterSettings(ctx, "logs_router_settings_instance", &ibm.LogsRouterSettingsArgs{
    			BackupMetadataRegion: pulumi.String("us-east"),
    			DefaultTargets: ibm.LogsRouterSettingsDefaultTargetArray{
    				&ibm.LogsRouterSettingsDefaultTargetArgs{
    					Id: pulumi.String("c3af557f-fb0e-4476-85c3-0889e7fe7bc4"),
    				},
    			},
    			PermittedTargetRegions: pulumi.Any(us_south),
    			PrimaryMetadataRegion:  pulumi.String("us-south"),
    			PrivateApiEndpointOnly: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var logsRouterSettingsInstance = new Ibm.LogsRouterSettings("logs_router_settings_instance", new()
        {
            BackupMetadataRegion = "us-east",
            DefaultTargets = new[]
            {
                new Ibm.Inputs.LogsRouterSettingsDefaultTargetArgs
                {
                    Id = "c3af557f-fb0e-4476-85c3-0889e7fe7bc4",
                },
            },
            PermittedTargetRegions = us_south,
            PrimaryMetadataRegion = "us-south",
            PrivateApiEndpointOnly = false,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.LogsRouterSettings;
    import com.pulumi.ibm.LogsRouterSettingsArgs;
    import com.pulumi.ibm.inputs.LogsRouterSettingsDefaultTargetArgs;
    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 logsRouterSettingsInstance = new LogsRouterSettings("logsRouterSettingsInstance", LogsRouterSettingsArgs.builder()
                .backupMetadataRegion("us-east")
                .defaultTargets(LogsRouterSettingsDefaultTargetArgs.builder()
                    .id("c3af557f-fb0e-4476-85c3-0889e7fe7bc4")
                    .build())
                .permittedTargetRegions(us_south)
                .primaryMetadataRegion("us-south")
                .privateApiEndpointOnly(false)
                .build());
    
        }
    }
    
    resources:
      logsRouterSettingsInstance:
        type: ibm:LogsRouterSettings
        name: logs_router_settings_instance
        properties:
          backupMetadataRegion: us-east
          defaultTargets:
            - id: c3af557f-fb0e-4476-85c3-0889e7fe7bc4
          permittedTargetRegions: ${["us-south"]}
          primaryMetadataRegion: us-south
          privateApiEndpointOnly: false
    

    Create LogsRouterSettings Resource

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

    Constructor syntax

    new LogsRouterSettings(name: string, args?: LogsRouterSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def LogsRouterSettings(resource_name: str,
                           args: Optional[LogsRouterSettingsArgs] = None,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogsRouterSettings(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           backup_metadata_region: Optional[str] = None,
                           default_targets: Optional[Sequence[LogsRouterSettingsDefaultTargetArgs]] = None,
                           logs_router_settings_id: Optional[str] = None,
                           permitted_target_regions: Optional[Sequence[str]] = None,
                           primary_metadata_region: Optional[str] = None,
                           private_api_endpoint_only: Optional[bool] = None)
    func NewLogsRouterSettings(ctx *Context, name string, args *LogsRouterSettingsArgs, opts ...ResourceOption) (*LogsRouterSettings, error)
    public LogsRouterSettings(string name, LogsRouterSettingsArgs? args = null, CustomResourceOptions? opts = null)
    public LogsRouterSettings(String name, LogsRouterSettingsArgs args)
    public LogsRouterSettings(String name, LogsRouterSettingsArgs args, CustomResourceOptions options)
    
    type: ibm:LogsRouterSettings
    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 LogsRouterSettingsArgs
    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 LogsRouterSettingsArgs
    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 LogsRouterSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogsRouterSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogsRouterSettingsArgs
    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 logsRouterSettingsResource = new Ibm.LogsRouterSettings("logsRouterSettingsResource", new()
    {
        BackupMetadataRegion = "string",
        DefaultTargets = new[]
        {
            new Ibm.Inputs.LogsRouterSettingsDefaultTargetArgs
            {
                Id = "string",
            },
        },
        LogsRouterSettingsId = "string",
        PermittedTargetRegions = new[]
        {
            "string",
        },
        PrimaryMetadataRegion = "string",
        PrivateApiEndpointOnly = false,
    });
    
    example, err := ibm.NewLogsRouterSettings(ctx, "logsRouterSettingsResource", &ibm.LogsRouterSettingsArgs{
    	BackupMetadataRegion: pulumi.String("string"),
    	DefaultTargets: ibm.LogsRouterSettingsDefaultTargetArray{
    		&ibm.LogsRouterSettingsDefaultTargetArgs{
    			Id: pulumi.String("string"),
    		},
    	},
    	LogsRouterSettingsId: pulumi.String("string"),
    	PermittedTargetRegions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PrimaryMetadataRegion:  pulumi.String("string"),
    	PrivateApiEndpointOnly: pulumi.Bool(false),
    })
    
    var logsRouterSettingsResource = new LogsRouterSettings("logsRouterSettingsResource", LogsRouterSettingsArgs.builder()
        .backupMetadataRegion("string")
        .defaultTargets(LogsRouterSettingsDefaultTargetArgs.builder()
            .id("string")
            .build())
        .logsRouterSettingsId("string")
        .permittedTargetRegions("string")
        .primaryMetadataRegion("string")
        .privateApiEndpointOnly(false)
        .build());
    
    logs_router_settings_resource = ibm.LogsRouterSettings("logsRouterSettingsResource",
        backup_metadata_region="string",
        default_targets=[{
            "id": "string",
        }],
        logs_router_settings_id="string",
        permitted_target_regions=["string"],
        primary_metadata_region="string",
        private_api_endpoint_only=False)
    
    const logsRouterSettingsResource = new ibm.LogsRouterSettings("logsRouterSettingsResource", {
        backupMetadataRegion: "string",
        defaultTargets: [{
            id: "string",
        }],
        logsRouterSettingsId: "string",
        permittedTargetRegions: ["string"],
        primaryMetadataRegion: "string",
        privateApiEndpointOnly: false,
    });
    
    type: ibm:LogsRouterSettings
    properties:
        backupMetadataRegion: string
        defaultTargets:
            - id: string
        logsRouterSettingsId: string
        permittedTargetRegions:
            - string
        primaryMetadataRegion: string
        privateApiEndpointOnly: false
    

    LogsRouterSettings 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 LogsRouterSettings resource accepts the following input properties:

    BackupMetadataRegion string
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    DefaultTargets List<LogsRouterSettingsDefaultTarget>
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    LogsRouterSettingsId string
    The unique identifier of the logs_router_settings.
    PermittedTargetRegions List<string>
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    PrimaryMetadataRegion string
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    PrivateApiEndpointOnly bool
    If you set this true then you cannot access api through public network.
    BackupMetadataRegion string
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    DefaultTargets []LogsRouterSettingsDefaultTargetArgs
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    LogsRouterSettingsId string
    The unique identifier of the logs_router_settings.
    PermittedTargetRegions []string
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    PrimaryMetadataRegion string
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    PrivateApiEndpointOnly bool
    If you set this true then you cannot access api through public network.
    backupMetadataRegion String
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    defaultTargets List<LogsRouterSettingsDefaultTarget>
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    logsRouterSettingsId String
    The unique identifier of the logs_router_settings.
    permittedTargetRegions List<String>
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    primaryMetadataRegion String
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    privateApiEndpointOnly Boolean
    If you set this true then you cannot access api through public network.
    backupMetadataRegion string
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    defaultTargets LogsRouterSettingsDefaultTarget[]
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    logsRouterSettingsId string
    The unique identifier of the logs_router_settings.
    permittedTargetRegions string[]
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    primaryMetadataRegion string
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    privateApiEndpointOnly boolean
    If you set this true then you cannot access api through public network.
    backup_metadata_region str
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    default_targets Sequence[LogsRouterSettingsDefaultTargetArgs]
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    logs_router_settings_id str
    The unique identifier of the logs_router_settings.
    permitted_target_regions Sequence[str]
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    primary_metadata_region str
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    private_api_endpoint_only bool
    If you set this true then you cannot access api through public network.
    backupMetadataRegion String
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    defaultTargets List<Property Map>
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    logsRouterSettingsId String
    The unique identifier of the logs_router_settings.
    permittedTargetRegions List<String>
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    primaryMetadataRegion String
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    privateApiEndpointOnly Boolean
    If you set this true then you cannot access api through public network.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LogsRouterSettings resource produces the following output properties:

    ApiVersion double
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    Id string
    The provider-assigned unique ID for this managed resource.
    ApiVersion float64
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    Id string
    The provider-assigned unique ID for this managed resource.
    apiVersion Double
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    id String
    The provider-assigned unique ID for this managed resource.
    apiVersion number
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    id string
    The provider-assigned unique ID for this managed resource.
    api_version float
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    id str
    The provider-assigned unique ID for this managed resource.
    apiVersion Number
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LogsRouterSettings Resource

    Get an existing LogsRouterSettings 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?: LogsRouterSettingsState, opts?: CustomResourceOptions): LogsRouterSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_version: Optional[float] = None,
            backup_metadata_region: Optional[str] = None,
            default_targets: Optional[Sequence[LogsRouterSettingsDefaultTargetArgs]] = None,
            logs_router_settings_id: Optional[str] = None,
            permitted_target_regions: Optional[Sequence[str]] = None,
            primary_metadata_region: Optional[str] = None,
            private_api_endpoint_only: Optional[bool] = None) -> LogsRouterSettings
    func GetLogsRouterSettings(ctx *Context, name string, id IDInput, state *LogsRouterSettingsState, opts ...ResourceOption) (*LogsRouterSettings, error)
    public static LogsRouterSettings Get(string name, Input<string> id, LogsRouterSettingsState? state, CustomResourceOptions? opts = null)
    public static LogsRouterSettings get(String name, Output<String> id, LogsRouterSettingsState state, CustomResourceOptions options)
    resources:  _:    type: ibm:LogsRouterSettings    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:
    ApiVersion double
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    BackupMetadataRegion string
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    DefaultTargets List<LogsRouterSettingsDefaultTarget>
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    LogsRouterSettingsId string
    The unique identifier of the logs_router_settings.
    PermittedTargetRegions List<string>
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    PrimaryMetadataRegion string
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    PrivateApiEndpointOnly bool
    If you set this true then you cannot access api through public network.
    ApiVersion float64
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    BackupMetadataRegion string
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    DefaultTargets []LogsRouterSettingsDefaultTargetArgs
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    LogsRouterSettingsId string
    The unique identifier of the logs_router_settings.
    PermittedTargetRegions []string
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    PrimaryMetadataRegion string
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    PrivateApiEndpointOnly bool
    If you set this true then you cannot access api through public network.
    apiVersion Double
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    backupMetadataRegion String
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    defaultTargets List<LogsRouterSettingsDefaultTarget>
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    logsRouterSettingsId String
    The unique identifier of the logs_router_settings.
    permittedTargetRegions List<String>
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    primaryMetadataRegion String
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    privateApiEndpointOnly Boolean
    If you set this true then you cannot access api through public network.
    apiVersion number
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    backupMetadataRegion string
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    defaultTargets LogsRouterSettingsDefaultTarget[]
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    logsRouterSettingsId string
    The unique identifier of the logs_router_settings.
    permittedTargetRegions string[]
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    primaryMetadataRegion string
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    privateApiEndpointOnly boolean
    If you set this true then you cannot access api through public network.
    api_version float
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    backup_metadata_region str
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    default_targets Sequence[LogsRouterSettingsDefaultTargetArgs]
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    logs_router_settings_id str
    The unique identifier of the logs_router_settings.
    permitted_target_regions Sequence[str]
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    primary_metadata_region str
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    private_api_endpoint_only bool
    If you set this true then you cannot access api through public network.
    apiVersion Number
    (Integer) API version used for IBM Cloud Logs Routing service under the account.

    • Constraints: The maximum value is 3. The minimum value is 1.
    backupMetadataRegion String
    To backup all your meta data in a different region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    defaultTargets List<Property Map>
    A list of default target references. Enterprise-managed targets are not supported.

    • Constraints: The maximum length is 2 items. The minimum length is 0 items. Nested schema for default_targets:
    logsRouterSettingsId String
    The unique identifier of the logs_router_settings.
    permittedTargetRegions List<String>
    If present then only these regions may be used to define a target.

    • Constraints: The list items must match regular expression /^[a-zA-Z0-9 \\-_]+$/. The maximum length is 16 items. The minimum length is 0 items.
    primaryMetadataRegion String
    To store all your meta data in a single region.

    • Constraints: The maximum length is 256 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-_]+$/.
    privateApiEndpointOnly Boolean
    If you set this true then you cannot access api through public network.

    Supporting Types

    LogsRouterSettingsDefaultTarget, LogsRouterSettingsDefaultTargetArgs

    Id string
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    Id string
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id String
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id string
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id str
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.
    id String
    The target uuid for a pre-defined platform logs router target.

    • Constraints: The maximum length is 1000 characters. The minimum length is 3 characters. The value must match regular expression /^[a-zA-Z0-9 \\-._:]+$/.

    Import

    You can import the ibm_logs_router_settings resource by using primary_metadata_region. To store all your meta data in a single region.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/logsRouterSettings:LogsRouterSettings logs_router_settings <primary_metadata_region>
    ```
    
    

    Example

    $ pulumi import ibm:index/logsRouterSettings:LogsRouterSettings logs_router_settings us-south
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.88.0 published on Friday, Feb 6, 2026 by ibm-cloud
      Meet Neo: Your AI Platform Teammate