ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getEnDestinationSafari
Explore with Pulumi AI
Provides a read-only data source for Webhook destination. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const safariEnDestination = ibm.getEnDestinationSafari({
instanceGuid: ibm_resource_instance.en_terraform_test_resource.guid,
destinationId: ibm_en_destination_safari.destination1.destination_id,
});
import pulumi
import pulumi_ibm as ibm
safari_en_destination = ibm.get_en_destination_safari(instance_guid=ibm_resource_instance["en_terraform_test_resource"]["guid"],
destination_id=ibm_en_destination_safari["destination1"]["destination_id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.LookupEnDestinationSafari(ctx, &ibm.LookupEnDestinationSafariArgs{
InstanceGuid: ibm_resource_instance.En_terraform_test_resource.Guid,
DestinationId: ibm_en_destination_safari.Destination1.Destination_id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var safariEnDestination = Ibm.GetEnDestinationSafari.Invoke(new()
{
InstanceGuid = ibm_resource_instance.En_terraform_test_resource.Guid,
DestinationId = ibm_en_destination_safari.Destination1.Destination_id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetEnDestinationSafariArgs;
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 safariEnDestination = IbmFunctions.getEnDestinationSafari(GetEnDestinationSafariArgs.builder()
.instanceGuid(ibm_resource_instance.en_terraform_test_resource().guid())
.destinationId(ibm_en_destination_safari.destination1().destination_id())
.build());
}
}
variables:
safariEnDestination:
fn::invoke:
function: ibm:getEnDestinationSafari
arguments:
instanceGuid: ${ibm_resource_instance.en_terraform_test_resource.guid}
destinationId: ${ibm_en_destination_safari.destination1.destination_id}
Using getEnDestinationSafari
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 getEnDestinationSafari(args: GetEnDestinationSafariArgs, opts?: InvokeOptions): Promise<GetEnDestinationSafariResult>
function getEnDestinationSafariOutput(args: GetEnDestinationSafariOutputArgs, opts?: InvokeOptions): Output<GetEnDestinationSafariResult>
def get_en_destination_safari(destination_id: Optional[str] = None,
id: Optional[str] = None,
instance_guid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnDestinationSafariResult
def get_en_destination_safari_output(destination_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_guid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnDestinationSafariResult]
func LookupEnDestinationSafari(ctx *Context, args *LookupEnDestinationSafariArgs, opts ...InvokeOption) (*LookupEnDestinationSafariResult, error)
func LookupEnDestinationSafariOutput(ctx *Context, args *LookupEnDestinationSafariOutputArgs, opts ...InvokeOption) LookupEnDestinationSafariResultOutput
> Note: This function is named LookupEnDestinationSafari
in the Go SDK.
public static class GetEnDestinationSafari
{
public static Task<GetEnDestinationSafariResult> InvokeAsync(GetEnDestinationSafariArgs args, InvokeOptions? opts = null)
public static Output<GetEnDestinationSafariResult> Invoke(GetEnDestinationSafariInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnDestinationSafariResult> getEnDestinationSafari(GetEnDestinationSafariArgs args, InvokeOptions options)
public static Output<GetEnDestinationSafariResult> getEnDestinationSafari(GetEnDestinationSafariArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getEnDestinationSafari:getEnDestinationSafari
arguments:
# arguments dictionary
The following arguments are supported:
- Destination
Id string - Unique identifier for Destination.
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Id string
- The unique identifier of the
safari_en_destination
.
- Destination
Id string - Unique identifier for Destination.
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Id string
- The unique identifier of the
safari_en_destination
.
- destination
Id String - Unique identifier for Destination.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- id String
- The unique identifier of the
safari_en_destination
.
- destination
Id string - Unique identifier for Destination.
- instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- id string
- The unique identifier of the
safari_en_destination
.
- destination_
id str - Unique identifier for Destination.
- instance_
guid str - Unique identifier for IBM Cloud Event Notifications instance.
- id str
- The unique identifier of the
safari_en_destination
.
- destination
Id String - Unique identifier for Destination.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- id String
- The unique identifier of the
safari_en_destination
.
getEnDestinationSafari Result
The following output properties are available:
- Collect
Failed boolEvents - (boolean) Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Configs
List<Get
En Destination Safari Config> - (List) Payload describing a destination configuration. Nested scheme for config:
- Description string
- (String) Destination description.
- Destination
Id string - Id string
- The unique identifier of the
safari_en_destination
. - Instance
Guid string - Name string
- (String) Destination name.
- Subscription
Count double - (Integer) Number of subscriptions.
- Subscription
Names List<string> - (List) List of subscriptions.
- Type string
- (String) Destination type push_safari.
- Updated
At string - (String) Last updated time.
- Collect
Failed boolEvents - (boolean) Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Configs
[]Get
En Destination Safari Config - (List) Payload describing a destination configuration. Nested scheme for config:
- Description string
- (String) Destination description.
- Destination
Id string - Id string
- The unique identifier of the
safari_en_destination
. - Instance
Guid string - Name string
- (String) Destination name.
- Subscription
Count float64 - (Integer) Number of subscriptions.
- Subscription
Names []string - (List) List of subscriptions.
- Type string
- (String) Destination type push_safari.
- Updated
At string - (String) Last updated time.
- collect
Failed BooleanEvents - (boolean) Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- configs
List<Get
En Destination Safari Config> - (List) Payload describing a destination configuration. Nested scheme for config:
- description String
- (String) Destination description.
- destination
Id String - id String
- The unique identifier of the
safari_en_destination
. - instance
Guid String - name String
- (String) Destination name.
- subscription
Count Double - (Integer) Number of subscriptions.
- subscription
Names List<String> - (List) List of subscriptions.
- type String
- (String) Destination type push_safari.
- updated
At String - (String) Last updated time.
- collect
Failed booleanEvents - (boolean) Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- configs
Get
En Destination Safari Config[] - (List) Payload describing a destination configuration. Nested scheme for config:
- description string
- (String) Destination description.
- destination
Id string - id string
- The unique identifier of the
safari_en_destination
. - instance
Guid string - name string
- (String) Destination name.
- subscription
Count number - (Integer) Number of subscriptions.
- subscription
Names string[] - (List) List of subscriptions.
- type string
- (String) Destination type push_safari.
- updated
At string - (String) Last updated time.
- collect_
failed_ boolevents - (boolean) Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- configs
Sequence[Get
En Destination Safari Config] - (List) Payload describing a destination configuration. Nested scheme for config:
- description str
- (String) Destination description.
- destination_
id str - id str
- The unique identifier of the
safari_en_destination
. - instance_
guid str - name str
- (String) Destination name.
- subscription_
count float - (Integer) Number of subscriptions.
- subscription_
names Sequence[str] - (List) List of subscriptions.
- type str
- (String) Destination type push_safari.
- updated_
at str - (String) Last updated time.
- collect
Failed BooleanEvents - (boolean) Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- configs List<Property Map>
- (List) Payload describing a destination configuration. Nested scheme for config:
- description String
- (String) Destination description.
- destination
Id String - id String
- The unique identifier of the
safari_en_destination
. - instance
Guid String - name String
- (String) Destination name.
- subscription
Count Number - (Integer) Number of subscriptions.
- subscription
Names List<String> - (List) List of subscriptions.
- type String
- (String) Destination type push_safari.
- updated
At String - (String) Last updated time.
Supporting Types
GetEnDestinationSafariConfig
- params List<Property Map>
- (List)
GetEnDestinationSafariConfigParam
- Cert
Type string - (String) The Certificate type. Value is p12.
- Password string
- (String) The password string for p12 certificate.
- Pre
Prod bool - (Optional, bool) The flag to set your destination as pre prod destination or Prod Destination. The option is only available with Standard plan
- Url
Format stringString - (String) Website formatted url .
- Website
Name string - (String) The name of website.
- Website
Push stringId - (String) Website push ID .
- Website
Url string - (String) Website url.
- Cert
Type string - (String) The Certificate type. Value is p12.
- Password string
- (String) The password string for p12 certificate.
- Pre
Prod bool - (Optional, bool) The flag to set your destination as pre prod destination or Prod Destination. The option is only available with Standard plan
- Url
Format stringString - (String) Website formatted url .
- Website
Name string - (String) The name of website.
- Website
Push stringId - (String) Website push ID .
- Website
Url string - (String) Website url.
- cert
Type String - (String) The Certificate type. Value is p12.
- password String
- (String) The password string for p12 certificate.
- pre
Prod Boolean - (Optional, bool) The flag to set your destination as pre prod destination or Prod Destination. The option is only available with Standard plan
- url
Format StringString - (String) Website formatted url .
- website
Name String - (String) The name of website.
- website
Push StringId - (String) Website push ID .
- website
Url String - (String) Website url.
- cert
Type string - (String) The Certificate type. Value is p12.
- password string
- (String) The password string for p12 certificate.
- pre
Prod boolean - (Optional, bool) The flag to set your destination as pre prod destination or Prod Destination. The option is only available with Standard plan
- url
Format stringString - (String) Website formatted url .
- website
Name string - (String) The name of website.
- website
Push stringId - (String) Website push ID .
- website
Url string - (String) Website url.
- cert_
type str - (String) The Certificate type. Value is p12.
- password str
- (String) The password string for p12 certificate.
- pre_
prod bool - (Optional, bool) The flag to set your destination as pre prod destination or Prod Destination. The option is only available with Standard plan
- url_
format_ strstring - (String) Website formatted url .
- website_
name str - (String) The name of website.
- website_
push_ strid - (String) Website push ID .
- website_
url str - (String) Website url.
- cert
Type String - (String) The Certificate type. Value is p12.
- password String
- (String) The password string for p12 certificate.
- pre
Prod Boolean - (Optional, bool) The flag to set your destination as pre prod destination or Prod Destination. The option is only available with Standard plan
- url
Format StringString - (String) Website formatted url .
- website
Name String - (String) The name of website.
- website
Push StringId - (String) Website push ID .
- website
Url String - (String) Website url.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.