1. Packages
  2. Azure Native v2
  3. API Docs
  4. professionalservice
  5. ProfessionalServiceSubscriptionLevel
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native-v2.professionalservice.ProfessionalServiceSubscriptionLevel

Explore with Pulumi AI

ProfessionalService REST API resource definition. Azure REST API version: 2023-07-01-preview. Prior API version in Azure Native 1.x: 2023-07-01-preview.

Example Usage

Create subscription level ProfessionalService resource (indefinite term)

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var professionalServiceSubscriptionLevel = new AzureNative.ProfessionalService.ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevel", new()
    {
        Location = "global",
        Name = "MyContosoPS",
        Properties = new AzureNative.ProfessionalService.Inputs.ProfessionalServiceCreationPropertiesArgs
        {
            OfferId = "testprofservice",
            PublisherId = "microsoft-contoso",
            QuoteId = "quoteabc",
            SkuId = "ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc",
        },
        ResourceGroupName = "my-ps-rg",
        ResourceName = "MyContosoPS",
    });

});
Copy
package main

import (
	professionalservice "github.com/pulumi/pulumi-azure-native-sdk/professionalservice/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := professionalservice.NewProfessionalServiceSubscriptionLevel(ctx, "professionalServiceSubscriptionLevel", &professionalservice.ProfessionalServiceSubscriptionLevelArgs{
			Location: pulumi.String("global"),
			Name:     pulumi.String("MyContosoPS"),
			Properties: &professionalservice.ProfessionalServiceCreationPropertiesArgs{
				OfferId:     pulumi.String("testprofservice"),
				PublisherId: pulumi.String("microsoft-contoso"),
				QuoteId:     pulumi.String("quoteabc"),
				SkuId:       pulumi.String("ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc"),
			},
			ResourceGroupName: pulumi.String("my-ps-rg"),
			ResourceName:      pulumi.String("MyContosoPS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.professionalservice.ProfessionalServiceSubscriptionLevel;
import com.pulumi.azurenative.professionalservice.ProfessionalServiceSubscriptionLevelArgs;
import com.pulumi.azurenative.professionalservice.inputs.ProfessionalServiceCreationPropertiesArgs;
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 professionalServiceSubscriptionLevel = new ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevel", ProfessionalServiceSubscriptionLevelArgs.builder()
            .location("global")
            .name("MyContosoPS")
            .properties(ProfessionalServiceCreationPropertiesArgs.builder()
                .offerId("testprofservice")
                .publisherId("microsoft-contoso")
                .quoteId("quoteabc")
                .skuId("ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc")
                .build())
            .resourceGroupName("my-ps-rg")
            .resourceName("MyContosoPS")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const professionalServiceSubscriptionLevel = new azure_native.professionalservice.ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevel", {
    location: "global",
    name: "MyContosoPS",
    properties: {
        offerId: "testprofservice",
        publisherId: "microsoft-contoso",
        quoteId: "quoteabc",
        skuId: "ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc",
    },
    resourceGroupName: "my-ps-rg",
    resourceName: "MyContosoPS",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

professional_service_subscription_level = azure_native.professionalservice.ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevel",
    location="global",
    name="MyContosoPS",
    properties={
        "offer_id": "testprofservice",
        "publisher_id": "microsoft-contoso",
        "quote_id": "quoteabc",
        "sku_id": "ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc",
    },
    resource_group_name="my-ps-rg",
    resource_name_="MyContosoPS")
Copy
resources:
  professionalServiceSubscriptionLevel:
    type: azure-native:professionalservice:ProfessionalServiceSubscriptionLevel
    properties:
      location: global
      name: MyContosoPS
      properties:
        offerId: testprofservice
        publisherId: microsoft-contoso
        quoteId: quoteabc
        skuId: ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc
      resourceGroupName: my-ps-rg
      resourceName: MyContosoPS
Copy

Create subscription level ProfessionalService resource (with term)

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var professionalServiceSubscriptionLevel = new AzureNative.ProfessionalService.ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevel", new()
    {
        Location = "global",
        Name = "MyContosoPS",
        Properties = new AzureNative.ProfessionalService.Inputs.ProfessionalServiceCreationPropertiesArgs
        {
            BillingPeriod = "P1Y",
            OfferId = "testprofservice",
            PublisherId = "microsoft-contoso",
            QuoteId = "quoteabc",
            SkuId = "ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc",
            TermUnit = "P3Y",
        },
        ResourceGroupName = "my-ps-rg",
        ResourceName = "MyContosoPS",
    });

});
Copy
package main

