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,
});
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)
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
})
}
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,
});
});
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());
}
}
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}
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 string
- The unique name of the resource.
- args LtsCrossAccountAccessV2Args
- 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 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 string
- The unique name of the resource.
- args LtsCrossAccountAccessV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LtsCrossAccountAccessV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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" },
},
});
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"),
},
})
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());
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",
})
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",
},
});
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
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:
- Agency
Domain stringName - Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
- Agency
Name string - Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
- Agency
Project stringId - Specifies the delegator project ID. Changing this creates a new resource.
- Log
Agency stringGroup Id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringGroup Name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringStream Id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringStream Name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- Log
Group stringId - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- Log
Group stringName - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- Log
Stream stringId - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- Log
Stream stringName - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- Lts
Cross stringAccount Access V2Id - The resource ID.
- Name string
- Specifies the name of the cross account access. Changing this creates a new resource.
- Dictionary<string, string>
- Specifies the key/value pairs to associate with the cross account access.
- Agency
Domain stringName - Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
- Agency
Name string - Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
- Agency
Project stringId - Specifies the delegator project ID. Changing this creates a new resource.
- Log
Agency stringGroup Id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringGroup Name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringStream Id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringStream Name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- Log
Group stringId - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- Log
Group stringName - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- Log
Stream stringId - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- Log
Stream stringName - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- Lts
Cross stringAccount Access V2Id - The resource ID.
- Name string
- Specifies the name of the cross account access. Changing this creates a new resource.
- map[string]string
- Specifies the key/value pairs to associate with the cross account access.
- agency
Domain StringName - Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
- agency
Name String - Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
- agency
Project StringId - Specifies the delegator project ID. Changing this creates a new resource.
- log
Agency StringGroup Id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringGroup Name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringStream Id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringStream Name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- log
Group StringId - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- log
Group StringName - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream StringId - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream StringName - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- lts
Cross StringAccount Access V2Id - The resource ID.
- name String
- Specifies the name of the cross account access. Changing this creates a new resource.
- Map<String,String>
- Specifies the key/value pairs to associate with the cross account access.
- agency
Domain stringName - Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
- agency
Name string - Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
- agency
Project stringId - Specifies the delegator project ID. Changing this creates a new resource.
- log
Agency stringGroup Id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency stringGroup Name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- log
Agency stringStream Id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency stringStream Name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- log
Group stringId - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- log
Group stringName - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream stringId - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream stringName - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- lts
Cross stringAccount Access V2Id - The resource ID.
- name string
- Specifies the name of the cross account access. Changing this creates a new resource.
- {[key: string]: string}
- Specifies the key/value pairs to associate with the cross account access.
- agency_
domain_ strname - 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_ strid - Specifies the delegator project ID. Changing this creates a new resource.
- log_
agency_ strgroup_ id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- log_
agency_ strgroup_ name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- log_
agency_ strstream_ id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- log_
agency_ strstream_ name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- log_
group_ strid - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- log_
group_ strname - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- log_
stream_ strid - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- log_
stream_ strname - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- lts_
cross_ straccount_ access_ v2_ id - The resource ID.
- name str
- Specifies the name of the cross account access. Changing this creates a new resource.
- Mapping[str, str]
- Specifies the key/value pairs to associate with the cross account access.
- agency
Domain StringName - Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
- agency
Name String - Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
- agency
Project StringId - Specifies the delegator project ID. Changing this creates a new resource.
- log
Agency StringGroup Id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringGroup Name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringStream Id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringStream Name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- log
Group StringId - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- log
Group StringName - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream StringId - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream StringName - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- lts
Cross StringAccount Access V2Id - The resource ID.
- name String
- Specifies the name of the cross account access. Changing this creates a new resource.
- 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:
- Access
Config stringType - The log access configuration type.
- Created
At 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 stringType - The log access configuration type.
- Created
At 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 StringType - The log access configuration type.
- created
At 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 stringType - The log access configuration type.
- created
At 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_ strtype - 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.
- access
Config StringType - The log access configuration type.
- created
At 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
- 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.
- Access
Config stringType - The log access configuration type.
- Agency
Domain stringName - Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
- Agency
Name string - Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
- Agency
Project stringId - Specifies the delegator project ID. Changing this creates a new resource.
- Created
At string - The creation time of the cross account access, in RFC3339 format.
- Log
Agency stringGroup Id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringGroup Name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringStream Id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringStream Name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- Log
Group stringId - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- Log
Group stringName - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- Log
Stream stringId - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- Log
Stream stringName - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- Lts
Cross stringAccount Access V2Id - 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.
- Dictionary<string, string>
- Specifies the key/value pairs to associate with the cross account access.
- Access
Config stringType - The log access configuration type.
- Agency
Domain stringName - Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
- Agency
Name string - Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
- Agency
Project stringId - Specifies the delegator project ID. Changing this creates a new resource.
- Created
At string - The creation time of the cross account access, in RFC3339 format.
- Log
Agency stringGroup Id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringGroup Name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringStream Id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- Log
Agency stringStream Name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- Log
Group stringId - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- Log
Group stringName - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- Log
Stream stringId - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- Log
Stream stringName - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- Lts
Cross stringAccount Access V2Id - 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.
- map[string]string
- Specifies the key/value pairs to associate with the cross account access.
- access
Config StringType - The log access configuration type.
- agency
Domain StringName - Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
- agency
Name String - Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
- agency
Project StringId - Specifies the delegator project ID. Changing this creates a new resource.
- created
At String - The creation time of the cross account access, in RFC3339 format.
- log
Agency StringGroup Id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringGroup Name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringStream Id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringStream Name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- log
Group StringId - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- log
Group StringName - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream StringId - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream StringName - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- lts
Cross StringAccount Access V2Id - 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.
- Map<String,String>
- Specifies the key/value pairs to associate with the cross account access.
- access
Config stringType - The log access configuration type.
- agency
Domain stringName - Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
- agency
Name string - Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
- agency
Project stringId - Specifies the delegator project ID. Changing this creates a new resource.
- created
At string - The creation time of the cross account access, in RFC3339 format.
- log
Agency stringGroup Id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency stringGroup Name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- log
Agency stringStream Id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency stringStream Name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- log
Group stringId - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- log
Group stringName - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream stringId - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream stringName - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- lts
Cross stringAccount Access V2Id - 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.
- {[key: string]: string}
- Specifies the key/value pairs to associate with the cross account access.
- access_
config_ strtype - The log access configuration type.
- agency_
domain_ strname - 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_ strid - 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_ strgroup_ id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- log_
agency_ strgroup_ name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- log_
agency_ strstream_ id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- log_
agency_ strstream_ name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- log_
group_ strid - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- log_
group_ strname - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- log_
stream_ strid - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- log_
stream_ strname - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- lts_
cross_ straccount_ access_ v2_ id - 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.
- Mapping[str, str]
- Specifies the key/value pairs to associate with the cross account access.
- access
Config StringType - The log access configuration type.
- agency
Domain StringName - Specifies the name of the delegator account to verify the delegation. Changing this creates a new resource.
- agency
Name String - Specifies the name of the agency created in IAM by the delegator. Changing this creates a new resource.
- agency
Project StringId - Specifies the delegator project ID. Changing this creates a new resource.
- created
At String - The creation time of the cross account access, in RFC3339 format.
- log
Agency StringGroup Id - Specify the log group ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringGroup Name - Specify the log group name that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringStream Id - Specifies the log stream ID that already exists in the delegated account. Changing this creates a new resource.
- log
Agency StringStream Name - Specifies the log stream name that already exists in the delegated account. Changing this creates a new resource.
- log
Group StringId - Specify the log group ID that already exists in the main account. Changing this creates a new resource.
- log
Group StringName - Specify the log group name that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream StringId - Specifies the log stream ID that already exists in the delegatee account. Changing this creates a new resource.
- log
Stream StringName - Specifies the log stream name that already exists in the delegatee account. Changing this creates a new resource.
- lts
Cross StringAccount Access V2Id - 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.
- 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.