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:
- Backup
Metadata stringRegion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- Default
Targets List<LogsRouter Settings Default Target> - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- Logs
Router stringSettings Id - The unique identifier of the logs_router_settings.
- Permitted
Target List<string>Regions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- Primary
Metadata stringRegion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- Private
Api boolEndpoint Only - If you set this true then you cannot access api through public network.
- Backup
Metadata stringRegion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- Default
Targets []LogsRouter Settings Default Target Args - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- Logs
Router stringSettings Id - The unique identifier of the logs_router_settings.
- Permitted
Target []stringRegions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- Primary
Metadata stringRegion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- Private
Api boolEndpoint Only - If you set this true then you cannot access api through public network.
- backup
Metadata StringRegion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- default
Targets List<LogsRouter Settings Default Target> - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- logs
Router StringSettings Id - The unique identifier of the logs_router_settings.
- permitted
Target List<String>Regions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- primary
Metadata StringRegion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- private
Api BooleanEndpoint Only - If you set this true then you cannot access api through public network.
- backup
Metadata stringRegion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- default
Targets LogsRouter Settings Default Target[] - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- logs
Router stringSettings Id - The unique identifier of the logs_router_settings.
- permitted
Target string[]Regions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- primary
Metadata stringRegion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- private
Api booleanEndpoint Only - If you set this true then you cannot access api through public network.
- backup_
metadata_ strregion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- default_
targets Sequence[LogsRouter Settings Default Target Args] - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- logs_
router_ strsettings_ id - The unique identifier of the logs_router_settings.
- permitted_
target_ Sequence[str]regions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- primary_
metadata_ strregion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- private_
api_ boolendpoint_ only - If you set this true then you cannot access api through public network.
- backup
Metadata StringRegion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- default
Targets List<Property Map> - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- logs
Router StringSettings Id - The unique identifier of the logs_router_settings.
- permitted
Target List<String>Regions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- primary
Metadata StringRegion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- private
Api BooleanEndpoint Only - 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:
- Api
Version double - (Integer) API version used for IBM Cloud Logs Routing service under the account.
- Constraints: The maximum value is
3. The minimum value is1.
- Constraints: The maximum value is
- Id string
- The provider-assigned unique ID for this managed resource.
- Api
Version float64 - (Integer) API version used for IBM Cloud Logs Routing service under the account.
- Constraints: The maximum value is
3. The minimum value is1.
- Constraints: The maximum value is
- Id string
- The provider-assigned unique ID for this managed resource.
- api
Version Double - (Integer) API version used for IBM Cloud Logs Routing service under the account.
- Constraints: The maximum value is
3. The minimum value is1.
- Constraints: The maximum value is
- id String
- The provider-assigned unique ID for this managed resource.
- api
Version number - (Integer) API version used for IBM Cloud Logs Routing service under the account.
- Constraints: The maximum value is
3. The minimum value is1.
- Constraints: The maximum value is
- 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 is1.
- Constraints: The maximum value is
- id str
- The provider-assigned unique ID for this managed resource.
- api
Version Number - (Integer) API version used for IBM Cloud Logs Routing service under the account.
- Constraints: The maximum value is
3. The minimum value is1.
- Constraints: The maximum value is
- 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) -> LogsRouterSettingsfunc 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.
- Api
Version double - (Integer) API version used for IBM Cloud Logs Routing service under the account.
- Constraints: The maximum value is
3. The minimum value is1.
- Constraints: The maximum value is
- Backup
Metadata stringRegion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- Default
Targets List<LogsRouter Settings Default Target> - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- Logs
Router stringSettings Id - The unique identifier of the logs_router_settings.
- Permitted
Target List<string>Regions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- Primary
Metadata stringRegion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- Private
Api boolEndpoint Only - If you set this true then you cannot access api through public network.
- Api
Version float64 - (Integer) API version used for IBM Cloud Logs Routing service under the account.
- Constraints: The maximum value is
3. The minimum value is1.
- Constraints: The maximum value is
- Backup
Metadata stringRegion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- Default
Targets []LogsRouter Settings Default Target Args - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- Logs
Router stringSettings Id - The unique identifier of the logs_router_settings.
- Permitted
Target []stringRegions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- Primary
Metadata stringRegion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- Private
Api boolEndpoint Only - If you set this true then you cannot access api through public network.
- api
Version Double - (Integer) API version used for IBM Cloud Logs Routing service under the account.
- Constraints: The maximum value is
3. The minimum value is1.
- Constraints: The maximum value is
- backup
Metadata StringRegion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- default
Targets List<LogsRouter Settings Default Target> - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- logs
Router StringSettings Id - The unique identifier of the logs_router_settings.
- permitted
Target List<String>Regions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- primary
Metadata StringRegion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- private
Api BooleanEndpoint Only - If you set this true then you cannot access api through public network.
- api
Version number - (Integer) API version used for IBM Cloud Logs Routing service under the account.
- Constraints: The maximum value is
3. The minimum value is1.
- Constraints: The maximum value is
- backup
Metadata stringRegion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- default
Targets LogsRouter Settings Default Target[] - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- logs
Router stringSettings Id - The unique identifier of the logs_router_settings.
- permitted
Target string[]Regions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- primary
Metadata stringRegion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- private
Api booleanEndpoint Only - 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 is1.
- Constraints: The maximum value is
- backup_
metadata_ strregion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- default_
targets Sequence[LogsRouter Settings Default Target Args] - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- logs_
router_ strsettings_ id - The unique identifier of the logs_router_settings.
- permitted_
target_ Sequence[str]regions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- primary_
metadata_ strregion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- private_
api_ boolendpoint_ only - If you set this true then you cannot access api through public network.
- api
Version Number - (Integer) API version used for IBM Cloud Logs Routing service under the account.
- Constraints: The maximum value is
3. The minimum value is1.
- Constraints: The maximum value is
- backup
Metadata StringRegion - To backup all your meta data in a different region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- default
Targets List<Property Map> - A list of default target references. Enterprise-managed targets are not supported.
- Constraints: The maximum length is
2items. The minimum length is0items. Nested schema for default_targets:
- Constraints: The maximum length is
- logs
Router StringSettings Id - The unique identifier of the logs_router_settings.
- permitted
Target List<String>Regions - 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 is16items. The minimum length is0items.
- Constraints: The list items must match regular expression
- primary
Metadata StringRegion - To store all your meta data in a single region.
- Constraints: The maximum length is
256characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-_]+$/.
- Constraints: The maximum length is
- private
Api BooleanEndpoint Only - 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
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
- Id string
- The target uuid for a pre-defined platform logs router target.
- Constraints: The maximum length is
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
- id String
- The target uuid for a pre-defined platform logs router target.
- Constraints: The maximum length is
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
- id string
- The target uuid for a pre-defined platform logs router target.
- Constraints: The maximum length is
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
- id str
- The target uuid for a pre-defined platform logs router target.
- Constraints: The maximum length is
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
- id String
- The target uuid for a pre-defined platform logs router target.
- Constraints: The maximum length is
1000characters. The minimum length is3characters. The value must match regular expression/^[a-zA-Z0-9 \\-._:]+$/.
- Constraints: The maximum length is
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
ibmTerraform Provider.
