hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
hsdp.getNotificationSubscription
Explore with Pulumi AI
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
Looks up HSDP Notification subscription resources
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const subscription = hsdp.getNotificationSubscription({
    subscriptionId: "ca1e3aa4-1409-4b1b-95e5-8795ecdecea7",
});
import pulumi
import pulumi_hsdp as hsdp
subscription = hsdp.get_notification_subscription(subscription_id="ca1e3aa4-1409-4b1b-95e5-8795ecdecea7")
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.LookupNotificationSubscription(ctx, &hsdp.LookupNotificationSubscriptionArgs{
			SubscriptionId: "ca1e3aa4-1409-4b1b-95e5-8795ecdecea7",
		}, 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 subscription = Hsdp.GetNotificationSubscription.Invoke(new()
    {
        SubscriptionId = "ca1e3aa4-1409-4b1b-95e5-8795ecdecea7",
    });
});
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.GetNotificationSubscriptionArgs;
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 subscription = HsdpFunctions.getNotificationSubscription(GetNotificationSubscriptionArgs.builder()
            .subscriptionId("ca1e3aa4-1409-4b1b-95e5-8795ecdecea7")
            .build());
    }
}
variables:
  subscription:
    fn::invoke:
      function: hsdp:getNotificationSubscription
      arguments:
        subscriptionId: ca1e3aa4-1409-4b1b-95e5-8795ecdecea7
Using getNotificationSubscription
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 getNotificationSubscription(args: GetNotificationSubscriptionArgs, opts?: InvokeOptions): Promise<GetNotificationSubscriptionResult>
function getNotificationSubscriptionOutput(args: GetNotificationSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetNotificationSubscriptionResult>def get_notification_subscription(id: Optional[str] = None,
                                  subscription_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetNotificationSubscriptionResult
def get_notification_subscription_output(id: Optional[pulumi.Input[str]] = None,
                                  subscription_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetNotificationSubscriptionResult]func LookupNotificationSubscription(ctx *Context, args *LookupNotificationSubscriptionArgs, opts ...InvokeOption) (*LookupNotificationSubscriptionResult, error)
func LookupNotificationSubscriptionOutput(ctx *Context, args *LookupNotificationSubscriptionOutputArgs, opts ...InvokeOption) LookupNotificationSubscriptionResultOutput> Note: This function is named LookupNotificationSubscription in the Go SDK.
public static class GetNotificationSubscription 
{
    public static Task<GetNotificationSubscriptionResult> InvokeAsync(GetNotificationSubscriptionArgs args, InvokeOptions? opts = null)
    public static Output<GetNotificationSubscriptionResult> Invoke(GetNotificationSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNotificationSubscriptionResult> getNotificationSubscription(GetNotificationSubscriptionArgs args, InvokeOptions options)
public static Output<GetNotificationSubscriptionResult> getNotificationSubscription(GetNotificationSubscriptionArgs args, InvokeOptions options)
fn::invoke:
  function: hsdp:index/getNotificationSubscription:getNotificationSubscription
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Subscription
Id string - Id string
 - = (Optional) The UUID of the subscription
 
- Subscription
Id string - Id string
 - = (Optional) The UUID of the subscription
 
- subscription
Id String - id String
 - = (Optional) The UUID of the subscription
 
- subscription
Id string - id string
 - = (Optional) The UUID of the subscription
 
- subscription_
id str - id str
 - = (Optional) The UUID of the subscription
 
- subscription
Id String - id String
 - = (Optional) The UUID of the subscription
 
getNotificationSubscription Result
The following output properties are available:
- Id string
 - Subscriber
Id string - (Optional) The UUID of the subscriber
 - Subscription
Endpoint string - The subscription endpoint
 - Subscription
Id string - Topic
Id string - (Optional) The UUID of the topic
 
- Id string
 - Subscriber
Id string - (Optional) The UUID of the subscriber
 - Subscription
Endpoint string - The subscription endpoint
 - Subscription
Id string - Topic
Id string - (Optional) The UUID of the topic
 
- id String
 - subscriber
Id String - (Optional) The UUID of the subscriber
 - subscription
Endpoint String - The subscription endpoint
 - subscription
Id String - topic
Id String - (Optional) The UUID of the topic
 
- id string
 - subscriber
Id string - (Optional) The UUID of the subscriber
 - subscription
Endpoint string - The subscription endpoint
 - subscription
Id string - topic
Id string - (Optional) The UUID of the topic
 
- id str
 - subscriber_
id str - (Optional) The UUID of the subscriber
 - subscription_
endpoint str - The subscription endpoint
 - subscription_
id str - topic_
id str - (Optional) The UUID of the topic
 
- id String
 - subscriber
Id String - (Optional) The UUID of the subscriber
 - subscription
Endpoint String - The subscription endpoint
 - subscription
Id String - topic
Id String - (Optional) The UUID of the topic
 
Package Details
- Repository
 - hsdp philips-software/terraform-provider-hsdp
 - License
 - Notes
 - This Pulumi package is based on the 
hsdpTerraform Provider. 
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software