1. Packages
  2. Scaleway
  3. API Docs
  4. tem
  5. getOfferSubscription
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.tem.getOfferSubscription

Explore with Pulumi AI

Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

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({});
Copy
import pulumi
import pulumi_scaleway as scaleway

# Retrieve offer subscription information
test = scaleway.tem.get_offer_subscription()
Copy
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
	})
}
Copy
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();

});
Copy
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();

    }
}
Copy
variables:
  # Retrieve offer subscription information
  test:
    fn::invoke:
      function: scaleway:tem:getOfferSubscription
      arguments: {}
Copy

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>
Copy
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]
Copy
func GetOfferSubscription(ctx *Context, args *GetOfferSubscriptionArgs, opts ...InvokeOption) (*GetOfferSubscriptionResult, error)
func GetOfferSubscriptionOutput(ctx *Context, args *GetOfferSubscriptionOutputArgs, opts ...InvokeOption) GetOfferSubscriptionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetOfferSubscriptionResult> getOfferSubscription(GetOfferSubscriptionArgs args, InvokeOptions options)
public static Output<GetOfferSubscriptionResult> getOfferSubscription(GetOfferSubscriptionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: scaleway:tem/getOfferSubscription:getOfferSubscription
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the project the offer subscription is associated with.
Region Changes to this property will trigger replacement. string
region) The region where the offer subscription exists.
ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the project the offer subscription is associated with.
Region Changes to this property will trigger replacement. string
region) The region where the offer subscription exists.
projectId Changes to this property will trigger replacement. String
project_id) The ID of the project the offer subscription is associated with.
region Changes to this property will trigger replacement. String
region) The region where the offer subscription exists.
projectId Changes to this property will trigger replacement. string
project_id) The ID of the project the offer subscription is associated with.
region Changes to this property will trigger replacement. string
region) The region where the offer subscription exists.
project_id Changes to this property will trigger replacement. str
project_id) The ID of the project the offer subscription is associated with.
region Changes to this property will trigger replacement. str
region) The region where the offer subscription exists.
projectId Changes to this property will trigger replacement. String
project_id) The ID of the project the offer subscription is associated with.
region Changes to this property will trigger replacement. String
region) The region where the offer subscription exists.

getOfferSubscription Result

The following output properties are available:

CancellationAvailableAt string
The date and time when cancellation becomes available for the subscription.
Id string
The provider-assigned unique ID for this managed resource.
IncludedMonthlyEmails int
The number of emails included in the offer subscription per month.
MaxCustomBlocklistsPerDomain int
The maximum number of custom blocklists that can be associated with the offer subscription per domain.
MaxDedicatedIps int
The maximum number of dedicated IPs that can be associated with the offer subscription.
MaxDomains int
The maximum number of domains that can be associated with the offer subscription.
MaxWebhooksPerDomain int
The maximum number of webhooks that can be associated with the offer subscription per domain.
OfferName string
The name of the offer associated with the subscription (e.g., scale).
ProjectId string
Region string
Sla double
The Service Level Agreement (SLA) percentage of the offer subscription.
SubscribedAt string
The date and time of the subscription.
CancellationAvailableAt string
The date and time when cancellation becomes available for the subscription.
Id string
The provider-assigned unique ID for this managed resource.
IncludedMonthlyEmails int
The number of emails included in the offer subscription per month.
MaxCustomBlocklistsPerDomain int
The maximum number of custom blocklists that can be associated with the offer subscription per domain.
MaxDedicatedIps int
The maximum number of dedicated IPs that can be associated with the offer subscription.
MaxDomains int
The maximum number of domains that can be associated with the offer subscription.
MaxWebhooksPerDomain int
The maximum number of webhooks that can be associated with the offer subscription per domain.
OfferName string
The name of the offer associated with the subscription (e.g., scale).
ProjectId string
Region string
Sla float64
The Service Level Agreement (SLA) percentage of the offer subscription.
SubscribedAt string
The date and time of the subscription.
cancellationAvailableAt String
The date and time when cancellation becomes available for the subscription.
id String
The provider-assigned unique ID for this managed resource.
includedMonthlyEmails Integer
The number of emails included in the offer subscription per month.
maxCustomBlocklistsPerDomain Integer
The maximum number of custom blocklists that can be associated with the offer subscription per domain.
maxDedicatedIps Integer
The maximum number of dedicated IPs that can be associated with the offer subscription.
maxDomains Integer
The maximum number of domains that can be associated with the offer subscription.
maxWebhooksPerDomain Integer
The maximum number of webhooks that can be associated with the offer subscription per domain.
offerName String
The name of the offer associated with the subscription (e.g., scale).
projectId String
region String
sla Double
The Service Level Agreement (SLA) percentage of the offer subscription.
subscribedAt String
The date and time of the subscription.
cancellationAvailableAt string
The date and time when cancellation becomes available for the subscription.
id string
The provider-assigned unique ID for this managed resource.
includedMonthlyEmails number
The number of emails included in the offer subscription per month.
maxCustomBlocklistsPerDomain number
The maximum number of custom blocklists that can be associated with the offer subscription per domain.
maxDedicatedIps number
The maximum number of dedicated IPs that can be associated with the offer subscription.
maxDomains number
The maximum number of domains that can be associated with the offer subscription.
maxWebhooksPerDomain number
The maximum number of webhooks that can be associated with the offer subscription per domain.
offerName string
The name of the offer associated with the subscription (e.g., scale).
projectId string
region string
sla number
The Service Level Agreement (SLA) percentage of the offer subscription.
subscribedAt string
The date and time of the subscription.
cancellation_available_at str
The date and time when cancellation becomes available for the subscription.
id str
The provider-assigned unique ID for this managed resource.
included_monthly_emails int
The number of emails included in the offer subscription per month.
max_custom_blocklists_per_domain int
The maximum number of custom blocklists that can be associated with the offer subscription per domain.
max_dedicated_ips int
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_per_domain int
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.
cancellationAvailableAt String
The date and time when cancellation becomes available for the subscription.
id String
The provider-assigned unique ID for this managed resource.
includedMonthlyEmails Number
The number of emails included in the offer subscription per month.
maxCustomBlocklistsPerDomain Number
The maximum number of custom blocklists that can be associated with the offer subscription per domain.
maxDedicatedIps Number
The maximum number of dedicated IPs that can be associated with the offer subscription.
maxDomains Number
The maximum number of domains that can be associated with the offer subscription.
maxWebhooksPerDomain Number
The maximum number of webhooks that can be associated with the offer subscription per domain.
offerName String
The name of the offer associated with the subscription (e.g., scale).
projectId String
region String
sla Number
The Service Level Agreement (SLA) percentage of the offer subscription.
subscribedAt 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.
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse