ibm.EnDestinationIos
Explore with Pulumi AI
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
- Certificate
Content stringType - The type of certificate, Values are p8/p12.
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Type string
- push_ios.
- Collect
Failed boolEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Config
En
Destination Ios Config Payload describing a destination configuration.
Nested scheme for config:
- Description string
- The Destination description.
- En
Destination stringIos Id - (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
- Certificate
Content stringType - The type of certificate, Values are p8/p12.
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Type string
- push_ios.
- Collect
Failed boolEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Config
En
Destination Ios Config Args Payload describing a destination configuration.
Nested scheme for config:
- Description string
- The Destination description.
- En
Destination stringIos Id - (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
- certificate
Content StringType - The type of certificate, Values are p8/p12.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- type String
- push_ios.
- collect
Failed BooleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ios Config Payload describing a destination configuration.
Nested scheme for config:
- description String
- The Destination description.
- en
Destination StringIos Id - (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
- certificate
Content stringType - The type of certificate, Values are p8/p12.
- instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- type string
- push_ios.
- collect
Failed booleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ios Config Payload describing a destination configuration.
Nested scheme for config:
- description string
- The Destination description.
- en
Destination stringIos Id - (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_ strtype - 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_ boolevents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ios Config Args Payload describing a destination configuration.
Nested scheme for config:
- description str
- The Destination description.
- en_
destination_ strios_ id - (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
- certificate
Content StringType - The type of certificate, Values are p8/p12.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- type String
- push_ios.
- collect
Failed BooleanEvents - 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.
- en
Destination StringIos Id - (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:
- Destination
Id string - (String) The unique identifier of the created destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- Subscription
Count double - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- Subscription
Names List<string> - (List) List of subscriptions.
- Updated
At string - (String) Last updated time.
- Destination
Id string - (String) The unique identifier of the created destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- Subscription
Count float64 - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- Subscription
Names []string - (List) List of subscriptions.
- Updated
At string - (String) Last updated time.
- destination
Id String - (String) The unique identifier of the created destination.
- id String
- The provider-assigned unique ID for this managed resource.
- subscription
Count Double - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names List<String> - (List) List of subscriptions.
- updated
At String - (String) Last updated time.
- destination
Id string - (String) The unique identifier of the created destination.
- id string
- The provider-assigned unique ID for this managed resource.
- subscription
Count number - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names string[] - (List) List of subscriptions.
- updated
At 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
.
- Constraints: The minimum value is
- subscription_
names Sequence[str] - (List) List of subscriptions.
- updated_
at str - (String) Last updated time.
- destination
Id String - (String) The unique identifier of the created destination.
- id String
- The provider-assigned unique ID for this managed resource.
- subscription
Count Number - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names List<String> - (List) List of subscriptions.
- updated
At 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.
- Certificate string
- Certificate file. The file type allowed is .p8 and .p12
- Certificate
Content stringType - The type of certificate, Values are p8/p12.
- Collect
Failed boolEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Config
En
Destination Ios Config Payload describing a destination configuration.
Nested scheme for config:
- Description string
- The Destination description.
- Destination
Id string - (String) The unique identifier of the created destination.
- En
Destination stringIos Id - (String) The unique identifier of the
ios_en_destination
. - Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Name string
- The Destintion name.
- Subscription
Count double - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- Subscription
Names List<string> - (List) List of subscriptions.
- Type string
- push_ios.
- Updated
At string - (String) Last updated time.
- Certificate string
- Certificate file. The file type allowed is .p8 and .p12
- Certificate
Content stringType - The type of certificate, Values are p8/p12.
- Collect
Failed boolEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- Config
En
Destination Ios Config Args Payload describing a destination configuration.
Nested scheme for config:
- Description string
- The Destination description.
- Destination
Id string - (String) The unique identifier of the created destination.
- En
Destination stringIos Id - (String) The unique identifier of the
ios_en_destination
. - Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Name string
- The Destintion name.
- Subscription
Count float64 - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- Subscription
Names []string - (List) List of subscriptions.
- Type string
- push_ios.
- Updated
At string - (String) Last updated time.
- certificate String
- Certificate file. The file type allowed is .p8 and .p12
- certificate
Content StringType - The type of certificate, Values are p8/p12.
- collect
Failed BooleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ios Config Payload describing a destination configuration.
Nested scheme for config:
- description String
- The Destination description.
- destination
Id String - (String) The unique identifier of the created destination.
- en
Destination StringIos Id - (String) The unique identifier of the
ios_en_destination
. - instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- name String
- The Destintion name.
- subscription
Count Double - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names List<String> - (List) List of subscriptions.
- type String
- push_ios.
- updated
At String - (String) Last updated time.
- certificate string
- Certificate file. The file type allowed is .p8 and .p12
- certificate
Content stringType - The type of certificate, Values are p8/p12.
- collect
Failed booleanEvents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ios Config Payload describing a destination configuration.
Nested scheme for config:
- description string
- The Destination description.
- destination
Id string - (String) The unique identifier of the created destination.
- en
Destination stringIos Id - (String) The unique identifier of the
ios_en_destination
. - instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- name string
- The Destintion name.
- subscription
Count number - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names string[] - (List) List of subscriptions.
- type string
- push_ios.
- updated
At string - (String) Last updated time.
- certificate str
- Certificate file. The file type allowed is .p8 and .p12
- certificate_
content_ strtype - The type of certificate, Values are p8/p12.
- collect_
failed_ boolevents - Toggle switch to enable collect failed event in Cloud Object Storage bucket.
- config
En
Destination Ios Config Args 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_ strios_ id - (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
.
- Constraints: The minimum value is
- 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
- certificate
Content StringType - The type of certificate, Values are p8/p12.
- collect
Failed BooleanEvents - 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.
- destination
Id String - (String) The unique identifier of the created destination.
- en
Destination StringIos Id - (String) The unique identifier of the
ios_en_destination
. - instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- name String
- The Destintion name.
- subscription
Count Number - (Integer) Number of subscriptions.
- Constraints: The minimum value is
0
.
- Constraints: The minimum value is
- subscription
Names List<String> - (List) List of subscriptions.
- type String
- push_ios.
- updated
At String - (String) Last updated time.
Supporting Types
EnDestinationIosConfig, EnDestinationIosConfigArgs
- Params
En
Destination Ios Config Params - Nested scheme for params:
- Params
En
Destination Ios Config Params - Nested scheme for params:
- params
En
Destination Ios Config Params - Nested scheme for params:
- params
En
Destination Ios Config Params - Nested scheme for params:
- params
En
Destination Ios Config Params - Nested scheme for params:
- params Property Map
- Nested scheme for params:
EnDestinationIosConfigParams, EnDestinationIosConfigParamsArgs
- Cert
Type string - The Certificate Type for IOS, the values are p8/p12.
- Is
Sandbox bool - The flag to determine sandbox or production environment.
- Bundle
Id string - The Bundle ID In case of P8 Certificate
- Key
Id string - The Key ID In case of P8 Certificate
- Password string
- 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 string - The Team ID In case of P8 Certificate
- Cert
Type string - The Certificate Type for IOS, the values are p8/p12.
- Is
Sandbox bool - The flag to determine sandbox or production environment.
- Bundle
Id string - The Bundle ID In case of P8 Certificate
- Key
Id string - The Key ID In case of P8 Certificate
- Password string
- 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 string - The Team ID In case of P8 Certificate
- cert
Type String - The Certificate Type for IOS, the values are p8/p12.
- is
Sandbox Boolean - The flag to determine sandbox or production environment.
- bundle
Id String - The Bundle ID In case of P8 Certificate
- key
Id String - The Key ID In case of P8 Certificate
- password String
- The Password for APNS Certificate in case of P12 certificate
- pre
Prod Boolean - The flag to enable destination as pre-prod or prod
- team
Id String - The Team ID In case of P8 Certificate
- cert
Type string - The Certificate Type for IOS, the values are p8/p12.
- is
Sandbox boolean - The flag to determine sandbox or production environment.
- bundle
Id string - The Bundle ID In case of P8 Certificate
- key
Id string - The Key ID In case of P8 Certificate
- password string
- The Password for APNS Certificate in case of P12 certificate
- pre
Prod boolean - The flag to enable destination as pre-prod or prod
- team
Id 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
- cert
Type String - The Certificate Type for IOS, the values are p8/p12.
- is
Sandbox Boolean - The flag to determine sandbox or production environment.
- bundle
Id String - The Bundle ID In case of P8 Certificate
- key
Id String - The Key ID In case of P8 Certificate
- password String
- The Password for APNS Certificate in case of P12 certificate
- pre
Prod Boolean - The flag to enable destination as pre-prod or prod
- team
Id 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.