azure-native.saas.SaasSubscriptionLevel
Explore with Pulumi AI
SaaS REST API resource definition.
Uses Azure REST API version 2018-03-01-beta. In version 1.x of the Azure Native provider, it used API version 2018-03-01-beta.
Example Usage
Create subscription level SaaS resource
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var saasSubscriptionLevel = new AzureNative.SaaS.SaasSubscriptionLevel("saasSubscriptionLevel", new()
    {
        Location = "global",
        Name = "MyContosoSubscription",
        Properties = new AzureNative.SaaS.Inputs.SaasCreationPropertiesArgs
        {
            OfferId = "contosoOffer",
            PaymentChannelMetadata = 
            {
                { "AzureSubscriptionId", "155af98a-3205-47e7-883b-a2ab9db9f88d" },
            },
            PaymentChannelType = AzureNative.SaaS.PaymentChannelType.SubscriptionDelegated,
            PublisherId = "microsoft-contoso",
            SaasResourceName = "MyContosoSubscription",
            SkuId = "free",
            TermId = "hjdtn7tfnxcy",
        },
        ResourceGroupName = "my-saas-rg",
        ResourceName = "MyContosoSubscription",
    });
});
package main
import (
	saas "github.com/pulumi/pulumi-azure-native-sdk/saas/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := saas.NewSaasSubscriptionLevel(ctx, "saasSubscriptionLevel", &saas.SaasSubscriptionLevelArgs{
			Location: pulumi.String("global"),
			Name:     pulumi.String("MyContosoSubscription"),
			Properties: &saas.SaasCreationPropertiesArgs{
				OfferId: pulumi.String("contosoOffer"),
				PaymentChannelMetadata: pulumi.StringMap{
					"AzureSubscriptionId": pulumi.String("155af98a-3205-47e7-883b-a2ab9db9f88d"),
				},
				PaymentChannelType: pulumi.String(saas.PaymentChannelTypeSubscriptionDelegated),
				PublisherId:        pulumi.String("microsoft-contoso"),
				SaasResourceName:   pulumi.String("MyContosoSubscription"),
				SkuId:              pulumi.String("free"),
				TermId:             pulumi.String("hjdtn7tfnxcy"),
			},
			ResourceGroupName: pulumi.String("my-saas-rg"),
			ResourceName:      pulumi.String("MyContosoSubscription"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.saas.SaasSubscriptionLevel;
import com.pulumi.azurenative.saas.SaasSubscriptionLevelArgs;
import com.pulumi.azurenative.saas.inputs.SaasCreationPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var saasSubscriptionLevel = new SaasSubscriptionLevel("saasSubscriptionLevel", SaasSubscriptionLevelArgs.builder()
            .location("global")
            .name("MyContosoSubscription")
            .properties(SaasCreationPropertiesArgs.builder()
                .offerId("contosoOffer")
                .paymentChannelMetadata(Map.of("AzureSubscriptionId", "155af98a-3205-47e7-883b-a2ab9db9f88d"))
                .paymentChannelType("SubscriptionDelegated")
                .publisherId("microsoft-contoso")
                .saasResourceName("MyContosoSubscription")
                .skuId("free")
                .termId("hjdtn7tfnxcy")
                .build())
            .resourceGroupName("my-saas-rg")
            .resourceName("MyContosoSubscription")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const saasSubscriptionLevel = new azure_native.saas.SaasSubscriptionLevel("saasSubscriptionLevel", {
    location: "global",
    name: "MyContosoSubscription",
    properties: {
        offerId: "contosoOffer",
        paymentChannelMetadata: {
            AzureSubscriptionId: "155af98a-3205-47e7-883b-a2ab9db9f88d",
        },
        paymentChannelType: azure_native.saas.PaymentChannelType.SubscriptionDelegated,
        publisherId: "microsoft-contoso",
        saasResourceName: "MyContosoSubscription",
        skuId: "free",
        termId: "hjdtn7tfnxcy",
    },
    resourceGroupName: "my-saas-rg",
    resourceName: "MyContosoSubscription",
});
import pulumi
import pulumi_azure_native as azure_native
saas_subscription_level = azure_native.saas.SaasSubscriptionLevel("saasSubscriptionLevel",
    location="global",
    name="MyContosoSubscription",
    properties={
        "offer_id": "contosoOffer",
        "payment_channel_metadata": {
            "AzureSubscriptionId": "155af98a-3205-47e7-883b-a2ab9db9f88d",
        },
        "payment_channel_type": azure_native.saas.PaymentChannelType.SUBSCRIPTION_DELEGATED,
        "publisher_id": "microsoft-contoso",
        "saas_resource_name": "MyContosoSubscription",
        "sku_id": "free",
        "term_id": "hjdtn7tfnxcy",
    },
    resource_group_name="my-saas-rg",
    resource_name_="MyContosoSubscription")
resources:
  saasSubscriptionLevel:
    type: azure-native:saas:SaasSubscriptionLevel
    properties:
      location: global
      name: MyContosoSubscription
      properties:
        offerId: contosoOffer
        paymentChannelMetadata:
          AzureSubscriptionId: 155af98a-3205-47e7-883b-a2ab9db9f88d
        paymentChannelType: SubscriptionDelegated
        publisherId: microsoft-contoso
        saasResourceName: MyContosoSubscription
        skuId: free
        termId: hjdtn7tfnxcy
      resourceGroupName: my-saas-rg
      resourceName: MyContosoSubscription
Create SaasSubscriptionLevel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SaasSubscriptionLevel(name: string, args: SaasSubscriptionLevelArgs, opts?: CustomResourceOptions);@overload
def SaasSubscriptionLevel(resource_name: str,
                          args: SaasSubscriptionLevelArgs,
                          opts: Optional[ResourceOptions] = None)
@overload
def SaasSubscriptionLevel(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          resource_group_name: Optional[str] = None,
                          location: Optional[str] = None,
                          name: Optional[str] = None,
                          properties: Optional[SaasCreationPropertiesArgs] = None,
                          resource_name_: Optional[str] = None,
                          tags: Optional[Mapping[str, str]] = None)func NewSaasSubscriptionLevel(ctx *Context, name string, args SaasSubscriptionLevelArgs, opts ...ResourceOption) (*SaasSubscriptionLevel, error)public SaasSubscriptionLevel(string name, SaasSubscriptionLevelArgs args, CustomResourceOptions? opts = null)
public SaasSubscriptionLevel(String name, SaasSubscriptionLevelArgs args)
public SaasSubscriptionLevel(String name, SaasSubscriptionLevelArgs args, CustomResourceOptions options)
type: azure-native:saas:SaasSubscriptionLevel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SaasSubscriptionLevelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SaasSubscriptionLevelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SaasSubscriptionLevelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SaasSubscriptionLevelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SaasSubscriptionLevelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var saasSubscriptionLevelResource = new AzureNative.SaaS.SaasSubscriptionLevel("saasSubscriptionLevelResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Name = "string",
    Properties = new AzureNative.SaaS.Inputs.SaasCreationPropertiesArgs
    {
        AutoRenew = false,
        OfferId = "string",
        PaymentChannelMetadata = 
        {
            { "string", "string" },
        },
        PaymentChannelType = "string",
        PublisherId = "string",
        PublisherTestEnvironment = "string",
        Quantity = 0,
        SaasResourceName = "string",
        SaasSessionId = "string",
        SaasSubscriptionId = "string",
        SkuId = "string",
        TermId = "string",
    },
    ResourceName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := saas.NewSaasSubscriptionLevel(ctx, "saasSubscriptionLevelResource", &saas.SaasSubscriptionLevelArgs{
	ResourceGroupName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Name:              pulumi.String("string"),
	Properties: &saas.SaasCreationPropertiesArgs{
		AutoRenew: pulumi.Bool(false),
		OfferId:   pulumi.String("string"),
		PaymentChannelMetadata: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		PaymentChannelType:       pulumi.String("string"),
		PublisherId:              pulumi.String("string"),
		PublisherTestEnvironment: pulumi.String("string"),
		Quantity:                 pulumi.Float64(0),
		SaasResourceName:         pulumi.String("string"),
		SaasSessionId:            pulumi.String("string"),
		SaasSubscriptionId:       pulumi.String("string"),
		SkuId:                    pulumi.String("string"),
		TermId:                   pulumi.String("string"),
	},
	ResourceName: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var saasSubscriptionLevelResource = new SaasSubscriptionLevel("saasSubscriptionLevelResource", SaasSubscriptionLevelArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .name("string")
    .properties(SaasCreationPropertiesArgs.builder()
        .autoRenew(false)
        .offerId("string")
        .paymentChannelMetadata(Map.of("string", "string"))
        .paymentChannelType("string")
        .publisherId("string")
        .publisherTestEnvironment("string")
        .quantity(0)
        .saasResourceName("string")
        .saasSessionId("string")
        .saasSubscriptionId("string")
        .skuId("string")
        .termId("string")
        .build())
    .resourceName("string")
    .tags(Map.of("string", "string"))
    .build());
saas_subscription_level_resource = azure_native.saas.SaasSubscriptionLevel("saasSubscriptionLevelResource",
    resource_group_name="string",
    location="string",
    name="string",
    properties={
        "auto_renew": False,
        "offer_id": "string",
        "payment_channel_metadata": {
            "string": "string",
        },
        "payment_channel_type": "string",
        "publisher_id": "string",
        "publisher_test_environment": "string",
        "quantity": 0,
        "saas_resource_name": "string",
        "saas_session_id": "string",
        "saas_subscription_id": "string",
        "sku_id": "string",
        "term_id": "string",
    },
    resource_name_="string",
    tags={
        "string": "string",
    })
const saasSubscriptionLevelResource = new azure_native.saas.SaasSubscriptionLevel("saasSubscriptionLevelResource", {
    resourceGroupName: "string",
    location: "string",
    name: "string",
    properties: {
        autoRenew: false,
        offerId: "string",
        paymentChannelMetadata: {
            string: "string",
        },
        paymentChannelType: "string",
        publisherId: "string",
        publisherTestEnvironment: "string",
        quantity: 0,
        saasResourceName: "string",
        saasSessionId: "string",
        saasSubscriptionId: "string",
        skuId: "string",
        termId: "string",
    },
    resourceName: "string",
    tags: {
        string: "string",
    },
});
type: azure-native:saas:SaasSubscriptionLevel
properties:
    location: string
    name: string
    properties:
        autoRenew: false
        offerId: string
        paymentChannelMetadata:
            string: string
        paymentChannelType: string
        publisherId: string
        publisherTestEnvironment: string
        quantity: 0
        saasResourceName: string
        saasSessionId: string
        saasSubscriptionId: string
        skuId: string
        termId: string
    resourceGroupName: string
    resourceName: string
    tags:
        string: string
SaasSubscriptionLevel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SaasSubscriptionLevel resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group.
- Location string
- Resource location. Only value allowed for SaaS is 'global'
- Name string
- The resource name
- Properties
Pulumi.Azure Native. Saa S. Inputs. Saas Creation Properties 
- Properties of the SaaS resource that are relevant for creation.
- ResourceName string
- The name of the resource.
- Dictionary<string, string>
- the resource tags.
- ResourceGroup stringName 
- The name of the resource group.
- Location string
- Resource location. Only value allowed for SaaS is 'global'
- Name string
- The resource name
- Properties
SaasCreation Properties Args 
- Properties of the SaaS resource that are relevant for creation.
- ResourceName string
- The name of the resource.
- map[string]string
- the resource tags.
- resourceGroup StringName 
- The name of the resource group.
- location String
- Resource location. Only value allowed for SaaS is 'global'
- name String
- The resource name
- properties
SaasCreation Properties 
- Properties of the SaaS resource that are relevant for creation.
- resourceName String
- The name of the resource.
- Map<String,String>
- the resource tags.
- resourceGroup stringName 
- The name of the resource group.
- location string
- Resource location. Only value allowed for SaaS is 'global'
- name string
- The resource name
- properties
SaasCreation Properties 
- Properties of the SaaS resource that are relevant for creation.
- resourceName string
- The name of the resource.
- {[key: string]: string}
- the resource tags.
- resource_group_ strname 
- The name of the resource group.
- location str
- Resource location. Only value allowed for SaaS is 'global'
- name str
- The resource name
- properties
SaasCreation Properties Args 
- Properties of the SaaS resource that are relevant for creation.
- resource_name str
- The name of the resource.
- Mapping[str, str]
- the resource tags.
- resourceGroup StringName 
- The name of the resource group.
- location String
- Resource location. Only value allowed for SaaS is 'global'
- name String
- The resource name
- properties Property Map
- Properties of the SaaS resource that are relevant for creation.
- resourceName String
- The name of the resource.
- Map<String>
- the resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the SaasSubscriptionLevel resource produces the following output properties:
Supporting Types
PaymentChannelType, PaymentChannelTypeArgs      
- SubscriptionDelegated 
- SubscriptionDelegated
- CustomerDelegated 
- CustomerDelegated
- PaymentChannel Type Subscription Delegated 
- SubscriptionDelegated
- PaymentChannel Type Customer Delegated 
- CustomerDelegated
- SubscriptionDelegated 
- SubscriptionDelegated
- CustomerDelegated 
- CustomerDelegated
- SubscriptionDelegated 
- SubscriptionDelegated
- CustomerDelegated 
- CustomerDelegated
- SUBSCRIPTION_DELEGATED
- SubscriptionDelegated
- CUSTOMER_DELEGATED
- CustomerDelegated
- "SubscriptionDelegated" 
- SubscriptionDelegated
- "CustomerDelegated" 
- CustomerDelegated
SaasCreationProperties, SaasCreationPropertiesArgs      
- AutoRenew bool
- Whether the SaaS subscription will auto renew upon term end.
- OfferId string
- The offer id.
- PaymentChannel Dictionary<string, string>Metadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- PaymentChannel string | Pulumi.Type Azure Native. Saa S. Payment Channel Type 
- The Payment channel for the SaasSubscription.
- PublisherId string
- The publisher id.
- PublisherTest stringEnvironment 
- The environment in the publisher side for this resource.
- Quantity double
- The seat count.
- SaasResource stringName 
- The SaaS resource name.
- SaasSession stringId 
- The saas session id used for dev service migration request.
- SaasSubscription stringId 
- The saas subscription id used for tenant to subscription level migration request.
- SkuId string
- The plan id.
- TermId string
- The current Term id.
- AutoRenew bool
- Whether the SaaS subscription will auto renew upon term end.
- OfferId string
- The offer id.
- PaymentChannel map[string]stringMetadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- PaymentChannel string | PaymentType Channel Type 
- The Payment channel for the SaasSubscription.
- PublisherId string
- The publisher id.
- PublisherTest stringEnvironment 
- The environment in the publisher side for this resource.
- Quantity float64
- The seat count.
- SaasResource stringName 
- The SaaS resource name.
- SaasSession stringId 
- The saas session id used for dev service migration request.
- SaasSubscription stringId 
- The saas subscription id used for tenant to subscription level migration request.
- SkuId string
- The plan id.
- TermId string
- The current Term id.
- autoRenew Boolean
- Whether the SaaS subscription will auto renew upon term end.
- offerId String
- The offer id.
- paymentChannel Map<String,String>Metadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- paymentChannel String | PaymentType Channel Type 
- The Payment channel for the SaasSubscription.
- publisherId String
- The publisher id.
- publisherTest StringEnvironment 
- The environment in the publisher side for this resource.
- quantity Double
- The seat count.
- saasResource StringName 
- The SaaS resource name.
- saasSession StringId 
- The saas session id used for dev service migration request.
- saasSubscription StringId 
- The saas subscription id used for tenant to subscription level migration request.
- skuId String
- The plan id.
- termId String
- The current Term id.
- autoRenew boolean
- Whether the SaaS subscription will auto renew upon term end.
- offerId string
- The offer id.
- paymentChannel {[key: string]: string}Metadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- paymentChannel string | PaymentType Channel Type 
- The Payment channel for the SaasSubscription.
- publisherId string
- The publisher id.
- publisherTest stringEnvironment 
- The environment in the publisher side for this resource.
- quantity number
- The seat count.
- saasResource stringName 
- The SaaS resource name.
- saasSession stringId 
- The saas session id used for dev service migration request.
- saasSubscription stringId 
- The saas subscription id used for tenant to subscription level migration request.
- skuId string
- The plan id.
- termId string
- The current Term id.
- auto_renew bool
- Whether the SaaS subscription will auto renew upon term end.
- offer_id str
- The offer id.
- payment_channel_ Mapping[str, str]metadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- payment_channel_ str | Paymenttype Channel Type 
- The Payment channel for the SaasSubscription.
- publisher_id str
- The publisher id.
- publisher_test_ strenvironment 
- The environment in the publisher side for this resource.
- quantity float
- The seat count.
- saas_resource_ strname 
- The SaaS resource name.
- saas_session_ strid 
- The saas session id used for dev service migration request.
- saas_subscription_ strid 
- The saas subscription id used for tenant to subscription level migration request.
- sku_id str
- The plan id.
- term_id str
- The current Term id.
- autoRenew Boolean
- Whether the SaaS subscription will auto renew upon term end.
- offerId String
- The offer id.
- paymentChannel Map<String>Metadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- paymentChannel String | "SubscriptionType Delegated" | "Customer Delegated" 
- The Payment channel for the SaasSubscription.
- publisherId String
- The publisher id.
- publisherTest StringEnvironment 
- The environment in the publisher side for this resource.
- quantity Number
- The seat count.
- saasResource StringName 
- The SaaS resource name.
- saasSession StringId 
- The saas session id used for dev service migration request.
- saasSubscription StringId 
- The saas subscription id used for tenant to subscription level migration request.
- skuId String
- The plan id.
- termId String
- The current Term id.
SaasPropertiesResponseTerm, SaasPropertiesResponseTermArgs        
- end_date str
- The end date of the current term
- start_date str
- The start date of the current term
- term_unit str
- The unit indicating Monthly / Yearly
SaasResourceResponseProperties, SaasResourceResponsePropertiesArgs        
- Created string
- The created date of this resource.
- AutoRenew bool
- Whether the SaaS subscription will auto renew upon term end.
- IsFree boolTrial 
- Whether the current term is a Free Trial term
- LastModified string
- The last modifier date if this resource.
- OfferId string
- The offer id.
- PaymentChannel Dictionary<string, string>Metadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- PaymentChannel stringType 
- The Payment channel for the SaasSubscription.
- PublisherId string
- The publisher id.
- PublisherTest stringEnvironment 
- The environment in the publisher side for this resource.
- Quantity double
- The seat count.
- SaasResource stringName 
- The SaaS resource name.
- SaasSession stringId 
- The saas session id used for dev service migration request.
- SaasSubscription stringId 
- The saas subscription id used for tenant to subscription level migration request.
- SkuId string
- The plan id.
- Status string
- The SaaS Subscription Status.
- Term
Pulumi.Azure Native. Saa S. Inputs. Saas Properties Response Term 
- The current Term object.
- TermId string
- The current Term id.
- Created string
- The created date of this resource.
- AutoRenew bool
- Whether the SaaS subscription will auto renew upon term end.
- IsFree boolTrial 
- Whether the current term is a Free Trial term
- LastModified string
- The last modifier date if this resource.
- OfferId string
- The offer id.
- PaymentChannel map[string]stringMetadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- PaymentChannel stringType 
- The Payment channel for the SaasSubscription.
- PublisherId string
- The publisher id.
- PublisherTest stringEnvironment 
- The environment in the publisher side for this resource.
- Quantity float64
- The seat count.
- SaasResource stringName 
- The SaaS resource name.
- SaasSession stringId 
- The saas session id used for dev service migration request.
- SaasSubscription stringId 
- The saas subscription id used for tenant to subscription level migration request.
- SkuId string
- The plan id.
- Status string
- The SaaS Subscription Status.
- Term
SaasProperties Response Term 
- The current Term object.
- TermId string
- The current Term id.
- created String
- The created date of this resource.
- autoRenew Boolean
- Whether the SaaS subscription will auto renew upon term end.
- isFree BooleanTrial 
- Whether the current term is a Free Trial term
- lastModified String
- The last modifier date if this resource.
- offerId String
- The offer id.
- paymentChannel Map<String,String>Metadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- paymentChannel StringType 
- The Payment channel for the SaasSubscription.
- publisherId String
- The publisher id.
- publisherTest StringEnvironment 
- The environment in the publisher side for this resource.
- quantity Double
- The seat count.
- saasResource StringName 
- The SaaS resource name.
- saasSession StringId 
- The saas session id used for dev service migration request.
- saasSubscription StringId 
- The saas subscription id used for tenant to subscription level migration request.
- skuId String
- The plan id.
- status String
- The SaaS Subscription Status.
- term
SaasProperties Response Term 
- The current Term object.
- termId String
- The current Term id.
- created string
- The created date of this resource.
- autoRenew boolean
- Whether the SaaS subscription will auto renew upon term end.
- isFree booleanTrial 
- Whether the current term is a Free Trial term
- lastModified string
- The last modifier date if this resource.
- offerId string
- The offer id.
- paymentChannel {[key: string]: string}Metadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- paymentChannel stringType 
- The Payment channel for the SaasSubscription.
- publisherId string
- The publisher id.
- publisherTest stringEnvironment 
- The environment in the publisher side for this resource.
- quantity number
- The seat count.
- saasResource stringName 
- The SaaS resource name.
- saasSession stringId 
- The saas session id used for dev service migration request.
- saasSubscription stringId 
- The saas subscription id used for tenant to subscription level migration request.
- skuId string
- The plan id.
- status string
- The SaaS Subscription Status.
- term
SaasProperties Response Term 
- The current Term object.
- termId string
- The current Term id.
- created str
- The created date of this resource.
- auto_renew bool
- Whether the SaaS subscription will auto renew upon term end.
- is_free_ booltrial 
- Whether the current term is a Free Trial term
- last_modified str
- The last modifier date if this resource.
- offer_id str
- The offer id.
- payment_channel_ Mapping[str, str]metadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- payment_channel_ strtype 
- The Payment channel for the SaasSubscription.
- publisher_id str
- The publisher id.
- publisher_test_ strenvironment 
- The environment in the publisher side for this resource.
- quantity float
- The seat count.
- saas_resource_ strname 
- The SaaS resource name.
- saas_session_ strid 
- The saas session id used for dev service migration request.
- saas_subscription_ strid 
- The saas subscription id used for tenant to subscription level migration request.
- sku_id str
- The plan id.
- status str
- The SaaS Subscription Status.
- term
SaasProperties Response Term 
- The current Term object.
- term_id str
- The current Term id.
- created String
- The created date of this resource.
- autoRenew Boolean
- Whether the SaaS subscription will auto renew upon term end.
- isFree BooleanTrial 
- Whether the current term is a Free Trial term
- lastModified String
- The last modifier date if this resource.
- offerId String
- The offer id.
- paymentChannel Map<String>Metadata 
- The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- paymentChannel StringType 
- The Payment channel for the SaasSubscription.
- publisherId String
- The publisher id.
- publisherTest StringEnvironment 
- The environment in the publisher side for this resource.
- quantity Number
- The seat count.
- saasResource StringName 
- The SaaS resource name.
- saasSession StringId 
- The saas session id used for dev service migration request.
- saasSubscription StringId 
- The saas subscription id used for tenant to subscription level migration request.
- skuId String
- The plan id.
- status String
- The SaaS Subscription Status.
- term Property Map
- The current Term object.
- termId String
- The current Term id.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:saas:SaasSubscriptionLevel MyContosoSubscription /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SaaS/resources/{resourceName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0