Scaleway v1.27.1 published on Wednesday, Apr 30, 2025 by pulumiverse
scaleway.tem.getOfferSubscription
Explore with Pulumi AI
Gets information about a transactional email offer subscription.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumi/scaleway";
// Retrieve offer subscription information
const test = scaleway.tem.getOfferSubscription({});
import pulumi
import pulumi_scaleway as scaleway
# Retrieve offer subscription information
test = scaleway.tem.get_offer_subscription()
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/tem"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Retrieve offer subscription information
_, err := tem.GetOfferSubscription(ctx, &tem.GetOfferSubscriptionArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
return await Deployment.RunAsync(() =>
{
// Retrieve offer subscription information
var test = Scaleway.Tem.GetOfferSubscription.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.tem.TemFunctions;
import com.pulumi.scaleway.tem.inputs.GetOfferSubscriptionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Retrieve offer subscription information
final var test = TemFunctions.getOfferSubscription();
}
}
variables:
# Retrieve offer subscription information
test:
fn::invoke:
function: scaleway:tem:getOfferSubscription
arguments: {}
Using getOfferSubscription
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOfferSubscription(args: GetOfferSubscriptionArgs, opts?: InvokeOptions): Promise<GetOfferSubscriptionResult>
function getOfferSubscriptionOutput(args: GetOfferSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetOfferSubscriptionResult>
def get_offer_subscription(project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOfferSubscriptionResult
def get_offer_subscription_output(project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOfferSubscriptionResult]
func GetOfferSubscription(ctx *Context, args *GetOfferSubscriptionArgs, opts ...InvokeOption) (*GetOfferSubscriptionResult, error)
func GetOfferSubscriptionOutput(ctx *Context, args *GetOfferSubscriptionOutputArgs, opts ...InvokeOption) GetOfferSubscriptionResultOutput
> Note: This function is named GetOfferSubscription
in the Go SDK.
public static class GetOfferSubscription
{
public static Task<GetOfferSubscriptionResult> InvokeAsync(GetOfferSubscriptionArgs args, InvokeOptions? opts = null)
public static Output<GetOfferSubscriptionResult> Invoke(GetOfferSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOfferSubscriptionResult> getOfferSubscription(GetOfferSubscriptionArgs args, InvokeOptions options)
public static Output<GetOfferSubscriptionResult> getOfferSubscription(GetOfferSubscriptionArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:tem/getOfferSubscription:getOfferSubscription
arguments:
# arguments dictionary
The following arguments are supported:
- project_
id str project_id
) The ID of the project the offer subscription is associated with.- region str
region
) The region where the offer subscription exists.
getOfferSubscription Result
The following output properties are available:
- string
- The date and time when cancellation becomes available for the subscription.
- Id string
- The provider-assigned unique ID for this managed resource.
- Included
Monthly intEmails - The number of emails included in the offer subscription per month.
- Max
Custom intBlocklists Per Domain - The maximum number of custom blocklists that can be associated with the offer subscription per domain.
- Max
Dedicated intIps - The maximum number of dedicated IPs that can be associated with the offer subscription.
- Max
Domains int - The maximum number of domains that can be associated with the offer subscription.
- Max
Webhooks intPer Domain - The maximum number of webhooks that can be associated with the offer subscription per domain.
- Offer
Name string - The name of the offer associated with the subscription (e.g.,
scale
). - Project
Id string - Region string
- Sla double
- The Service Level Agreement (SLA) percentage of the offer subscription.
- Subscribed
At string - The date and time of the subscription.
- string
- The date and time when cancellation becomes available for the subscription.
- Id string
- The provider-assigned unique ID for this managed resource.
- Included
Monthly intEmails - The number of emails included in the offer subscription per month.
- Max
Custom intBlocklists Per Domain - The maximum number of custom blocklists that can be associated with the offer subscription per domain.
- Max
Dedicated intIps - The maximum number of dedicated IPs that can be associated with the offer subscription.
- Max
Domains int - The maximum number of domains that can be associated with the offer subscription.
- Max
Webhooks intPer Domain - The maximum number of webhooks that can be associated with the offer subscription per domain.
- Offer
Name string - The name of the offer associated with the subscription (e.g.,
scale
). - Project
Id string - Region string
- Sla float64
- The Service Level Agreement (SLA) percentage of the offer subscription.
- Subscribed
At string - The date and time of the subscription.
- String
- The date and time when cancellation becomes available for the subscription.
- id String
- The provider-assigned unique ID for this managed resource.
- included
Monthly IntegerEmails - The number of emails included in the offer subscription per month.
- max
Custom IntegerBlocklists Per Domain - The maximum number of custom blocklists that can be associated with the offer subscription per domain.
- max
Dedicated IntegerIps - The maximum number of dedicated IPs that can be associated with the offer subscription.
- max
Domains Integer - The maximum number of domains that can be associated with the offer subscription.
- max
Webhooks IntegerPer Domain - The maximum number of webhooks that can be associated with the offer subscription per domain.
- offer
Name String - The name of the offer associated with the subscription (e.g.,
scale
). - project
Id String - region String
- sla Double
- The Service Level Agreement (SLA) percentage of the offer subscription.
- subscribed
At String - The date and time of the subscription.
- string
- The date and time when cancellation becomes available for the subscription.
- id string
- The provider-assigned unique ID for this managed resource.
- included
Monthly numberEmails - The number of emails included in the offer subscription per month.
- max
Custom numberBlocklists Per Domain - The maximum number of custom blocklists that can be associated with the offer subscription per domain.
- max
Dedicated numberIps - The maximum number of dedicated IPs that can be associated with the offer subscription.
- max
Domains number - The maximum number of domains that can be associated with the offer subscription.
- max
Webhooks numberPer Domain - The maximum number of webhooks that can be associated with the offer subscription per domain.
- offer
Name string - The name of the offer associated with the subscription (e.g.,
scale
). - project
Id string - region string
- sla number
- The Service Level Agreement (SLA) percentage of the offer subscription.
- subscribed
At string - The date and time of the subscription.
- cancellation_
available_ strat - The date and time when cancellation becomes available for the subscription.
- id str
- The provider-assigned unique ID for this managed resource.
- included_
monthly_ intemails - The number of emails included in the offer subscription per month.
- max_
custom_ intblocklists_ per_ domain - The maximum number of custom blocklists that can be associated with the offer subscription per domain.
- max_
dedicated_ intips - The maximum number of dedicated IPs that can be associated with the offer subscription.
- max_
domains int - The maximum number of domains that can be associated with the offer subscription.
- max_
webhooks_ intper_ domain - The maximum number of webhooks that can be associated with the offer subscription per domain.
- offer_
name str - The name of the offer associated with the subscription (e.g.,
scale
). - project_
id str - region str
- sla float
- The Service Level Agreement (SLA) percentage of the offer subscription.
- subscribed_
at str - The date and time of the subscription.
- String
- The date and time when cancellation becomes available for the subscription.
- id String
- The provider-assigned unique ID for this managed resource.
- included
Monthly NumberEmails - The number of emails included in the offer subscription per month.
- max
Custom NumberBlocklists Per Domain - The maximum number of custom blocklists that can be associated with the offer subscription per domain.
- max
Dedicated NumberIps - The maximum number of dedicated IPs that can be associated with the offer subscription.
- max
Domains Number - The maximum number of domains that can be associated with the offer subscription.
- max
Webhooks NumberPer Domain - The maximum number of webhooks that can be associated with the offer subscription per domain.
- offer
Name String - The name of the offer associated with the subscription (e.g.,
scale
). - project
Id String - region String
- sla Number
- The Service Level Agreement (SLA) percentage of the offer subscription.
- subscribed
At String - The date and time of the subscription.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.