azure-native.subscription.Alias
Explore with Pulumi AI
Subscription Information with the alias. Azure REST API version: 2021-10-01. Prior API version in Azure Native 1.x: 2020-09-01.
Other available API versions: 2020-09-01, 2024-08-01-preview.
Example Usage
CreateAlias
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var @alias = new AzureNative.Subscription.Alias("alias", new()
    {
        AliasName = "aliasForNewSub",
        Properties = new AzureNative.Subscription.Inputs.PutAliasRequestPropertiesArgs
        {
            AdditionalProperties = new AzureNative.Subscription.Inputs.PutAliasRequestAdditionalPropertiesArgs
            {
                SubscriptionOwnerId = "f09b39eb-c496-482c-9ab9-afd799572f4c",
                SubscriptionTenantId = "66f6e4d6-07dc-4aea-94ea-e12d3026a3c8",
                Tags = 
                {
                    { "tag1", "Messi" },
                    { "tag2", "Ronaldo" },
                    { "tag3", "Lebron" },
                },
            },
            BillingScope = "/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH",
            DisplayName = "Test Subscription",
            Workload = AzureNative.Subscription.Workload.Production,
        },
    });
});
package main
import (
	subscription "github.com/pulumi/pulumi-azure-native-sdk/subscription/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := subscription.NewAlias(ctx, "alias", &subscription.AliasArgs{
			AliasName: pulumi.String("aliasForNewSub"),
			Properties: &subscription.PutAliasRequestPropertiesArgs{
				AdditionalProperties: &subscription.PutAliasRequestAdditionalPropertiesArgs{
					SubscriptionOwnerId:  pulumi.String("f09b39eb-c496-482c-9ab9-afd799572f4c"),
					SubscriptionTenantId: pulumi.String("66f6e4d6-07dc-4aea-94ea-e12d3026a3c8"),
					Tags: pulumi.StringMap{
						"tag1": pulumi.String("Messi"),
						"tag2": pulumi.String("Ronaldo"),
						"tag3": pulumi.String("Lebron"),
					},
				},
				BillingScope: pulumi.String("/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH"),
				DisplayName:  pulumi.String("Test Subscription"),
				Workload:     pulumi.String(subscription.WorkloadProduction),
			},
		})
		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.subscription.Alias;
import com.pulumi.azurenative.subscription.AliasArgs;
import com.pulumi.azurenative.subscription.inputs.PutAliasRequestPropertiesArgs;
import com.pulumi.azurenative.subscription.inputs.PutAliasRequestAdditionalPropertiesArgs;
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 alias = new Alias("alias", AliasArgs.builder()
            .aliasName("aliasForNewSub")
            .properties(PutAliasRequestPropertiesArgs.builder()
                .additionalProperties(PutAliasRequestAdditionalPropertiesArgs.builder()
                    .subscriptionOwnerId("f09b39eb-c496-482c-9ab9-afd799572f4c")
                    .subscriptionTenantId("66f6e4d6-07dc-4aea-94ea-e12d3026a3c8")
                    .tags(Map.ofEntries(
                        Map.entry("tag1", "Messi"),
                        Map.entry("tag2", "Ronaldo"),
                        Map.entry("tag3", "Lebron")
                    ))
                    .build())
                .billingScope("/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH")
                .displayName("Test Subscription")
                .workload("Production")
                .build())
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const alias = new azure_native.subscription.Alias("alias", {
    aliasName: "aliasForNewSub",
    properties: {
        additionalProperties: {
            subscriptionOwnerId: "f09b39eb-c496-482c-9ab9-afd799572f4c",
            subscriptionTenantId: "66f6e4d6-07dc-4aea-94ea-e12d3026a3c8",
            tags: {
                tag1: "Messi",
                tag2: "Ronaldo",
                tag3: "Lebron",
            },
        },
        billingScope: "/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH",
        displayName: "Test Subscription",
        workload: azure_native.subscription.Workload.Production,
    },
});
import pulumi
import pulumi_azure_native as azure_native
alias = azure_native.subscription.Alias("alias",
    alias_name="aliasForNewSub",
    properties={
        "additional_properties": {
            "subscription_owner_id": "f09b39eb-c496-482c-9ab9-afd799572f4c",
            "subscription_tenant_id": "66f6e4d6-07dc-4aea-94ea-e12d3026a3c8",
            "tags": {
                "tag1": "Messi",
                "tag2": "Ronaldo",
                "tag3": "Lebron",
            },
        },
        "billing_scope": "/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH",
        "display_name": "Test Subscription",
        "workload": azure_native.subscription.Workload.PRODUCTION,
    })
resources:
  alias:
    type: azure-native:subscription:Alias
    properties:
      aliasName: aliasForNewSub
      properties:
        additionalProperties:
          subscriptionOwnerId: f09b39eb-c496-482c-9ab9-afd799572f4c
          subscriptionTenantId: 66f6e4d6-07dc-4aea-94ea-e12d3026a3c8
          tags:
            tag1: Messi
            tag2: Ronaldo
            tag3: Lebron
        billingScope: /billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH
        displayName: Test Subscription
        workload: Production
Create Alias Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Alias(name: string, args?: AliasArgs, opts?: CustomResourceOptions);@overload
def Alias(resource_name: str,
          args: Optional[AliasArgs] = None,
          opts: Optional[ResourceOptions] = None)
@overload
def Alias(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          alias_name: Optional[str] = None,
          properties: Optional[PutAliasRequestPropertiesArgs] = None)func NewAlias(ctx *Context, name string, args *AliasArgs, opts ...ResourceOption) (*Alias, error)public Alias(string name, AliasArgs? args = null, CustomResourceOptions? opts = null)type: azure-native:subscription:Alias
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 AliasArgs
- 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 AliasArgs
- 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 AliasArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AliasArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AliasArgs
- 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 aliasResource = new AzureNative.Subscription.Alias("aliasResource", new()
{
    AliasName = "string",
    Properties = new AzureNative.Subscription.Inputs.PutAliasRequestPropertiesArgs
    {
        AdditionalProperties = new AzureNative.Subscription.Inputs.PutAliasRequestAdditionalPropertiesArgs
        {
            ManagementGroupId = "string",
            SubscriptionOwnerId = "string",
            SubscriptionTenantId = "string",
            Tags = 
            {
                { "string", "string" },
            },
        },
        BillingScope = "string",
        DisplayName = "string",
        ResellerId = "string",
        SubscriptionId = "string",
        Workload = "string",
    },
});
example, err := subscription.NewAlias(ctx, "aliasResource", &subscription.AliasArgs{
	AliasName: pulumi.String("string"),
	Properties: &subscription.PutAliasRequestPropertiesArgs{
		AdditionalProperties: &subscription.PutAliasRequestAdditionalPropertiesArgs{
			ManagementGroupId:    pulumi.String("string"),
			SubscriptionOwnerId:  pulumi.String("string"),
			SubscriptionTenantId: pulumi.String("string"),
			Tags: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
		},
		BillingScope:   pulumi.String("string"),
		DisplayName:    pulumi.String("string"),
		ResellerId:     pulumi.String("string"),
		SubscriptionId: pulumi.String("string"),
		Workload:       pulumi.String("string"),
	},
})
var aliasResource = new Alias("aliasResource", AliasArgs.builder()
    .aliasName("string")
    .properties(PutAliasRequestPropertiesArgs.builder()
        .additionalProperties(PutAliasRequestAdditionalPropertiesArgs.builder()
            .managementGroupId("string")
            .subscriptionOwnerId("string")
            .subscriptionTenantId("string")
            .tags(Map.of("string", "string"))
            .build())
        .billingScope("string")
        .displayName("string")
        .resellerId("string")
        .subscriptionId("string")
        .workload("string")
        .build())
    .build());
alias_resource = azure_native.subscription.Alias("aliasResource",
    alias_name="string",
    properties={
        "additional_properties": {
            "management_group_id": "string",
            "subscription_owner_id": "string",
            "subscription_tenant_id": "string",
            "tags": {
                "string": "string",
            },
        },
        "billing_scope": "string",
        "display_name": "string",
        "reseller_id": "string",
        "subscription_id": "string",
        "workload": "string",
    })
const aliasResource = new azure_native.subscription.Alias("aliasResource", {
    aliasName: "string",
    properties: {
        additionalProperties: {
            managementGroupId: "string",
            subscriptionOwnerId: "string",
            subscriptionTenantId: "string",
            tags: {
                string: "string",
            },
        },
        billingScope: "string",
        displayName: "string",
        resellerId: "string",
        subscriptionId: "string",
        workload: "string",
    },
});
type: azure-native:subscription:Alias
properties:
    aliasName: string
    properties:
        additionalProperties:
            managementGroupId: string
            subscriptionOwnerId: string
            subscriptionTenantId: string
            tags:
                string: string
        billingScope: string
        displayName: string
        resellerId: string
        subscriptionId: string
        workload: string
Alias 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 Alias resource accepts the following input properties:
- AliasName string
- AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any other lifecycle need beyond the request for subscription creation.
- Properties
Pulumi.Azure Native. Subscription. Inputs. Put Alias Request Properties 
- Put alias request properties.
- AliasName string
- AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any other lifecycle need beyond the request for subscription creation.
- Properties
PutAlias Request Properties Args 
- Put alias request properties.
- aliasName String
- AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any other lifecycle need beyond the request for subscription creation.
- properties
PutAlias Request Properties 
- Put alias request properties.
- aliasName string
- AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any other lifecycle need beyond the request for subscription creation.
- properties
PutAlias Request Properties 
- Put alias request properties.
- alias_name str
- AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any other lifecycle need beyond the request for subscription creation.
- properties
PutAlias Request Properties Args 
- Put alias request properties.
- aliasName String
- AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any other lifecycle need beyond the request for subscription creation.
- properties Property Map
- Put alias request properties.
Outputs
All input properties are implicitly available as output properties. Additionally, the Alias resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Alias ID.
- SystemData Pulumi.Azure Native. Subscription. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource type, Microsoft.Subscription/aliases.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Alias ID.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource type, Microsoft.Subscription/aliases.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Alias ID.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type, Microsoft.Subscription/aliases.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Alias ID.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type string
- Resource type, Microsoft.Subscription/aliases.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Alias ID.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type str
- Resource type, Microsoft.Subscription/aliases.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Alias ID.
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type, Microsoft.Subscription/aliases.
Supporting Types
PutAliasRequestAdditionalProperties, PutAliasRequestAdditionalPropertiesArgs          
- ManagementGroup stringId 
- Management group Id for the subscription.
- SubscriptionOwner stringId 
- Owner Id of the subscription
- SubscriptionTenant stringId 
- Tenant Id of the subscription
- Dictionary<string, string>
- Tags for the subscription
- ManagementGroup stringId 
- Management group Id for the subscription.
- SubscriptionOwner stringId 
- Owner Id of the subscription
- SubscriptionTenant stringId 
- Tenant Id of the subscription
- map[string]string
- Tags for the subscription
- managementGroup StringId 
- Management group Id for the subscription.
- subscriptionOwner StringId 
- Owner Id of the subscription
- subscriptionTenant StringId 
- Tenant Id of the subscription
- Map<String,String>
- Tags for the subscription
- managementGroup stringId 
- Management group Id for the subscription.
- subscriptionOwner stringId 
- Owner Id of the subscription
- subscriptionTenant stringId 
- Tenant Id of the subscription
- {[key: string]: string}
- Tags for the subscription
- management_group_ strid 
- Management group Id for the subscription.
- subscription_owner_ strid 
- Owner Id of the subscription
- subscription_tenant_ strid 
- Tenant Id of the subscription
- Mapping[str, str]
- Tags for the subscription
- managementGroup StringId 
- Management group Id for the subscription.
- subscriptionOwner StringId 
- Owner Id of the subscription
- subscriptionTenant StringId 
- Tenant Id of the subscription
- Map<String>
- Tags for the subscription
PutAliasRequestProperties, PutAliasRequestPropertiesArgs        
- AdditionalProperties Pulumi.Azure Native. Subscription. Inputs. Put Alias Request Additional Properties 
- Put alias request additional properties.
- BillingScope string
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- DisplayName string
- The friendly name of the subscription.
- ResellerId string
- Reseller Id
- SubscriptionId string
- This parameter can be used to create alias for existing subscription Id
- Workload
string | Pulumi.Azure Native. Subscription. Workload 
- The workload type of the subscription. It can be either Production or DevTest.
- AdditionalProperties PutAlias Request Additional Properties 
- Put alias request additional properties.
- BillingScope string
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- DisplayName string
- The friendly name of the subscription.
- ResellerId string
- Reseller Id
- SubscriptionId string
- This parameter can be used to create alias for existing subscription Id
- Workload string | Workload
- The workload type of the subscription. It can be either Production or DevTest.
- additionalProperties PutAlias Request Additional Properties 
- Put alias request additional properties.
- billingScope String
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- displayName String
- The friendly name of the subscription.
- resellerId String
- Reseller Id
- subscriptionId String
- This parameter can be used to create alias for existing subscription Id
- workload String | Workload
- The workload type of the subscription. It can be either Production or DevTest.
- additionalProperties PutAlias Request Additional Properties 
- Put alias request additional properties.
- billingScope string
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- displayName string
- The friendly name of the subscription.
- resellerId string
- Reseller Id
- subscriptionId string
- This parameter can be used to create alias for existing subscription Id
- workload string | Workload
- The workload type of the subscription. It can be either Production or DevTest.
- additional_properties PutAlias Request Additional Properties 
- Put alias request additional properties.
- billing_scope str
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- display_name str
- The friendly name of the subscription.
- reseller_id str
- Reseller Id
- subscription_id str
- This parameter can be used to create alias for existing subscription Id
- workload str | Workload
- The workload type of the subscription. It can be either Production or DevTest.
- additionalProperties Property Map
- Put alias request additional properties.
- billingScope String
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- displayName String
- The friendly name of the subscription.
- resellerId String
- Reseller Id
- subscriptionId String
- This parameter can be used to create alias for existing subscription Id
- workload
String | "Production" | "DevTest" 
- The workload type of the subscription. It can be either Production or DevTest.
SubscriptionAliasResponsePropertiesResponse, SubscriptionAliasResponsePropertiesResponseArgs          
- AcceptOwnership stringState 
- The accept ownership state of the resource.
- AcceptOwnership stringUrl 
- Url to accept ownership of the subscription.
- SubscriptionId string
- Newly created subscription Id.
- BillingScope string
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- CreatedTime string
- Created Time
- DisplayName string
- The display name of the subscription.
- ManagementGroup stringId 
- The Management Group Id.
- ProvisioningState string
- The provisioning state of the resource.
- ResellerId string
- Reseller Id
- SubscriptionOwner stringId 
- Owner Id of the subscription
- Dictionary<string, string>
- Tags for the subscription
- Workload string
- The workload type of the subscription. It can be either Production or DevTest.
- AcceptOwnership stringState 
- The accept ownership state of the resource.
- AcceptOwnership stringUrl 
- Url to accept ownership of the subscription.
- SubscriptionId string
- Newly created subscription Id.
- BillingScope string
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- CreatedTime string
- Created Time
- DisplayName string
- The display name of the subscription.
- ManagementGroup stringId 
- The Management Group Id.
- ProvisioningState string
- The provisioning state of the resource.
- ResellerId string
- Reseller Id
- SubscriptionOwner stringId 
- Owner Id of the subscription
- map[string]string
- Tags for the subscription
- Workload string
- The workload type of the subscription. It can be either Production or DevTest.
- acceptOwnership StringState 
- The accept ownership state of the resource.
- acceptOwnership StringUrl 
- Url to accept ownership of the subscription.
- subscriptionId String
- Newly created subscription Id.
- billingScope String
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- createdTime String
- Created Time
- displayName String
- The display name of the subscription.
- managementGroup StringId 
- The Management Group Id.
- provisioningState String
- The provisioning state of the resource.
- resellerId String
- Reseller Id
- subscriptionOwner StringId 
- Owner Id of the subscription
- Map<String,String>
- Tags for the subscription
- workload String
- The workload type of the subscription. It can be either Production or DevTest.
- acceptOwnership stringState 
- The accept ownership state of the resource.
- acceptOwnership stringUrl 
- Url to accept ownership of the subscription.
- subscriptionId string
- Newly created subscription Id.
- billingScope string
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- createdTime string
- Created Time
- displayName string
- The display name of the subscription.
- managementGroup stringId 
- The Management Group Id.
- provisioningState string
- The provisioning state of the resource.
- resellerId string
- Reseller Id
- subscriptionOwner stringId 
- Owner Id of the subscription
- {[key: string]: string}
- Tags for the subscription
- workload string
- The workload type of the subscription. It can be either Production or DevTest.
- accept_ownership_ strstate 
- The accept ownership state of the resource.
- accept_ownership_ strurl 
- Url to accept ownership of the subscription.
- subscription_id str
- Newly created subscription Id.
- billing_scope str
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- created_time str
- Created Time
- display_name str
- The display name of the subscription.
- management_group_ strid 
- The Management Group Id.
- provisioning_state str
- The provisioning state of the resource.
- reseller_id str
- Reseller Id
- subscription_owner_ strid 
- Owner Id of the subscription
- Mapping[str, str]
- Tags for the subscription
- workload str
- The workload type of the subscription. It can be either Production or DevTest.
- acceptOwnership StringState 
- The accept ownership state of the resource.
- acceptOwnership StringUrl 
- Url to accept ownership of the subscription.
- subscriptionId String
- Newly created subscription Id.
- billingScope String
- Billing scope of the subscription. For CustomerLed and FieldLed - /billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName} For PartnerLed - /billingAccounts/{billingAccountName}/customers/{customerName} For Legacy EA - /billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}
- createdTime String
- Created Time
- displayName String
- The display name of the subscription.
- managementGroup StringId 
- The Management Group Id.
- provisioningState String
- The provisioning state of the resource.
- resellerId String
- Reseller Id
- subscriptionOwner StringId 
- Owner Id of the subscription
- Map<String>
- Tags for the subscription
- workload String
- The workload type of the subscription. It can be either Production or DevTest.
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Workload, WorkloadArgs  
- Production
- Production
- DevTest 
- DevTest
- WorkloadProduction 
- Production
- WorkloadDev Test 
- DevTest
- Production
- Production
- DevTest 
- DevTest
- Production
- Production
- DevTest 
- DevTest
- PRODUCTION
- Production
- DEV_TEST
- DevTest
- "Production"
- Production
- "DevTest" 
- DevTest
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:subscription:Alias string /providers/Microsoft.Subscription/aliases/{aliasName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0