tencentcloud.RumOfflineLogConfigAttachment
Explore with Pulumi AI
Provides a resource to create a rum offline_log_config_attachment
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const offlineLogConfigAttachment = new tencentcloud.RumOfflineLogConfigAttachment("offlineLogConfigAttachment", {
projectKey: "ZEYrYfvaYQ30jRdmPx",
uniqueId: "100027012454",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
offline_log_config_attachment = tencentcloud.RumOfflineLogConfigAttachment("offlineLogConfigAttachment",
project_key="ZEYrYfvaYQ30jRdmPx",
unique_id="100027012454")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewRumOfflineLogConfigAttachment(ctx, "offlineLogConfigAttachment", &tencentcloud.RumOfflineLogConfigAttachmentArgs{
ProjectKey: pulumi.String("ZEYrYfvaYQ30jRdmPx"),
UniqueId: pulumi.String("100027012454"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var offlineLogConfigAttachment = new Tencentcloud.RumOfflineLogConfigAttachment("offlineLogConfigAttachment", new()
{
ProjectKey = "ZEYrYfvaYQ30jRdmPx",
UniqueId = "100027012454",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.RumOfflineLogConfigAttachment;
import com.pulumi.tencentcloud.RumOfflineLogConfigAttachmentArgs;
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 offlineLogConfigAttachment = new RumOfflineLogConfigAttachment("offlineLogConfigAttachment", RumOfflineLogConfigAttachmentArgs.builder()
.projectKey("ZEYrYfvaYQ30jRdmPx")
.uniqueId("100027012454")
.build());
}
}
resources:
offlineLogConfigAttachment:
type: tencentcloud:RumOfflineLogConfigAttachment
properties:
projectKey: ZEYrYfvaYQ30jRdmPx
uniqueId: '100027012454'
Create RumOfflineLogConfigAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RumOfflineLogConfigAttachment(name: string, args: RumOfflineLogConfigAttachmentArgs, opts?: CustomResourceOptions);
@overload
def RumOfflineLogConfigAttachment(resource_name: str,
args: RumOfflineLogConfigAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RumOfflineLogConfigAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_key: Optional[str] = None,
unique_id: Optional[str] = None,
rum_offline_log_config_attachment_id: Optional[str] = None)
func NewRumOfflineLogConfigAttachment(ctx *Context, name string, args RumOfflineLogConfigAttachmentArgs, opts ...ResourceOption) (*RumOfflineLogConfigAttachment, error)
public RumOfflineLogConfigAttachment(string name, RumOfflineLogConfigAttachmentArgs args, CustomResourceOptions? opts = null)
public RumOfflineLogConfigAttachment(String name, RumOfflineLogConfigAttachmentArgs args)
public RumOfflineLogConfigAttachment(String name, RumOfflineLogConfigAttachmentArgs args, CustomResourceOptions options)
type: tencentcloud:RumOfflineLogConfigAttachment
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 RumOfflineLogConfigAttachmentArgs
- 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 RumOfflineLogConfigAttachmentArgs
- 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 RumOfflineLogConfigAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RumOfflineLogConfigAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RumOfflineLogConfigAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
RumOfflineLogConfigAttachment 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 RumOfflineLogConfigAttachment resource accepts the following input properties:
- Project
Key string - Unique project key for reporting.
- Unique
Id string - Unique identifier of the user to be listened on(aid or uin).
- Rum
Offline stringLog Config Attachment Id - ID of the resource.
- Project
Key string - Unique project key for reporting.
- Unique
Id string - Unique identifier of the user to be listened on(aid or uin).
- Rum
Offline stringLog Config Attachment Id - ID of the resource.
- project
Key String - Unique project key for reporting.
- unique
Id String - Unique identifier of the user to be listened on(aid or uin).
- rum
Offline StringLog Config Attachment Id - ID of the resource.
- project
Key string - Unique project key for reporting.
- unique
Id string - Unique identifier of the user to be listened on(aid or uin).
- rum
Offline stringLog Config Attachment Id - ID of the resource.
- project_
key str - Unique project key for reporting.
- unique_
id str - Unique identifier of the user to be listened on(aid or uin).
- rum_
offline_ strlog_ config_ attachment_ id - ID of the resource.
- project
Key String - Unique project key for reporting.
- unique
Id String - Unique identifier of the user to be listened on(aid or uin).
- rum
Offline StringLog Config Attachment Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the RumOfflineLogConfigAttachment resource produces the following output properties:
Look up Existing RumOfflineLogConfigAttachment Resource
Get an existing RumOfflineLogConfigAttachment 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?: RumOfflineLogConfigAttachmentState, opts?: CustomResourceOptions): RumOfflineLogConfigAttachment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
msg: Optional[str] = None,
project_key: Optional[str] = None,
rum_offline_log_config_attachment_id: Optional[str] = None,
unique_id: Optional[str] = None) -> RumOfflineLogConfigAttachment
func GetRumOfflineLogConfigAttachment(ctx *Context, name string, id IDInput, state *RumOfflineLogConfigAttachmentState, opts ...ResourceOption) (*RumOfflineLogConfigAttachment, error)
public static RumOfflineLogConfigAttachment Get(string name, Input<string> id, RumOfflineLogConfigAttachmentState? state, CustomResourceOptions? opts = null)
public static RumOfflineLogConfigAttachment get(String name, Output<String> id, RumOfflineLogConfigAttachmentState state, CustomResourceOptions options)
resources: _: type: tencentcloud:RumOfflineLogConfigAttachment 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.
- Msg string
- Interface call information.
- Project
Key string - Unique project key for reporting.
- Rum
Offline stringLog Config Attachment Id - ID of the resource.
- Unique
Id string - Unique identifier of the user to be listened on(aid or uin).
- Msg string
- Interface call information.
- Project
Key string - Unique project key for reporting.
- Rum
Offline stringLog Config Attachment Id - ID of the resource.
- Unique
Id string - Unique identifier of the user to be listened on(aid or uin).
- msg String
- Interface call information.
- project
Key String - Unique project key for reporting.
- rum
Offline StringLog Config Attachment Id - ID of the resource.
- unique
Id String - Unique identifier of the user to be listened on(aid or uin).
- msg string
- Interface call information.
- project
Key string - Unique project key for reporting.
- rum
Offline stringLog Config Attachment Id - ID of the resource.
- unique
Id string - Unique identifier of the user to be listened on(aid or uin).
- msg str
- Interface call information.
- project_
key str - Unique project key for reporting.
- rum_
offline_ strlog_ config_ attachment_ id - ID of the resource.
- unique_
id str - Unique identifier of the user to be listened on(aid or uin).
- msg String
- Interface call information.
- project
Key String - Unique project key for reporting.
- rum
Offline StringLog Config Attachment Id - ID of the resource.
- unique
Id String - Unique identifier of the user to be listened on(aid or uin).
Import
rum offline_log_config_attachment can be imported using the id, e.g.
$ pulumi import tencentcloud:index/rumOfflineLogConfigAttachment:RumOfflineLogConfigAttachment offline_log_config_attachment ZEYrYfvaYQ30jRdmPx#100027012454
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.