Viewing docs for opentelekomcloud 1.36.60
published on Thursday, Feb 26, 2026 by opentelekomcloud
published on Thursday, Feb 26, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.36.60
published on Thursday, Feb 26, 2026 by opentelekomcloud
published on Thursday, Feb 26, 2026 by opentelekomcloud
Up-to-date reference of API arguments for SMN topic you can get at documentation portal
Get details about an SMN topic V2 resource within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const topic1 = opentelekomcloud.getSmnTopicV2({
name: "topic_1",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
topic1 = opentelekomcloud.get_smn_topic_v2(name="topic_1")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.LookupSmnTopicV2(ctx, &opentelekomcloud.LookupSmnTopicV2Args{
Name: "topic_1",
}, nil)
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 topic1 = Opentelekomcloud.GetSmnTopicV2.Invoke(new()
{
Name = "topic_1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetSmnTopicV2Args;
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 topic1 = OpentelekomcloudFunctions.getSmnTopicV2(GetSmnTopicV2Args.builder()
.name("topic_1")
.build());
}
}
variables:
topic1:
fn::invoke:
function: opentelekomcloud:getSmnTopicV2
arguments:
name: topic_1
Using getSmnTopicV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSmnTopicV2(args: GetSmnTopicV2Args, opts?: InvokeOptions): Promise<GetSmnTopicV2Result>
function getSmnTopicV2Output(args: GetSmnTopicV2OutputArgs, opts?: InvokeOptions): Output<GetSmnTopicV2Result>def get_smn_topic_v2(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSmnTopicV2Result
def get_smn_topic_v2_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSmnTopicV2Result]func LookupSmnTopicV2(ctx *Context, args *LookupSmnTopicV2Args, opts ...InvokeOption) (*LookupSmnTopicV2Result, error)
func LookupSmnTopicV2Output(ctx *Context, args *LookupSmnTopicV2OutputArgs, opts ...InvokeOption) LookupSmnTopicV2ResultOutput> Note: This function is named LookupSmnTopicV2 in the Go SDK.
public static class GetSmnTopicV2
{
public static Task<GetSmnTopicV2Result> InvokeAsync(GetSmnTopicV2Args args, InvokeOptions? opts = null)
public static Output<GetSmnTopicV2Result> Invoke(GetSmnTopicV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSmnTopicV2Result> getSmnTopicV2(GetSmnTopicV2Args args, InvokeOptions options)
public static Output<GetSmnTopicV2Result> getSmnTopicV2(GetSmnTopicV2Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getSmnTopicV2:getSmnTopicV2
arguments:
# arguments dictionaryThe following arguments are supported:
getSmnTopicV2 Result
The following output properties are available:
- Create
Time string - Time when the topic was created.
- Display
Name string - Topic display name, which is presented as the name of the email sender in an email message.
- Id string
- Name string
- See Argument Reference above.
- Push
Policy double - Message pushing policy. 0 indicates that the message sending fails and the message is cached in the queue. 1 indicates that the failed message is discarded.
- Topic
Urn string - Resource identifier of a topic, which is unique.
- Update
Time string - Time when the topic was updated.
- Create
Time string - Time when the topic was created.
- Display
Name string - Topic display name, which is presented as the name of the email sender in an email message.
- Id string
- Name string
- See Argument Reference above.
- Push
Policy float64 - Message pushing policy. 0 indicates that the message sending fails and the message is cached in the queue. 1 indicates that the failed message is discarded.
- Topic
Urn string - Resource identifier of a topic, which is unique.
- Update
Time string - Time when the topic was updated.
- create
Time String - Time when the topic was created.
- display
Name String - Topic display name, which is presented as the name of the email sender in an email message.
- id String
- name String
- See Argument Reference above.
- push
Policy Double - Message pushing policy. 0 indicates that the message sending fails and the message is cached in the queue. 1 indicates that the failed message is discarded.
- topic
Urn String - Resource identifier of a topic, which is unique.
- update
Time String - Time when the topic was updated.
- create
Time string - Time when the topic was created.
- display
Name string - Topic display name, which is presented as the name of the email sender in an email message.
- id string
- name string
- See Argument Reference above.
- push
Policy number - Message pushing policy. 0 indicates that the message sending fails and the message is cached in the queue. 1 indicates that the failed message is discarded.
- topic
Urn string - Resource identifier of a topic, which is unique.
- update
Time string - Time when the topic was updated.
- create_
time str - Time when the topic was created.
- display_
name str - Topic display name, which is presented as the name of the email sender in an email message.
- id str
- name str
- See Argument Reference above.
- push_
policy float - Message pushing policy. 0 indicates that the message sending fails and the message is cached in the queue. 1 indicates that the failed message is discarded.
- topic_
urn str - Resource identifier of a topic, which is unique.
- update_
time str - Time when the topic was updated.
- create
Time String - Time when the topic was created.
- display
Name String - Topic display name, which is presented as the name of the email sender in an email message.
- id String
- name String
- See Argument Reference above.
- push
Policy Number - Message pushing policy. 0 indicates that the message sending fails and the message is cached in the queue. 1 indicates that the failed message is discarded.
- topic
Urn String - Resource identifier of a topic, which is unique.
- update
Time String - Time when the topic was updated.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
Viewing docs for opentelekomcloud 1.36.60
published on Thursday, Feb 26, 2026 by opentelekomcloud
published on Thursday, Feb 26, 2026 by opentelekomcloud
