1. Packages
  2. Azure Native
  3. API Docs
  4. subscription
  5. Alias
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.subscription.Alias

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    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 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,
        })
    
    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,
        },
    });
    
    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)
    public Alias(String name, AliasArgs args)
    public Alias(String name, AliasArgs args, CustomResourceOptions options)
    
    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={
            "additionalProperties": {
                "managementGroupId": "string",
                "subscriptionOwnerId": "string",
                "subscriptionTenantId": "string",
                "tags": {
                    "string": "string",
                },
            },
            "billingScope": "string",
            "displayName": "string",
            "resellerId": "string",
            "subscriptionId": "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

    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.AzureNative.Subscription.Inputs.PutAliasRequestProperties
    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 PutAliasRequestPropertiesArgs
    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 PutAliasRequestProperties
    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 PutAliasRequestProperties
    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 PutAliasRequestPropertiesArgs
    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.AzureNative.Subscription.Outputs.SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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

    ManagementGroupId string
    Management group Id for the subscription.
    SubscriptionOwnerId string
    Owner Id of the subscription
    SubscriptionTenantId string
    Tenant Id of the subscription
    Tags Dictionary<string, string>
    Tags for the subscription
    ManagementGroupId string
    Management group Id for the subscription.
    SubscriptionOwnerId string
    Owner Id of the subscription
    SubscriptionTenantId string
    Tenant Id of the subscription
    Tags map[string]string
    Tags for the subscription
    managementGroupId String
    Management group Id for the subscription.
    subscriptionOwnerId String
    Owner Id of the subscription
    subscriptionTenantId String
    Tenant Id of the subscription
    tags Map<String,String>
    Tags for the subscription
    managementGroupId string
    Management group Id for the subscription.
    subscriptionOwnerId string
    Owner Id of the subscription
    subscriptionTenantId string
    Tenant Id of the subscription
    tags {[key: string]: string}
    Tags for the subscription
    management_group_id str
    Management group Id for the subscription.
    subscription_owner_id str
    Owner Id of the subscription
    subscription_tenant_id str
    Tenant Id of the subscription
    tags Mapping[str, str]
    Tags for the subscription
    managementGroupId String
    Management group Id for the subscription.
    subscriptionOwnerId String
    Owner Id of the subscription
    subscriptionTenantId String
    Tenant Id of the subscription
    tags Map<String>
    Tags for the subscription

    PutAliasRequestProperties, PutAliasRequestPropertiesArgs

    AdditionalProperties Pulumi.AzureNative.Subscription.Inputs.PutAliasRequestAdditionalProperties
    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.AzureNative.Subscription.Workload
    The workload type of the subscription. It can be either Production or DevTest.
    AdditionalProperties PutAliasRequestAdditionalProperties
    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 PutAliasRequestAdditionalProperties
    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 PutAliasRequestAdditionalProperties
    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 PutAliasRequestAdditionalProperties
    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

    AcceptOwnershipState string
    The accept ownership state of the resource.
    AcceptOwnershipUrl string
    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.
    ManagementGroupId string
    The Management Group Id.
    ProvisioningState string
    The provisioning state of the resource.
    ResellerId string
    Reseller Id
    SubscriptionOwnerId string
    Owner Id of the subscription
    Tags Dictionary<string, string>
    Tags for the subscription
    Workload string
    The workload type of the subscription. It can be either Production or DevTest.
    AcceptOwnershipState string
    The accept ownership state of the resource.
    AcceptOwnershipUrl string
    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.
    ManagementGroupId string
    The Management Group Id.
    ProvisioningState string
    The provisioning state of the resource.
    ResellerId string
    Reseller Id
    SubscriptionOwnerId string
    Owner Id of the subscription
    Tags map[string]string
    Tags for the subscription
    Workload string
    The workload type of the subscription. It can be either Production or DevTest.
    acceptOwnershipState String
    The accept ownership state of the resource.
    acceptOwnershipUrl String
    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.
    managementGroupId String
    The Management Group Id.
    provisioningState String
    The provisioning state of the resource.
    resellerId String
    Reseller Id
    subscriptionOwnerId String
    Owner Id of the subscription
    tags Map<String,String>
    Tags for the subscription
    workload String
    The workload type of the subscription. It can be either Production or DevTest.
    acceptOwnershipState string
    The accept ownership state of the resource.
    acceptOwnershipUrl string
    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.
    managementGroupId string
    The Management Group Id.
    provisioningState string
    The provisioning state of the resource.
    resellerId string
    Reseller Id
    subscriptionOwnerId string
    Owner Id of the subscription
    tags {[key: string]: string}
    Tags for the subscription
    workload string
    The workload type of the subscription. It can be either Production or DevTest.
    accept_ownership_state str
    The accept ownership state of the resource.
    accept_ownership_url str
    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_id str
    The Management Group Id.
    provisioning_state str
    The provisioning state of the resource.
    reseller_id str
    Reseller Id
    subscription_owner_id str
    Owner Id of the subscription
    tags Mapping[str, str]
    Tags for the subscription
    workload str
    The workload type of the subscription. It can be either Production or DevTest.
    acceptOwnershipState String
    The accept ownership state of the resource.
    acceptOwnershipUrl String
    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.
    managementGroupId String
    The Management Group Id.
    provisioningState String
    The provisioning state of the resource.
    resellerId String
    Reseller Id
    subscriptionOwnerId String
    Owner Id of the subscription
    tags 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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Workload, WorkloadArgs

    Production
    Production
    DevTest
    DevTest
    WorkloadProduction
    Production
    WorkloadDevTest
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi