Documentation
¶
Index ¶
- type GetNotificationTopicsArgs
- type GetNotificationTopicsFilter
- type GetNotificationTopicsFilterArgs
- func (GetNotificationTopicsFilterArgs) ElementType() reflect.Type
- func (i GetNotificationTopicsFilterArgs) ToGetNotificationTopicsFilterOutput() GetNotificationTopicsFilterOutput
- func (i GetNotificationTopicsFilterArgs) ToGetNotificationTopicsFilterOutputWithContext(ctx context.Context) GetNotificationTopicsFilterOutput
- type GetNotificationTopicsFilterArray
- func (GetNotificationTopicsFilterArray) ElementType() reflect.Type
- func (i GetNotificationTopicsFilterArray) ToGetNotificationTopicsFilterArrayOutput() GetNotificationTopicsFilterArrayOutput
- func (i GetNotificationTopicsFilterArray) ToGetNotificationTopicsFilterArrayOutputWithContext(ctx context.Context) GetNotificationTopicsFilterArrayOutput
- type GetNotificationTopicsFilterArrayInput
- type GetNotificationTopicsFilterArrayOutput
- func (GetNotificationTopicsFilterArrayOutput) ElementType() reflect.Type
- func (o GetNotificationTopicsFilterArrayOutput) Index(i pulumi.IntInput) GetNotificationTopicsFilterOutput
- func (o GetNotificationTopicsFilterArrayOutput) ToGetNotificationTopicsFilterArrayOutput() GetNotificationTopicsFilterArrayOutput
- func (o GetNotificationTopicsFilterArrayOutput) ToGetNotificationTopicsFilterArrayOutputWithContext(ctx context.Context) GetNotificationTopicsFilterArrayOutput
- type GetNotificationTopicsFilterInput
- type GetNotificationTopicsFilterOutput
- func (GetNotificationTopicsFilterOutput) ElementType() reflect.Type
- func (o GetNotificationTopicsFilterOutput) Name() pulumi.StringOutput
- func (o GetNotificationTopicsFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetNotificationTopicsFilterOutput) ToGetNotificationTopicsFilterOutput() GetNotificationTopicsFilterOutput
- func (o GetNotificationTopicsFilterOutput) ToGetNotificationTopicsFilterOutputWithContext(ctx context.Context) GetNotificationTopicsFilterOutput
- func (o GetNotificationTopicsFilterOutput) Values() pulumi.StringArrayOutput
- type GetNotificationTopicsNotificationTopic
- type GetNotificationTopicsNotificationTopicArgs
- func (GetNotificationTopicsNotificationTopicArgs) ElementType() reflect.Type
- func (i GetNotificationTopicsNotificationTopicArgs) ToGetNotificationTopicsNotificationTopicOutput() GetNotificationTopicsNotificationTopicOutput
- func (i GetNotificationTopicsNotificationTopicArgs) ToGetNotificationTopicsNotificationTopicOutputWithContext(ctx context.Context) GetNotificationTopicsNotificationTopicOutput
- type GetNotificationTopicsNotificationTopicArray
- func (GetNotificationTopicsNotificationTopicArray) ElementType() reflect.Type
- func (i GetNotificationTopicsNotificationTopicArray) ToGetNotificationTopicsNotificationTopicArrayOutput() GetNotificationTopicsNotificationTopicArrayOutput
- func (i GetNotificationTopicsNotificationTopicArray) ToGetNotificationTopicsNotificationTopicArrayOutputWithContext(ctx context.Context) GetNotificationTopicsNotificationTopicArrayOutput
- type GetNotificationTopicsNotificationTopicArrayInput
- type GetNotificationTopicsNotificationTopicArrayOutput
- func (GetNotificationTopicsNotificationTopicArrayOutput) ElementType() reflect.Type
- func (o GetNotificationTopicsNotificationTopicArrayOutput) Index(i pulumi.IntInput) GetNotificationTopicsNotificationTopicOutput
- func (o GetNotificationTopicsNotificationTopicArrayOutput) ToGetNotificationTopicsNotificationTopicArrayOutput() GetNotificationTopicsNotificationTopicArrayOutput
- func (o GetNotificationTopicsNotificationTopicArrayOutput) ToGetNotificationTopicsNotificationTopicArrayOutputWithContext(ctx context.Context) GetNotificationTopicsNotificationTopicArrayOutput
- type GetNotificationTopicsNotificationTopicInput
- type GetNotificationTopicsNotificationTopicOutput
- func (o GetNotificationTopicsNotificationTopicOutput) ApiEndpoint() pulumi.StringOutput
- func (o GetNotificationTopicsNotificationTopicOutput) CompartmentId() pulumi.StringOutput
- func (o GetNotificationTopicsNotificationTopicOutput) DefinedTags() pulumi.StringMapOutput
- func (o GetNotificationTopicsNotificationTopicOutput) Description() pulumi.StringOutput
- func (GetNotificationTopicsNotificationTopicOutput) ElementType() reflect.Type
- func (o GetNotificationTopicsNotificationTopicOutput) Etag() pulumi.StringOutput
- func (o GetNotificationTopicsNotificationTopicOutput) FreeformTags() pulumi.StringMapOutput
- func (o GetNotificationTopicsNotificationTopicOutput) Id() pulumi.StringOutput
- func (o GetNotificationTopicsNotificationTopicOutput) Name() pulumi.StringOutput
- func (o GetNotificationTopicsNotificationTopicOutput) ShortTopicId() pulumi.StringOutput
- func (o GetNotificationTopicsNotificationTopicOutput) State() pulumi.StringOutput
- func (o GetNotificationTopicsNotificationTopicOutput) TimeCreated() pulumi.StringOutput
- func (o GetNotificationTopicsNotificationTopicOutput) ToGetNotificationTopicsNotificationTopicOutput() GetNotificationTopicsNotificationTopicOutput
- func (o GetNotificationTopicsNotificationTopicOutput) ToGetNotificationTopicsNotificationTopicOutputWithContext(ctx context.Context) GetNotificationTopicsNotificationTopicOutput
- func (o GetNotificationTopicsNotificationTopicOutput) TopicId() pulumi.StringOutput
- type GetNotificationTopicsOutputArgs
- type GetNotificationTopicsResult
- type GetNotificationTopicsResultOutput
- func (o GetNotificationTopicsResultOutput) CompartmentId() pulumi.StringOutput
- func (GetNotificationTopicsResultOutput) ElementType() reflect.Type
- func (o GetNotificationTopicsResultOutput) Filters() GetNotificationTopicsFilterArrayOutput
- func (o GetNotificationTopicsResultOutput) Id() pulumi.StringPtrOutput
- func (o GetNotificationTopicsResultOutput) Name() pulumi.StringPtrOutput
- func (o GetNotificationTopicsResultOutput) NotificationTopics() GetNotificationTopicsNotificationTopicArrayOutput
- func (o GetNotificationTopicsResultOutput) State() pulumi.StringPtrOutput
- func (o GetNotificationTopicsResultOutput) ToGetNotificationTopicsResultOutput() GetNotificationTopicsResultOutput
- func (o GetNotificationTopicsResultOutput) ToGetNotificationTopicsResultOutputWithContext(ctx context.Context) GetNotificationTopicsResultOutput
- type GetSubscriptionsArgs
- type GetSubscriptionsFilter
- type GetSubscriptionsFilterArgs
- type GetSubscriptionsFilterArray
- func (GetSubscriptionsFilterArray) ElementType() reflect.Type
- func (i GetSubscriptionsFilterArray) ToGetSubscriptionsFilterArrayOutput() GetSubscriptionsFilterArrayOutput
- func (i GetSubscriptionsFilterArray) ToGetSubscriptionsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionsFilterArrayOutput
- type GetSubscriptionsFilterArrayInput
- type GetSubscriptionsFilterArrayOutput
- func (GetSubscriptionsFilterArrayOutput) ElementType() reflect.Type
- func (o GetSubscriptionsFilterArrayOutput) Index(i pulumi.IntInput) GetSubscriptionsFilterOutput
- func (o GetSubscriptionsFilterArrayOutput) ToGetSubscriptionsFilterArrayOutput() GetSubscriptionsFilterArrayOutput
- func (o GetSubscriptionsFilterArrayOutput) ToGetSubscriptionsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionsFilterArrayOutput
- type GetSubscriptionsFilterInput
- type GetSubscriptionsFilterOutput
- func (GetSubscriptionsFilterOutput) ElementType() reflect.Type
- func (o GetSubscriptionsFilterOutput) Name() pulumi.StringOutput
- func (o GetSubscriptionsFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetSubscriptionsFilterOutput) ToGetSubscriptionsFilterOutput() GetSubscriptionsFilterOutput
- func (o GetSubscriptionsFilterOutput) ToGetSubscriptionsFilterOutputWithContext(ctx context.Context) GetSubscriptionsFilterOutput
- func (o GetSubscriptionsFilterOutput) Values() pulumi.StringArrayOutput
- type GetSubscriptionsOutputArgs
- type GetSubscriptionsResult
- type GetSubscriptionsResultOutput
- func (o GetSubscriptionsResultOutput) CompartmentId() pulumi.StringOutput
- func (GetSubscriptionsResultOutput) ElementType() reflect.Type
- func (o GetSubscriptionsResultOutput) Filters() GetSubscriptionsFilterArrayOutput
- func (o GetSubscriptionsResultOutput) Id() pulumi.StringOutput
- func (o GetSubscriptionsResultOutput) Subscriptions() GetSubscriptionsSubscriptionArrayOutput
- func (o GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutput() GetSubscriptionsResultOutput
- func (o GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutputWithContext(ctx context.Context) GetSubscriptionsResultOutput
- func (o GetSubscriptionsResultOutput) TopicId() pulumi.StringPtrOutput
- type GetSubscriptionsSubscription
- type GetSubscriptionsSubscriptionArgs
- func (GetSubscriptionsSubscriptionArgs) ElementType() reflect.Type
- func (i GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutput() GetSubscriptionsSubscriptionOutput
- func (i GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionOutput
- type GetSubscriptionsSubscriptionArray
- func (GetSubscriptionsSubscriptionArray) ElementType() reflect.Type
- func (i GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutput() GetSubscriptionsSubscriptionArrayOutput
- func (i GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionArrayOutput
- type GetSubscriptionsSubscriptionArrayInput
- type GetSubscriptionsSubscriptionArrayOutput
- func (GetSubscriptionsSubscriptionArrayOutput) ElementType() reflect.Type
- func (o GetSubscriptionsSubscriptionArrayOutput) Index(i pulumi.IntInput) GetSubscriptionsSubscriptionOutput
- func (o GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutput() GetSubscriptionsSubscriptionArrayOutput
- func (o GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionArrayOutput
- type GetSubscriptionsSubscriptionDeliveryPolicy
- type GetSubscriptionsSubscriptionDeliveryPolicyArgs
- func (GetSubscriptionsSubscriptionDeliveryPolicyArgs) ElementType() reflect.Type
- func (i GetSubscriptionsSubscriptionDeliveryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyOutput() GetSubscriptionsSubscriptionDeliveryPolicyOutput
- func (i GetSubscriptionsSubscriptionDeliveryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyOutput
- type GetSubscriptionsSubscriptionDeliveryPolicyArray
- func (GetSubscriptionsSubscriptionDeliveryPolicyArray) ElementType() reflect.Type
- func (i GetSubscriptionsSubscriptionDeliveryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutput() GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput
- func (i GetSubscriptionsSubscriptionDeliveryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput
- type GetSubscriptionsSubscriptionDeliveryPolicyArrayInput
- type GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput
- func (GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput) ElementType() reflect.Type
- func (o GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput) Index(i pulumi.IntInput) GetSubscriptionsSubscriptionDeliveryPolicyOutput
- func (o GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutput() GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput
- func (o GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput
- type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicy
- type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs
- func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs) ElementType() reflect.Type
- func (i GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput
- func (i GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput
- type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray
- func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray) ElementType() reflect.Type
- func (i GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput
- func (i GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput
- type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayInput
- type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput
- func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput) ElementType() reflect.Type
- func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput) Index(i pulumi.IntInput) GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput
- func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput
- func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput
- type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyInput
- type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput
- func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) ElementType() reflect.Type
- func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) MaxRetryDuration() pulumi.IntOutput
- func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) PolicyType() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput
- func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput
- type GetSubscriptionsSubscriptionDeliveryPolicyInput
- type GetSubscriptionsSubscriptionDeliveryPolicyOutput
- func (o GetSubscriptionsSubscriptionDeliveryPolicyOutput) BackoffRetryPolicies() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput
- func (GetSubscriptionsSubscriptionDeliveryPolicyOutput) ElementType() reflect.Type
- func (o GetSubscriptionsSubscriptionDeliveryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyOutput() GetSubscriptionsSubscriptionDeliveryPolicyOutput
- func (o GetSubscriptionsSubscriptionDeliveryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyOutput
- type GetSubscriptionsSubscriptionInput
- type GetSubscriptionsSubscriptionOutput
- func (o GetSubscriptionsSubscriptionOutput) CompartmentId() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) CreatedTime() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) DefinedTags() pulumi.StringMapOutput
- func (o GetSubscriptionsSubscriptionOutput) DeliveryPolicies() GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput
- func (GetSubscriptionsSubscriptionOutput) ElementType() reflect.Type
- func (o GetSubscriptionsSubscriptionOutput) Endpoint() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) Etag() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) FreeformTags() pulumi.StringMapOutput
- func (o GetSubscriptionsSubscriptionOutput) Id() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) Protocol() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) State() pulumi.StringOutput
- func (o GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutput() GetSubscriptionsSubscriptionOutput
- func (o GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionOutput
- func (o GetSubscriptionsSubscriptionOutput) TopicId() pulumi.StringOutput
- type LookupNotificationTopicArgs
- type LookupNotificationTopicOutputArgs
- type LookupNotificationTopicResult
- type LookupNotificationTopicResultOutput
- func (o LookupNotificationTopicResultOutput) ApiEndpoint() pulumi.StringOutput
- func (o LookupNotificationTopicResultOutput) CompartmentId() pulumi.StringOutput
- func (o LookupNotificationTopicResultOutput) DefinedTags() pulumi.StringMapOutput
- func (o LookupNotificationTopicResultOutput) Description() pulumi.StringOutput
- func (LookupNotificationTopicResultOutput) ElementType() reflect.Type
- func (o LookupNotificationTopicResultOutput) Etag() pulumi.StringOutput
- func (o LookupNotificationTopicResultOutput) FreeformTags() pulumi.StringMapOutput
- func (o LookupNotificationTopicResultOutput) Id() pulumi.StringOutput
- func (o LookupNotificationTopicResultOutput) Name() pulumi.StringOutput
- func (o LookupNotificationTopicResultOutput) ShortTopicId() pulumi.StringOutput
- func (o LookupNotificationTopicResultOutput) State() pulumi.StringOutput
- func (o LookupNotificationTopicResultOutput) TimeCreated() pulumi.StringOutput
- func (o LookupNotificationTopicResultOutput) ToLookupNotificationTopicResultOutput() LookupNotificationTopicResultOutput
- func (o LookupNotificationTopicResultOutput) ToLookupNotificationTopicResultOutputWithContext(ctx context.Context) LookupNotificationTopicResultOutput
- func (o LookupNotificationTopicResultOutput) TopicId() pulumi.StringOutput
- type LookupSubscriptionArgs
- type LookupSubscriptionOutputArgs
- type LookupSubscriptionResult
- type LookupSubscriptionResultOutput
- func (o LookupSubscriptionResultOutput) CompartmentId() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) CreatedTime() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) DefinedTags() pulumi.StringMapOutput
- func (o LookupSubscriptionResultOutput) DeliveryPolicy() pulumi.StringOutput
- func (LookupSubscriptionResultOutput) ElementType() reflect.Type
- func (o LookupSubscriptionResultOutput) Endpoint() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) Etag() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) FreeformTags() pulumi.StringMapOutput
- func (o LookupSubscriptionResultOutput) Id() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) Protocol() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) State() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) SubscriptionId() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput() LookupSubscriptionResultOutput
- func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext(ctx context.Context) LookupSubscriptionResultOutput
- func (o LookupSubscriptionResultOutput) TopicId() pulumi.StringOutput
- type NotificationTopic
- type NotificationTopicArgs
- type NotificationTopicArray
- type NotificationTopicArrayInput
- type NotificationTopicArrayOutput
- func (NotificationTopicArrayOutput) ElementType() reflect.Type
- func (o NotificationTopicArrayOutput) Index(i pulumi.IntInput) NotificationTopicOutput
- func (o NotificationTopicArrayOutput) ToNotificationTopicArrayOutput() NotificationTopicArrayOutput
- func (o NotificationTopicArrayOutput) ToNotificationTopicArrayOutputWithContext(ctx context.Context) NotificationTopicArrayOutput
- type NotificationTopicInput
- type NotificationTopicMap
- type NotificationTopicMapInput
- type NotificationTopicMapOutput
- func (NotificationTopicMapOutput) ElementType() reflect.Type
- func (o NotificationTopicMapOutput) MapIndex(k pulumi.StringInput) NotificationTopicOutput
- func (o NotificationTopicMapOutput) ToNotificationTopicMapOutput() NotificationTopicMapOutput
- func (o NotificationTopicMapOutput) ToNotificationTopicMapOutputWithContext(ctx context.Context) NotificationTopicMapOutput
- type NotificationTopicOutput
- func (o NotificationTopicOutput) ApiEndpoint() pulumi.StringOutput
- func (o NotificationTopicOutput) CompartmentId() pulumi.StringOutput
- func (o NotificationTopicOutput) DefinedTags() pulumi.StringMapOutput
- func (o NotificationTopicOutput) Description() pulumi.StringOutput
- func (NotificationTopicOutput) ElementType() reflect.Type
- func (o NotificationTopicOutput) Etag() pulumi.StringOutput
- func (o NotificationTopicOutput) FreeformTags() pulumi.StringMapOutput
- func (o NotificationTopicOutput) Name() pulumi.StringOutput
- func (o NotificationTopicOutput) ShortTopicId() pulumi.StringOutput
- func (o NotificationTopicOutput) State() pulumi.StringOutput
- func (o NotificationTopicOutput) TimeCreated() pulumi.StringOutput
- func (o NotificationTopicOutput) ToNotificationTopicOutput() NotificationTopicOutput
- func (o NotificationTopicOutput) ToNotificationTopicOutputWithContext(ctx context.Context) NotificationTopicOutput
- func (o NotificationTopicOutput) TopicId() pulumi.StringOutput
- type NotificationTopicState
- type Subscription
- type SubscriptionArgs
- type SubscriptionArray
- type SubscriptionArrayInput
- type SubscriptionArrayOutput
- func (SubscriptionArrayOutput) ElementType() reflect.Type
- func (o SubscriptionArrayOutput) Index(i pulumi.IntInput) SubscriptionOutput
- func (o SubscriptionArrayOutput) ToSubscriptionArrayOutput() SubscriptionArrayOutput
- func (o SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput
- type SubscriptionInput
- type SubscriptionMap
- type SubscriptionMapInput
- type SubscriptionMapOutput
- func (SubscriptionMapOutput) ElementType() reflect.Type
- func (o SubscriptionMapOutput) MapIndex(k pulumi.StringInput) SubscriptionOutput
- func (o SubscriptionMapOutput) ToSubscriptionMapOutput() SubscriptionMapOutput
- func (o SubscriptionMapOutput) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput
- type SubscriptionOutput
- func (o SubscriptionOutput) CompartmentId() pulumi.StringOutput
- func (o SubscriptionOutput) CreatedTime() pulumi.StringOutput
- func (o SubscriptionOutput) DefinedTags() pulumi.StringMapOutput
- func (o SubscriptionOutput) DeliveryPolicy() pulumi.StringOutput
- func (SubscriptionOutput) ElementType() reflect.Type
- func (o SubscriptionOutput) Endpoint() pulumi.StringOutput
- func (o SubscriptionOutput) Etag() pulumi.StringOutput
- func (o SubscriptionOutput) FreeformTags() pulumi.StringMapOutput
- func (o SubscriptionOutput) Protocol() pulumi.StringOutput
- func (o SubscriptionOutput) State() pulumi.StringOutput
- func (o SubscriptionOutput) ToSubscriptionOutput() SubscriptionOutput
- func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
- func (o SubscriptionOutput) TopicId() pulumi.StringOutput
- type SubscriptionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetNotificationTopicsArgs ¶
type GetNotificationTopicsArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId string `pulumi:"compartmentId"` Filters []GetNotificationTopicsFilter `pulumi:"filters"` // A filter to only return resources that match the given id exactly. Id *string `pulumi:"id"` // A filter to only return resources that match the given name exactly. Name *string `pulumi:"name"` // Filter returned list by specified lifecycle state. This parameter is case-insensitive. State *string `pulumi:"state"` }
A collection of arguments for invoking getNotificationTopics.
type GetNotificationTopicsFilterArgs ¶
type GetNotificationTopicsFilterArgs struct { // A filter to only return resources that match the given name exactly. Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetNotificationTopicsFilterArgs) ElementType ¶
func (GetNotificationTopicsFilterArgs) ElementType() reflect.Type
func (GetNotificationTopicsFilterArgs) ToGetNotificationTopicsFilterOutput ¶
func (i GetNotificationTopicsFilterArgs) ToGetNotificationTopicsFilterOutput() GetNotificationTopicsFilterOutput
func (GetNotificationTopicsFilterArgs) ToGetNotificationTopicsFilterOutputWithContext ¶
func (i GetNotificationTopicsFilterArgs) ToGetNotificationTopicsFilterOutputWithContext(ctx context.Context) GetNotificationTopicsFilterOutput
type GetNotificationTopicsFilterArray ¶
type GetNotificationTopicsFilterArray []GetNotificationTopicsFilterInput
func (GetNotificationTopicsFilterArray) ElementType ¶
func (GetNotificationTopicsFilterArray) ElementType() reflect.Type
func (GetNotificationTopicsFilterArray) ToGetNotificationTopicsFilterArrayOutput ¶
func (i GetNotificationTopicsFilterArray) ToGetNotificationTopicsFilterArrayOutput() GetNotificationTopicsFilterArrayOutput
func (GetNotificationTopicsFilterArray) ToGetNotificationTopicsFilterArrayOutputWithContext ¶
func (i GetNotificationTopicsFilterArray) ToGetNotificationTopicsFilterArrayOutputWithContext(ctx context.Context) GetNotificationTopicsFilterArrayOutput
type GetNotificationTopicsFilterArrayInput ¶
type GetNotificationTopicsFilterArrayInput interface { pulumi.Input ToGetNotificationTopicsFilterArrayOutput() GetNotificationTopicsFilterArrayOutput ToGetNotificationTopicsFilterArrayOutputWithContext(context.Context) GetNotificationTopicsFilterArrayOutput }
GetNotificationTopicsFilterArrayInput is an input type that accepts GetNotificationTopicsFilterArray and GetNotificationTopicsFilterArrayOutput values. You can construct a concrete instance of `GetNotificationTopicsFilterArrayInput` via:
GetNotificationTopicsFilterArray{ GetNotificationTopicsFilterArgs{...} }
type GetNotificationTopicsFilterArrayOutput ¶
type GetNotificationTopicsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetNotificationTopicsFilterArrayOutput) ElementType ¶
func (GetNotificationTopicsFilterArrayOutput) ElementType() reflect.Type
func (GetNotificationTopicsFilterArrayOutput) ToGetNotificationTopicsFilterArrayOutput ¶
func (o GetNotificationTopicsFilterArrayOutput) ToGetNotificationTopicsFilterArrayOutput() GetNotificationTopicsFilterArrayOutput
func (GetNotificationTopicsFilterArrayOutput) ToGetNotificationTopicsFilterArrayOutputWithContext ¶
func (o GetNotificationTopicsFilterArrayOutput) ToGetNotificationTopicsFilterArrayOutputWithContext(ctx context.Context) GetNotificationTopicsFilterArrayOutput
type GetNotificationTopicsFilterInput ¶
type GetNotificationTopicsFilterInput interface { pulumi.Input ToGetNotificationTopicsFilterOutput() GetNotificationTopicsFilterOutput ToGetNotificationTopicsFilterOutputWithContext(context.Context) GetNotificationTopicsFilterOutput }
GetNotificationTopicsFilterInput is an input type that accepts GetNotificationTopicsFilterArgs and GetNotificationTopicsFilterOutput values. You can construct a concrete instance of `GetNotificationTopicsFilterInput` via:
GetNotificationTopicsFilterArgs{...}
type GetNotificationTopicsFilterOutput ¶
type GetNotificationTopicsFilterOutput struct{ *pulumi.OutputState }
func (GetNotificationTopicsFilterOutput) ElementType ¶
func (GetNotificationTopicsFilterOutput) ElementType() reflect.Type
func (GetNotificationTopicsFilterOutput) Name ¶
func (o GetNotificationTopicsFilterOutput) Name() pulumi.StringOutput
A filter to only return resources that match the given name exactly.
func (GetNotificationTopicsFilterOutput) Regex ¶
func (o GetNotificationTopicsFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetNotificationTopicsFilterOutput) ToGetNotificationTopicsFilterOutput ¶
func (o GetNotificationTopicsFilterOutput) ToGetNotificationTopicsFilterOutput() GetNotificationTopicsFilterOutput
func (GetNotificationTopicsFilterOutput) ToGetNotificationTopicsFilterOutputWithContext ¶
func (o GetNotificationTopicsFilterOutput) ToGetNotificationTopicsFilterOutputWithContext(ctx context.Context) GetNotificationTopicsFilterOutput
func (GetNotificationTopicsFilterOutput) Values ¶
func (o GetNotificationTopicsFilterOutput) Values() pulumi.StringArrayOutput
type GetNotificationTopicsNotificationTopic ¶
type GetNotificationTopicsNotificationTopic struct { // The endpoint for managing subscriptions or publishing messages to the topic. ApiEndpoint string `pulumi:"apiEndpoint"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId string `pulumi:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]string `pulumi:"definedTags"` // The description of the topic. Description string `pulumi:"description"` // For optimistic concurrency control. See `if-match`. Etag string `pulumi:"etag"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]string `pulumi:"freeformTags"` // A filter to only return resources that match the given id exactly. Id string `pulumi:"id"` // A filter to only return resources that match the given name exactly. Name string `pulumi:"name"` // A unique short topic Id. This is used only for SMS subscriptions. ShortTopicId string `pulumi:"shortTopicId"` // Filter returned list by specified lifecycle state. This parameter is case-insensitive. State string `pulumi:"state"` // The time the topic was created. TimeCreated string `pulumi:"timeCreated"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. TopicId string `pulumi:"topicId"` }
type GetNotificationTopicsNotificationTopicArgs ¶
type GetNotificationTopicsNotificationTopicArgs struct { // The endpoint for managing subscriptions or publishing messages to the topic. ApiEndpoint pulumi.StringInput `pulumi:"apiEndpoint"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` // The description of the topic. Description pulumi.StringInput `pulumi:"description"` // For optimistic concurrency control. See `if-match`. Etag pulumi.StringInput `pulumi:"etag"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` // A filter to only return resources that match the given id exactly. Id pulumi.StringInput `pulumi:"id"` // A filter to only return resources that match the given name exactly. Name pulumi.StringInput `pulumi:"name"` // A unique short topic Id. This is used only for SMS subscriptions. ShortTopicId pulumi.StringInput `pulumi:"shortTopicId"` // Filter returned list by specified lifecycle state. This parameter is case-insensitive. State pulumi.StringInput `pulumi:"state"` // The time the topic was created. TimeCreated pulumi.StringInput `pulumi:"timeCreated"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. TopicId pulumi.StringInput `pulumi:"topicId"` }
func (GetNotificationTopicsNotificationTopicArgs) ElementType ¶
func (GetNotificationTopicsNotificationTopicArgs) ElementType() reflect.Type
func (GetNotificationTopicsNotificationTopicArgs) ToGetNotificationTopicsNotificationTopicOutput ¶
func (i GetNotificationTopicsNotificationTopicArgs) ToGetNotificationTopicsNotificationTopicOutput() GetNotificationTopicsNotificationTopicOutput
func (GetNotificationTopicsNotificationTopicArgs) ToGetNotificationTopicsNotificationTopicOutputWithContext ¶
func (i GetNotificationTopicsNotificationTopicArgs) ToGetNotificationTopicsNotificationTopicOutputWithContext(ctx context.Context) GetNotificationTopicsNotificationTopicOutput
type GetNotificationTopicsNotificationTopicArray ¶
type GetNotificationTopicsNotificationTopicArray []GetNotificationTopicsNotificationTopicInput
func (GetNotificationTopicsNotificationTopicArray) ElementType ¶
func (GetNotificationTopicsNotificationTopicArray) ElementType() reflect.Type
func (GetNotificationTopicsNotificationTopicArray) ToGetNotificationTopicsNotificationTopicArrayOutput ¶
func (i GetNotificationTopicsNotificationTopicArray) ToGetNotificationTopicsNotificationTopicArrayOutput() GetNotificationTopicsNotificationTopicArrayOutput
func (GetNotificationTopicsNotificationTopicArray) ToGetNotificationTopicsNotificationTopicArrayOutputWithContext ¶
func (i GetNotificationTopicsNotificationTopicArray) ToGetNotificationTopicsNotificationTopicArrayOutputWithContext(ctx context.Context) GetNotificationTopicsNotificationTopicArrayOutput
type GetNotificationTopicsNotificationTopicArrayInput ¶
type GetNotificationTopicsNotificationTopicArrayInput interface { pulumi.Input ToGetNotificationTopicsNotificationTopicArrayOutput() GetNotificationTopicsNotificationTopicArrayOutput ToGetNotificationTopicsNotificationTopicArrayOutputWithContext(context.Context) GetNotificationTopicsNotificationTopicArrayOutput }
GetNotificationTopicsNotificationTopicArrayInput is an input type that accepts GetNotificationTopicsNotificationTopicArray and GetNotificationTopicsNotificationTopicArrayOutput values. You can construct a concrete instance of `GetNotificationTopicsNotificationTopicArrayInput` via:
GetNotificationTopicsNotificationTopicArray{ GetNotificationTopicsNotificationTopicArgs{...} }
type GetNotificationTopicsNotificationTopicArrayOutput ¶
type GetNotificationTopicsNotificationTopicArrayOutput struct{ *pulumi.OutputState }
func (GetNotificationTopicsNotificationTopicArrayOutput) ElementType ¶
func (GetNotificationTopicsNotificationTopicArrayOutput) ElementType() reflect.Type
func (GetNotificationTopicsNotificationTopicArrayOutput) ToGetNotificationTopicsNotificationTopicArrayOutput ¶
func (o GetNotificationTopicsNotificationTopicArrayOutput) ToGetNotificationTopicsNotificationTopicArrayOutput() GetNotificationTopicsNotificationTopicArrayOutput
func (GetNotificationTopicsNotificationTopicArrayOutput) ToGetNotificationTopicsNotificationTopicArrayOutputWithContext ¶
func (o GetNotificationTopicsNotificationTopicArrayOutput) ToGetNotificationTopicsNotificationTopicArrayOutputWithContext(ctx context.Context) GetNotificationTopicsNotificationTopicArrayOutput
type GetNotificationTopicsNotificationTopicInput ¶
type GetNotificationTopicsNotificationTopicInput interface { pulumi.Input ToGetNotificationTopicsNotificationTopicOutput() GetNotificationTopicsNotificationTopicOutput ToGetNotificationTopicsNotificationTopicOutputWithContext(context.Context) GetNotificationTopicsNotificationTopicOutput }
GetNotificationTopicsNotificationTopicInput is an input type that accepts GetNotificationTopicsNotificationTopicArgs and GetNotificationTopicsNotificationTopicOutput values. You can construct a concrete instance of `GetNotificationTopicsNotificationTopicInput` via:
GetNotificationTopicsNotificationTopicArgs{...}
type GetNotificationTopicsNotificationTopicOutput ¶
type GetNotificationTopicsNotificationTopicOutput struct{ *pulumi.OutputState }
func (GetNotificationTopicsNotificationTopicOutput) ApiEndpoint ¶
func (o GetNotificationTopicsNotificationTopicOutput) ApiEndpoint() pulumi.StringOutput
The endpoint for managing subscriptions or publishing messages to the topic.
func (GetNotificationTopicsNotificationTopicOutput) CompartmentId ¶
func (o GetNotificationTopicsNotificationTopicOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
func (GetNotificationTopicsNotificationTopicOutput) DefinedTags ¶
func (o GetNotificationTopicsNotificationTopicOutput) DefinedTags() pulumi.StringMapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (GetNotificationTopicsNotificationTopicOutput) Description ¶
func (o GetNotificationTopicsNotificationTopicOutput) Description() pulumi.StringOutput
The description of the topic.
func (GetNotificationTopicsNotificationTopicOutput) ElementType ¶
func (GetNotificationTopicsNotificationTopicOutput) ElementType() reflect.Type
func (GetNotificationTopicsNotificationTopicOutput) Etag ¶
func (o GetNotificationTopicsNotificationTopicOutput) Etag() pulumi.StringOutput
For optimistic concurrency control. See `if-match`.
func (GetNotificationTopicsNotificationTopicOutput) FreeformTags ¶
func (o GetNotificationTopicsNotificationTopicOutput) FreeformTags() pulumi.StringMapOutput
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (GetNotificationTopicsNotificationTopicOutput) Id ¶
func (o GetNotificationTopicsNotificationTopicOutput) Id() pulumi.StringOutput
A filter to only return resources that match the given id exactly.
func (GetNotificationTopicsNotificationTopicOutput) Name ¶
func (o GetNotificationTopicsNotificationTopicOutput) Name() pulumi.StringOutput
A filter to only return resources that match the given name exactly.
func (GetNotificationTopicsNotificationTopicOutput) ShortTopicId ¶
func (o GetNotificationTopicsNotificationTopicOutput) ShortTopicId() pulumi.StringOutput
A unique short topic Id. This is used only for SMS subscriptions.
func (GetNotificationTopicsNotificationTopicOutput) State ¶
func (o GetNotificationTopicsNotificationTopicOutput) State() pulumi.StringOutput
Filter returned list by specified lifecycle state. This parameter is case-insensitive.
func (GetNotificationTopicsNotificationTopicOutput) TimeCreated ¶
func (o GetNotificationTopicsNotificationTopicOutput) TimeCreated() pulumi.StringOutput
The time the topic was created.
func (GetNotificationTopicsNotificationTopicOutput) ToGetNotificationTopicsNotificationTopicOutput ¶
func (o GetNotificationTopicsNotificationTopicOutput) ToGetNotificationTopicsNotificationTopicOutput() GetNotificationTopicsNotificationTopicOutput
func (GetNotificationTopicsNotificationTopicOutput) ToGetNotificationTopicsNotificationTopicOutputWithContext ¶
func (o GetNotificationTopicsNotificationTopicOutput) ToGetNotificationTopicsNotificationTopicOutputWithContext(ctx context.Context) GetNotificationTopicsNotificationTopicOutput
func (GetNotificationTopicsNotificationTopicOutput) TopicId ¶
func (o GetNotificationTopicsNotificationTopicOutput) TopicId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic.
type GetNotificationTopicsOutputArgs ¶
type GetNotificationTopicsOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` Filters GetNotificationTopicsFilterArrayInput `pulumi:"filters"` // A filter to only return resources that match the given id exactly. Id pulumi.StringPtrInput `pulumi:"id"` // A filter to only return resources that match the given name exactly. Name pulumi.StringPtrInput `pulumi:"name"` // Filter returned list by specified lifecycle state. This parameter is case-insensitive. State pulumi.StringPtrInput `pulumi:"state"` }
A collection of arguments for invoking getNotificationTopics.
func (GetNotificationTopicsOutputArgs) ElementType ¶
func (GetNotificationTopicsOutputArgs) ElementType() reflect.Type
type GetNotificationTopicsResult ¶
type GetNotificationTopicsResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the topic. CompartmentId string `pulumi:"compartmentId"` Filters []GetNotificationTopicsFilter `pulumi:"filters"` Id *string `pulumi:"id"` // The name of the topic. Name *string `pulumi:"name"` // The list of notification_topics. NotificationTopics []GetNotificationTopicsNotificationTopic `pulumi:"notificationTopics"` // The lifecycle state of the topic. State *string `pulumi:"state"` }
A collection of values returned by getNotificationTopics.
func GetNotificationTopics ¶
func GetNotificationTopics(ctx *pulumi.Context, args *GetNotificationTopicsArgs, opts ...pulumi.InvokeOption) (*GetNotificationTopicsResult, error)
This data source provides the list of Notification Topics in Oracle Cloud Infrastructure Notifications service.
Lists topics in the specified compartment.
Transactions Per Minute (TPM) per-tenancy limit for this operation: 120.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ons" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ons.GetNotificationTopics(ctx, &ons.GetNotificationTopicsArgs{ CompartmentId: compartmentId, Id: pulumi.StringRef(notificationTopicId), Name: pulumi.StringRef(notificationTopicName), State: pulumi.StringRef(notificationTopicState), }, nil) if err != nil { return err } return nil }) }
```
type GetNotificationTopicsResultOutput ¶
type GetNotificationTopicsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNotificationTopics.
func GetNotificationTopicsOutput ¶
func GetNotificationTopicsOutput(ctx *pulumi.Context, args GetNotificationTopicsOutputArgs, opts ...pulumi.InvokeOption) GetNotificationTopicsResultOutput
func (GetNotificationTopicsResultOutput) CompartmentId ¶
func (o GetNotificationTopicsResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the topic.
func (GetNotificationTopicsResultOutput) ElementType ¶
func (GetNotificationTopicsResultOutput) ElementType() reflect.Type
func (GetNotificationTopicsResultOutput) Filters ¶
func (o GetNotificationTopicsResultOutput) Filters() GetNotificationTopicsFilterArrayOutput
func (GetNotificationTopicsResultOutput) Id ¶
func (o GetNotificationTopicsResultOutput) Id() pulumi.StringPtrOutput
func (GetNotificationTopicsResultOutput) Name ¶
func (o GetNotificationTopicsResultOutput) Name() pulumi.StringPtrOutput
The name of the topic.
func (GetNotificationTopicsResultOutput) NotificationTopics ¶
func (o GetNotificationTopicsResultOutput) NotificationTopics() GetNotificationTopicsNotificationTopicArrayOutput
The list of notification_topics.
func (GetNotificationTopicsResultOutput) State ¶
func (o GetNotificationTopicsResultOutput) State() pulumi.StringPtrOutput
The lifecycle state of the topic.
func (GetNotificationTopicsResultOutput) ToGetNotificationTopicsResultOutput ¶
func (o GetNotificationTopicsResultOutput) ToGetNotificationTopicsResultOutput() GetNotificationTopicsResultOutput
func (GetNotificationTopicsResultOutput) ToGetNotificationTopicsResultOutputWithContext ¶
func (o GetNotificationTopicsResultOutput) ToGetNotificationTopicsResultOutputWithContext(ctx context.Context) GetNotificationTopicsResultOutput
type GetSubscriptionsArgs ¶
type GetSubscriptionsArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId string `pulumi:"compartmentId"` Filters []GetSubscriptionsFilter `pulumi:"filters"` // Return all subscriptions that are subscribed to the given topic OCID. Either this query parameter or the compartmentId query parameter must be set. TopicId *string `pulumi:"topicId"` }
A collection of arguments for invoking getSubscriptions.
type GetSubscriptionsFilter ¶
type GetSubscriptionsFilterArgs ¶
type GetSubscriptionsFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetSubscriptionsFilterArgs) ElementType ¶
func (GetSubscriptionsFilterArgs) ElementType() reflect.Type
func (GetSubscriptionsFilterArgs) ToGetSubscriptionsFilterOutput ¶
func (i GetSubscriptionsFilterArgs) ToGetSubscriptionsFilterOutput() GetSubscriptionsFilterOutput
func (GetSubscriptionsFilterArgs) ToGetSubscriptionsFilterOutputWithContext ¶
func (i GetSubscriptionsFilterArgs) ToGetSubscriptionsFilterOutputWithContext(ctx context.Context) GetSubscriptionsFilterOutput
type GetSubscriptionsFilterArray ¶
type GetSubscriptionsFilterArray []GetSubscriptionsFilterInput
func (GetSubscriptionsFilterArray) ElementType ¶
func (GetSubscriptionsFilterArray) ElementType() reflect.Type
func (GetSubscriptionsFilterArray) ToGetSubscriptionsFilterArrayOutput ¶
func (i GetSubscriptionsFilterArray) ToGetSubscriptionsFilterArrayOutput() GetSubscriptionsFilterArrayOutput
func (GetSubscriptionsFilterArray) ToGetSubscriptionsFilterArrayOutputWithContext ¶
func (i GetSubscriptionsFilterArray) ToGetSubscriptionsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionsFilterArrayOutput
type GetSubscriptionsFilterArrayInput ¶
type GetSubscriptionsFilterArrayInput interface { pulumi.Input ToGetSubscriptionsFilterArrayOutput() GetSubscriptionsFilterArrayOutput ToGetSubscriptionsFilterArrayOutputWithContext(context.Context) GetSubscriptionsFilterArrayOutput }
GetSubscriptionsFilterArrayInput is an input type that accepts GetSubscriptionsFilterArray and GetSubscriptionsFilterArrayOutput values. You can construct a concrete instance of `GetSubscriptionsFilterArrayInput` via:
GetSubscriptionsFilterArray{ GetSubscriptionsFilterArgs{...} }
type GetSubscriptionsFilterArrayOutput ¶
type GetSubscriptionsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetSubscriptionsFilterArrayOutput) ElementType ¶
func (GetSubscriptionsFilterArrayOutput) ElementType() reflect.Type
func (GetSubscriptionsFilterArrayOutput) Index ¶
func (o GetSubscriptionsFilterArrayOutput) Index(i pulumi.IntInput) GetSubscriptionsFilterOutput
func (GetSubscriptionsFilterArrayOutput) ToGetSubscriptionsFilterArrayOutput ¶
func (o GetSubscriptionsFilterArrayOutput) ToGetSubscriptionsFilterArrayOutput() GetSubscriptionsFilterArrayOutput
func (GetSubscriptionsFilterArrayOutput) ToGetSubscriptionsFilterArrayOutputWithContext ¶
func (o GetSubscriptionsFilterArrayOutput) ToGetSubscriptionsFilterArrayOutputWithContext(ctx context.Context) GetSubscriptionsFilterArrayOutput
type GetSubscriptionsFilterInput ¶
type GetSubscriptionsFilterInput interface { pulumi.Input ToGetSubscriptionsFilterOutput() GetSubscriptionsFilterOutput ToGetSubscriptionsFilterOutputWithContext(context.Context) GetSubscriptionsFilterOutput }
GetSubscriptionsFilterInput is an input type that accepts GetSubscriptionsFilterArgs and GetSubscriptionsFilterOutput values. You can construct a concrete instance of `GetSubscriptionsFilterInput` via:
GetSubscriptionsFilterArgs{...}
type GetSubscriptionsFilterOutput ¶
type GetSubscriptionsFilterOutput struct{ *pulumi.OutputState }
func (GetSubscriptionsFilterOutput) ElementType ¶
func (GetSubscriptionsFilterOutput) ElementType() reflect.Type
func (GetSubscriptionsFilterOutput) Name ¶
func (o GetSubscriptionsFilterOutput) Name() pulumi.StringOutput
func (GetSubscriptionsFilterOutput) Regex ¶
func (o GetSubscriptionsFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetSubscriptionsFilterOutput) ToGetSubscriptionsFilterOutput ¶
func (o GetSubscriptionsFilterOutput) ToGetSubscriptionsFilterOutput() GetSubscriptionsFilterOutput
func (GetSubscriptionsFilterOutput) ToGetSubscriptionsFilterOutputWithContext ¶
func (o GetSubscriptionsFilterOutput) ToGetSubscriptionsFilterOutputWithContext(ctx context.Context) GetSubscriptionsFilterOutput
func (GetSubscriptionsFilterOutput) Values ¶
func (o GetSubscriptionsFilterOutput) Values() pulumi.StringArrayOutput
type GetSubscriptionsOutputArgs ¶
type GetSubscriptionsOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` Filters GetSubscriptionsFilterArrayInput `pulumi:"filters"` // Return all subscriptions that are subscribed to the given topic OCID. Either this query parameter or the compartmentId query parameter must be set. TopicId pulumi.StringPtrInput `pulumi:"topicId"` }
A collection of arguments for invoking getSubscriptions.
func (GetSubscriptionsOutputArgs) ElementType ¶
func (GetSubscriptionsOutputArgs) ElementType() reflect.Type
type GetSubscriptionsResult ¶
type GetSubscriptionsResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription. CompartmentId string `pulumi:"compartmentId"` Filters []GetSubscriptionsFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The list of subscriptions. Subscriptions []GetSubscriptionsSubscription `pulumi:"subscriptions"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated topic. TopicId *string `pulumi:"topicId"` }
A collection of values returned by getSubscriptions.
func GetSubscriptions ¶
func GetSubscriptions(ctx *pulumi.Context, args *GetSubscriptionsArgs, opts ...pulumi.InvokeOption) (*GetSubscriptionsResult, error)
This data source provides the list of Subscriptions in Oracle Cloud Infrastructure Notifications service.
Lists the subscriptions in the specified compartment or topic.
Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ons" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ons.GetSubscriptions(ctx, &ons.GetSubscriptionsArgs{ CompartmentId: compartmentId, TopicId: pulumi.StringRef(testNotificationTopic.Id), }, nil) if err != nil { return err } return nil }) }
```
type GetSubscriptionsResultOutput ¶
type GetSubscriptionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubscriptions.
func GetSubscriptionsOutput ¶
func GetSubscriptionsOutput(ctx *pulumi.Context, args GetSubscriptionsOutputArgs, opts ...pulumi.InvokeOption) GetSubscriptionsResultOutput
func (GetSubscriptionsResultOutput) CompartmentId ¶
func (o GetSubscriptionsResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription.
func (GetSubscriptionsResultOutput) ElementType ¶
func (GetSubscriptionsResultOutput) ElementType() reflect.Type
func (GetSubscriptionsResultOutput) Filters ¶
func (o GetSubscriptionsResultOutput) Filters() GetSubscriptionsFilterArrayOutput
func (GetSubscriptionsResultOutput) Id ¶
func (o GetSubscriptionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSubscriptionsResultOutput) Subscriptions ¶
func (o GetSubscriptionsResultOutput) Subscriptions() GetSubscriptionsSubscriptionArrayOutput
The list of subscriptions.
func (GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutput ¶
func (o GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutput() GetSubscriptionsResultOutput
func (GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutputWithContext ¶
func (o GetSubscriptionsResultOutput) ToGetSubscriptionsResultOutputWithContext(ctx context.Context) GetSubscriptionsResultOutput
func (GetSubscriptionsResultOutput) TopicId ¶
func (o GetSubscriptionsResultOutput) TopicId() pulumi.StringPtrOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated topic.
type GetSubscriptionsSubscription ¶
type GetSubscriptionsSubscription struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId string `pulumi:"compartmentId"` // The time when this suscription was created. CreatedTime string `pulumi:"createdTime"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]string `pulumi:"definedTags"` DeliveryPolicies []GetSubscriptionsSubscriptionDeliveryPolicy `pulumi:"deliveryPolicies"` // A locator that corresponds to the subscription protocol. For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol. Avoid entering confidential information. Endpoint string `pulumi:"endpoint"` // For optimistic concurrency control. See `if-match`. Etag string `pulumi:"etag"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]string `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription. Id string `pulumi:"id"` // The protocol used for the subscription. Protocol string `pulumi:"protocol"` // The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE. State string `pulumi:"state"` // Return all subscriptions that are subscribed to the given topic OCID. Either this query parameter or the compartmentId query parameter must be set. TopicId string `pulumi:"topicId"` }
type GetSubscriptionsSubscriptionArgs ¶
type GetSubscriptionsSubscriptionArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // The time when this suscription was created. CreatedTime pulumi.StringInput `pulumi:"createdTime"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` DeliveryPolicies GetSubscriptionsSubscriptionDeliveryPolicyArrayInput `pulumi:"deliveryPolicies"` // A locator that corresponds to the subscription protocol. For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol. Avoid entering confidential information. Endpoint pulumi.StringInput `pulumi:"endpoint"` // For optimistic concurrency control. See `if-match`. Etag pulumi.StringInput `pulumi:"etag"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription. Id pulumi.StringInput `pulumi:"id"` // The protocol used for the subscription. Protocol pulumi.StringInput `pulumi:"protocol"` // The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE. State pulumi.StringInput `pulumi:"state"` // Return all subscriptions that are subscribed to the given topic OCID. Either this query parameter or the compartmentId query parameter must be set. TopicId pulumi.StringInput `pulumi:"topicId"` }
func (GetSubscriptionsSubscriptionArgs) ElementType ¶
func (GetSubscriptionsSubscriptionArgs) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutput ¶
func (i GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutput() GetSubscriptionsSubscriptionOutput
func (GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutputWithContext ¶
func (i GetSubscriptionsSubscriptionArgs) ToGetSubscriptionsSubscriptionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionOutput
type GetSubscriptionsSubscriptionArray ¶
type GetSubscriptionsSubscriptionArray []GetSubscriptionsSubscriptionInput
func (GetSubscriptionsSubscriptionArray) ElementType ¶
func (GetSubscriptionsSubscriptionArray) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutput ¶
func (i GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutput() GetSubscriptionsSubscriptionArrayOutput
func (GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutputWithContext ¶
func (i GetSubscriptionsSubscriptionArray) ToGetSubscriptionsSubscriptionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionArrayOutput
type GetSubscriptionsSubscriptionArrayInput ¶
type GetSubscriptionsSubscriptionArrayInput interface { pulumi.Input ToGetSubscriptionsSubscriptionArrayOutput() GetSubscriptionsSubscriptionArrayOutput ToGetSubscriptionsSubscriptionArrayOutputWithContext(context.Context) GetSubscriptionsSubscriptionArrayOutput }
GetSubscriptionsSubscriptionArrayInput is an input type that accepts GetSubscriptionsSubscriptionArray and GetSubscriptionsSubscriptionArrayOutput values. You can construct a concrete instance of `GetSubscriptionsSubscriptionArrayInput` via:
GetSubscriptionsSubscriptionArray{ GetSubscriptionsSubscriptionArgs{...} }
type GetSubscriptionsSubscriptionArrayOutput ¶
type GetSubscriptionsSubscriptionArrayOutput struct{ *pulumi.OutputState }
func (GetSubscriptionsSubscriptionArrayOutput) ElementType ¶
func (GetSubscriptionsSubscriptionArrayOutput) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutput ¶
func (o GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutput() GetSubscriptionsSubscriptionArrayOutput
func (GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutputWithContext ¶
func (o GetSubscriptionsSubscriptionArrayOutput) ToGetSubscriptionsSubscriptionArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionArrayOutput
type GetSubscriptionsSubscriptionDeliveryPolicy ¶
type GetSubscriptionsSubscriptionDeliveryPolicy struct {
BackoffRetryPolicies []GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicy `pulumi:"backoffRetryPolicies"`
}
type GetSubscriptionsSubscriptionDeliveryPolicyArgs ¶
type GetSubscriptionsSubscriptionDeliveryPolicyArgs struct {
BackoffRetryPolicies GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayInput `pulumi:"backoffRetryPolicies"`
}
func (GetSubscriptionsSubscriptionDeliveryPolicyArgs) ElementType ¶
func (GetSubscriptionsSubscriptionDeliveryPolicyArgs) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionDeliveryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyOutput ¶
func (i GetSubscriptionsSubscriptionDeliveryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyOutput() GetSubscriptionsSubscriptionDeliveryPolicyOutput
func (GetSubscriptionsSubscriptionDeliveryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyOutputWithContext ¶
func (i GetSubscriptionsSubscriptionDeliveryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyOutput
type GetSubscriptionsSubscriptionDeliveryPolicyArray ¶
type GetSubscriptionsSubscriptionDeliveryPolicyArray []GetSubscriptionsSubscriptionDeliveryPolicyInput
func (GetSubscriptionsSubscriptionDeliveryPolicyArray) ElementType ¶
func (GetSubscriptionsSubscriptionDeliveryPolicyArray) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionDeliveryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutput ¶
func (i GetSubscriptionsSubscriptionDeliveryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutput() GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput
func (GetSubscriptionsSubscriptionDeliveryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutputWithContext ¶
func (i GetSubscriptionsSubscriptionDeliveryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput
type GetSubscriptionsSubscriptionDeliveryPolicyArrayInput ¶
type GetSubscriptionsSubscriptionDeliveryPolicyArrayInput interface { pulumi.Input ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutput() GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutputWithContext(context.Context) GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput }
GetSubscriptionsSubscriptionDeliveryPolicyArrayInput is an input type that accepts GetSubscriptionsSubscriptionDeliveryPolicyArray and GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput values. You can construct a concrete instance of `GetSubscriptionsSubscriptionDeliveryPolicyArrayInput` via:
GetSubscriptionsSubscriptionDeliveryPolicyArray{ GetSubscriptionsSubscriptionDeliveryPolicyArgs{...} }
type GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput ¶
type GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput) ElementType ¶
func (GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutput ¶
func (o GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutput() GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput
func (GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutputWithContext ¶
func (o GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs ¶
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs struct { // The maximum retry duration in milliseconds. MaxRetryDuration pulumi.IntInput `pulumi:"maxRetryDuration"` // The type of delivery policy. Default value: EXPONENTIAL. PolicyType pulumi.StringInput `pulumi:"policyType"` }
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs) ElementType ¶
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput ¶
func (i GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutputWithContext ¶
func (i GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray ¶
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray []GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyInput
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray) ElementType ¶
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput ¶
func (i GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutputWithContext ¶
func (i GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayInput ¶
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayInput interface { pulumi.Input ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutputWithContext(context.Context) GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput }
GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayInput is an input type that accepts GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray and GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput values. You can construct a concrete instance of `GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayInput` via:
GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArray{ GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs{...} }
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput ¶
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput) ElementType ¶
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput ¶
func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutputWithContext ¶
func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyInput ¶
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyInput interface { pulumi.Input ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutputWithContext(context.Context) GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput }
GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyInput is an input type that accepts GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs and GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput values. You can construct a concrete instance of `GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyInput` via:
GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArgs{...}
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput ¶
type GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput struct{ *pulumi.OutputState }
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) ElementType ¶
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) MaxRetryDuration ¶
func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) MaxRetryDuration() pulumi.IntOutput
The maximum retry duration in milliseconds.
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) PolicyType ¶
func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) PolicyType() pulumi.StringOutput
The type of delivery policy. Default value: EXPONENTIAL.
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput ¶
func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput
func (GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutputWithContext ¶
func (o GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyOutput
type GetSubscriptionsSubscriptionDeliveryPolicyInput ¶
type GetSubscriptionsSubscriptionDeliveryPolicyInput interface { pulumi.Input ToGetSubscriptionsSubscriptionDeliveryPolicyOutput() GetSubscriptionsSubscriptionDeliveryPolicyOutput ToGetSubscriptionsSubscriptionDeliveryPolicyOutputWithContext(context.Context) GetSubscriptionsSubscriptionDeliveryPolicyOutput }
GetSubscriptionsSubscriptionDeliveryPolicyInput is an input type that accepts GetSubscriptionsSubscriptionDeliveryPolicyArgs and GetSubscriptionsSubscriptionDeliveryPolicyOutput values. You can construct a concrete instance of `GetSubscriptionsSubscriptionDeliveryPolicyInput` via:
GetSubscriptionsSubscriptionDeliveryPolicyArgs{...}
type GetSubscriptionsSubscriptionDeliveryPolicyOutput ¶
type GetSubscriptionsSubscriptionDeliveryPolicyOutput struct{ *pulumi.OutputState }
func (GetSubscriptionsSubscriptionDeliveryPolicyOutput) BackoffRetryPolicies ¶
func (o GetSubscriptionsSubscriptionDeliveryPolicyOutput) BackoffRetryPolicies() GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyArrayOutput
func (GetSubscriptionsSubscriptionDeliveryPolicyOutput) ElementType ¶
func (GetSubscriptionsSubscriptionDeliveryPolicyOutput) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionDeliveryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyOutput ¶
func (o GetSubscriptionsSubscriptionDeliveryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyOutput() GetSubscriptionsSubscriptionDeliveryPolicyOutput
func (GetSubscriptionsSubscriptionDeliveryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyOutputWithContext ¶
func (o GetSubscriptionsSubscriptionDeliveryPolicyOutput) ToGetSubscriptionsSubscriptionDeliveryPolicyOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionDeliveryPolicyOutput
type GetSubscriptionsSubscriptionInput ¶
type GetSubscriptionsSubscriptionInput interface { pulumi.Input ToGetSubscriptionsSubscriptionOutput() GetSubscriptionsSubscriptionOutput ToGetSubscriptionsSubscriptionOutputWithContext(context.Context) GetSubscriptionsSubscriptionOutput }
GetSubscriptionsSubscriptionInput is an input type that accepts GetSubscriptionsSubscriptionArgs and GetSubscriptionsSubscriptionOutput values. You can construct a concrete instance of `GetSubscriptionsSubscriptionInput` via:
GetSubscriptionsSubscriptionArgs{...}
type GetSubscriptionsSubscriptionOutput ¶
type GetSubscriptionsSubscriptionOutput struct{ *pulumi.OutputState }
func (GetSubscriptionsSubscriptionOutput) CompartmentId ¶
func (o GetSubscriptionsSubscriptionOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
func (GetSubscriptionsSubscriptionOutput) CreatedTime ¶
func (o GetSubscriptionsSubscriptionOutput) CreatedTime() pulumi.StringOutput
The time when this suscription was created.
func (GetSubscriptionsSubscriptionOutput) DefinedTags ¶
func (o GetSubscriptionsSubscriptionOutput) DefinedTags() pulumi.StringMapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (GetSubscriptionsSubscriptionOutput) DeliveryPolicies ¶
func (o GetSubscriptionsSubscriptionOutput) DeliveryPolicies() GetSubscriptionsSubscriptionDeliveryPolicyArrayOutput
func (GetSubscriptionsSubscriptionOutput) ElementType ¶
func (GetSubscriptionsSubscriptionOutput) ElementType() reflect.Type
func (GetSubscriptionsSubscriptionOutput) Endpoint ¶
func (o GetSubscriptionsSubscriptionOutput) Endpoint() pulumi.StringOutput
A locator that corresponds to the subscription protocol. For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol. Avoid entering confidential information.
func (GetSubscriptionsSubscriptionOutput) Etag ¶
func (o GetSubscriptionsSubscriptionOutput) Etag() pulumi.StringOutput
For optimistic concurrency control. See `if-match`.
func (GetSubscriptionsSubscriptionOutput) FreeformTags ¶
func (o GetSubscriptionsSubscriptionOutput) FreeformTags() pulumi.StringMapOutput
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (GetSubscriptionsSubscriptionOutput) Id ¶
func (o GetSubscriptionsSubscriptionOutput) Id() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription.
func (GetSubscriptionsSubscriptionOutput) Protocol ¶
func (o GetSubscriptionsSubscriptionOutput) Protocol() pulumi.StringOutput
The protocol used for the subscription.
func (GetSubscriptionsSubscriptionOutput) State ¶
func (o GetSubscriptionsSubscriptionOutput) State() pulumi.StringOutput
The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE.
func (GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutput ¶
func (o GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutput() GetSubscriptionsSubscriptionOutput
func (GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutputWithContext ¶
func (o GetSubscriptionsSubscriptionOutput) ToGetSubscriptionsSubscriptionOutputWithContext(ctx context.Context) GetSubscriptionsSubscriptionOutput
func (GetSubscriptionsSubscriptionOutput) TopicId ¶
func (o GetSubscriptionsSubscriptionOutput) TopicId() pulumi.StringOutput
Return all subscriptions that are subscribed to the given topic OCID. Either this query parameter or the compartmentId query parameter must be set.
type LookupNotificationTopicArgs ¶
type LookupNotificationTopicArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to retrieve. // // Transactions Per Minute (TPM) per-tenancy limit for this operation: 120. TopicId string `pulumi:"topicId"` }
A collection of arguments for invoking getNotificationTopic.
type LookupNotificationTopicOutputArgs ¶
type LookupNotificationTopicOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to retrieve. // // Transactions Per Minute (TPM) per-tenancy limit for this operation: 120. TopicId pulumi.StringInput `pulumi:"topicId"` }
A collection of arguments for invoking getNotificationTopic.
func (LookupNotificationTopicOutputArgs) ElementType ¶
func (LookupNotificationTopicOutputArgs) ElementType() reflect.Type
type LookupNotificationTopicResult ¶
type LookupNotificationTopicResult struct { // The endpoint for managing subscriptions or publishing messages to the topic. ApiEndpoint string `pulumi:"apiEndpoint"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the topic. CompartmentId string `pulumi:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]string `pulumi:"definedTags"` // The description of the topic. Description string `pulumi:"description"` // For optimistic concurrency control. See `if-match`. Etag string `pulumi:"etag"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]string `pulumi:"freeformTags"` Id string `pulumi:"id"` // The name of the topic. Name string `pulumi:"name"` // A unique short topic Id. This is used only for SMS subscriptions. ShortTopicId string `pulumi:"shortTopicId"` // The lifecycle state of the topic. State string `pulumi:"state"` // The time the topic was created. TimeCreated string `pulumi:"timeCreated"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. TopicId string `pulumi:"topicId"` }
A collection of values returned by getNotificationTopic.
func LookupNotificationTopic ¶
func LookupNotificationTopic(ctx *pulumi.Context, args *LookupNotificationTopicArgs, opts ...pulumi.InvokeOption) (*LookupNotificationTopicResult, error)
This data source provides details about a specific Notification Topic resource in Oracle Cloud Infrastructure Notifications service.
Gets the specified topic's configuration information.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ons" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ons.GetNotificationTopic(ctx, &ons.GetNotificationTopicArgs{ TopicId: testNotificationTopicOciOnsNotificationTopic.Id, }, nil) if err != nil { return err } return nil }) }
```
type LookupNotificationTopicResultOutput ¶
type LookupNotificationTopicResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNotificationTopic.
func LookupNotificationTopicOutput ¶
func LookupNotificationTopicOutput(ctx *pulumi.Context, args LookupNotificationTopicOutputArgs, opts ...pulumi.InvokeOption) LookupNotificationTopicResultOutput
func (LookupNotificationTopicResultOutput) ApiEndpoint ¶
func (o LookupNotificationTopicResultOutput) ApiEndpoint() pulumi.StringOutput
The endpoint for managing subscriptions or publishing messages to the topic.
func (LookupNotificationTopicResultOutput) CompartmentId ¶
func (o LookupNotificationTopicResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the topic.
func (LookupNotificationTopicResultOutput) DefinedTags ¶
func (o LookupNotificationTopicResultOutput) DefinedTags() pulumi.StringMapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (LookupNotificationTopicResultOutput) Description ¶
func (o LookupNotificationTopicResultOutput) Description() pulumi.StringOutput
The description of the topic.
func (LookupNotificationTopicResultOutput) ElementType ¶
func (LookupNotificationTopicResultOutput) ElementType() reflect.Type
func (LookupNotificationTopicResultOutput) Etag ¶
func (o LookupNotificationTopicResultOutput) Etag() pulumi.StringOutput
For optimistic concurrency control. See `if-match`.
func (LookupNotificationTopicResultOutput) FreeformTags ¶
func (o LookupNotificationTopicResultOutput) FreeformTags() pulumi.StringMapOutput
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (LookupNotificationTopicResultOutput) Id ¶
func (o LookupNotificationTopicResultOutput) Id() pulumi.StringOutput
func (LookupNotificationTopicResultOutput) Name ¶
func (o LookupNotificationTopicResultOutput) Name() pulumi.StringOutput
The name of the topic.
func (LookupNotificationTopicResultOutput) ShortTopicId ¶
func (o LookupNotificationTopicResultOutput) ShortTopicId() pulumi.StringOutput
A unique short topic Id. This is used only for SMS subscriptions.
func (LookupNotificationTopicResultOutput) State ¶
func (o LookupNotificationTopicResultOutput) State() pulumi.StringOutput
The lifecycle state of the topic.
func (LookupNotificationTopicResultOutput) TimeCreated ¶
func (o LookupNotificationTopicResultOutput) TimeCreated() pulumi.StringOutput
The time the topic was created.
func (LookupNotificationTopicResultOutput) ToLookupNotificationTopicResultOutput ¶
func (o LookupNotificationTopicResultOutput) ToLookupNotificationTopicResultOutput() LookupNotificationTopicResultOutput
func (LookupNotificationTopicResultOutput) ToLookupNotificationTopicResultOutputWithContext ¶
func (o LookupNotificationTopicResultOutput) ToLookupNotificationTopicResultOutputWithContext(ctx context.Context) LookupNotificationTopicResultOutput
func (LookupNotificationTopicResultOutput) TopicId ¶
func (o LookupNotificationTopicResultOutput) TopicId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic.
type LookupSubscriptionArgs ¶
type LookupSubscriptionArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to retrieve. SubscriptionId string `pulumi:"subscriptionId"` }
A collection of arguments for invoking getSubscription.
type LookupSubscriptionOutputArgs ¶
type LookupSubscriptionOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to retrieve. SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` }
A collection of arguments for invoking getSubscription.
func (LookupSubscriptionOutputArgs) ElementType ¶
func (LookupSubscriptionOutputArgs) ElementType() reflect.Type
type LookupSubscriptionResult ¶
type LookupSubscriptionResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription. CompartmentId string `pulumi:"compartmentId"` // The time when this suscription was created. CreatedTime string `pulumi:"createdTime"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]string `pulumi:"definedTags"` // The delivery policy of the subscription. Stored as a JSON string. DeliveryPolicy string `pulumi:"deliveryPolicy"` // A locator that corresponds to the subscription protocol. For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol. Endpoint string `pulumi:"endpoint"` // For optimistic concurrency control. See `if-match`. Etag string `pulumi:"etag"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]string `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription. Id string `pulumi:"id"` // The protocol used for the subscription. Protocol string `pulumi:"protocol"` // The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE. State string `pulumi:"state"` SubscriptionId string `pulumi:"subscriptionId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated topic. TopicId string `pulumi:"topicId"` }
A collection of values returned by getSubscription.
func LookupSubscription ¶
func LookupSubscription(ctx *pulumi.Context, args *LookupSubscriptionArgs, opts ...pulumi.InvokeOption) (*LookupSubscriptionResult, error)
This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Notifications service.
Gets the specified subscription's configuration information.
Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ons" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ons.GetSubscription(ctx, &ons.GetSubscriptionArgs{ SubscriptionId: testSubscriptionOciOnsSubscription.Id, }, nil) if err != nil { return err } return nil }) }
```
type LookupSubscriptionResultOutput ¶
type LookupSubscriptionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubscription.
func LookupSubscriptionOutput ¶
func LookupSubscriptionOutput(ctx *pulumi.Context, args LookupSubscriptionOutputArgs, opts ...pulumi.InvokeOption) LookupSubscriptionResultOutput
func (LookupSubscriptionResultOutput) CompartmentId ¶
func (o LookupSubscriptionResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription.
func (LookupSubscriptionResultOutput) CreatedTime ¶
func (o LookupSubscriptionResultOutput) CreatedTime() pulumi.StringOutput
The time when this suscription was created.
func (LookupSubscriptionResultOutput) DefinedTags ¶
func (o LookupSubscriptionResultOutput) DefinedTags() pulumi.StringMapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (LookupSubscriptionResultOutput) DeliveryPolicy ¶
func (o LookupSubscriptionResultOutput) DeliveryPolicy() pulumi.StringOutput
The delivery policy of the subscription. Stored as a JSON string.
func (LookupSubscriptionResultOutput) ElementType ¶
func (LookupSubscriptionResultOutput) ElementType() reflect.Type
func (LookupSubscriptionResultOutput) Endpoint ¶
func (o LookupSubscriptionResultOutput) Endpoint() pulumi.StringOutput
A locator that corresponds to the subscription protocol. For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol.
func (LookupSubscriptionResultOutput) Etag ¶
func (o LookupSubscriptionResultOutput) Etag() pulumi.StringOutput
For optimistic concurrency control. See `if-match`.
func (LookupSubscriptionResultOutput) FreeformTags ¶
func (o LookupSubscriptionResultOutput) FreeformTags() pulumi.StringMapOutput
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (LookupSubscriptionResultOutput) Id ¶
func (o LookupSubscriptionResultOutput) Id() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription.
func (LookupSubscriptionResultOutput) Protocol ¶
func (o LookupSubscriptionResultOutput) Protocol() pulumi.StringOutput
The protocol used for the subscription.
func (LookupSubscriptionResultOutput) State ¶
func (o LookupSubscriptionResultOutput) State() pulumi.StringOutput
The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE.
func (LookupSubscriptionResultOutput) SubscriptionId ¶
func (o LookupSubscriptionResultOutput) SubscriptionId() pulumi.StringOutput
func (LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput ¶
func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput() LookupSubscriptionResultOutput
func (LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext ¶
func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext(ctx context.Context) LookupSubscriptionResultOutput
func (LookupSubscriptionResultOutput) TopicId ¶
func (o LookupSubscriptionResultOutput) TopicId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated topic.
type NotificationTopic ¶
type NotificationTopic struct { pulumi.CustomResourceState // The endpoint for managing subscriptions or publishing messages to the topic. ApiEndpoint pulumi.StringOutput `pulumi:"apiEndpoint"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the topic in. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` // (Updatable) The description of the topic being created. Avoid entering confidential information. Description pulumi.StringOutput `pulumi:"description"` // For optimistic concurrency control. See `if-match`. Etag pulumi.StringOutput `pulumi:"etag"` // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` // The name of the topic being created. The topic name must be unique across the tenancy. Avoid entering confidential information. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values Name pulumi.StringOutput `pulumi:"name"` // A unique short topic Id. This is used only for SMS subscriptions. ShortTopicId pulumi.StringOutput `pulumi:"shortTopicId"` // The lifecycle state of the topic. State pulumi.StringOutput `pulumi:"state"` // The time the topic was created. TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. TopicId pulumi.StringOutput `pulumi:"topicId"` }
This resource provides the Notification Topic resource in Oracle Cloud Infrastructure Notifications service.
Creates a topic in the specified compartment. For general information about topics, see [Managing Topics and Subscriptions](https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm).
For the purposes of access control, you must provide the OCID of the compartment where you want the topic to reside. For information about access control and compartments, see [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
You must specify a display name for the topic.
All Oracle Cloud Infrastructure resources, including topics, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console. For more information, see [Resource Identifiers](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ons" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ons.NewNotificationTopic(ctx, "test_notification_topic", &ons.NotificationTopicArgs{ CompartmentId: pulumi.Any(compartmentId), Name: pulumi.Any(notificationTopicName), DefinedTags: pulumi.StringMap{ "Operations.CostCenter": pulumi.String("42"), }, Description: pulumi.Any(notificationTopicDescription), FreeformTags: pulumi.StringMap{ "Department": pulumi.String("Finance"), }, }) if err != nil { return err } return nil }) }
```
## Import
NotificationTopics can be imported using the `id`, e.g.
```sh $ pulumi import oci:Ons/notificationTopic:NotificationTopic test_notification_topic "id" ```
func GetNotificationTopic ¶
func GetNotificationTopic(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NotificationTopicState, opts ...pulumi.ResourceOption) (*NotificationTopic, error)
GetNotificationTopic gets an existing NotificationTopic resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewNotificationTopic ¶
func NewNotificationTopic(ctx *pulumi.Context, name string, args *NotificationTopicArgs, opts ...pulumi.ResourceOption) (*NotificationTopic, error)
NewNotificationTopic registers a new resource with the given unique name, arguments, and options.
func (*NotificationTopic) ElementType ¶
func (*NotificationTopic) ElementType() reflect.Type
func (*NotificationTopic) ToNotificationTopicOutput ¶
func (i *NotificationTopic) ToNotificationTopicOutput() NotificationTopicOutput
func (*NotificationTopic) ToNotificationTopicOutputWithContext ¶
func (i *NotificationTopic) ToNotificationTopicOutputWithContext(ctx context.Context) NotificationTopicOutput
type NotificationTopicArgs ¶
type NotificationTopicArgs struct { // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the topic in. CompartmentId pulumi.StringInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // (Updatable) The description of the topic being created. Avoid entering confidential information. Description pulumi.StringPtrInput // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // The name of the topic being created. The topic name must be unique across the tenancy. Avoid entering confidential information. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values Name pulumi.StringPtrInput }
The set of arguments for constructing a NotificationTopic resource.
func (NotificationTopicArgs) ElementType ¶
func (NotificationTopicArgs) ElementType() reflect.Type
type NotificationTopicArray ¶
type NotificationTopicArray []NotificationTopicInput
func (NotificationTopicArray) ElementType ¶
func (NotificationTopicArray) ElementType() reflect.Type
func (NotificationTopicArray) ToNotificationTopicArrayOutput ¶
func (i NotificationTopicArray) ToNotificationTopicArrayOutput() NotificationTopicArrayOutput
func (NotificationTopicArray) ToNotificationTopicArrayOutputWithContext ¶
func (i NotificationTopicArray) ToNotificationTopicArrayOutputWithContext(ctx context.Context) NotificationTopicArrayOutput
type NotificationTopicArrayInput ¶
type NotificationTopicArrayInput interface { pulumi.Input ToNotificationTopicArrayOutput() NotificationTopicArrayOutput ToNotificationTopicArrayOutputWithContext(context.Context) NotificationTopicArrayOutput }
NotificationTopicArrayInput is an input type that accepts NotificationTopicArray and NotificationTopicArrayOutput values. You can construct a concrete instance of `NotificationTopicArrayInput` via:
NotificationTopicArray{ NotificationTopicArgs{...} }
type NotificationTopicArrayOutput ¶
type NotificationTopicArrayOutput struct{ *pulumi.OutputState }
func (NotificationTopicArrayOutput) ElementType ¶
func (NotificationTopicArrayOutput) ElementType() reflect.Type
func (NotificationTopicArrayOutput) Index ¶
func (o NotificationTopicArrayOutput) Index(i pulumi.IntInput) NotificationTopicOutput
func (NotificationTopicArrayOutput) ToNotificationTopicArrayOutput ¶
func (o NotificationTopicArrayOutput) ToNotificationTopicArrayOutput() NotificationTopicArrayOutput
func (NotificationTopicArrayOutput) ToNotificationTopicArrayOutputWithContext ¶
func (o NotificationTopicArrayOutput) ToNotificationTopicArrayOutputWithContext(ctx context.Context) NotificationTopicArrayOutput
type NotificationTopicInput ¶
type NotificationTopicInput interface { pulumi.Input ToNotificationTopicOutput() NotificationTopicOutput ToNotificationTopicOutputWithContext(ctx context.Context) NotificationTopicOutput }
type NotificationTopicMap ¶
type NotificationTopicMap map[string]NotificationTopicInput
func (NotificationTopicMap) ElementType ¶
func (NotificationTopicMap) ElementType() reflect.Type
func (NotificationTopicMap) ToNotificationTopicMapOutput ¶
func (i NotificationTopicMap) ToNotificationTopicMapOutput() NotificationTopicMapOutput
func (NotificationTopicMap) ToNotificationTopicMapOutputWithContext ¶
func (i NotificationTopicMap) ToNotificationTopicMapOutputWithContext(ctx context.Context) NotificationTopicMapOutput
type NotificationTopicMapInput ¶
type NotificationTopicMapInput interface { pulumi.Input ToNotificationTopicMapOutput() NotificationTopicMapOutput ToNotificationTopicMapOutputWithContext(context.Context) NotificationTopicMapOutput }
NotificationTopicMapInput is an input type that accepts NotificationTopicMap and NotificationTopicMapOutput values. You can construct a concrete instance of `NotificationTopicMapInput` via:
NotificationTopicMap{ "key": NotificationTopicArgs{...} }
type NotificationTopicMapOutput ¶
type NotificationTopicMapOutput struct{ *pulumi.OutputState }
func (NotificationTopicMapOutput) ElementType ¶
func (NotificationTopicMapOutput) ElementType() reflect.Type
func (NotificationTopicMapOutput) MapIndex ¶
func (o NotificationTopicMapOutput) MapIndex(k pulumi.StringInput) NotificationTopicOutput
func (NotificationTopicMapOutput) ToNotificationTopicMapOutput ¶
func (o NotificationTopicMapOutput) ToNotificationTopicMapOutput() NotificationTopicMapOutput
func (NotificationTopicMapOutput) ToNotificationTopicMapOutputWithContext ¶
func (o NotificationTopicMapOutput) ToNotificationTopicMapOutputWithContext(ctx context.Context) NotificationTopicMapOutput
type NotificationTopicOutput ¶
type NotificationTopicOutput struct{ *pulumi.OutputState }
func (NotificationTopicOutput) ApiEndpoint ¶
func (o NotificationTopicOutput) ApiEndpoint() pulumi.StringOutput
The endpoint for managing subscriptions or publishing messages to the topic.
func (NotificationTopicOutput) CompartmentId ¶
func (o NotificationTopicOutput) CompartmentId() pulumi.StringOutput
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the topic in.
func (NotificationTopicOutput) DefinedTags ¶
func (o NotificationTopicOutput) DefinedTags() pulumi.StringMapOutput
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (NotificationTopicOutput) Description ¶
func (o NotificationTopicOutput) Description() pulumi.StringOutput
(Updatable) The description of the topic being created. Avoid entering confidential information.
func (NotificationTopicOutput) ElementType ¶
func (NotificationTopicOutput) ElementType() reflect.Type
func (NotificationTopicOutput) Etag ¶
func (o NotificationTopicOutput) Etag() pulumi.StringOutput
For optimistic concurrency control. See `if-match`.
func (NotificationTopicOutput) FreeformTags ¶
func (o NotificationTopicOutput) FreeformTags() pulumi.StringMapOutput
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (NotificationTopicOutput) Name ¶
func (o NotificationTopicOutput) Name() pulumi.StringOutput
The name of the topic being created. The topic name must be unique across the tenancy. Avoid entering confidential information.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
func (NotificationTopicOutput) ShortTopicId ¶
func (o NotificationTopicOutput) ShortTopicId() pulumi.StringOutput
A unique short topic Id. This is used only for SMS subscriptions.
func (NotificationTopicOutput) State ¶
func (o NotificationTopicOutput) State() pulumi.StringOutput
The lifecycle state of the topic.
func (NotificationTopicOutput) TimeCreated ¶
func (o NotificationTopicOutput) TimeCreated() pulumi.StringOutput
The time the topic was created.
func (NotificationTopicOutput) ToNotificationTopicOutput ¶
func (o NotificationTopicOutput) ToNotificationTopicOutput() NotificationTopicOutput
func (NotificationTopicOutput) ToNotificationTopicOutputWithContext ¶
func (o NotificationTopicOutput) ToNotificationTopicOutputWithContext(ctx context.Context) NotificationTopicOutput
func (NotificationTopicOutput) TopicId ¶
func (o NotificationTopicOutput) TopicId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic.
type NotificationTopicState ¶
type NotificationTopicState struct { // The endpoint for managing subscriptions or publishing messages to the topic. ApiEndpoint pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the topic in. CompartmentId pulumi.StringPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // (Updatable) The description of the topic being created. Avoid entering confidential information. Description pulumi.StringPtrInput // For optimistic concurrency control. See `if-match`. Etag pulumi.StringPtrInput // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // The name of the topic being created. The topic name must be unique across the tenancy. Avoid entering confidential information. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values Name pulumi.StringPtrInput // A unique short topic Id. This is used only for SMS subscriptions. ShortTopicId pulumi.StringPtrInput // The lifecycle state of the topic. State pulumi.StringPtrInput // The time the topic was created. TimeCreated pulumi.StringPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. TopicId pulumi.StringPtrInput }
func (NotificationTopicState) ElementType ¶
func (NotificationTopicState) ElementType() reflect.Type
type Subscription ¶
type Subscription struct { pulumi.CustomResourceState // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` // The time when this suscription was created. CreatedTime pulumi.StringOutput `pulumi:"createdTime"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` // The delivery policy of the subscription. Stored as a JSON string. DeliveryPolicy pulumi.StringOutput `pulumi:"deliveryPolicy"` // A locator that corresponds to the subscription protocol. For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol. HTTP-based protocols use URL endpoints that begin with "http:" or "https:". A URL cannot exceed 512 characters. Avoid entering confidential information. // // For protocol-specific endpoint formats and steps to get or create endpoints, see [To create a subscription](https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub). Endpoint pulumi.StringOutput `pulumi:"endpoint"` // For optimistic concurrency control. See `if-match`. Etag pulumi.StringOutput `pulumi:"etag"` // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` // The protocol used for the subscription. // // Allowed values: // * `CUSTOM_HTTPS` // * `EMAIL` // * `HTTPS` (deprecated; for PagerDuty endpoints, use `PAGERDUTY`) // * `ORACLE_FUNCTIONS` // * `PAGERDUTY` // * `SLACK` // * `SMS` // // For information about subscription protocols, see [To create a subscription](https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub). Protocol pulumi.StringOutput `pulumi:"protocol"` // The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE. State pulumi.StringOutput `pulumi:"state"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic for the subscription. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TopicId pulumi.StringOutput `pulumi:"topicId"` }
This resource provides the Subscription resource in Oracle Cloud Infrastructure Notifications service.
Creates a subscription for the specified topic and sends a subscription confirmation URL to the endpoint. The subscription remains in "Pending" status until it has been confirmed. For information about confirming subscriptions, see [To confirm a subscription](https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#confirmSub).
Transactions Per Minute (TPM) per-tenancy limit for this operation: 60.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ons" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ons.NewSubscription(ctx, "test_subscription", &ons.SubscriptionArgs{ CompartmentId: pulumi.Any(compartmentId), Endpoint: pulumi.Any(subscriptionEndpoint), Protocol: pulumi.Any(subscriptionProtocol), TopicId: pulumi.Any(testNotificationTopic.Id), DefinedTags: pulumi.StringMap{ "Operations.CostCenter": pulumi.String("42"), }, FreeformTags: pulumi.StringMap{ "Department": pulumi.String("Finance"), }, }) if err != nil { return err } return nil }) }
```
## Import
Subscriptions can be imported using the `id`, e.g.
```sh $ pulumi import oci:Ons/subscription:Subscription test_subscription "id" ```
func GetSubscription ¶
func GetSubscription(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubscriptionState, opts ...pulumi.ResourceOption) (*Subscription, error)
GetSubscription gets an existing Subscription resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSubscription ¶
func NewSubscription(ctx *pulumi.Context, name string, args *SubscriptionArgs, opts ...pulumi.ResourceOption) (*Subscription, error)
NewSubscription registers a new resource with the given unique name, arguments, and options.
func (*Subscription) ElementType ¶
func (*Subscription) ElementType() reflect.Type
func (*Subscription) ToSubscriptionOutput ¶
func (i *Subscription) ToSubscriptionOutput() SubscriptionOutput
func (*Subscription) ToSubscriptionOutputWithContext ¶
func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
type SubscriptionArgs ¶
type SubscriptionArgs struct { // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription. CompartmentId pulumi.StringInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // The delivery policy of the subscription. Stored as a JSON string. DeliveryPolicy pulumi.StringPtrInput // A locator that corresponds to the subscription protocol. For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol. HTTP-based protocols use URL endpoints that begin with "http:" or "https:". A URL cannot exceed 512 characters. Avoid entering confidential information. // // For protocol-specific endpoint formats and steps to get or create endpoints, see [To create a subscription](https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub). Endpoint pulumi.StringInput // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // The protocol used for the subscription. // // Allowed values: // * `CUSTOM_HTTPS` // * `EMAIL` // * `HTTPS` (deprecated; for PagerDuty endpoints, use `PAGERDUTY`) // * `ORACLE_FUNCTIONS` // * `PAGERDUTY` // * `SLACK` // * `SMS` // // For information about subscription protocols, see [To create a subscription](https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub). Protocol pulumi.StringInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic for the subscription. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TopicId pulumi.StringInput }
The set of arguments for constructing a Subscription resource.
func (SubscriptionArgs) ElementType ¶
func (SubscriptionArgs) ElementType() reflect.Type
type SubscriptionArray ¶
type SubscriptionArray []SubscriptionInput
func (SubscriptionArray) ElementType ¶
func (SubscriptionArray) ElementType() reflect.Type
func (SubscriptionArray) ToSubscriptionArrayOutput ¶
func (i SubscriptionArray) ToSubscriptionArrayOutput() SubscriptionArrayOutput
func (SubscriptionArray) ToSubscriptionArrayOutputWithContext ¶
func (i SubscriptionArray) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput
type SubscriptionArrayInput ¶
type SubscriptionArrayInput interface { pulumi.Input ToSubscriptionArrayOutput() SubscriptionArrayOutput ToSubscriptionArrayOutputWithContext(context.Context) SubscriptionArrayOutput }
SubscriptionArrayInput is an input type that accepts SubscriptionArray and SubscriptionArrayOutput values. You can construct a concrete instance of `SubscriptionArrayInput` via:
SubscriptionArray{ SubscriptionArgs{...} }
type SubscriptionArrayOutput ¶
type SubscriptionArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionArrayOutput) ElementType ¶
func (SubscriptionArrayOutput) ElementType() reflect.Type
func (SubscriptionArrayOutput) Index ¶
func (o SubscriptionArrayOutput) Index(i pulumi.IntInput) SubscriptionOutput
func (SubscriptionArrayOutput) ToSubscriptionArrayOutput ¶
func (o SubscriptionArrayOutput) ToSubscriptionArrayOutput() SubscriptionArrayOutput
func (SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext ¶
func (o SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput
type SubscriptionInput ¶
type SubscriptionInput interface { pulumi.Input ToSubscriptionOutput() SubscriptionOutput ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput }
type SubscriptionMap ¶
type SubscriptionMap map[string]SubscriptionInput
func (SubscriptionMap) ElementType ¶
func (SubscriptionMap) ElementType() reflect.Type
func (SubscriptionMap) ToSubscriptionMapOutput ¶
func (i SubscriptionMap) ToSubscriptionMapOutput() SubscriptionMapOutput
func (SubscriptionMap) ToSubscriptionMapOutputWithContext ¶
func (i SubscriptionMap) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput
type SubscriptionMapInput ¶
type SubscriptionMapInput interface { pulumi.Input ToSubscriptionMapOutput() SubscriptionMapOutput ToSubscriptionMapOutputWithContext(context.Context) SubscriptionMapOutput }
SubscriptionMapInput is an input type that accepts SubscriptionMap and SubscriptionMapOutput values. You can construct a concrete instance of `SubscriptionMapInput` via:
SubscriptionMap{ "key": SubscriptionArgs{...} }
type SubscriptionMapOutput ¶
type SubscriptionMapOutput struct{ *pulumi.OutputState }
func (SubscriptionMapOutput) ElementType ¶
func (SubscriptionMapOutput) ElementType() reflect.Type
func (SubscriptionMapOutput) MapIndex ¶
func (o SubscriptionMapOutput) MapIndex(k pulumi.StringInput) SubscriptionOutput
func (SubscriptionMapOutput) ToSubscriptionMapOutput ¶
func (o SubscriptionMapOutput) ToSubscriptionMapOutput() SubscriptionMapOutput
func (SubscriptionMapOutput) ToSubscriptionMapOutputWithContext ¶
func (o SubscriptionMapOutput) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput
type SubscriptionOutput ¶
type SubscriptionOutput struct{ *pulumi.OutputState }
func (SubscriptionOutput) CompartmentId ¶
func (o SubscriptionOutput) CompartmentId() pulumi.StringOutput
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription.
func (SubscriptionOutput) CreatedTime ¶
func (o SubscriptionOutput) CreatedTime() pulumi.StringOutput
The time when this suscription was created.
func (SubscriptionOutput) DefinedTags ¶
func (o SubscriptionOutput) DefinedTags() pulumi.StringMapOutput
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (SubscriptionOutput) DeliveryPolicy ¶
func (o SubscriptionOutput) DeliveryPolicy() pulumi.StringOutput
The delivery policy of the subscription. Stored as a JSON string.
func (SubscriptionOutput) ElementType ¶
func (SubscriptionOutput) ElementType() reflect.Type
func (SubscriptionOutput) Endpoint ¶
func (o SubscriptionOutput) Endpoint() pulumi.StringOutput
A locator that corresponds to the subscription protocol. For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol. HTTP-based protocols use URL endpoints that begin with "http:" or "https:". A URL cannot exceed 512 characters. Avoid entering confidential information.
For protocol-specific endpoint formats and steps to get or create endpoints, see [To create a subscription](https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub).
func (SubscriptionOutput) Etag ¶
func (o SubscriptionOutput) Etag() pulumi.StringOutput
For optimistic concurrency control. See `if-match`.
func (SubscriptionOutput) FreeformTags ¶
func (o SubscriptionOutput) FreeformTags() pulumi.StringMapOutput
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (SubscriptionOutput) Protocol ¶
func (o SubscriptionOutput) Protocol() pulumi.StringOutput
The protocol used for the subscription.
Allowed values: * `CUSTOM_HTTPS` * `EMAIL` * `HTTPS` (deprecated; for PagerDuty endpoints, use `PAGERDUTY`) * `ORACLE_FUNCTIONS` * `PAGERDUTY` * `SLACK` * `SMS`
For information about subscription protocols, see [To create a subscription](https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub).
func (SubscriptionOutput) State ¶
func (o SubscriptionOutput) State() pulumi.StringOutput
The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE.
func (SubscriptionOutput) ToSubscriptionOutput ¶
func (o SubscriptionOutput) ToSubscriptionOutput() SubscriptionOutput
func (SubscriptionOutput) ToSubscriptionOutputWithContext ¶
func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
func (SubscriptionOutput) TopicId ¶
func (o SubscriptionOutput) TopicId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic for the subscription.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
type SubscriptionState ¶
type SubscriptionState struct { // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription. CompartmentId pulumi.StringPtrInput // The time when this suscription was created. CreatedTime pulumi.StringPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // The delivery policy of the subscription. Stored as a JSON string. DeliveryPolicy pulumi.StringPtrInput // A locator that corresponds to the subscription protocol. For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol. HTTP-based protocols use URL endpoints that begin with "http:" or "https:". A URL cannot exceed 512 characters. Avoid entering confidential information. // // For protocol-specific endpoint formats and steps to get or create endpoints, see [To create a subscription](https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub). Endpoint pulumi.StringPtrInput // For optimistic concurrency control. See `if-match`. Etag pulumi.StringPtrInput // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // The protocol used for the subscription. // // Allowed values: // * `CUSTOM_HTTPS` // * `EMAIL` // * `HTTPS` (deprecated; for PagerDuty endpoints, use `PAGERDUTY`) // * `ORACLE_FUNCTIONS` // * `PAGERDUTY` // * `SLACK` // * `SMS` // // For information about subscription protocols, see [To create a subscription](https://docs.cloud.oracle.com/iaas/Content/Notification/Tasks/managingtopicsandsubscriptions.htm#createSub). Protocol pulumi.StringPtrInput // The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE. State pulumi.StringPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic for the subscription. // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TopicId pulumi.StringPtrInput }
func (SubscriptionState) ElementType ¶
func (SubscriptionState) ElementType() reflect.Type