1. Packages
  2. Ibm Provider
  3. API Docs
  4. EnDestinationIos
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.EnDestinationIos

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create, update, or delete IOS destination by using IBM Cloud™ Event Notifications.

    Example Usage

    P8

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const iosEnDestination = new ibm.EnDestinationIos("iosEnDestination", {
        instanceGuid: ibm_resource_instance.en_terraform_test_resource.guid,
        type: "push_ios",
        collectFailedEvents: false,
        certificateContentType: "p8",
        certificate: `${path.module}/Certificates/Auth.p8`,
        description: "IOS destination with P8",
        config: {
            params: {
                certType: "p8",
                isSandbox: true,
                keyId: production,
                teamId: "2347",
                bundleId: "testp8",
                preProd: false,
            },
        },
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    ios_en_destination = ibm.EnDestinationIos("iosEnDestination",
        instance_guid=ibm_resource_instance["en_terraform_test_resource"]["guid"],
        type="push_ios",
        collect_failed_events=False,
        certificate_content_type="p8",
        certificate=f"{path['module']}/Certificates/Auth.p8",
        description="IOS destination with P8",
        config={
            "params": {
                "cert_type": "p8",
                "is_sandbox": True,
                "key_id": production,
                "team_id": "2347",
                "bundle_id": "testp8",
                "pre_prod": False,
            },
        })
    
    package main
    
    import (
    	"fmt"
    
    	"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.NewEnDestinationIos(ctx, "iosEnDestination", &ibm.EnDestinationIosArgs{
    			InstanceGuid:           pulumi.Any(ibm_resource_instance.En_terraform_test_resource.Guid),
    			Type:                   pulumi.String("push_ios"),
    			CollectFailedEvents:    pulumi.Bool(false),
    			CertificateContentType: pulumi.String("p8"),
    			Certificate:            pulumi.Sprintf("%v/Certificates/Auth.p8", path.Module),
    			Description:            pulumi.String("IOS destination with P8"),
    			Config: &ibm.EnDestinationIosConfigArgs{
    				Params: &ibm.EnDestinationIosConfigParamsArgs{
    					CertType:  pulumi.String("p8"),
    					IsSandbox: pulumi.Bool(true),
    					KeyId:     pulumi.Any(production),
    					TeamId:    pulumi.String("2347"),
    					BundleId:  pulumi.String("testp8"),
    					PreProd:   pulumi.Bool(false),
    				},
    			},
    		})
    		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 iosEnDestination = new Ibm.EnDestinationIos("iosEnDestination", new()
        {
            InstanceGuid = ibm_resource_instance.En_terraform_test_resource.Guid,
            Type = "push_ios",
            CollectFailedEvents = false,
            CertificateContentType = "p8",
            Certificate = $"{path.Module}/Certificates/Auth.p8",
            Description = "IOS destination with P8",
            Config = new Ibm.Inputs.EnDestinationIosConfigArgs
            {
                Params = new Ibm.Inputs.EnDestinationIosConfigParamsArgs
                {
                    CertType = "p8",
                    IsSandbox = true,
                    KeyId = production,
                    TeamId = "2347",
                    BundleId = "testp8",
                    PreProd = false,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.EnDestinationIos;
    import com.pulumi.ibm.EnDestinationIosArgs;
    import com.pulumi.ibm.inputs.EnDestinationIosConfigArgs;
    import com.pulumi.ibm.inputs.EnDestinationIosConfigParamsArgs;
    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) {
            var iosEnDestination = new EnDestinationIos("iosEnDestination", EnDestinationIosArgs.builder()
                .instanceGuid(ibm_resource_instance.en_terraform_test_resource().guid())
                .type("push_ios")
                .collectFailedEvents(false)
                .certificateContentType("p8")
                .certificate(String.format("%s/Certificates/Auth.p8", path.module()))
                .description("IOS destination with P8")
                .config(EnDestinationIosConfigArgs.builder()
                    .params(EnDestinationIosConfigParamsArgs.builder()
                        .certType("p8")
                        .isSandbox(true)
                        .keyId(production)
                        .teamId("2347")
                        .bundleId("testp8")
                        .preProd(false)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      iosEnDestination:
        type: ibm:EnDestinationIos
        properties:
          instanceGuid: ${ibm_resource_instance.en_terraform_test_resource.guid}
          type: push_ios
          collectFailedEvents: false
          certificateContentType: p8
          certificate: ${path.module}/Certificates/Auth.p8
          description: IOS destination with P8
          config:
            params:
              certType: p8
              isSandbox: true
              keyId: ${production}
              teamId: '2347'
              bundleId: testp8
              preProd: false
    

    P12

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const iosEnDestination = new ibm.EnDestinationIos("iosEnDestination", {
        certificate: `${path.module}/Certificates/prod.p12`,
        certificateContentType: "p12",
        config: {
            params: {
                certType: "p12",
                isSandbox: true,
                password: "apnscertpassword",
            },
        },
        description: "IOS destination with P12",
        instanceGuid: "ibm_resource_instance.en_terraform_test_resource.guid",
        type: "push_ios",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    ios_en_destination = ibm.EnDestinationIos("iosEnDestination",
        certificate=f"{path['module']}/Certificates/prod.p12",
        certificate_content_type="p12",
        config={
            "params": {
                "cert_type": "p12",
                "is_sandbox": True,
                "password": "apnscertpassword",
            },
        },
        description="IOS destination with P12",
        instance_guid="ibm_resource_instance.en_terraform_test_resource.guid",
        type="push_ios")
    
    package main
    
    import (
    	"fmt"
    
    	"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.NewEnDestinationIos(ctx, "iosEnDestination", &ibm.EnDestinationIosArgs{
    			Certificate:            pulumi.Sprintf("%v/Certificates/prod.p12", path.Module),
    			CertificateContentType: pulumi.String("p12"),
    			Config: &ibm.EnDestinationIosConfigArgs{
    				Params: &ibm.EnDestinationIosConfigParamsArgs{
    					CertType:  pulumi.String("p12"),
    					IsSandbox: pulumi.Bool(true),
    					Password:  pulumi.String("apnscertpassword"),
    				},
    			},
    			Description:  pulumi.String("IOS destination with P12"),
    			InstanceGuid: pulumi.String("ibm_resource_instance.en_terraform_test_resource.guid"),
    			Type:         pulumi.String("push_ios"),
    		})
    		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 iosEnDestination = new Ibm.EnDestinationIos("iosEnDestination", new()
        {
            Certificate = $"{path.Module}/Certificates/prod.p12",
            CertificateContentType = "p12",
            Config = new Ibm.Inputs.EnDestinationIosConfigArgs
            {
                Params = new Ibm.Inputs.EnDestinationIosConfigParamsArgs
                {
                    CertType = "p12",
                    IsSandbox = true,
                    Password = "apnscertpassword",
                },
            },
            Description = "IOS destination with P12",
            InstanceGuid = "ibm_resource_instance.en_terraform_test_resource.guid",
            Type = "push_ios",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.EnDestinationIos;
    import com.pulumi.ibm.EnDestinationIosArgs;
    import com.pulumi.ibm.inputs.EnDestinationIosConfigArgs;
    import com.pulumi.ibm.inputs.EnDestinationIosConfigParamsArgs;
    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) {
            var iosEnDestination = new EnDestinationIos("iosEnDestination", EnDestinationIosArgs.builder()
                .certificate(String.format("%s/Certificates/prod.p12", path.module()))
                .certificateContentType("p12")
                .config(EnDestinationIosConfigArgs.builder()
                    .params(EnDestinationIosConfigParamsArgs.builder()
                        .certType("p12")
                        .isSandbox(true)
                        .password("apnscertpassword")
                        .build())
                    .build())
                .description("IOS destination with P12")
                .instanceGuid("ibm_resource_instance.en_terraform_test_resource.guid")
                .type("push_ios")
                .build());
    
        }
    }
    
    resources:
      iosEnDestination:
        type: ibm:EnDestinationIos
        properties:
          certificate: ${path.module}/Certificates/prod.p12
          certificateContentType: p12
          config:
            params:
              certType: p12
              isSandbox: true
              password: apnscertpassword
          description: IOS destination with P12
          instanceGuid: ibm_resource_instance.en_terraform_test_resource.guid
          type: push_ios
    

    Create EnDestinationIos Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EnDestinationIos(name: string, args: EnDestinationIosArgs, opts?: CustomResourceOptions);
    @overload
    def EnDestinationIos(resource_name: str,
                         args: EnDestinationIosArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnDestinationIos(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         certificate: Optional[str] = None,
                         certificate_content_type: Optional[str] = None,
                         instance_guid: Optional[str] = None,
                         type: Optional[str] = None,
                         collect_failed_events: Optional[bool] = None,
                         config: Optional[EnDestinationIosConfigArgs] = None,
                         description: Optional[str] = None,
                         en_destination_ios_id: Optional[str] = None,
                         name: Optional[str] = None)
    func NewEnDestinationIos(ctx *Context, name string, args EnDestinationIosArgs, opts ...ResourceOption) (*EnDestinationIos, error)
    public EnDestinationIos(string name, EnDestinationIosArgs args, CustomResourceOptions? opts = null)
    public EnDestinationIos(String name, EnDestinationIosArgs args)
    public EnDestinationIos(String name, EnDestinationIosArgs args, CustomResourceOptions options)
    
    type: ibm:EnDestinationIos
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EnDestinationIosArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EnDestinationIosArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EnDestinationIosArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnDestinationIosArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnDestinationIosArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var enDestinationIosResource = new Ibm.EnDestinationIos("enDestinationIosResource", new()
    {
        Certificate = "string",
        CertificateContentType = "string",
        InstanceGuid = "string",
        Type = "string",
        CollectFailedEvents = false,
        Config = new Ibm.Inputs.EnDestinationIosConfigArgs
        {
            Params = new Ibm.Inputs.EnDestinationIosConfigParamsArgs
            {
                CertType = "string",
                IsSandbox = false,
                BundleId = "string",
                KeyId = "string",
                Password = "string",
                PreProd = false,
                TeamId = "string",
            },
        },
        Description = "string",
        EnDestinationIosId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewEnDestinationIos(ctx, "enDestinationIosResource", &ibm.EnDestinationIosArgs{
    	Certificate:            pulumi.String("string"),
    	CertificateContentType: pulumi.String("string"),
    	InstanceGuid:           pulumi.String("string"),
    	Type:                   pulumi.String("string"),
    	CollectFailedEvents:    pulumi.Bool(false),
    	Config: &ibm.EnDestinationIosConfigArgs{
    		Params: &ibm.EnDestinationIosConfigParamsArgs{
    			CertType:  pulumi.String("string"),
    			IsSandbox: pulumi.Bool(false),
    			BundleId:  pulumi.String("string"),
    			KeyId:     pulumi.String("string"),
    			Password:  pulumi.String("string"),
    			PreProd:   pulumi.Bool(false),
    			TeamId:    pulumi.String("string"),
    		},
    	},
    	Description:        pulumi.String("string"),
    	EnDestinationIosId: pulumi.String("string"),
    	Name:               pulumi.String("string"),
    })
    
    var enDestinationIosResource = new EnDestinationIos("enDestinationIosResource", EnDestinationIosArgs.builder()
        .certificate("string")
        .certificateContentType("string")
        .instanceGuid("string")
        .type("string")
        .collectFailedEvents(false)
        .config(EnDestinationIosConfigArgs.builder()
            .params(EnDestinationIosConfigParamsArgs.builder()
                .certType("string")
                .isSandbox(false)
                .bundleId("string")
                .keyId("string")
                .password("string")
                .preProd(false)
                .teamId("string")
                .build())
            .build())
        .description("string")
        .enDestinationIosId("string")
        .name("string")
        .build());
    
    en_destination_ios_resource = ibm.EnDestinationIos("enDestinationIosResource",
        certificate="string",
        certificate_content_type="string",
        instance_guid="string",
        type="string",
        collect_failed_events=False,
        config={
            "params": {
                "cert_type": "string",
                "is_sandbox": False,
                "bundle_id": "string",
                "key_id": "string",
                "password": "string",
                "pre_prod": False,
                "team_id": "string",
            },
        },
        description="string",
        en_destination_ios_id="string",
        name="string")
    
    const enDestinationIosResource = new ibm.EnDestinationIos("enDestinationIosResource", {
        certificate: "string",
        certificateContentType: "string",
        instanceGuid: "string",
        type: "string",
        collectFailedEvents: false,
        config: {
            params: {
                certType: "string",
                isSandbox: false,
                bundleId: "string",
                keyId: "string",
                password: "string",
                preProd: false,
                teamId: "string",
            },
        },
        description: "string",
        enDestinationIosId: "string",
        name: "string",
    });
    
    type: ibm:EnDestinationIos
    properties:
        certificate: string
        certificateContentType: string
        collectFailedEvents: false
        config:
            params:
                bundleId: string
                certType: string
                isSandbox: false
                keyId: string
                password: string
                preProd: false
                teamId: string
        description: string
        enDestinationIosId: string
        instanceGuid: string
        name: string
        type: string
    

    EnDestinationIos Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EnDestinationIos resource accepts the following input properties:

    Certificate string
    Certificate file. The file type allowed is .p8 and .p12
    CertificateContentType string
    The type of certificate, Values are p8/p12.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Type string
    push_ios.
    CollectFailedEvents bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    Config EnDestinationIosConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    Description string
    The Destination description.
    EnDestinationIosId string
    (String) The unique identifier of the ios_en_destination.
    Name string
    The Destintion name.
    Certificate string
    Certificate file. The file type allowed is .p8 and .p12
    CertificateContentType string
    The type of certificate, Values are p8/p12.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Type string
    push_ios.
    CollectFailedEvents bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    Config EnDestinationIosConfigArgs

    Payload describing a destination configuration.

    Nested scheme for config:

    Description string
    The Destination description.
    EnDestinationIosId string
    (String) The unique identifier of the ios_en_destination.
    Name string
    The Destintion name.
    certificate String
    Certificate file. The file type allowed is .p8 and .p12
    certificateContentType String
    The type of certificate, Values are p8/p12.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    type String
    push_ios.
    collectFailedEvents Boolean
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationIosConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    description String
    The Destination description.
    enDestinationIosId String
    (String) The unique identifier of the ios_en_destination.
    name String
    The Destintion name.
    certificate string
    Certificate file. The file type allowed is .p8 and .p12
    certificateContentType string
    The type of certificate, Values are p8/p12.
    instanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    type string
    push_ios.
    collectFailedEvents boolean
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationIosConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    description string
    The Destination description.
    enDestinationIosId string
    (String) The unique identifier of the ios_en_destination.
    name string
    The Destintion name.
    certificate str
    Certificate file. The file type allowed is .p8 and .p12
    certificate_content_type str
    The type of certificate, Values are p8/p12.
    instance_guid str
    Unique identifier for IBM Cloud Event Notifications instance.
    type str
    push_ios.
    collect_failed_events bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationIosConfigArgs

    Payload describing a destination configuration.

    Nested scheme for config:

    description str
    The Destination description.
    en_destination_ios_id str
    (String) The unique identifier of the ios_en_destination.
    name str
    The Destintion name.
    certificate String
    Certificate file. The file type allowed is .p8 and .p12
    certificateContentType String
    The type of certificate, Values are p8/p12.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    type String
    push_ios.
    collectFailedEvents Boolean
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config Property Map

    Payload describing a destination configuration.

    Nested scheme for config:

    description String
    The Destination description.
    enDestinationIosId String
    (String) The unique identifier of the ios_en_destination.
    name String
    The Destintion name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EnDestinationIos resource produces the following output properties:

    DestinationId string
    (String) The unique identifier of the created destination.
    Id string
    The provider-assigned unique ID for this managed resource.
    SubscriptionCount double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames List<string>
    (List) List of subscriptions.
    UpdatedAt string
    (String) Last updated time.
    DestinationId string
    (String) The unique identifier of the created destination.
    Id string
    The provider-assigned unique ID for this managed resource.
    SubscriptionCount float64
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames []string
    (List) List of subscriptions.
    UpdatedAt string
    (String) Last updated time.
    destinationId String
    (String) The unique identifier of the created destination.
    id String
    The provider-assigned unique ID for this managed resource.
    subscriptionCount Double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    updatedAt String
    (String) Last updated time.
    destinationId string
    (String) The unique identifier of the created destination.
    id string
    The provider-assigned unique ID for this managed resource.
    subscriptionCount number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames string[]
    (List) List of subscriptions.
    updatedAt string
    (String) Last updated time.
    destination_id str
    (String) The unique identifier of the created destination.
    id str
    The provider-assigned unique ID for this managed resource.
    subscription_count float
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscription_names Sequence[str]
    (List) List of subscriptions.
    updated_at str
    (String) Last updated time.
    destinationId String
    (String) The unique identifier of the created destination.
    id String
    The provider-assigned unique ID for this managed resource.
    subscriptionCount Number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    updatedAt String
    (String) Last updated time.

    Look up Existing EnDestinationIos Resource

    Get an existing EnDestinationIos resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EnDestinationIosState, opts?: CustomResourceOptions): EnDestinationIos
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificate: Optional[str] = None,
            certificate_content_type: Optional[str] = None,
            collect_failed_events: Optional[bool] = None,
            config: Optional[EnDestinationIosConfigArgs] = None,
            description: Optional[str] = None,
            destination_id: Optional[str] = None,
            en_destination_ios_id: Optional[str] = None,
            instance_guid: Optional[str] = None,
            name: Optional[str] = None,
            subscription_count: Optional[float] = None,
            subscription_names: Optional[Sequence[str]] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None) -> EnDestinationIos
    func GetEnDestinationIos(ctx *Context, name string, id IDInput, state *EnDestinationIosState, opts ...ResourceOption) (*EnDestinationIos, error)
    public static EnDestinationIos Get(string name, Input<string> id, EnDestinationIosState? state, CustomResourceOptions? opts = null)
    public static EnDestinationIos get(String name, Output<String> id, EnDestinationIosState state, CustomResourceOptions options)
    resources:  _:    type: ibm:EnDestinationIos    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Certificate string
    Certificate file. The file type allowed is .p8 and .p12
    CertificateContentType string
    The type of certificate, Values are p8/p12.
    CollectFailedEvents bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    Config EnDestinationIosConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    Description string
    The Destination description.
    DestinationId string
    (String) The unique identifier of the created destination.
    EnDestinationIosId string
    (String) The unique identifier of the ios_en_destination.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Name string
    The Destintion name.
    SubscriptionCount double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames List<string>
    (List) List of subscriptions.
    Type string
    push_ios.
    UpdatedAt string
    (String) Last updated time.
    Certificate string
    Certificate file. The file type allowed is .p8 and .p12
    CertificateContentType string
    The type of certificate, Values are p8/p12.
    CollectFailedEvents bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    Config EnDestinationIosConfigArgs

    Payload describing a destination configuration.

    Nested scheme for config:

    Description string
    The Destination description.
    DestinationId string
    (String) The unique identifier of the created destination.
    EnDestinationIosId string
    (String) The unique identifier of the ios_en_destination.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Name string
    The Destintion name.
    SubscriptionCount float64
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames []string
    (List) List of subscriptions.
    Type string
    push_ios.
    UpdatedAt string
    (String) Last updated time.
    certificate String
    Certificate file. The file type allowed is .p8 and .p12
    certificateContentType String
    The type of certificate, Values are p8/p12.
    collectFailedEvents Boolean
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationIosConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    description String
    The Destination description.
    destinationId String
    (String) The unique identifier of the created destination.
    enDestinationIosId String
    (String) The unique identifier of the ios_en_destination.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    name String
    The Destintion name.
    subscriptionCount Double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    type String
    push_ios.
    updatedAt String
    (String) Last updated time.
    certificate string
    Certificate file. The file type allowed is .p8 and .p12
    certificateContentType string
    The type of certificate, Values are p8/p12.
    collectFailedEvents boolean
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationIosConfig

    Payload describing a destination configuration.

    Nested scheme for config:

    description string
    The Destination description.
    destinationId string
    (String) The unique identifier of the created destination.
    enDestinationIosId string
    (String) The unique identifier of the ios_en_destination.
    instanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    name string
    The Destintion name.
    subscriptionCount number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames string[]
    (List) List of subscriptions.
    type string
    push_ios.
    updatedAt string
    (String) Last updated time.
    certificate str
    Certificate file. The file type allowed is .p8 and .p12
    certificate_content_type str
    The type of certificate, Values are p8/p12.
    collect_failed_events bool
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config EnDestinationIosConfigArgs

    Payload describing a destination configuration.

    Nested scheme for config:

    description str
    The Destination description.
    destination_id str
    (String) The unique identifier of the created destination.
    en_destination_ios_id str
    (String) The unique identifier of the ios_en_destination.
    instance_guid str
    Unique identifier for IBM Cloud Event Notifications instance.
    name str
    The Destintion name.
    subscription_count float
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscription_names Sequence[str]
    (List) List of subscriptions.
    type str
    push_ios.
    updated_at str
    (String) Last updated time.
    certificate String
    Certificate file. The file type allowed is .p8 and .p12
    certificateContentType String
    The type of certificate, Values are p8/p12.
    collectFailedEvents Boolean
    Toggle switch to enable collect failed event in Cloud Object Storage bucket.
    config Property Map

    Payload describing a destination configuration.

    Nested scheme for config:

    description String
    The Destination description.
    destinationId String
    (String) The unique identifier of the created destination.
    enDestinationIosId String
    (String) The unique identifier of the ios_en_destination.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    name String
    The Destintion name.
    subscriptionCount Number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    type String
    push_ios.
    updatedAt String
    (String) Last updated time.

    Supporting Types

    EnDestinationIosConfig, EnDestinationIosConfigArgs

    Params EnDestinationIosConfigParams
    Nested scheme for params:
    Params EnDestinationIosConfigParams
    Nested scheme for params:
    params EnDestinationIosConfigParams
    Nested scheme for params:
    params EnDestinationIosConfigParams
    Nested scheme for params:
    params EnDestinationIosConfigParams
    Nested scheme for params:
    params Property Map
    Nested scheme for params:

    EnDestinationIosConfigParams, EnDestinationIosConfigParamsArgs

    CertType string
    The Certificate Type for IOS, the values are p8/p12.
    IsSandbox bool
    The flag to determine sandbox or production environment.
    BundleId string
    The Bundle ID In case of P8 Certificate
    KeyId string
    The Key ID In case of P8 Certificate
    Password string
    The Password for APNS Certificate in case of P12 certificate
    PreProd bool
    The flag to enable destination as pre-prod or prod
    TeamId string
    The Team ID In case of P8 Certificate
    CertType string
    The Certificate Type for IOS, the values are p8/p12.
    IsSandbox bool
    The flag to determine sandbox or production environment.
    BundleId string
    The Bundle ID In case of P8 Certificate
    KeyId string
    The Key ID In case of P8 Certificate
    Password string
    The Password for APNS Certificate in case of P12 certificate
    PreProd bool
    The flag to enable destination as pre-prod or prod
    TeamId string
    The Team ID In case of P8 Certificate
    certType String
    The Certificate Type for IOS, the values are p8/p12.
    isSandbox Boolean
    The flag to determine sandbox or production environment.
    bundleId String
    The Bundle ID In case of P8 Certificate
    keyId String
    The Key ID In case of P8 Certificate
    password String
    The Password for APNS Certificate in case of P12 certificate
    preProd Boolean
    The flag to enable destination as pre-prod or prod
    teamId String
    The Team ID In case of P8 Certificate
    certType string
    The Certificate Type for IOS, the values are p8/p12.
    isSandbox boolean
    The flag to determine sandbox or production environment.
    bundleId string
    The Bundle ID In case of P8 Certificate
    keyId string
    The Key ID In case of P8 Certificate
    password string
    The Password for APNS Certificate in case of P12 certificate
    preProd boolean
    The flag to enable destination as pre-prod or prod
    teamId string
    The Team ID In case of P8 Certificate
    cert_type str
    The Certificate Type for IOS, the values are p8/p12.
    is_sandbox bool
    The flag to determine sandbox or production environment.
    bundle_id str
    The Bundle ID In case of P8 Certificate
    key_id str
    The Key ID In case of P8 Certificate
    password str
    The Password for APNS Certificate in case of P12 certificate
    pre_prod bool
    The flag to enable destination as pre-prod or prod
    team_id str
    The Team ID In case of P8 Certificate
    certType String
    The Certificate Type for IOS, the values are p8/p12.
    isSandbox Boolean
    The flag to determine sandbox or production environment.
    bundleId String
    The Bundle ID In case of P8 Certificate
    keyId String
    The Key ID In case of P8 Certificate
    password String
    The Password for APNS Certificate in case of P12 certificate
    preProd Boolean
    The flag to enable destination as pre-prod or prod
    teamId String
    The Team ID In case of P8 Certificate

    Import

    You can import the ibm_en_destination_ios resource by using id.

    The id property can be formed from instance_guid, and destination_id in the following format:

    <instance_guid>/<destination_id>

    • instance_guid: A string. Unique identifier for IBM Cloud Event Notifications instance.

    • destination_id: A string. Unique identifier for Destination.

    Example

    $ pulumi import ibm:index/enDestinationIos:EnDestinationIos ios_en_destination <instance_guid>/<destination_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud