1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. LtsCrossAccountAccessV2
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.LtsCrossAccountAccessV2

Explore with Pulumi AI

Manages an LTS cross account access resource within OpenTelekomCloud.

NOTE: Before using this resource:
1. You need to prepare an agency relationship.
2. Before data synchronization is complete, data in the target and source log streams may be different. Check back later in one hour.
3. After you configure cross-account access, if account A deletes the agency from IAM, LTS cannot detect the deletion and the cross-account ingestion still takes effect. If the cross-account access configuration is no longer used, notify account B to delete it.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const config = new pulumi.Config();
const name = config.requireObject("name");
const agencyGroupId = config.requireObject("agencyGroupId");
const agencyStreamId = config.requireObject("agencyStreamId");
const agencyGroupName = config.requireObject("agencyGroupName");
const agencyStreamName = config.requireObject("agencyStreamName");
const logGroupId = config.requireObject("logGroupId");
const logStreamId = config.requireObject("logStreamId");
const logGroupName = config.requireObject("logGroupName");
const logStreamName = config.requireObject("logStreamName");
const agencyName = config.requireObject("agencyName");
const agencyDomainName = config.requireObject("agencyDomainName");
const agencyProjectId = config.requireObject("agencyProjectId");
const conn = new opentelekomcloud.LtsCrossAccountAccessV2("conn", {
    agencyProjectId: agencyProjectId,
    agencyDomainName: agencyDomainName,
    agencyName: agencyName,
    logAgencyStreamName: agencyStreamName,
    logAgencyStreamId: agencyStreamId,
    logAgencyGroupName: agencyGroupName,
    logAgencyGroupId: agencyGroupId,
    logStreamName: logStreamName,
    logStreamId: logStreamId,
    logGroupName: logGroupName,
    logGroupId: logGroupId,
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

config = pulumi.Config()
name = config.require_object("name")
agency_group_id = config.require_object("agencyGroupId")
agency_stream_id = config.require_object("agencyStreamId")
agency_group_name = config.require_object("agencyGroupName")
agency_stream_name = config.require_object("agencyStreamName")
log_group_id = config.require_object("logGroupId")
log_stream_id = config.require_object("logStreamId")
log_group_name = config.require_object("logGroupName")
log_stream_name = config.require_object("logStreamName")
agency_name = config.require_object("agencyName")
agency_domain_name = config.require_object("agencyDomainName")
agency_project_id = config.require_object("agencyProjectId")
conn = opentelekomcloud.LtsCrossAccountAccessV2("conn",
    agency_project_id=agency_project_id,
    agency_domain_name=agency_domain_name,
    agency_name=agency_name,
    log_agency_stream_name=agency_stream_name,
    log_agency_stream_id=agency_stream_id,
    log_agency_group_name=agency_group_name,
    log_agency_group_id=agency_group_id,
    log_stream_name=log_stream_name,
    log_stream_id=log_stream_id,
    log_group_name=log_group_name,
    log_group_id=log_group_id)
Copy
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, "")
		name := cfg.RequireObject("name")
		agencyGroupId := cfg.RequireObject("agencyGroupId")
		agencyStreamId := cfg.RequireObject("agencyStreamId")
		agencyGroupName := cfg.RequireObject("agencyGroupName")
		agencyStreamName := cfg.RequireObject("agencyStreamName")
		logGroupId := cfg.RequireObject("logGroupId")
		logStreamId := cfg.RequireObject("logStreamId")
		logGroupName := cfg.RequireObject("logGroupName")
		logStreamName := cfg.RequireObject("logStreamName")
		agencyName := cfg.RequireObject("agencyName")
		agencyDomainName := cfg.RequireObject("agencyDomainName")
		agencyProjectId := cfg.RequireObject("agencyProjectId")
		_, err := opentelekomcloud.NewLtsCrossAccountAccessV2(ctx, "conn", &opentelekomcloud.LtsCrossAccountAccessV2Args{
			AgencyProjectId:     pulumi.Any(agencyProjectId),
			AgencyDomainName:    pulumi.Any(agencyDomainName),
			AgencyName:          pulumi.Any(agencyName),
			LogAgencyStreamName: pulumi.Any(agencyStreamName),
			LogAgencyStreamId:   pulumi.Any(agencyStreamId),
			LogAgencyGroupName:  pulumi.Any(agencyGroupName),
			LogAgencyGroupId:    pulumi.Any(agencyGroupId),
			LogStreamName:       pulumi.Any(logStreamName),
			LogStreamId:         pulumi.Any(logStreamId),
			LogGroupName:        pulumi.Any(logGroupName),
			LogGroupId:          pulumi.Any(logGroupId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.RequireObject<dynamic>("name");
    var agencyGroupId = config.RequireObject<dynamic>("agencyGroupId");
    var agencyStreamId = config.RequireObject<dynamic>("agencyStreamId");
    var agencyGroupName = config.RequireObject<dynamic>("agencyGroupName");
    var agencyStreamName = config.RequireObject<dynamic>("agencyStreamName");
    var logGroupId = config.RequireObject<dynamic>("logGroupId");
    var logStreamId = config.RequireObject<dynamic>("logStreamId");
    var logGroupName = config.RequireObject<dynamic>("logGroupName");
    var logStreamName = config.RequireObject<dynamic>("logStreamName");
    var agencyName = config.RequireObject<dynamic>("agencyName");
    var agencyDomainName = config.RequireObject<dynamic>("agencyDomainName");
    var agencyProjectId = config.RequireObject<dynamic>("agencyProjectId");
    var conn = new Opentelekomcloud.LtsCrossAccountAccessV2("conn", new()
    {
        AgencyProjectId = agencyProjectId,
        AgencyDomainName = agencyDomainName,
        AgencyName = agencyName,
        LogAgencyStreamName = agencyStreamName,
        LogAgencyStreamId = agencyStreamId,
        LogAgencyGroupName = agencyGroupName,
        LogAgencyGroupId = agencyGroupId,
        LogStreamName = logStreamName,
        LogStreamId = logStreamId,
        LogGroupName = logGroupName,
        LogGroupId = logGroupId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.LtsCrossAccountAccessV2;
import com.pulumi.opentelekomcloud.LtsCrossAccountAccessV2Args;
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 name = config.get("name");
        final var agencyGroupId = config.get("agencyGroupId");
        final var agencyStreamId = config.get("agencyStreamId");
        final var agencyGroupName = config.get("agencyGroupName");
        final var agencyStreamName = config.get("agencyStreamName");
        final var logGroupId = config.get("logGroupId");
        final var logStreamId = config.get("logStreamId");
        final var logGroupName = config.get("logGroupName");
        final var logStreamName = config.get("logStreamName");
        final var agencyName = config.get("agencyName");
        final var agencyDomainName = config.get("agencyDomainName");
        final var agencyProjectId = config.get("agencyProjectId");
        var conn = new LtsCrossAccountAccessV2("conn", LtsCrossAccountAccessV2Args.builder()
            .agencyProjectId(agencyProjectId)
            .agencyDomainName(agencyDomainName)
            .agencyName(agencyName)
            .logAgencyStreamName(agencyStreamName)
            .logAgencyStreamId(agencyStreamId)
            .logAgencyGroupName(agencyGroupName)
            .logAgencyGroupId(agencyGroupId)
            .logStreamName(logStreamName)
            .logStreamId(logStreamId)
            .logGroupName(logGroupName)
            .logGroupId(logGroupId)
            .build());

    }
}
Copy
configuration:
  name:
    type: dynamic
  agencyGroupId:
    type: dynamic
  agencyStreamId:
    type: dynamic
  agencyGroupName:
    type: dynamic
  agencyStreamName:
    type: dynamic
  logGroupId:
    type: dynamic
  logStreamId:
    type: dynamic
  logGroupName:
    type: dynamic
  logStreamName:
    type: dynamic
  agencyName:
    type: dynamic
  agencyDomainName:
    type: dynamic
  agencyProjectId:
    type: dynamic
resources:
  conn:
    type: opentelekomcloud:LtsCrossAccountAccessV2
    properties:
      agencyProjectId: ${agencyProjectId}
      agencyDomainName: ${agencyDomainName}
      agencyName: ${agencyName}
      logAgencyStreamName: ${agencyStreamName}
      logAgencyStreamId: ${agencyStreamId}
      logAgencyGroupName: ${agencyGroupName}
      logAgencyGroupId: ${agencyGroupId}
      logStreamName: ${logStreamName}
      logStreamId: ${logStreamId}
      logGroupName: ${logGroupName}
      logGroupId: ${logGroupId}
Copy

Create LtsCrossAccountAccessV2 Resource

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

Constructor syntax

new LtsCrossAccountAccessV2(name: string, args: LtsCrossAccountAccessV2Args, opts?: CustomResourceOptions);
@overload
def LtsCrossAccountAccessV2(resource_name: str,
                            args: LtsCrossAccountAccessV2Args,
                            opts: Optional[ResourceOptions] = None)

@overload
def LtsCrossAccountAccessV2(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            agency_domain_name: Optional[str] = None,
                            agency_name: Optional[str] = None,
                            agency_project_id: Optional[str] = None,
                            log_agency_group_id: Optional[str] = None,
                            log_agency_group_name: Optional[str] = None,
                            log_agency_stream_id: Optional[str] = None,
                            log_agency_stream_name: Optional[str] = None,
                            log_group_id: Optional[str] = None,
                            log_group_name: Optional[str] = None,
                            log_stream_id: Optional[str] = None,
                            log_stream_name: Optional[str] = None,
                            lts_cross_account_access_v2_id: Optional[str] = None,
                            name: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = None)
func NewLtsCrossAccountAccessV2(ctx *Context, name string, args LtsCrossAccountAccessV2Args, opts ...ResourceOption) (*LtsCrossAccountAccessV2, error)
public LtsCrossAccountAccessV2(string name, LtsCrossAccountAccessV2Args args, CustomResourceOptions? opts = null)
public LtsCrossAccountAccessV2(String name, LtsCrossAccountAccessV2Args args)
public LtsCrossAccountAccessV2(String name, LtsCrossAccountAccessV2Args args, CustomResourceOptions options)
type: opentelekomcloud:LtsCrossAccountAccessV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LtsCrossAccountAccessV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LtsCrossAccountAccessV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LtsCrossAccountAccessV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LtsCrossAccountAccessV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LtsCrossAccountAccessV2Args
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 ltsCrossAccountAccessV2Resource = new Opentelekomcloud.LtsCrossAccountAccessV2("ltsCrossAccountAccessV2Resource", new()
{
    AgencyDomainName = "string",
    AgencyName = "string",
    AgencyProjectId = "string",
    LogAgencyGroupId = "string",
    LogAgencyGroupName = "string",
    LogAgencyStreamId = "string",
    LogAgencyStreamName = "string",
    LogGroupId = "string",
    LogGroupName = "string",
    LogStreamId = "string",
    LogStreamName = "string",
    LtsCrossAccountAccessV2Id = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := opentelekomcloud.NewLtsCrossAccountAccessV2(ctx, "ltsCrossAccountAccessV2Resource", &opentelekomcloud.LtsCrossAccountAccessV2Args{
AgencyDomainName: pulumi.String("string"),
AgencyName: pulumi.String("string"),
AgencyProjectId: pulumi.String("string"),
LogAgencyGroupId: pulumi.String("string"),
LogAgencyGroupName: pulumi.String("string"),
LogAgencyStreamId: pulumi.String("string"),
LogAgencyStreamName: pulumi.String("string"),
LogGroupId: pulumi.String("string"),
LogGroupName: pulumi.String("string"),
LogStreamId: pulumi.String("string"),
LogStreamName: pulumi.String("string"),
LtsCrossAccountAccessV2Id: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
Copy
var ltsCrossAccountAccessV2Resource = new LtsCrossAccountAccessV2("ltsCrossAccountAccessV2Resource", LtsCrossAccountAccessV2Args.builder()
    .agencyDomainName("string")
    .agencyName("string")
    .agencyProjectId("string")
    .logAgencyGroupId("string")
    .logAgencyGroupName("string")
    .logAgencyStreamId("string")
    .logAgencyStreamName("string")
    .logGroupId("string")
    .logGroupName("string")
    .logStreamId("string")
    .logStreamName("string")
    .ltsCrossAccountAccessV2Id("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
lts_cross_account_access_v2_resource = opentelekomcloud.LtsCrossAccountAccessV2("ltsCrossAccountAccessV2Resource",
    agency_domain_name="string",
    agency_name="string",
    agency_project_id="string",
    log_agency_group_id="string",
    log_agency_group_name="string",
    log_agency_stream_id="string",
    log_agency_stream_name="string",
    log_group_id="string",
    log_group_name="string",
    log_stream_id="string",
    log_stream_name="string",
    lts_cross_account_access_v2_id="string",
    name="string",
    tags={
        "string": "string",
    })
Copy
const ltsCrossAccountAccessV2Resource = new opentelekomcloud.LtsCrossAccountAccessV2("ltsCrossAccountAccessV2Resource", {
    agencyDomainName: "string",
    agencyName: "string",
    agencyProjectId: "string",
    logAgencyGroupId: "string",
    logAgencyGroupName: "string",
    logAgencyStreamId: "string",
    logAgencyStreamName: "string",
    logGroupId: "string",
    logGroupName: "string",
    logStreamId: "string",
    logStreamName: "string",
    ltsCrossAccountAccessV2Id: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
Copy
type: opentelekomcloud:LtsCrossAccountAccessV2
properties:
    agencyDomainName: string
    agencyName: string
    agencyProjectId: string
    logAgencyGroupId: string
    logAgencyGroupName: string
    logAgencyStreamId: string
    logAgencyStreamName: string
    logGroupId: string
    logGroupName: string
    logStreamId: string
    logStreamName: string
    ltsCrossAccountAccessV2Id: string
    name: string
    tags:
        string: string
Copy

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

AgencyDomainName This property is required. string
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
AgencyName This property is required. string
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
AgencyProjectId This property is required. string
Specifies the delegator project ID. Changing this creates a new resource.
LogAgencyGroupId This property is required. string
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
LogAgencyGroupName This property is required. string
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
LogAgencyStreamId This property is required. string
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
LogAgencyStreamName This property is required. string
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
LogGroupId This property is required. string
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
LogGroupName This property is required. string
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
LogStreamId This property is required. string
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
LogStreamName This property is required. string
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
LtsCrossAccountAccessV2Id string
The resource ID.
Name string
Specifies the name of the cross account access. Changing this creates a new resource.
Tags Dictionary<string, string>
Specifies the key/value pairs to associate with the cross account access.
AgencyDomainName This property is required. string
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
AgencyName This property is required. string
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
AgencyProjectId This property is required. string
Specifies the delegator project ID. Changing this creates a new resource.
LogAgencyGroupId This property is required. string
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
LogAgencyGroupName This property is required. string
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
LogAgencyStreamId This property is required. string
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
LogAgencyStreamName This property is required. string
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
LogGroupId This property is required. string
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
LogGroupName This property is required. string
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
LogStreamId This property is required. string
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
LogStreamName This property is required. string
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
LtsCrossAccountAccessV2Id string
The resource ID.
Name string
Specifies the name of the cross account access. Changing this creates a new resource.
Tags map[string]string
Specifies the key/value pairs to associate with the cross account access.
agencyDomainName This property is required. String
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
agencyName This property is required. String
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
agencyProjectId This property is required. String
Specifies the delegator project ID. Changing this creates a new resource.
logAgencyGroupId This property is required. String
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyGroupName This property is required. String
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamId This property is required. String
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamName This property is required. String
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
logGroupId This property is required. String
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
logGroupName This property is required. String
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
logStreamId This property is required. String
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
logStreamName This property is required. String
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
ltsCrossAccountAccessV2Id String
The resource ID.
name String
Specifies the name of the cross account access. Changing this creates a new resource.
tags Map<String,String>
Specifies the key/value pairs to associate with the cross account access.
agencyDomainName This property is required. string
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
agencyName This property is required. string
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
agencyProjectId This property is required. string
Specifies the delegator project ID. Changing this creates a new resource.
logAgencyGroupId This property is required. string
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyGroupName This property is required. string
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamId This property is required. string
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamName This property is required. string
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
logGroupId This property is required. string
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
logGroupName This property is required. string
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
logStreamId This property is required. string
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
logStreamName This property is required. string
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
ltsCrossAccountAccessV2Id string
The resource ID.
name string
Specifies the name of the cross account access. Changing this creates a new resource.
tags {[key: string]: string}
Specifies the key/value pairs to associate with the cross account access.
agency_domain_name This property is required. str
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
agency_name This property is required. str
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
agency_project_id This property is required. str
Specifies the delegator project ID. Changing this creates a new resource.
log_agency_group_id This property is required. str
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
log_agency_group_name This property is required. str
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
log_agency_stream_id This property is required. str
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
log_agency_stream_name This property is required. str
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
log_group_id This property is required. str
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
log_group_name This property is required. str
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
log_stream_id This property is required. str
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
log_stream_name This property is required. str
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
lts_cross_account_access_v2_id str
The resource ID.
name str
Specifies the name of the cross account access. Changing this creates a new resource.
tags Mapping[str, str]
Specifies the key/value pairs to associate with the cross account access.
agencyDomainName This property is required. String
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
agencyName This property is required. String
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
agencyProjectId This property is required. String
Specifies the delegator project ID. Changing this creates a new resource.
logAgencyGroupId This property is required. String
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyGroupName This property is required. String
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamId This property is required. String
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamName This property is required. String
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
logGroupId This property is required. String
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
logGroupName This property is required. String
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
logStreamId This property is required. String
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
logStreamName This property is required. String
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
ltsCrossAccountAccessV2Id String
The resource ID.
name String
Specifies the name of the cross account access. Changing this creates a new resource.
tags Map<String>
Specifies the key/value pairs to associate with the cross account access.

Outputs

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

AccessConfigType string
The log access configuration type.
CreatedAt string
The creation time of the cross account access, in RFC3339 format.
Id string
The provider-assigned unique ID for this managed resource.
Region string
Shows the region in the cce access resource created.
AccessConfigType string
The log access configuration type.
CreatedAt string
The creation time of the cross account access, in RFC3339 format.
Id string
The provider-assigned unique ID for this managed resource.
Region string
Shows the region in the cce access resource created.
accessConfigType String
The log access configuration type.
createdAt String
The creation time of the cross account access, in RFC3339 format.
id String
The provider-assigned unique ID for this managed resource.
region String
Shows the region in the cce access resource created.
accessConfigType string
The log access configuration type.
createdAt string
The creation time of the cross account access, in RFC3339 format.
id string
The provider-assigned unique ID for this managed resource.
region string
Shows the region in the cce access resource created.
access_config_type str
The log access configuration type.
created_at str
The creation time of the cross account access, in RFC3339 format.
id str
The provider-assigned unique ID for this managed resource.
region str
Shows the region in the cce access resource created.
accessConfigType String
The log access configuration type.
createdAt String
The creation time of the cross account access, in RFC3339 format.
id String
The provider-assigned unique ID for this managed resource.
region String
Shows the region in the cce access resource created.

Look up Existing LtsCrossAccountAccessV2 Resource

Get an existing LtsCrossAccountAccessV2 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?: LtsCrossAccountAccessV2State, opts?: CustomResourceOptions): LtsCrossAccountAccessV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_config_type: Optional[str] = None,
        agency_domain_name: Optional[str] = None,
        agency_name: Optional[str] = None,
        agency_project_id: Optional[str] = None,
        created_at: Optional[str] = None,
        log_agency_group_id: Optional[str] = None,
        log_agency_group_name: Optional[str] = None,
        log_agency_stream_id: Optional[str] = None,
        log_agency_stream_name: Optional[str] = None,
        log_group_id: Optional[str] = None,
        log_group_name: Optional[str] = None,
        log_stream_id: Optional[str] = None,
        log_stream_name: Optional[str] = None,
        lts_cross_account_access_v2_id: Optional[str] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> LtsCrossAccountAccessV2
func GetLtsCrossAccountAccessV2(ctx *Context, name string, id IDInput, state *LtsCrossAccountAccessV2State, opts ...ResourceOption) (*LtsCrossAccountAccessV2, error)
public static LtsCrossAccountAccessV2 Get(string name, Input<string> id, LtsCrossAccountAccessV2State? state, CustomResourceOptions? opts = null)
public static LtsCrossAccountAccessV2 get(String name, Output<String> id, LtsCrossAccountAccessV2State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:LtsCrossAccountAccessV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AccessConfigType string
The log access configuration type.
AgencyDomainName string
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
AgencyName string
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
AgencyProjectId string
Specifies the delegator project ID. Changing this creates a new resource.
CreatedAt string
The creation time of the cross account access, in RFC3339 format.
LogAgencyGroupId string
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
LogAgencyGroupName string
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
LogAgencyStreamId string
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
LogAgencyStreamName string
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
LogGroupId string
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
LogGroupName string
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
LogStreamId string
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
LogStreamName string
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
LtsCrossAccountAccessV2Id string
The resource ID.
Name string
Specifies the name of the cross account access. Changing this creates a new resource.
Region string
Shows the region in the cce access resource created.
Tags Dictionary<string, string>
Specifies the key/value pairs to associate with the cross account access.
AccessConfigType string
The log access configuration type.
AgencyDomainName string
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
AgencyName string
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
AgencyProjectId string
Specifies the delegator project ID. Changing this creates a new resource.
CreatedAt string
The creation time of the cross account access, in RFC3339 format.
LogAgencyGroupId string
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
LogAgencyGroupName string
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
LogAgencyStreamId string
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
LogAgencyStreamName string
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
LogGroupId string
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
LogGroupName string
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
LogStreamId string
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
LogStreamName string
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
LtsCrossAccountAccessV2Id string
The resource ID.
Name string
Specifies the name of the cross account access. Changing this creates a new resource.
Region string
Shows the region in the cce access resource created.
Tags map[string]string
Specifies the key/value pairs to associate with the cross account access.
accessConfigType String
The log access configuration type.
agencyDomainName String
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
agencyName String
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
agencyProjectId String
Specifies the delegator project ID. Changing this creates a new resource.
createdAt String
The creation time of the cross account access, in RFC3339 format.
logAgencyGroupId String
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyGroupName String
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamId String
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamName String
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
logGroupId String
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
logGroupName String
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
logStreamId String
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
logStreamName String
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
ltsCrossAccountAccessV2Id String
The resource ID.
name String
Specifies the name of the cross account access. Changing this creates a new resource.
region String
Shows the region in the cce access resource created.
tags Map<String,String>
Specifies the key/value pairs to associate with the cross account access.
accessConfigType string
The log access configuration type.
agencyDomainName string
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
agencyName string
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
agencyProjectId string
Specifies the delegator project ID. Changing this creates a new resource.
createdAt string
The creation time of the cross account access, in RFC3339 format.
logAgencyGroupId string
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyGroupName string
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamId string
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamName string
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
logGroupId string
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
logGroupName string
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
logStreamId string
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
logStreamName string
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
ltsCrossAccountAccessV2Id string
The resource ID.
name string
Specifies the name of the cross account access. Changing this creates a new resource.
region string
Shows the region in the cce access resource created.
tags {[key: string]: string}
Specifies the key/value pairs to associate with the cross account access.
access_config_type str
The log access configuration type.
agency_domain_name str
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
agency_name str
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
agency_project_id str
Specifies the delegator project ID. Changing this creates a new resource.
created_at str
The creation time of the cross account access, in RFC3339 format.
log_agency_group_id str
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
log_agency_group_name str
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
log_agency_stream_id str
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
log_agency_stream_name str
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
log_group_id str
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
log_group_name str
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
log_stream_id str
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
log_stream_name str
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
lts_cross_account_access_v2_id str
The resource ID.
name str
Specifies the name of the cross account access. Changing this creates a new resource.
region str
Shows the region in the cce access resource created.
tags Mapping[str, str]
Specifies the key/value pairs to associate with the cross account access.
accessConfigType String
The log access configuration type.
agencyDomainName String
Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
agencyName String
Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
agencyProjectId String
Specifies the delegator project ID. Changing this creates a new resource.
createdAt String
The creation time of the cross account access, in RFC3339 format.
logAgencyGroupId String
Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyGroupName String
Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamId String
Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
logAgencyStreamName String
Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
logGroupId String
Specify the log group ID that already exists in the main account. Changing this creates a new resource.
logGroupName String
Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
logStreamId String
Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
logStreamName String
Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
ltsCrossAccountAccessV2Id String
The resource ID.
name String
Specifies the name of the cross account access. Changing this creates a new resource.
region String
Shows the region in the cce access resource created.
tags Map<String>
Specifies the key/value pairs to associate with the cross account access.

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.