ibm.EnSubscriptionCustomSms
Explore with Pulumi AI
Create, update, or delete a Custom SMS Destination subscription by using IBM Cloud™ Event Notifications.
Example Usage
SMS Subscription Creation
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const smsSubscription = new ibm.EnSubscriptionSms("smsSubscription", {
instanceGuid: ibm_resource_instance.en_terraform_test_resource.guid,
description: "Custom SMS Destination subscription",
destinationId: ibm_en_destination_custom_sms.custom_sms_en_destination.destination_id,
topicId: ibm_en_topic.topic1.topic_id,
attributes: {
inviteds: [
"+15678923404",
"+19643567389",
],
},
});
import pulumi
import pulumi_ibm as ibm
sms_subscription = ibm.EnSubscriptionSms("smsSubscription",
instance_guid=ibm_resource_instance["en_terraform_test_resource"]["guid"],
description="Custom SMS Destination subscription",
destination_id=ibm_en_destination_custom_sms["custom_sms_en_destination"]["destination_id"],
topic_id=ibm_en_topic["topic1"]["topic_id"],
attributes={
"inviteds": [
"+15678923404",
"+19643567389",
],
})
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.NewEnSubscriptionSms(ctx, "smsSubscription", &ibm.EnSubscriptionSmsArgs{
InstanceGuid: pulumi.Any(ibm_resource_instance.En_terraform_test_resource.Guid),
Description: pulumi.String("Custom SMS Destination subscription"),
DestinationId: pulumi.Any(ibm_en_destination_custom_sms.Custom_sms_en_destination.Destination_id),
TopicId: pulumi.Any(ibm_en_topic.Topic1.Topic_id),
Attributes: &ibm.EnSubscriptionSmsAttributesArgs{
Inviteds: pulumi.StringArray{
pulumi.String("+15678923404"),
pulumi.String("+19643567389"),
},
},
})
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 smsSubscription = new Ibm.EnSubscriptionSms("smsSubscription", new()
{
InstanceGuid = ibm_resource_instance.En_terraform_test_resource.Guid,
Description = "Custom SMS Destination subscription",
DestinationId = ibm_en_destination_custom_sms.Custom_sms_en_destination.Destination_id,
TopicId = ibm_en_topic.Topic1.Topic_id,
Attributes = new Ibm.Inputs.EnSubscriptionSmsAttributesArgs
{
Inviteds = new[]
{
"+15678923404",
"+19643567389",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.EnSubscriptionSms;
import com.pulumi.ibm.EnSubscriptionSmsArgs;
import com.pulumi.ibm.inputs.EnSubscriptionSmsAttributesArgs;
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 smsSubscription = new EnSubscriptionSms("smsSubscription", EnSubscriptionSmsArgs.builder()
.instanceGuid(ibm_resource_instance.en_terraform_test_resource().guid())
.description("Custom SMS Destination subscription")
.destinationId(ibm_en_destination_custom_sms.custom_sms_en_destination().destination_id())
.topicId(ibm_en_topic.topic1().topic_id())
.attributes(EnSubscriptionSmsAttributesArgs.builder()
.inviteds(
"+15678923404",
"+19643567389")
.build())
.build());
}
}
resources:
smsSubscription:
type: ibm:EnSubscriptionSms
properties:
instanceGuid: ${ibm_resource_instance.en_terraform_test_resource.guid}
description: Custom SMS Destination subscription
destinationId: ${ibm_en_destination_custom_sms.custom_sms_en_destination.destination_id}
topicId: ${ibm_en_topic.topic1.topic_id}
attributes:
inviteds:
- '+15678923404'
- '+19643567389'
SMS Subscription Updation
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const customSmsSubscription = new ibm.EnSubscriptionCustomSms("customSmsSubscription", {
instanceGuid: "my_instance_guid",
description: "Subscription for Certificate expiration alert",
destinationId: ibm_en_destination_custom_sms.custom_sms_en_destination.destination_id,
topicId: ibm_en_topic.topic1.topic_id,
attributes: {
adds: ["+19643744902"],
removes: ["+19807485102"],
},
});
import pulumi
import pulumi_ibm as ibm
custom_sms_subscription = ibm.EnSubscriptionCustomSms("customSmsSubscription",
instance_guid="my_instance_guid",
description="Subscription for Certificate expiration alert",
destination_id=ibm_en_destination_custom_sms["custom_sms_en_destination"]["destination_id"],
topic_id=ibm_en_topic["topic1"]["topic_id"],
attributes={
"adds": ["+19643744902"],
"removes": ["+19807485102"],
})
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.NewEnSubscriptionCustomSms(ctx, "customSmsSubscription", &ibm.EnSubscriptionCustomSmsArgs{
InstanceGuid: pulumi.String("my_instance_guid"),
Description: pulumi.String("Subscription for Certificate expiration alert"),
DestinationId: pulumi.Any(ibm_en_destination_custom_sms.Custom_sms_en_destination.Destination_id),
TopicId: pulumi.Any(ibm_en_topic.Topic1.Topic_id),
Attributes: &ibm.EnSubscriptionCustomSmsAttributesArgs{
Adds: pulumi.StringArray{
pulumi.String("+19643744902"),
},
Removes: pulumi.StringArray{
pulumi.String("+19807485102"),
},
},
})
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 customSmsSubscription = new Ibm.EnSubscriptionCustomSms("customSmsSubscription", new()
{
InstanceGuid = "my_instance_guid",
Description = "Subscription for Certificate expiration alert",
DestinationId = ibm_en_destination_custom_sms.Custom_sms_en_destination.Destination_id,
TopicId = ibm_en_topic.Topic1.Topic_id,
Attributes = new Ibm.Inputs.EnSubscriptionCustomSmsAttributesArgs
{
Adds = new[]
{
"+19643744902",
},
Removes = new[]
{
"+19807485102",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.EnSubscriptionCustomSms;
import com.pulumi.ibm.EnSubscriptionCustomSmsArgs;
import com.pulumi.ibm.inputs.EnSubscriptionCustomSmsAttributesArgs;
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 customSmsSubscription = new EnSubscriptionCustomSms("customSmsSubscription", EnSubscriptionCustomSmsArgs.builder()
.instanceGuid("my_instance_guid")
.description("Subscription for Certificate expiration alert")
.destinationId(ibm_en_destination_custom_sms.custom_sms_en_destination().destination_id())
.topicId(ibm_en_topic.topic1().topic_id())
.attributes(EnSubscriptionCustomSmsAttributesArgs.builder()
.adds("+19643744902")
.removes("+19807485102")
.build())
.build());
}
}
resources:
customSmsSubscription:
type: ibm:EnSubscriptionCustomSms
properties:
instanceGuid: my_instance_guid
description: Subscription for Certificate expiration alert
destinationId: ${ibm_en_destination_custom_sms.custom_sms_en_destination.destination_id}
topicId: ${ibm_en_topic.topic1.topic_id}
attributes:
adds:
- '+19643744902'
removes:
- '+19807485102'
Create EnSubscriptionCustomSms Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnSubscriptionCustomSms(name: string, args: EnSubscriptionCustomSmsArgs, opts?: CustomResourceOptions);
@overload
def EnSubscriptionCustomSms(resource_name: str,
args: EnSubscriptionCustomSmsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnSubscriptionCustomSms(resource_name: str,
opts: Optional[ResourceOptions] = None,
destination_id: Optional[str] = None,
instance_guid: Optional[str] = None,
topic_id: Optional[str] = None,
attributes: Optional[EnSubscriptionCustomSmsAttributesArgs] = None,
description: Optional[str] = None,
en_subscription_custom_sms_id: Optional[str] = None,
name: Optional[str] = None)
func NewEnSubscriptionCustomSms(ctx *Context, name string, args EnSubscriptionCustomSmsArgs, opts ...ResourceOption) (*EnSubscriptionCustomSms, error)
public EnSubscriptionCustomSms(string name, EnSubscriptionCustomSmsArgs args, CustomResourceOptions? opts = null)
public EnSubscriptionCustomSms(String name, EnSubscriptionCustomSmsArgs args)
public EnSubscriptionCustomSms(String name, EnSubscriptionCustomSmsArgs args, CustomResourceOptions options)
type: ibm:EnSubscriptionCustomSms
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 EnSubscriptionCustomSmsArgs
- 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 EnSubscriptionCustomSmsArgs
- 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 EnSubscriptionCustomSmsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnSubscriptionCustomSmsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnSubscriptionCustomSmsArgs
- 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 enSubscriptionCustomSmsResource = new Ibm.EnSubscriptionCustomSms("enSubscriptionCustomSmsResource", new()
{
DestinationId = "string",
InstanceGuid = "string",
TopicId = "string",
Attributes = new Ibm.Inputs.EnSubscriptionCustomSmsAttributesArgs
{
Adds = new[]
{
"string",
},
Inviteds = new[]
{
"string",
},
Removes = new[]
{
"string",
},
},
Description = "string",
EnSubscriptionCustomSmsId = "string",
Name = "string",
});
example, err := ibm.NewEnSubscriptionCustomSms(ctx, "enSubscriptionCustomSmsResource", &ibm.EnSubscriptionCustomSmsArgs{
DestinationId: pulumi.String("string"),
InstanceGuid: pulumi.String("string"),
TopicId: pulumi.String("string"),
Attributes: &ibm.EnSubscriptionCustomSmsAttributesArgs{
Adds: pulumi.StringArray{
pulumi.String("string"),
},
Inviteds: pulumi.StringArray{
pulumi.String("string"),
},
Removes: pulumi.StringArray{
pulumi.String("string"),
},
},
Description: pulumi.String("string"),
EnSubscriptionCustomSmsId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var enSubscriptionCustomSmsResource = new EnSubscriptionCustomSms("enSubscriptionCustomSmsResource", EnSubscriptionCustomSmsArgs.builder()
.destinationId("string")
.instanceGuid("string")
.topicId("string")
.attributes(EnSubscriptionCustomSmsAttributesArgs.builder()
.adds("string")
.inviteds("string")
.removes("string")
.build())
.description("string")
.enSubscriptionCustomSmsId("string")
.name("string")
.build());
en_subscription_custom_sms_resource = ibm.EnSubscriptionCustomSms("enSubscriptionCustomSmsResource",
destination_id="string",
instance_guid="string",
topic_id="string",
attributes={
"adds": ["string"],
"inviteds": ["string"],
"removes": ["string"],
},
description="string",
en_subscription_custom_sms_id="string",
name="string")
const enSubscriptionCustomSmsResource = new ibm.EnSubscriptionCustomSms("enSubscriptionCustomSmsResource", {
destinationId: "string",
instanceGuid: "string",
topicId: "string",
attributes: {
adds: ["string"],
inviteds: ["string"],
removes: ["string"],
},
description: "string",
enSubscriptionCustomSmsId: "string",
name: "string",
});
type: ibm:EnSubscriptionCustomSms
properties:
attributes:
adds:
- string
inviteds:
- string
removes:
- string
description: string
destinationId: string
enSubscriptionCustomSmsId: string
instanceGuid: string
name: string
topicId: string
EnSubscriptionCustomSms 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 EnSubscriptionCustomSms resource accepts the following input properties:
- Destination
Id string - Destination ID.
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Topic
Id string - Topic ID.
- Attributes
En
Subscription Custom Sms Attributes - Subscription attributes. Nested scheme for attributes:
- Description string
- Subscription description.
- En
Subscription stringCustom Sms Id - (String) The unique identifier of the
custon_sms_subscription
. - Name string
- Subscription name.
- Destination
Id string - Destination ID.
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Topic
Id string - Topic ID.
- Attributes
En
Subscription Custom Sms Attributes Args - Subscription attributes. Nested scheme for attributes:
- Description string
- Subscription description.
- En
Subscription stringCustom Sms Id - (String) The unique identifier of the
custon_sms_subscription
. - Name string
- Subscription name.
- destination
Id String - Destination ID.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- topic
Id String - Topic ID.
- attributes
En
Subscription Custom Sms Attributes - Subscription attributes. Nested scheme for attributes:
- description String
- Subscription description.
- en
Subscription StringCustom Sms Id - (String) The unique identifier of the
custon_sms_subscription
. - name String
- Subscription name.
- destination
Id string - Destination ID.
- instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- topic
Id string - Topic ID.
- attributes
En
Subscription Custom Sms Attributes - Subscription attributes. Nested scheme for attributes:
- description string
- Subscription description.
- en
Subscription stringCustom Sms Id - (String) The unique identifier of the
custon_sms_subscription
. - name string
- Subscription name.
- destination_
id str - Destination ID.
- instance_
guid str - Unique identifier for IBM Cloud Event Notifications instance.
- topic_
id str - Topic ID.
- attributes
En
Subscription Custom Sms Attributes Args - Subscription attributes. Nested scheme for attributes:
- description str
- Subscription description.
- en_
subscription_ strcustom_ sms_ id - (String) The unique identifier of the
custon_sms_subscription
. - name str
- Subscription name.
- destination
Id String - Destination ID.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- topic
Id String - Topic ID.
- attributes Property Map
- Subscription attributes. Nested scheme for attributes:
- description String
- Subscription description.
- en
Subscription StringCustom Sms Id - (String) The unique identifier of the
custon_sms_subscription
. - name String
- Subscription name.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnSubscriptionCustomSms resource produces the following output properties:
- Destination
Name string - The Destination name.
- Destination
Type string - The type of Destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- Subscription
Id string - (String) The unique identifier of the created subscription.
- Topic
Name string - Name of the topic.
- Updated
At string - (String) Last updated time.
- Destination
Name string - The Destination name.
- Destination
Type string - The type of Destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- Subscription
Id string - (String) The unique identifier of the created subscription.
- Topic
Name string - Name of the topic.
- Updated
At string - (String) Last updated time.
- destination
Name String - The Destination name.
- destination
Type String - The type of Destination.
- id String
- The provider-assigned unique ID for this managed resource.
- subscription
Id String - (String) The unique identifier of the created subscription.
- topic
Name String - Name of the topic.
- updated
At String - (String) Last updated time.
- destination
Name string - The Destination name.
- destination
Type string - The type of Destination.
- id string
- The provider-assigned unique ID for this managed resource.
- subscription
Id string - (String) The unique identifier of the created subscription.
- topic
Name string - Name of the topic.
- updated
At string - (String) Last updated time.
- destination_
name str - The Destination name.
- destination_
type str - The type of Destination.
- id str
- The provider-assigned unique ID for this managed resource.
- subscription_
id str - (String) The unique identifier of the created subscription.
- topic_
name str - Name of the topic.
- updated_
at str - (String) Last updated time.
- destination
Name String - The Destination name.
- destination
Type String - The type of Destination.
- id String
- The provider-assigned unique ID for this managed resource.
- subscription
Id String - (String) The unique identifier of the created subscription.
- topic
Name String - Name of the topic.
- updated
At String - (String) Last updated time.
Look up Existing EnSubscriptionCustomSms Resource
Get an existing EnSubscriptionCustomSms 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?: EnSubscriptionCustomSmsState, opts?: CustomResourceOptions): EnSubscriptionCustomSms
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attributes: Optional[EnSubscriptionCustomSmsAttributesArgs] = None,
description: Optional[str] = None,
destination_id: Optional[str] = None,
destination_name: Optional[str] = None,
destination_type: Optional[str] = None,
en_subscription_custom_sms_id: Optional[str] = None,
instance_guid: Optional[str] = None,
name: Optional[str] = None,
subscription_id: Optional[str] = None,
topic_id: Optional[str] = None,
topic_name: Optional[str] = None,
updated_at: Optional[str] = None) -> EnSubscriptionCustomSms
func GetEnSubscriptionCustomSms(ctx *Context, name string, id IDInput, state *EnSubscriptionCustomSmsState, opts ...ResourceOption) (*EnSubscriptionCustomSms, error)
public static EnSubscriptionCustomSms Get(string name, Input<string> id, EnSubscriptionCustomSmsState? state, CustomResourceOptions? opts = null)
public static EnSubscriptionCustomSms get(String name, Output<String> id, EnSubscriptionCustomSmsState state, CustomResourceOptions options)
resources: _: type: ibm:EnSubscriptionCustomSms 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.
- Attributes
En
Subscription Custom Sms Attributes - Subscription attributes. Nested scheme for attributes:
- Description string
- Subscription description.
- Destination
Id string - Destination ID.
- Destination
Name string - The Destination name.
- Destination
Type string - The type of Destination.
- En
Subscription stringCustom Sms Id - (String) The unique identifier of the
custon_sms_subscription
. - Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Name string
- Subscription name.
- Subscription
Id string - (String) The unique identifier of the created subscription.
- Topic
Id string - Topic ID.
- Topic
Name string - Name of the topic.
- Updated
At string - (String) Last updated time.
- Attributes
En
Subscription Custom Sms Attributes Args - Subscription attributes. Nested scheme for attributes:
- Description string
- Subscription description.
- Destination
Id string - Destination ID.
- Destination
Name string - The Destination name.
- Destination
Type string - The type of Destination.
- En
Subscription stringCustom Sms Id - (String) The unique identifier of the
custon_sms_subscription
. - Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Name string
- Subscription name.
- Subscription
Id string - (String) The unique identifier of the created subscription.
- Topic
Id string - Topic ID.
- Topic
Name string - Name of the topic.
- Updated
At string - (String) Last updated time.
- attributes
En
Subscription Custom Sms Attributes - Subscription attributes. Nested scheme for attributes:
- description String
- Subscription description.
- destination
Id String - Destination ID.
- destination
Name String - The Destination name.
- destination
Type String - The type of Destination.
- en
Subscription StringCustom Sms Id - (String) The unique identifier of the
custon_sms_subscription
. - instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- name String
- Subscription name.
- subscription
Id String - (String) The unique identifier of the created subscription.
- topic
Id String - Topic ID.
- topic
Name String - Name of the topic.
- updated
At String - (String) Last updated time.
- attributes
En
Subscription Custom Sms Attributes - Subscription attributes. Nested scheme for attributes:
- description string
- Subscription description.
- destination
Id string - Destination ID.
- destination
Name string - The Destination name.
- destination
Type string - The type of Destination.
- en
Subscription stringCustom Sms Id - (String) The unique identifier of the
custon_sms_subscription
. - instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- name string
- Subscription name.
- subscription
Id string - (String) The unique identifier of the created subscription.
- topic
Id string - Topic ID.
- topic
Name string - Name of the topic.
- updated
At string - (String) Last updated time.
- attributes
En
Subscription Custom Sms Attributes Args - Subscription attributes. Nested scheme for attributes:
- description str
- Subscription description.
- destination_
id str - Destination ID.
- destination_
name str - The Destination name.
- destination_
type str - The type of Destination.
- en_
subscription_ strcustom_ sms_ id - (String) The unique identifier of the
custon_sms_subscription
. - instance_
guid str - Unique identifier for IBM Cloud Event Notifications instance.
- name str
- Subscription name.
- subscription_
id str - (String) The unique identifier of the created subscription.
- topic_
id str - Topic ID.
- topic_
name str - Name of the topic.
- updated_
at str - (String) Last updated time.
- attributes Property Map
- Subscription attributes. Nested scheme for attributes:
- description String
- Subscription description.
- destination
Id String - Destination ID.
- destination
Name String - The Destination name.
- destination
Type String - The type of Destination.
- en
Subscription StringCustom Sms Id - (String) The unique identifier of the
custon_sms_subscription
. - instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- name String
- Subscription name.
- subscription
Id String - (String) The unique identifier of the created subscription.
- topic
Id String - Topic ID.
- topic
Name String - Name of the topic.
- updated
At String - (String) Last updated time.
Supporting Types
EnSubscriptionCustomSmsAttributes, EnSubscriptionCustomSmsAttributesArgs
Import
You can import the ibm_en_subscription_custom_sms
resource by using id
.
The id
property can be formed from instance_guid
, and subscription_id
in the following format:
<instance_guid>/<subscription_id>
instance_guid
: A string. Unique identifier for IBM Cloud Event Notifications instance.subscription_id
: A string. Unique identifier for Subscription.
Example
$ pulumi import ibm:index/enSubscriptionCustomSms:EnSubscriptionCustomSms custom_sms_subscription <instance_guid>/<subscription_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.