1. Packages
  2. Hsdp Provider
  3. API Docs
  4. getNotificationSubscriber
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

hsdp.getNotificationSubscriber

Explore with Pulumi AI

hsdp logo
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

    Looks up HSDP Notification subscriber resources

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const subscriber = hsdp.getNotificationSubscriber({
        subscriberId: "example-d8f5-4fe4-b486-29a7fd30c9ba",
    });
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    subscriber = hsdp.get_notification_subscriber(subscriber_id="example-d8f5-4fe4-b486-29a7fd30c9ba")
    
    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.LookupNotificationSubscriber(ctx, &hsdp.LookupNotificationSubscriberArgs{
    			SubscriberId: "example-d8f5-4fe4-b486-29a7fd30c9ba",
    		}, 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 subscriber = Hsdp.GetNotificationSubscriber.Invoke(new()
        {
            SubscriberId = "example-d8f5-4fe4-b486-29a7fd30c9ba",
        });
    
    });
    
    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.GetNotificationSubscriberArgs;
    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 subscriber = HsdpFunctions.getNotificationSubscriber(GetNotificationSubscriberArgs.builder()
                .subscriberId("example-d8f5-4fe4-b486-29a7fd30c9ba")
                .build());
    
        }
    }
    
    variables:
      subscriber:
        fn::invoke:
          function: hsdp:getNotificationSubscriber
          arguments:
            subscriberId: example-d8f5-4fe4-b486-29a7fd30c9ba
    

    Using getNotificationSubscriber

    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 getNotificationSubscriber(args: GetNotificationSubscriberArgs, opts?: InvokeOptions): Promise<GetNotificationSubscriberResult>
    function getNotificationSubscriberOutput(args: GetNotificationSubscriberOutputArgs, opts?: InvokeOptions): Output<GetNotificationSubscriberResult>
    def get_notification_subscriber(id: Optional[str] = None,
                                    subscriber_id: Optional[str] = None,
                                    subscriber_product_name: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetNotificationSubscriberResult
    def get_notification_subscriber_output(id: Optional[pulumi.Input[str]] = None,
                                    subscriber_id: Optional[pulumi.Input[str]] = None,
                                    subscriber_product_name: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetNotificationSubscriberResult]
    func LookupNotificationSubscriber(ctx *Context, args *LookupNotificationSubscriberArgs, opts ...InvokeOption) (*LookupNotificationSubscriberResult, error)
    func LookupNotificationSubscriberOutput(ctx *Context, args *LookupNotificationSubscriberOutputArgs, opts ...InvokeOption) LookupNotificationSubscriberResultOutput

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

    public static class GetNotificationSubscriber 
    {
        public static Task<GetNotificationSubscriberResult> InvokeAsync(GetNotificationSubscriberArgs args, InvokeOptions? opts = null)
        public static Output<GetNotificationSubscriberResult> Invoke(GetNotificationSubscriberInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNotificationSubscriberResult> getNotificationSubscriber(GetNotificationSubscriberArgs args, InvokeOptions options)
    public static Output<GetNotificationSubscriberResult> getNotificationSubscriber(GetNotificationSubscriberArgs args, InvokeOptions options)
    
    fn::invoke:
      function: hsdp:index/getNotificationSubscriber:getNotificationSubscriber
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SubscriberId string
    The subscriber ID
    Id string
    SubscriberProductName string
    (Required) The name of the product
    SubscriberId string
    The subscriber ID
    Id string
    SubscriberProductName string
    (Required) The name of the product
    subscriberId String
    The subscriber ID
    id String
    subscriberProductName String
    (Required) The name of the product
    subscriberId string
    The subscriber ID
    id string
    subscriberProductName string
    (Required) The name of the product
    subscriber_id str
    The subscriber ID
    id str
    subscriber_product_name str
    (Required) The name of the product
    subscriberId String
    The subscriber ID
    id String
    subscriberProductName String
    (Required) The name of the product

    getNotificationSubscriber Result

    The following output properties are available:

    Description string
    Description of the subscriber application
    Id string
    ManagingOrganization string
    (Required) The name of IAM organization or tenant
    SubscriberId string
    SubscriberServiceBaseUrl string
    The base URL of the subscriber
    SubscriberServiceInstanceName string
    The name of a service instance, used to differentiate multiple copies of the same service used in an organization
    SubscriberServiceName string
    (Required) The name of the subscriber service
    SubscriberServicePathUrl string
    The URL extension of the subscriber
    SubscriberProductName string
    (Required) The name of the product
    Description string
    Description of the subscriber application
    Id string
    ManagingOrganization string
    (Required) The name of IAM organization or tenant
    SubscriberId string
    SubscriberServiceBaseUrl string
    The base URL of the subscriber
    SubscriberServiceInstanceName string
    The name of a service instance, used to differentiate multiple copies of the same service used in an organization
    SubscriberServiceName string
    (Required) The name of the subscriber service
    SubscriberServicePathUrl string
    The URL extension of the subscriber
    SubscriberProductName string
    (Required) The name of the product
    description String
    Description of the subscriber application
    id String
    managingOrganization String
    (Required) The name of IAM organization or tenant
    subscriberId String
    subscriberServiceBaseUrl String
    The base URL of the subscriber
    subscriberServiceInstanceName String
    The name of a service instance, used to differentiate multiple copies of the same service used in an organization
    subscriberServiceName String
    (Required) The name of the subscriber service
    subscriberServicePathUrl String
    The URL extension of the subscriber
    subscriberProductName String
    (Required) The name of the product
    description string
    Description of the subscriber application
    id string
    managingOrganization string
    (Required) The name of IAM organization or tenant
    subscriberId string
    subscriberServiceBaseUrl string
    The base URL of the subscriber
    subscriberServiceInstanceName string
    The name of a service instance, used to differentiate multiple copies of the same service used in an organization
    subscriberServiceName string
    (Required) The name of the subscriber service
    subscriberServicePathUrl string
    The URL extension of the subscriber
    subscriberProductName string
    (Required) The name of the product
    description str
    Description of the subscriber application
    id str
    managing_organization str
    (Required) The name of IAM organization or tenant
    subscriber_id str
    subscriber_service_base_url str
    The base URL of the subscriber
    subscriber_service_instance_name str
    The name of a service instance, used to differentiate multiple copies of the same service used in an organization
    subscriber_service_name str
    (Required) The name of the subscriber service
    subscriber_service_path_url str
    The URL extension of the subscriber
    subscriber_product_name str
    (Required) The name of the product
    description String
    Description of the subscriber application
    id String
    managingOrganization String
    (Required) The name of IAM organization or tenant
    subscriberId String
    subscriberServiceBaseUrl String
    The base URL of the subscriber
    subscriberServiceInstanceName String
    The name of a service instance, used to differentiate multiple copies of the same service used in an organization
    subscriberServiceName String
    (Required) The name of the subscriber service
    subscriberServicePathUrl String
    The URL extension of the subscriber
    subscriberProductName String
    (Required) The name of the product

    Package Details

    Repository
    hsdp philips-software/terraform-provider-hsdp
    License
    Notes
    This Pulumi package is based on the hsdp Terraform Provider.
    hsdp logo
    hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software