hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
hsdp.getNotificationTopic
Explore with Pulumi AI
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
Look up a HSDP Notification Topic resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const topic = hsdp.getNotificationTopic({
name: "some-topic",
});
import pulumi
import pulumi_hsdp as hsdp
topic = hsdp.get_notification_topic(name="some-topic")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hsdp.LookupNotificationTopic(ctx, &hsdp.LookupNotificationTopicArgs{
Name: pulumi.StringRef("some-topic"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;
return await Deployment.RunAsync(() =>
{
var topic = Hsdp.GetNotificationTopic.Invoke(new()
{
Name = "some-topic",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.HsdpFunctions;
import com.pulumi.hsdp.inputs.GetNotificationTopicArgs;
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 topic = HsdpFunctions.getNotificationTopic(GetNotificationTopicArgs.builder()
.name("some-topic")
.build());
}
}
variables:
topic:
fn::invoke:
function: hsdp:getNotificationTopic
arguments:
name: some-topic
Using getNotificationTopic
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 getNotificationTopic(args: GetNotificationTopicArgs, opts?: InvokeOptions): Promise<GetNotificationTopicResult>
function getNotificationTopicOutput(args: GetNotificationTopicOutputArgs, opts?: InvokeOptions): Output<GetNotificationTopicResult>
def get_notification_topic(id: Optional[str] = None,
name: Optional[str] = None,
topic_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNotificationTopicResult
def get_notification_topic_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
topic_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNotificationTopicResult]
func LookupNotificationTopic(ctx *Context, args *LookupNotificationTopicArgs, opts ...InvokeOption) (*LookupNotificationTopicResult, error)
func LookupNotificationTopicOutput(ctx *Context, args *LookupNotificationTopicOutputArgs, opts ...InvokeOption) LookupNotificationTopicResultOutput
> Note: This function is named LookupNotificationTopic
in the Go SDK.
public static class GetNotificationTopic
{
public static Task<GetNotificationTopicResult> InvokeAsync(GetNotificationTopicArgs args, InvokeOptions? opts = null)
public static Output<GetNotificationTopicResult> Invoke(GetNotificationTopicInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNotificationTopicResult> getNotificationTopic(GetNotificationTopicArgs args, InvokeOptions options)
public static Output<GetNotificationTopicResult> getNotificationTopic(GetNotificationTopicArgs args, InvokeOptions options)
fn::invoke:
function: hsdp:index/getNotificationTopic:getNotificationTopic
arguments:
# arguments dictionary
The following arguments are supported:
getNotificationTopic Result
The following output properties are available:
- Allowed
Scopes List<string> - The list of allowed scopes
- Description string
- The intended usage of this topic
- Id string
- The GUID of the found topic
- Is
Auditable bool - whether the topic has to be audited whenever messages are published to it.
- Producer
Id string - The UUID of the producer associated with this topic
- Scope string
- The scope of this topic. Can be either
public
orprivate
- Name string
- Topic
Id string
- Allowed
Scopes []string - The list of allowed scopes
- Description string
- The intended usage of this topic
- Id string
- The GUID of the found topic
- Is
Auditable bool - whether the topic has to be audited whenever messages are published to it.
- Producer
Id string - The UUID of the producer associated with this topic
- Scope string
- The scope of this topic. Can be either
public
orprivate
- Name string
- Topic
Id string
- allowed
Scopes List<String> - The list of allowed scopes
- description String
- The intended usage of this topic
- id String
- The GUID of the found topic
- is
Auditable Boolean - whether the topic has to be audited whenever messages are published to it.
- producer
Id String - The UUID of the producer associated with this topic
- scope String
- The scope of this topic. Can be either
public
orprivate
- name String
- topic
Id String
- allowed
Scopes string[] - The list of allowed scopes
- description string
- The intended usage of this topic
- id string
- The GUID of the found topic
- is
Auditable boolean - whether the topic has to be audited whenever messages are published to it.
- producer
Id string - The UUID of the producer associated with this topic
- scope string
- The scope of this topic. Can be either
public
orprivate
- name string
- topic
Id string
- allowed_
scopes Sequence[str] - The list of allowed scopes
- description str
- The intended usage of this topic
- id str
- The GUID of the found topic
- is_
auditable bool - whether the topic has to be audited whenever messages are published to it.
- producer_
id str - The UUID of the producer associated with this topic
- scope str
- The scope of this topic. Can be either
public
orprivate
- name str
- topic_
id str
- allowed
Scopes List<String> - The list of allowed scopes
- description String
- The intended usage of this topic
- id String
- The GUID of the found topic
- is
Auditable Boolean - whether the topic has to be audited whenever messages are published to it.
- producer
Id String - The UUID of the producer associated with this topic
- scope String
- The scope of this topic. Can be either
public
orprivate
- name String
- topic
Id String
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software