Saas Subscription Level Args
    data class SaasSubscriptionLevelArgs(val location: Output<String>? = null, val name: Output<String>? = null, val properties: Output<SaasCreationPropertiesArgs>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<SaasSubscriptionLevelArgs> 
SaaS REST API resource definition. Azure REST API version: 2018-03-01-beta. Prior API version in Azure Native 1.x: 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 = "SubscriptionDelegated",
            PublisherId = "microsoft-contoso",
            SaasResourceName = "MyContosoSubscription",
            SkuId = "free",
            TermId = "hjdtn7tfnxcy",
        },
        ResourceGroupName = "my-saas-rg",
        ResourceName = "MyContosoSubscription",
    });
});Content copied to clipboard
package main
import (
	"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("SubscriptionDelegated"),
				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
	})
}Content copied to clipboard
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 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(Map.ofEntries(
                Map.entry("offerId", "contosoOffer"),
                Map.entry("paymentChannelMetadata", Map.of("AzureSubscriptionId", "155af98a-3205-47e7-883b-a2ab9db9f88d")),
                Map.entry("paymentChannelType", "SubscriptionDelegated"),
                Map.entry("publisherId", "microsoft-contoso"),
                Map.entry("saasResourceName", "MyContosoSubscription"),
                Map.entry("skuId", "free"),
                Map.entry("termId", "hjdtn7tfnxcy")
            ))
            .resourceGroupName("my-saas-rg")
            .resourceName("MyContosoSubscription")
            .build());
    }
}Content copied to clipboard
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}Content copied to clipboard
Constructors
Link copied to clipboard
                fun SaasSubscriptionLevelArgs(location: Output<String>? = null, name: Output<String>? = null, properties: Output<SaasCreationPropertiesArgs>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null, tags: Output<Map<String, String>>? = null)