1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getSmnTopicSubscriptionV2
opentelekomcloud 1.36.43 published on Thursday, Jul 17, 2025 by opentelekomcloud

opentelekomcloud.getSmnTopicSubscriptionV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.43 published on Thursday, Jul 17, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for SMN topic subscription you can get at documentation portal

    Get details about an SMN topic subscription V2 resource within OpenTelekomCloud.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    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.GetSmnTopicSubscriptionV2Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var topicUrn = config.get("topicUrn");
            final var data-sub = OpentelekomcloudFunctions.getSmnTopicSubscriptionV2(GetSmnTopicSubscriptionV2Args.builder()
                .topocUrn(topicUrn)
                .build());
    
        }
    }
    
    configuration:
      topicUrn:
        type: dynamic
    variables:
      data-sub:
        fn::invoke:
          function: opentelekomcloud:getSmnTopicSubscriptionV2
          arguments:
            topocUrn: ${topicUrn}
    

    Using getSmnTopicSubscriptionV2

    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 getSmnTopicSubscriptionV2(args: GetSmnTopicSubscriptionV2Args, opts?: InvokeOptions): Promise<GetSmnTopicSubscriptionV2Result>
    function getSmnTopicSubscriptionV2Output(args: GetSmnTopicSubscriptionV2OutputArgs, opts?: InvokeOptions): Output<GetSmnTopicSubscriptionV2Result>
    def get_smn_topic_subscription_v2(endpoint: Optional[str] = None,
                                      id: Optional[str] = None,
                                      protocol: Optional[str] = None,
                                      topic_urn: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetSmnTopicSubscriptionV2Result
    def get_smn_topic_subscription_v2_output(endpoint: Optional[pulumi.Input[str]] = None,
                                      id: Optional[pulumi.Input[str]] = None,
                                      protocol: Optional[pulumi.Input[str]] = None,
                                      topic_urn: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetSmnTopicSubscriptionV2Result]
    func GetSmnTopicSubscriptionV2(ctx *Context, args *GetSmnTopicSubscriptionV2Args, opts ...InvokeOption) (*GetSmnTopicSubscriptionV2Result, error)
    func GetSmnTopicSubscriptionV2Output(ctx *Context, args *GetSmnTopicSubscriptionV2OutputArgs, opts ...InvokeOption) GetSmnTopicSubscriptionV2ResultOutput

    > Note: This function is named GetSmnTopicSubscriptionV2 in the Go SDK.

    public static class GetSmnTopicSubscriptionV2 
    {
        public static Task<GetSmnTopicSubscriptionV2Result> InvokeAsync(GetSmnTopicSubscriptionV2Args args, InvokeOptions? opts = null)
        public static Output<GetSmnTopicSubscriptionV2Result> Invoke(GetSmnTopicSubscriptionV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSmnTopicSubscriptionV2Result> getSmnTopicSubscriptionV2(GetSmnTopicSubscriptionV2Args args, InvokeOptions options)
    public static Output<GetSmnTopicSubscriptionV2Result> getSmnTopicSubscriptionV2(GetSmnTopicSubscriptionV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getSmnTopicSubscriptionV2:getSmnTopicSubscriptionV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TopicUrn string
    The resource ID of a topic
    Endpoint string
    Message receiving endpoint.
    Id string
    Protocol string
    Subscription protocol.
    TopicUrn string
    The resource ID of a topic
    Endpoint string
    Message receiving endpoint.
    Id string
    Protocol string
    Subscription protocol.
    topicUrn String
    The resource ID of a topic
    endpoint String
    Message receiving endpoint.
    id String
    protocol String
    Subscription protocol.
    topicUrn string
    The resource ID of a topic
    endpoint string
    Message receiving endpoint.
    id string
    protocol string
    Subscription protocol.
    topic_urn str
    The resource ID of a topic
    endpoint str
    Message receiving endpoint.
    id str
    protocol str
    Subscription protocol.
    topicUrn String
    The resource ID of a topic
    endpoint String
    Message receiving endpoint.
    id String
    protocol String
    Subscription protocol.

    getSmnTopicSubscriptionV2 Result

    The following output properties are available:

    Description string
    Subscription description.
    Endpoint string
    Id string
    Owner string
    Project ID of the topic creator.
    Protocol string
    Status double
    Subscription status.
    SubscriptionUrn string
    Resource identifier of a subscription, which is unique.
    TopicUrn string
    Description string
    Subscription description.
    Endpoint string
    Id string
    Owner string
    Project ID of the topic creator.
    Protocol string
    Status float64
    Subscription status.
    SubscriptionUrn string
    Resource identifier of a subscription, which is unique.
    TopicUrn string
    description String
    Subscription description.
    endpoint String
    id String
    owner String
    Project ID of the topic creator.
    protocol String
    status Double
    Subscription status.
    subscriptionUrn String
    Resource identifier of a subscription, which is unique.
    topicUrn String
    description string
    Subscription description.
    endpoint string
    id string
    owner string
    Project ID of the topic creator.
    protocol string
    status number
    Subscription status.
    subscriptionUrn string
    Resource identifier of a subscription, which is unique.
    topicUrn string
    description str
    Subscription description.
    endpoint str
    id str
    owner str
    Project ID of the topic creator.
    protocol str
    status float
    Subscription status.
    subscription_urn str
    Resource identifier of a subscription, which is unique.
    topic_urn str
    description String
    Subscription description.
    endpoint String
    id String
    owner String
    Project ID of the topic creator.
    protocol String
    status Number
    Subscription status.
    subscriptionUrn String
    Resource identifier of a subscription, which is unique.
    topicUrn String

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.43 published on Thursday, Jul 17, 2025 by opentelekomcloud