azure-native-v2.saas.SaasSubscriptionLevel
Explore with Pulumi AI
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.
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
This property is required. string - The unique name of the resource.
- args
This property is required. SaasSubscriptionLevelArgs - 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. 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
This property is required. string - The unique name of the resource.
- args
This property is required. SaasSubscriptionLevelArgs - 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. SaasSubscriptionLevelArgs - 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. 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 =
{
{ "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: "string",
Location: "string",
Name: "string",
Properties: map[string]interface{}{
"autoRenew": false,
"offerId": "string",
"paymentChannelMetadata": map[string]interface{}{
"string": "string",
},
"paymentChannelType": "string",
"publisherId": "string",
"publisherTestEnvironment": "string",
"quantity": 0,
"saasResourceName": "string",
"saasSessionId": "string",
"saasSubscriptionId": "string",
"skuId": "string",
"termId": "string",
},
ResourceName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var saasSubscriptionLevelResource = new SaasSubscriptionLevel("saasSubscriptionLevelResource", SaasSubscriptionLevelArgs.builder()
.resourceGroupName("string")
.location("string")
.name("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
saas_subscription_level_resource = azure_native.saas.SaasSubscriptionLevel("saasSubscriptionLevelResource",
resource_group_name=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,
},
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:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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.
- Resource
Name Changes to this property will trigger replacement.
- The name of the resource.
- Dictionary<string, string>
- the resource tags.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Location string
- Resource location. Only value allowed for SaaS is 'global'
- Name string
- The resource name
- Properties
Saas
Creation Properties Args - Properties of the SaaS resource that are relevant for creation.
- Resource
Name Changes to this property will trigger replacement.
- The name of the resource.
- map[string]string
- the resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- location String
- Resource location. Only value allowed for SaaS is 'global'
- name String
- The resource name
- properties
Saas
Creation Properties - Properties of the SaaS resource that are relevant for creation.
- resource
Name Changes to this property will trigger replacement.
- The name of the resource.
- Map<String,String>
- the resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- location string
- Resource location. Only value allowed for SaaS is 'global'
- name string
- The resource name
- properties
Saas
Creation Properties - Properties of the SaaS resource that are relevant for creation.
- resource
Name Changes to this property will trigger replacement.
- The name of the resource.
- {[key: string]: string}
- the resource tags.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- location str
- Resource location. Only value allowed for SaaS is 'global'
- name str
- The resource name
- properties
Saas
Creation Properties Args - Properties of the SaaS resource that are relevant for creation.
- resource_
name Changes to this property will trigger replacement.
- The name of the resource.
- Mapping[str, str]
- the resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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.
- resource
Name Changes to this property will trigger replacement.
- 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
- Subscription
Delegated - SubscriptionDelegated
- Customer
Delegated - CustomerDelegated
- Payment
Channel Type Subscription Delegated - SubscriptionDelegated
- Payment
Channel Type Customer Delegated - CustomerDelegated
- Subscription
Delegated - SubscriptionDelegated
- Customer
Delegated - CustomerDelegated
- Subscription
Delegated - SubscriptionDelegated
- Customer
Delegated - CustomerDelegated
- SUBSCRIPTION_DELEGATED
- SubscriptionDelegated
- CUSTOMER_DELEGATED
- CustomerDelegated
- "Subscription
Delegated" - SubscriptionDelegated
- "Customer
Delegated" - CustomerDelegated
SaasCreationProperties, SaasCreationPropertiesArgs
- Auto
Renew bool - Whether the SaaS subscription will auto renew upon term end.
- Offer
Id string - The offer id.
- Payment
Channel Dictionary<string, string>Metadata - The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- Payment
Channel string | Pulumi.Type Azure Native. Saa S. Payment Channel Type - The Payment channel for the SaasSubscription.
- Publisher
Id string - The publisher id.
- Publisher
Test stringEnvironment - The environment in the publisher side for this resource.
- Quantity double
- The seat count.
- Saas
Resource stringName - The SaaS resource name.
- Saas
Session stringId - The saas session id used for dev service migration request.
- Saas
Subscription stringId - The saas subscription id used for tenant to subscription level migration request.
- Sku
Id string - The plan id.
- Term
Id string - The current Term id.
- Auto
Renew bool - Whether the SaaS subscription will auto renew upon term end.
- Offer
Id string - The offer id.
- Payment
Channel map[string]stringMetadata - The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- Payment
Channel string | PaymentType Channel Type - The Payment channel for the SaasSubscription.
- Publisher
Id string - The publisher id.
- Publisher
Test stringEnvironment - The environment in the publisher side for this resource.
- Quantity float64
- The seat count.
- Saas
Resource stringName - The SaaS resource name.
- Saas
Session stringId - The saas session id used for dev service migration request.
- Saas
Subscription stringId - The saas subscription id used for tenant to subscription level migration request.
- Sku
Id string - The plan id.
- Term
Id string - The current Term id.
- auto
Renew Boolean - Whether the SaaS subscription will auto renew upon term end.
- offer
Id String - The offer id.
- payment
Channel Map<String,String>Metadata - The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- payment
Channel String | PaymentType Channel Type - The Payment channel for the SaasSubscription.
- publisher
Id String - The publisher id.
- publisher
Test StringEnvironment - The environment in the publisher side for this resource.
- quantity Double
- The seat count.
- saas
Resource StringName - The SaaS resource name.
- saas
Session StringId - The saas session id used for dev service migration request.
- saas
Subscription StringId - The saas subscription id used for tenant to subscription level migration request.
- sku
Id String - The plan id.
- term
Id String - The current Term id.
- auto
Renew boolean - Whether the SaaS subscription will auto renew upon term end.
- offer
Id string - The offer id.
- payment
Channel {[key: string]: string}Metadata - The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- payment
Channel string | PaymentType Channel Type - The Payment channel for the SaasSubscription.
- publisher
Id string - The publisher id.
- publisher
Test stringEnvironment - The environment in the publisher side for this resource.
- quantity number
- The seat count.
- saas
Resource stringName - The SaaS resource name.
- saas
Session stringId - The saas session id used for dev service migration request.
- saas
Subscription stringId - The saas subscription id used for tenant to subscription level migration request.
- sku
Id string - The plan id.
- term
Id 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.
- auto
Renew Boolean - Whether the SaaS subscription will auto renew upon term end.
- offer
Id String - The offer id.
- payment
Channel Map<String>Metadata - The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- payment
Channel String | "SubscriptionType Delegated" | "Customer Delegated" - The Payment channel for the SaasSubscription.
- publisher
Id String - The publisher id.
- publisher
Test StringEnvironment - The environment in the publisher side for this resource.
- quantity Number
- The seat count.
- saas
Resource StringName - The SaaS resource name.
- saas
Session StringId - The saas session id used for dev service migration request.
- saas
Subscription StringId - The saas subscription id used for tenant to subscription level migration request.
- sku
Id String - The plan id.
- term
Id 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
This property is required. string - 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 string - The last modifier date if this resource.
- Offer
Id string - The offer id.
- Payment
Channel Dictionary<string, string>Metadata - The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- Payment
Channel stringType - The Payment channel for the SaasSubscription.
- Publisher
Id string - The publisher id.
- Publisher
Test stringEnvironment - The environment in the publisher side for this resource.
- Quantity double
- The seat count.
- Saas
Resource stringName - The SaaS resource name.
- Saas
Session stringId - The saas session id used for dev service migration request.
- Saas
Subscription stringId - The saas subscription id used for tenant to subscription level migration request.
- Sku
Id 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.
- Term
Id string - The current Term id.
- Created
This property is required. string - 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 string - The last modifier date if this resource.
- Offer
Id string - The offer id.
- Payment
Channel map[string]stringMetadata - The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- Payment
Channel stringType - The Payment channel for the SaasSubscription.
- Publisher
Id string - The publisher id.
- Publisher
Test stringEnvironment - The environment in the publisher side for this resource.
- Quantity float64
- The seat count.
- Saas
Resource stringName - The SaaS resource name.
- Saas
Session stringId - The saas session id used for dev service migration request.
- Saas
Subscription stringId - The saas subscription id used for tenant to subscription level migration request.
- Sku
Id string - The plan id.
- Status string
- The SaaS Subscription Status.
- Term
Saas
Properties Response Term - The current Term object.
- Term
Id string - The current Term id.
- created
This property is required. String - The created date of this resource.
- auto
Renew Boolean - Whether the SaaS subscription will auto renew upon term end.
- is
Free BooleanTrial - Whether the current term is a Free Trial term
- last
Modified String - The last modifier date if this resource.
- offer
Id String - The offer id.
- payment
Channel Map<String,String>Metadata - The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- payment
Channel StringType - The Payment channel for the SaasSubscription.
- publisher
Id String - The publisher id.
- publisher
Test StringEnvironment - The environment in the publisher side for this resource.
- quantity Double
- The seat count.
- saas
Resource StringName - The SaaS resource name.
- saas
Session StringId - The saas session id used for dev service migration request.
- saas
Subscription StringId - The saas subscription id used for tenant to subscription level migration request.
- sku
Id String - The plan id.
- status String
- The SaaS Subscription Status.
- term
Saas
Properties Response Term - The current Term object.
- term
Id String - The current Term id.
- created
This property is required. string - The created date of this resource.
- auto
Renew boolean - Whether the SaaS subscription will auto renew upon term end.
- is
Free booleanTrial - Whether the current term is a Free Trial term
- last
Modified string - The last modifier date if this resource.
- offer
Id string - The offer id.
- payment
Channel {[key: string]: string}Metadata - The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- payment
Channel stringType - The Payment channel for the SaasSubscription.
- publisher
Id string - The publisher id.
- publisher
Test stringEnvironment - The environment in the publisher side for this resource.
- quantity number
- The seat count.
- saas
Resource stringName - The SaaS resource name.
- saas
Session stringId - The saas session id used for dev service migration request.
- saas
Subscription stringId - The saas subscription id used for tenant to subscription level migration request.
- sku
Id string - The plan id.
- status string
- The SaaS Subscription Status.
- term
Saas
Properties Response Term - The current Term object.
- term
Id string - The current Term id.
- created
This property is required. 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
Saas
Properties Response Term - The current Term object.
- term_
id str - The current Term id.
- created
This property is required. String - The created date of this resource.
- auto
Renew Boolean - Whether the SaaS subscription will auto renew upon term end.
- is
Free BooleanTrial - Whether the current term is a Free Trial term
- last
Modified String - The last modifier date if this resource.
- offer
Id String - The offer id.
- payment
Channel Map<String>Metadata - The metadata about the SaaS subscription such as the AzureSubscriptionId and ResourceUri.
- payment
Channel StringType - The Payment channel for the SaasSubscription.
- publisher
Id String - The publisher id.
- publisher
Test StringEnvironment - The environment in the publisher side for this resource.
- quantity Number
- The seat count.
- saas
Resource StringName - The SaaS resource name.
- saas
Session StringId - The saas session id used for dev service migration request.
- saas
Subscription StringId - The saas subscription id used for tenant to subscription level migration request.
- sku
Id String - The plan id.
- status String
- The SaaS Subscription Status.
- term Property Map
- The current Term object.
- term
Id 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-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0