opentelekomcloud.RmsResourceRecorderV1
Explore with Pulumi AI
Up-to-date reference of API arguments for RMS Resource Recorder you can get at documentation portal
Manages a RMS recorder resource within OpenTelekomCloud.
Only one resource recorder can be configured.
Example Usage
Recorder with All Supported Resources
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const topicUrn = config.requireObject("topicUrn");
const bucketName = config.requireObject("bucketName");
const deliveryRegion = config.requireObject("deliveryRegion");
const test = new opentelekomcloud.RmsResourceRecorderV1("test", {
agencyName: "rms_tracker_agency",
selector: {
allSupported: true,
},
obsChannel: {
bucket: bucketName,
region: deliveryRegion,
},
smnChannel: {
topicUrn: topicUrn,
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
topic_urn = config.require_object("topicUrn")
bucket_name = config.require_object("bucketName")
delivery_region = config.require_object("deliveryRegion")
test = opentelekomcloud.RmsResourceRecorderV1("test",
agency_name="rms_tracker_agency",
selector={
"all_supported": True,
},
obs_channel={
"bucket": bucket_name,
"region": delivery_region,
},
smn_channel={
"topic_urn": topic_urn,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
topicUrn := cfg.RequireObject("topicUrn")
bucketName := cfg.RequireObject("bucketName")
deliveryRegion := cfg.RequireObject("deliveryRegion")
_, err := opentelekomcloud.NewRmsResourceRecorderV1(ctx, "test", &opentelekomcloud.RmsResourceRecorderV1Args{
AgencyName: pulumi.String("rms_tracker_agency"),
Selector: &opentelekomcloud.RmsResourceRecorderV1SelectorArgs{
AllSupported: pulumi.Bool(true),
},
ObsChannel: &opentelekomcloud.RmsResourceRecorderV1ObsChannelArgs{
Bucket: pulumi.Any(bucketName),
Region: pulumi.Any(deliveryRegion),
},
SmnChannel: &opentelekomcloud.RmsResourceRecorderV1SmnChannelArgs{
TopicUrn: pulumi.Any(topicUrn),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var topicUrn = config.RequireObject<dynamic>("topicUrn");
var bucketName = config.RequireObject<dynamic>("bucketName");
var deliveryRegion = config.RequireObject<dynamic>("deliveryRegion");
var test = new Opentelekomcloud.RmsResourceRecorderV1("test", new()
{
AgencyName = "rms_tracker_agency",
Selector = new Opentelekomcloud.Inputs.RmsResourceRecorderV1SelectorArgs
{
AllSupported = true,
},
ObsChannel = new Opentelekomcloud.Inputs.RmsResourceRecorderV1ObsChannelArgs
{
Bucket = bucketName,
Region = deliveryRegion,
},
SmnChannel = new Opentelekomcloud.Inputs.RmsResourceRecorderV1SmnChannelArgs
{
TopicUrn = topicUrn,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.RmsResourceRecorderV1;
import com.pulumi.opentelekomcloud.RmsResourceRecorderV1Args;
import com.pulumi.opentelekomcloud.inputs.RmsResourceRecorderV1SelectorArgs;
import com.pulumi.opentelekomcloud.inputs.RmsResourceRecorderV1ObsChannelArgs;
import com.pulumi.opentelekomcloud.inputs.RmsResourceRecorderV1SmnChannelArgs;
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) {
final var config = ctx.config();
final var topicUrn = config.get("topicUrn");
final var bucketName = config.get("bucketName");
final var deliveryRegion = config.get("deliveryRegion");
var test = new RmsResourceRecorderV1("test", RmsResourceRecorderV1Args.builder()
.agencyName("rms_tracker_agency")
.selector(RmsResourceRecorderV1SelectorArgs.builder()
.allSupported(true)
.build())
.obsChannel(RmsResourceRecorderV1ObsChannelArgs.builder()
.bucket(bucketName)
.region(deliveryRegion)
.build())
.smnChannel(RmsResourceRecorderV1SmnChannelArgs.builder()
.topicUrn(topicUrn)
.build())
.build());
}
}
configuration:
topicUrn:
type: dynamic
bucketName:
type: dynamic
deliveryRegion:
type: dynamic
resources:
test:
type: opentelekomcloud:RmsResourceRecorderV1
properties:
agencyName: rms_tracker_agency
selector:
allSupported: true
obsChannel:
bucket: ${bucketName}
region: ${deliveryRegion}
smnChannel:
topicUrn: ${topicUrn}
Recorder with Specified Resources
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const bucketName = config.requireObject("bucketName");
const deliveryRegion = config.requireObject("deliveryRegion");
const test = new opentelekomcloud.RmsResourceRecorderV1("test", {
agencyName: "rms_tracker_agency",
selector: {
allSupported: false,
resourceTypes: [
"vpc.vpcs",
"rds.instances",
"dms.kafkas",
"dms.rabbitmqs",
"dms.queues",
],
},
obsChannel: {
bucket: bucketName,
region: deliveryRegion,
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
bucket_name = config.require_object("bucketName")
delivery_region = config.require_object("deliveryRegion")
test = opentelekomcloud.RmsResourceRecorderV1("test",
agency_name="rms_tracker_agency",
selector={
"all_supported": False,
"resource_types": [
"vpc.vpcs",
"rds.instances",
"dms.kafkas",
"dms.rabbitmqs",
"dms.queues",
],
},
obs_channel={
"bucket": bucket_name,
"region": delivery_region,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
bucketName := cfg.RequireObject("bucketName")
deliveryRegion := cfg.RequireObject("deliveryRegion")
_, err := opentelekomcloud.NewRmsResourceRecorderV1(ctx, "test", &opentelekomcloud.RmsResourceRecorderV1Args{
AgencyName: pulumi.String("rms_tracker_agency"),
Selector: &opentelekomcloud.RmsResourceRecorderV1SelectorArgs{
AllSupported: pulumi.Bool(false),
ResourceTypes: pulumi.StringArray{
pulumi.String("vpc.vpcs"),
pulumi.String("rds.instances"),
pulumi.String("dms.kafkas"),
pulumi.String("dms.rabbitmqs"),
pulumi.String("dms.queues"),
},
},
ObsChannel: &opentelekomcloud.RmsResourceRecorderV1ObsChannelArgs{
Bucket: pulumi.Any(bucketName),
Region: pulumi.Any(deliveryRegion),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var bucketName = config.RequireObject<dynamic>("bucketName");
var deliveryRegion = config.RequireObject<dynamic>("deliveryRegion");
var test = new Opentelekomcloud.RmsResourceRecorderV1("test", new()
{
AgencyName = "rms_tracker_agency",
Selector = new Opentelekomcloud.Inputs.RmsResourceRecorderV1SelectorArgs
{
AllSupported = false,
ResourceTypes = new[]
{
"vpc.vpcs",
"rds.instances",
"dms.kafkas",
"dms.rabbitmqs",
"dms.queues",
},
},
ObsChannel = new Opentelekomcloud.Inputs.RmsResourceRecorderV1ObsChannelArgs
{
Bucket = bucketName,
Region = deliveryRegion,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.RmsResourceRecorderV1;
import com.pulumi.opentelekomcloud.RmsResourceRecorderV1Args;
import com.pulumi.opentelekomcloud.inputs.RmsResourceRecorderV1SelectorArgs;
import com.pulumi.opentelekomcloud.inputs.RmsResourceRecorderV1ObsChannelArgs;
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) {
final var config = ctx.config();
final var bucketName = config.get("bucketName");
final var deliveryRegion = config.get("deliveryRegion");
var test = new RmsResourceRecorderV1("test", RmsResourceRecorderV1Args.builder()
.agencyName("rms_tracker_agency")
.selector(RmsResourceRecorderV1SelectorArgs.builder()
.allSupported(false)
.resourceTypes(
"vpc.vpcs",
"rds.instances",
"dms.kafkas",
"dms.rabbitmqs",
"dms.queues")
.build())
.obsChannel(RmsResourceRecorderV1ObsChannelArgs.builder()
.bucket(bucketName)
.region(deliveryRegion)
.build())
.build());
}
}
configuration:
bucketName:
type: dynamic
deliveryRegion:
type: dynamic
resources:
test:
type: opentelekomcloud:RmsResourceRecorderV1
properties:
agencyName: rms_tracker_agency
selector:
allSupported: false
resourceTypes:
- vpc.vpcs
- rds.instances
- dms.kafkas
- dms.rabbitmqs
- dms.queues
obsChannel:
bucket: ${bucketName}
region: ${deliveryRegion}
Create RmsResourceRecorderV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RmsResourceRecorderV1(name: string, args: RmsResourceRecorderV1Args, opts?: CustomResourceOptions);
@overload
def RmsResourceRecorderV1(resource_name: str,
args: RmsResourceRecorderV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def RmsResourceRecorderV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
agency_name: Optional[str] = None,
selector: Optional[RmsResourceRecorderV1SelectorArgs] = None,
obs_channel: Optional[RmsResourceRecorderV1ObsChannelArgs] = None,
rms_resource_recorder_v1_id: Optional[str] = None,
smn_channel: Optional[RmsResourceRecorderV1SmnChannelArgs] = None)
func NewRmsResourceRecorderV1(ctx *Context, name string, args RmsResourceRecorderV1Args, opts ...ResourceOption) (*RmsResourceRecorderV1, error)
public RmsResourceRecorderV1(string name, RmsResourceRecorderV1Args args, CustomResourceOptions? opts = null)
public RmsResourceRecorderV1(String name, RmsResourceRecorderV1Args args)
public RmsResourceRecorderV1(String name, RmsResourceRecorderV1Args args, CustomResourceOptions options)
type: opentelekomcloud:RmsResourceRecorderV1
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 RmsResourceRecorderV1Args
- 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 RmsResourceRecorderV1Args
- 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 RmsResourceRecorderV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RmsResourceRecorderV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RmsResourceRecorderV1Args
- 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 rmsResourceRecorderV1Resource = new Opentelekomcloud.RmsResourceRecorderV1("rmsResourceRecorderV1Resource", new()
{
AgencyName = "string",
Selector = new Opentelekomcloud.Inputs.RmsResourceRecorderV1SelectorArgs
{
AllSupported = false,
ResourceTypes = new[]
{
"string",
},
},
ObsChannel = new Opentelekomcloud.Inputs.RmsResourceRecorderV1ObsChannelArgs
{
Bucket = "string",
Region = "string",
BucketPrefix = "string",
},
RmsResourceRecorderV1Id = "string",
SmnChannel = new Opentelekomcloud.Inputs.RmsResourceRecorderV1SmnChannelArgs
{
TopicUrn = "string",
ProjectId = "string",
Region = "string",
},
});
example, err := opentelekomcloud.NewRmsResourceRecorderV1(ctx, "rmsResourceRecorderV1Resource", &opentelekomcloud.RmsResourceRecorderV1Args{
AgencyName: pulumi.String("string"),
Selector: &opentelekomcloud.RmsResourceRecorderV1SelectorArgs{
AllSupported: pulumi.Bool(false),
ResourceTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
ObsChannel: &opentelekomcloud.RmsResourceRecorderV1ObsChannelArgs{
Bucket: pulumi.String("string"),
Region: pulumi.String("string"),
BucketPrefix: pulumi.String("string"),
},
RmsResourceRecorderV1Id: pulumi.String("string"),
SmnChannel: &opentelekomcloud.RmsResourceRecorderV1SmnChannelArgs{
TopicUrn: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Region: pulumi.String("string"),
},
})
var rmsResourceRecorderV1Resource = new RmsResourceRecorderV1("rmsResourceRecorderV1Resource", RmsResourceRecorderV1Args.builder()
.agencyName("string")
.selector(RmsResourceRecorderV1SelectorArgs.builder()
.allSupported(false)
.resourceTypes("string")
.build())
.obsChannel(RmsResourceRecorderV1ObsChannelArgs.builder()
.bucket("string")
.region("string")
.bucketPrefix("string")
.build())
.rmsResourceRecorderV1Id("string")
.smnChannel(RmsResourceRecorderV1SmnChannelArgs.builder()
.topicUrn("string")
.projectId("string")
.region("string")
.build())
.build());
rms_resource_recorder_v1_resource = opentelekomcloud.RmsResourceRecorderV1("rmsResourceRecorderV1Resource",
agency_name="string",
selector={
"all_supported": False,
"resource_types": ["string"],
},
obs_channel={
"bucket": "string",
"region": "string",
"bucket_prefix": "string",
},
rms_resource_recorder_v1_id="string",
smn_channel={
"topic_urn": "string",
"project_id": "string",
"region": "string",
})
const rmsResourceRecorderV1Resource = new opentelekomcloud.RmsResourceRecorderV1("rmsResourceRecorderV1Resource", {
agencyName: "string",
selector: {
allSupported: false,
resourceTypes: ["string"],
},
obsChannel: {
bucket: "string",
region: "string",
bucketPrefix: "string",
},
rmsResourceRecorderV1Id: "string",
smnChannel: {
topicUrn: "string",
projectId: "string",
region: "string",
},
});
type: opentelekomcloud:RmsResourceRecorderV1
properties:
agencyName: string
obsChannel:
bucket: string
bucketPrefix: string
region: string
rmsResourceRecorderV1Id: string
selector:
allSupported: false
resourceTypes:
- string
smnChannel:
projectId: string
region: string
topicUrn: string
RmsResourceRecorderV1 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 RmsResourceRecorderV1 resource accepts the following input properties:
- Agency
Name string - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- Selector
Rms
Resource Recorder V1Selector - Specifies configurations of resource selector. The object structure is documented below.
- Obs
Channel RmsResource Recorder V1Obs Channel - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- Rms
Resource stringRecorder V1Id - The resource ID.
- Smn
Channel RmsResource Recorder V1Smn Channel Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
- Agency
Name string - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- Selector
Rms
Resource Recorder V1Selector Args - Specifies configurations of resource selector. The object structure is documented below.
- Obs
Channel RmsResource Recorder V1Obs Channel Args - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- Rms
Resource stringRecorder V1Id - The resource ID.
- Smn
Channel RmsResource Recorder V1Smn Channel Args Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
- agency
Name String - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- selector
Rms
Resource Recorder V1Selector - Specifies configurations of resource selector. The object structure is documented below.
- obs
Channel RmsResource Recorder V1Obs Channel - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- rms
Resource StringRecorder V1Id - The resource ID.
- smn
Channel RmsResource Recorder V1Smn Channel Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
- agency
Name string - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- selector
Rms
Resource Recorder V1Selector - Specifies configurations of resource selector. The object structure is documented below.
- obs
Channel RmsResource Recorder V1Obs Channel - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- rms
Resource stringRecorder V1Id - The resource ID.
- smn
Channel RmsResource Recorder V1Smn Channel Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
- agency_
name str - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- selector
Rms
Resource Recorder V1Selector Args - Specifies configurations of resource selector. The object structure is documented below.
- obs_
channel RmsResource Recorder V1Obs Channel Args - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- rms_
resource_ strrecorder_ v1_ id - The resource ID.
- smn_
channel RmsResource Recorder V1Smn Channel Args Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
- agency
Name String - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- selector Property Map
- Specifies configurations of resource selector. The object structure is documented below.
- obs
Channel Property Map - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- rms
Resource StringRecorder V1Id - The resource ID.
- smn
Channel Property Map Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
Outputs
All input properties are implicitly available as output properties. Additionally, the RmsResourceRecorderV1 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Retention
Period double - The number of days for data storage.
- Id string
- The provider-assigned unique ID for this managed resource.
- Retention
Period float64 - The number of days for data storage.
- id String
- The provider-assigned unique ID for this managed resource.
- retention
Period Double - The number of days for data storage.
- id string
- The provider-assigned unique ID for this managed resource.
- retention
Period number - The number of days for data storage.
- id str
- The provider-assigned unique ID for this managed resource.
- retention_
period float - The number of days for data storage.
- id String
- The provider-assigned unique ID for this managed resource.
- retention
Period Number - The number of days for data storage.
Look up Existing RmsResourceRecorderV1 Resource
Get an existing RmsResourceRecorderV1 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?: RmsResourceRecorderV1State, opts?: CustomResourceOptions): RmsResourceRecorderV1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agency_name: Optional[str] = None,
obs_channel: Optional[RmsResourceRecorderV1ObsChannelArgs] = None,
retention_period: Optional[float] = None,
rms_resource_recorder_v1_id: Optional[str] = None,
selector: Optional[RmsResourceRecorderV1SelectorArgs] = None,
smn_channel: Optional[RmsResourceRecorderV1SmnChannelArgs] = None) -> RmsResourceRecorderV1
func GetRmsResourceRecorderV1(ctx *Context, name string, id IDInput, state *RmsResourceRecorderV1State, opts ...ResourceOption) (*RmsResourceRecorderV1, error)
public static RmsResourceRecorderV1 Get(string name, Input<string> id, RmsResourceRecorderV1State? state, CustomResourceOptions? opts = null)
public static RmsResourceRecorderV1 get(String name, Output<String> id, RmsResourceRecorderV1State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:RmsResourceRecorderV1 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.
- Agency
Name string - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- Obs
Channel RmsResource Recorder V1Obs Channel - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- Retention
Period double - The number of days for data storage.
- Rms
Resource stringRecorder V1Id - The resource ID.
- Selector
Rms
Resource Recorder V1Selector - Specifies configurations of resource selector. The object structure is documented below.
- Smn
Channel RmsResource Recorder V1Smn Channel Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
- Agency
Name string - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- Obs
Channel RmsResource Recorder V1Obs Channel Args - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- Retention
Period float64 - The number of days for data storage.
- Rms
Resource stringRecorder V1Id - The resource ID.
- Selector
Rms
Resource Recorder V1Selector Args - Specifies configurations of resource selector. The object structure is documented below.
- Smn
Channel RmsResource Recorder V1Smn Channel Args Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
- agency
Name String - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- obs
Channel RmsResource Recorder V1Obs Channel - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- retention
Period Double - The number of days for data storage.
- rms
Resource StringRecorder V1Id - The resource ID.
- selector
Rms
Resource Recorder V1Selector - Specifies configurations of resource selector. The object structure is documented below.
- smn
Channel RmsResource Recorder V1Smn Channel Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
- agency
Name string - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- obs
Channel RmsResource Recorder V1Obs Channel - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- retention
Period number - The number of days for data storage.
- rms
Resource stringRecorder V1Id - The resource ID.
- selector
Rms
Resource Recorder V1Selector - Specifies configurations of resource selector. The object structure is documented below.
- smn
Channel RmsResource Recorder V1Smn Channel Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
- agency_
name str - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- obs_
channel RmsResource Recorder V1Obs Channel Args - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- retention_
period float - The number of days for data storage.
- rms_
resource_ strrecorder_ v1_ id - The resource ID.
- selector
Rms
Resource Recorder V1Selector Args - Specifies configurations of resource selector. The object structure is documented below.
- smn_
channel RmsResource Recorder V1Smn Channel Args Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
- agency
Name String - Specifies the IAM agency name which must include permissions for sending notifications through SMN and for writing data into OBS.
- obs
Channel Property Map - Specifies configurations of the OBS bucket used for data dumping. The object structure is documented below.
- retention
Period Number - The number of days for data storage.
- rms
Resource StringRecorder V1Id - The resource ID.
- selector Property Map
- Specifies configurations of resource selector. The object structure is documented below.
- smn
Channel Property Map Specifies configurations of the SMN channel used to send notifications. The object structure is documented below.
At least one
obs_channel
orsmn_channel
must be configured.The
selector
block supports:
Supporting Types
RmsResourceRecorderV1ObsChannel, RmsResourceRecorderV1ObsChannelArgs
- Bucket string
- Specifies the OBS bucket name used for data dumping.
- Region string
- Specifies the region where this bucket is located.
- Bucket
Prefix string Specifies the OBS bucket prefix.
The
smn_channel
block supports:
- Bucket string
- Specifies the OBS bucket name used for data dumping.
- Region string
- Specifies the region where this bucket is located.
- Bucket
Prefix string Specifies the OBS bucket prefix.
The
smn_channel
block supports:
- bucket String
- Specifies the OBS bucket name used for data dumping.
- region String
- Specifies the region where this bucket is located.
- bucket
Prefix String Specifies the OBS bucket prefix.
The
smn_channel
block supports:
- bucket string
- Specifies the OBS bucket name used for data dumping.
- region string
- Specifies the region where this bucket is located.
- bucket
Prefix string Specifies the OBS bucket prefix.
The
smn_channel
block supports:
- bucket str
- Specifies the OBS bucket name used for data dumping.
- region str
- Specifies the region where this bucket is located.
- bucket_
prefix str Specifies the OBS bucket prefix.
The
smn_channel
block supports:
- bucket String
- Specifies the OBS bucket name used for data dumping.
- region String
- Specifies the region where this bucket is located.
- bucket
Prefix String Specifies the OBS bucket prefix.
The
smn_channel
block supports:
RmsResourceRecorderV1Selector, RmsResourceRecorderV1SelectorArgs
- All
Supported bool - Specifies whether to select all supported resources.
- Resource
Types List<string> Specifies the resource type list.
The
obs_channel
block supports:
- All
Supported bool - Specifies whether to select all supported resources.
- Resource
Types []string Specifies the resource type list.
The
obs_channel
block supports:
- all
Supported Boolean - Specifies whether to select all supported resources.
- resource
Types List<String> Specifies the resource type list.
The
obs_channel
block supports:
- all
Supported boolean - Specifies whether to select all supported resources.
- resource
Types string[] Specifies the resource type list.
The
obs_channel
block supports:
- all_
supported bool - Specifies whether to select all supported resources.
- resource_
types Sequence[str] Specifies the resource type list.
The
obs_channel
block supports:
- all
Supported Boolean - Specifies whether to select all supported resources.
- resource
Types List<String> Specifies the resource type list.
The
obs_channel
block supports:
RmsResourceRecorderV1SmnChannel, RmsResourceRecorderV1SmnChannelArgs
- topic_
urn str - Specifies the SMN topic URN used to send notifications.
- project_
id str - The project ID where this SMN topic is located.
- region str
- Specifies the region where this bucket is located.
Import
The recorder can be imported by providing domain_id
as resource ID, e.g.
bash
$ pulumi import opentelekomcloud:index/rmsResourceRecorderV1:RmsResourceRecorderV1 test domain_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.