import (
	professionalservice "github.com/pulumi/pulumi-azure-native-sdk/professionalservice/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := professionalservice.NewProfessionalServiceSubscriptionLevel(ctx, "professionalServiceSubscriptionLevel", &professionalservice.ProfessionalServiceSubscriptionLevelArgs{
			Location: pulumi.String("global"),
			Name:     pulumi.String("MyContosoPS"),
			Properties: &professionalservice.ProfessionalServiceCreationPropertiesArgs{
				BillingPeriod: pulumi.String("P1Y"),
				OfferId:       pulumi.String("testprofservice"),
				PublisherId:   pulumi.String("microsoft-contoso"),
				QuoteId:       pulumi.String("quoteabc"),
				SkuId:         pulumi.String("ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc"),
				TermUnit:      pulumi.String("P3Y"),
			},
			ResourceGroupName: pulumi.String("my-ps-rg"),
			ResourceName:      pulumi.String("MyContosoPS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.professionalservice.ProfessionalServiceSubscriptionLevel;
import com.pulumi.azurenative.professionalservice.ProfessionalServiceSubscriptionLevelArgs;
import com.pulumi.azurenative.professionalservice.inputs.ProfessionalServiceCreationPropertiesArgs;
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 professionalServiceSubscriptionLevel = new ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevel", ProfessionalServiceSubscriptionLevelArgs.builder()
            .location("global")
            .name("MyContosoPS")
            .properties(ProfessionalServiceCreationPropertiesArgs.builder()
                .billingPeriod("P1Y")
                .offerId("testprofservice")
                .publisherId("microsoft-contoso")
                .quoteId("quoteabc")
                .skuId("ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc")
                .termUnit("P3Y")
                .build())
            .resourceGroupName("my-ps-rg")
            .resourceName("MyContosoPS")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const professionalServiceSubscriptionLevel = new azure_native.professionalservice.ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevel", {
    location: "global",
    name: "MyContosoPS",
    properties: {
        billingPeriod: "P1Y",
        offerId: "testprofservice",
        publisherId: "microsoft-contoso",
        quoteId: "quoteabc",
        skuId: "ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc",
        termUnit: "P3Y",
    },
    resourceGroupName: "my-ps-rg",
    resourceName: "MyContosoPS",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

professional_service_subscription_level = azure_native.professionalservice.ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevel",
    location="global",
    name="MyContosoPS",
    properties={
        "billing_period": "P1Y",
        "offer_id": "testprofservice",
        "publisher_id": "microsoft-contoso",
        "quote_id": "quoteabc",
        "sku_id": "ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc",
        "term_unit": "P3Y",
    },
    resource_group_name="my-ps-rg",
    resource_name_="MyContosoPS")
Copy
resources:
  professionalServiceSubscriptionLevel:
    type: azure-native:professionalservice:ProfessionalServiceSubscriptionLevel
    properties:
      location: global
      name: MyContosoPS
      properties:
        billingPeriod: P1Y
        offerId: testprofservice
        publisherId: microsoft-contoso
        quoteId: quoteabc
        skuId: ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc
        termUnit: P3Y
      resourceGroupName: my-ps-rg
      resourceName: MyContosoPS
Copy

Create ProfessionalServiceSubscriptionLevel Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ProfessionalServiceSubscriptionLevel(name: string, args: ProfessionalServiceSubscriptionLevelArgs, opts?: CustomResourceOptions);
@overload
def ProfessionalServiceSubscriptionLevel(resource_name: str,
                                         args: ProfessionalServiceSubscriptionLevelArgs,
                                         opts: Optional[ResourceOptions] = None)

@overload
def ProfessionalServiceSubscriptionLevel(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         resource_group_name: Optional[str] = None,
                                         location: Optional[str] = None,
                                         name: Optional[str] = None,
                                         properties: Optional[ProfessionalServiceCreationPropertiesArgs] = None,
                                         resource_name_: Optional[str] = None,
                                         subscription_id: Optional[str] = None,
                                         tags: Optional[Mapping[str, str]] = None)
func NewProfessionalServiceSubscriptionLevel(ctx *Context, name string, args ProfessionalServiceSubscriptionLevelArgs, opts ...ResourceOption) (*ProfessionalServiceSubscriptionLevel, error)
public ProfessionalServiceSubscriptionLevel(string name, ProfessionalServiceSubscriptionLevelArgs args, CustomResourceOptions? opts = null)
public ProfessionalServiceSubscriptionLevel(String name, ProfessionalServiceSubscriptionLevelArgs args)
public ProfessionalServiceSubscriptionLevel(String name, ProfessionalServiceSubscriptionLevelArgs args, CustomResourceOptions options)
type: azure-native:professionalservice:ProfessionalServiceSubscriptionLevel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ProfessionalServiceSubscriptionLevelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ProfessionalServiceSubscriptionLevelArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ProfessionalServiceSubscriptionLevelArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ProfessionalServiceSubscriptionLevelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProfessionalServiceSubscriptionLevelArgs
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 professionalServiceSubscriptionLevelResource = new AzureNative.Professionalservice.ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevelResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Name = "string",
    Properties = 
    {
        { "autoRenew", false },
        { "billingPeriod", "string" },
        { "offerId", "string" },
        { "publisherId", "string" },
        { "quoteId", "string" },
        { "skuId", "string" },
        { "storeFront", "string" },
        { "termUnit", "string" },
    },
    ResourceName = "string",
    SubscriptionId = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := professionalservice.NewProfessionalServiceSubscriptionLevel(ctx, "professionalServiceSubscriptionLevelResource", &professionalservice.ProfessionalServiceSubscriptionLevelArgs{
	ResourceGroupName: "string",
	Location:          "string",
	Name:              "string",
	Properties: map[string]interface{}{
		"autoRenew":     false,
		"billingPeriod": "string",
		"offerId":       "string",
		"publisherId":   "string",
		"quoteId":       "string",
		"skuId":         "string",
		"storeFront":    "string",
		"termUnit":      "string",
	},
	ResourceName:   "string",
	SubscriptionId: "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var professionalServiceSubscriptionLevelResource = new ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevelResource", ProfessionalServiceSubscriptionLevelArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .name("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceName("string")
    .subscriptionId("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
professional_service_subscription_level_resource = azure_native.professionalservice.ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevelResource",
    resource_group_name=string,
    location=string,
    name=string,
    properties={
        autoRenew: False,
        billingPeriod: string,
        offerId: string,
        publisherId: string,
        quoteId: string,
        skuId: string,
        storeFront: string,
        termUnit: string,
    },
    resource_name_=string,
    subscription_id=string,
    tags={
        string: string,
    })
Copy
const professionalServiceSubscriptionLevelResource = new azure_native.professionalservice.ProfessionalServiceSubscriptionLevel("professionalServiceSubscriptionLevelResource", {
    resourceGroupName: "string",
    location: "string",
    name: "string",
    properties: {
        autoRenew: false,
        billingPeriod: "string",
        offerId: "string",
        publisherId: "string",
        quoteId: "string",
        skuId: "string",
        storeFront: "string",
        termUnit: "string",
    },
    resourceName: "string",
    subscriptionId: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:professionalservice:ProfessionalServiceSubscriptionLevel
properties:
    location: string
    name: string
    properties:
        autoRenew: false
        billingPeriod: string
        offerId: string
        publisherId: string
        quoteId: string
        skuId: string
        storeFront: string
        termUnit: string
    resourceGroupName: string
    resourceName: string
    subscriptionId: string
    tags:
        string: string
Copy

ProfessionalServiceSubscriptionLevel 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 ProfessionalServiceSubscriptionLevel resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Location string
Resource location. Only value allowed for ProfessionalService is 'global'
Name string
The resource name
Properties Pulumi.AzureNative.ProfessionalService.Inputs.ProfessionalServiceCreationProperties
Properties of the ProfessionalService resource that are relevant for creation.
ResourceName Changes to this property will trigger replacement. string
The name of the resource.
SubscriptionId Changes to this property will trigger replacement. string
The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
Tags Dictionary<string, string>
the resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Location string
Resource location. Only value allowed for ProfessionalService is 'global'
Name string
The resource name
Properties ProfessionalServiceCreationPropertiesArgs
Properties of the ProfessionalService resource that are relevant for creation.
ResourceName Changes to this property will trigger replacement. string
The name of the resource.
SubscriptionId Changes to this property will trigger replacement. string
The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
Tags map[string]string
the resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
location String
Resource location. Only value allowed for ProfessionalService is 'global'
name String
The resource name
properties ProfessionalServiceCreationProperties
Properties of the ProfessionalService resource that are relevant for creation.
resourceName Changes to this property will trigger replacement. String
The name of the resource.
subscriptionId Changes to this property will trigger replacement. String
The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
tags Map<String,String>
the resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
location string
Resource location. Only value allowed for ProfessionalService is 'global'
name string
The resource name
properties ProfessionalServiceCreationProperties
Properties of the ProfessionalService resource that are relevant for creation.
resourceName Changes to this property will trigger replacement. string
The name of the resource.
subscriptionId Changes to this property will trigger replacement. string
The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
tags {[key: string]: string}
the resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
location str
Resource location. Only value allowed for ProfessionalService is 'global'
name str
The resource name
properties ProfessionalServiceCreationPropertiesArgs
Properties of the ProfessionalService resource that are relevant for creation.
resource_name Changes to this property will trigger replacement. str
The name of the resource.
subscription_id Changes to this property will trigger replacement. str
The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
tags Mapping[str, str]
the resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
location String
Resource location. Only value allowed for ProfessionalService is 'global'
name String
The resource name
properties Property Map
Properties of the ProfessionalService resource that are relevant for creation.
resourceName Changes to this property will trigger replacement. String
The name of the resource.
subscriptionId Changes to this property will trigger replacement. String
The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
tags Map<String>
the resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the ProfessionalServiceSubscriptionLevel resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Type string
Resource type.
Id string
The provider-assigned unique ID for this managed resource.
Type string
Resource type.
id String
The provider-assigned unique ID for this managed resource.
type String
Resource type.
id string
The provider-assigned unique ID for this managed resource.
type string
Resource type.
id str
The provider-assigned unique ID for this managed resource.
type str
Resource type.
id String
The provider-assigned unique ID for this managed resource.
type String
Resource type.

Supporting Types

ProfessionalServiceCreationProperties
, ProfessionalServiceCreationPropertiesArgs

AutoRenew bool
Whether the ProfessionalService subscription will auto renew upon term end.
BillingPeriod string
The billing period eg P1M,P1Y for monthly,yearly respectively
OfferId string
The offer id.
PublisherId string
The publisher id.
QuoteId string
The quote id which the ProfessionalService will be purchase with.
SkuId string
The plan id.
StoreFront string
The store front which initiates the purchase.
TermUnit string
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
AutoRenew bool
Whether the ProfessionalService subscription will auto renew upon term end.
BillingPeriod string
The billing period eg P1M,P1Y for monthly,yearly respectively
OfferId string
The offer id.
PublisherId string
The publisher id.
QuoteId string
The quote id which the ProfessionalService will be purchase with.
SkuId string
The plan id.
StoreFront string
The store front which initiates the purchase.
TermUnit string
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
autoRenew Boolean
Whether the ProfessionalService subscription will auto renew upon term end.
billingPeriod String
The billing period eg P1M,P1Y for monthly,yearly respectively
offerId String
The offer id.
publisherId String
The publisher id.
quoteId String
The quote id which the ProfessionalService will be purchase with.
skuId String
The plan id.
storeFront String
The store front which initiates the purchase.
termUnit String
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
autoRenew boolean
Whether the ProfessionalService subscription will auto renew upon term end.
billingPeriod string
The billing period eg P1M,P1Y for monthly,yearly respectively
offerId string
The offer id.
publisherId string
The publisher id.
quoteId string
The quote id which the ProfessionalService will be purchase with.
skuId string
The plan id.
storeFront string
The store front which initiates the purchase.
termUnit string
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
auto_renew bool
Whether the ProfessionalService subscription will auto renew upon term end.
billing_period str
The billing period eg P1M,P1Y for monthly,yearly respectively
offer_id str
The offer id.
publisher_id str
The publisher id.
quote_id str
The quote id which the ProfessionalService will be purchase with.
sku_id str
The plan id.
store_front str
The store front which initiates the purchase.
term_unit str
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
autoRenew Boolean
Whether the ProfessionalService subscription will auto renew upon term end.
billingPeriod String
The billing period eg P1M,P1Y for monthly,yearly respectively
offerId String
The offer id.
publisherId String
The publisher id.
quoteId String
The quote id which the ProfessionalService will be purchase with.
skuId String
The plan id.
storeFront String
The store front which initiates the purchase.
termUnit String
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively

ProfessionalServicePropertiesResponseTerm
, ProfessionalServicePropertiesResponseTermArgs

EndDate string
The end date of the current term
StartDate string
The start date of the current term
TermUnit string
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
EndDate string
The end date of the current term
StartDate string
The start date of the current term
TermUnit string
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
endDate String
The end date of the current term
startDate String
The start date of the current term
termUnit String
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
endDate string
The end date of the current term
startDate string
The start date of the current term
termUnit string
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
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 term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
endDate String
The end date of the current term
startDate String
The start date of the current term
termUnit String
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively

ProfessionalServiceResourceResponseProperties
, ProfessionalServiceResourceResponsePropertiesArgs

Created This property is required. string
The created date of this resource.
AutoRenew bool
Whether the ProfessionalService subscription will auto renew upon term end.
BillingPeriod string
The billing period eg P1M,P1Y for monthly,yearly respectively
IsFreeTrial bool
Whether the current term is a Free Trial term
LastModified string
The last modifier date if this resource.
OfferId string
The offer id.
PaymentChannelMetadata Dictionary<string, string>
The metadata about the ProfessionalService subscription such as the AzureSubscriptionId and ResourceUri.
PaymentChannelType string
The Payment channel for the ProfessionalServiceSubscription.
PublisherId string
The publisher id.
QuoteId string
The quote id which the ProfessionalService will be purchase with.
SkuId string
The plan id.
Status string
The ProfessionalService Subscription Status.
StoreFront string
The store front which initiates the purchase.
Term Pulumi.AzureNative.ProfessionalService.Inputs.ProfessionalServicePropertiesResponseTerm
The current Term object.
TermUnit string
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
Created This property is required. string
The created date of this resource.
AutoRenew bool
Whether the ProfessionalService subscription will auto renew upon term end.
BillingPeriod string
The billing period eg P1M,P1Y for monthly,yearly respectively
IsFreeTrial bool
Whether the current term is a Free Trial term
LastModified string
The last modifier date if this resource.
OfferId string
The offer id.
PaymentChannelMetadata map[string]string
The metadata about the ProfessionalService subscription such as the AzureSubscriptionId and ResourceUri.
PaymentChannelType string
The Payment channel for the ProfessionalServiceSubscription.
PublisherId string
The publisher id.
QuoteId string
The quote id which the ProfessionalService will be purchase with.
SkuId string
The plan id.
Status string
The ProfessionalService Subscription Status.
StoreFront string
The store front which initiates the purchase.
Term ProfessionalServicePropertiesResponseTerm
The current Term object.
TermUnit string
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
created This property is required. String
The created date of this resource.
autoRenew Boolean
Whether the ProfessionalService subscription will auto renew upon term end.
billingPeriod String
The billing period eg P1M,P1Y for monthly,yearly respectively
isFreeTrial Boolean
Whether the current term is a Free Trial term
lastModified String
The last modifier date if this resource.
offerId String
The offer id.
paymentChannelMetadata Map<String,String>
The metadata about the ProfessionalService subscription such as the AzureSubscriptionId and ResourceUri.
paymentChannelType String
The Payment channel for the ProfessionalServiceSubscription.
publisherId String
The publisher id.
quoteId String
The quote id which the ProfessionalService will be purchase with.
skuId String
The plan id.
status String
The ProfessionalService Subscription Status.
storeFront String
The store front which initiates the purchase.
term ProfessionalServicePropertiesResponseTerm
The current Term object.
termUnit String
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
created This property is required. string
The created date of this resource.
autoRenew boolean
Whether the ProfessionalService subscription will auto renew upon term end.
billingPeriod string
The billing period eg P1M,P1Y for monthly,yearly respectively
isFreeTrial boolean
Whether the current term is a Free Trial term
lastModified string
The last modifier date if this resource.
offerId string
The offer id.
paymentChannelMetadata {[key: string]: string}
The metadata about the ProfessionalService subscription such as the AzureSubscriptionId and ResourceUri.
paymentChannelType string
The Payment channel for the ProfessionalServiceSubscription.
publisherId string
The publisher id.
quoteId string
The quote id which the ProfessionalService will be purchase with.
skuId string
The plan id.
status string
The ProfessionalService Subscription Status.
storeFront string
The store front which initiates the purchase.
term ProfessionalServicePropertiesResponseTerm
The current Term object.
termUnit string
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
created This property is required. str
The created date of this resource.
auto_renew bool
Whether the ProfessionalService subscription will auto renew upon term end.
billing_period str
The billing period eg P1M,P1Y for monthly,yearly respectively
is_free_trial bool
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_metadata Mapping[str, str]
The metadata about the ProfessionalService subscription such as the AzureSubscriptionId and ResourceUri.
payment_channel_type str
The Payment channel for the ProfessionalServiceSubscription.
publisher_id str
The publisher id.
quote_id str
The quote id which the ProfessionalService will be purchase with.
sku_id str
The plan id.
status str
The ProfessionalService Subscription Status.
store_front str
The store front which initiates the purchase.
term ProfessionalServicePropertiesResponseTerm
The current Term object.
term_unit str
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively
created This property is required. String
The created date of this resource.
autoRenew Boolean
Whether the ProfessionalService subscription will auto renew upon term end.
billingPeriod String
The billing period eg P1M,P1Y for monthly,yearly respectively
isFreeTrial Boolean
Whether the current term is a Free Trial term
lastModified String
The last modifier date if this resource.
offerId String
The offer id.
paymentChannelMetadata Map<String>
The metadata about the ProfessionalService subscription such as the AzureSubscriptionId and ResourceUri.
paymentChannelType String
The Payment channel for the ProfessionalServiceSubscription.
publisherId String
The publisher id.
quoteId String
The quote id which the ProfessionalService will be purchase with.
skuId String
The plan id.
status String
The ProfessionalService Subscription Status.
storeFront String
The store front which initiates the purchase.
term Property Map
The current Term object.
termUnit String
The unit term eg P1M,P1Y,P2Y,P3Y meaning month,1year,2year,3year respectively

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:professionalservice:ProfessionalServiceSubscriptionLevel MyContosoPS /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ProfessionalService/resources/{resourceName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0