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 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)
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:
- Alias
Name 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.
- Alias
Name 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
Put
Alias Request Properties Args - Put alias request properties.
- alias
Name 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
Put
Alias Request Properties - Put alias request properties.
- alias
Name 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
Put
Alias 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
Put
Alias Request Properties Args - Put alias request properties.
- alias
Name 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.
- System
Data 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.
- System
Data 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.
- system
Data 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.
- system
Data 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.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type, Microsoft.Subscription/aliases.
Supporting Types
PutAliasRequestAdditionalProperties, PutAliasRequestAdditionalPropertiesArgs
- Management
Group stringId - Management group Id for the subscription.
- Subscription
Owner stringId - Owner Id of the subscription
- Subscription
Tenant stringId - Tenant Id of the subscription
- Dictionary<string, string>
- Tags for the subscription
- Management
Group stringId - Management group Id for the subscription.
- Subscription
Owner stringId - Owner Id of the subscription
- Subscription
Tenant stringId - Tenant Id of the subscription
- map[string]string
- Tags for the subscription
- management
Group StringId - Management group Id for the subscription.
- subscription
Owner StringId - Owner Id of the subscription
- subscription
Tenant StringId - Tenant Id of the subscription
- Map<String,String>
- Tags for the subscription
- management
Group stringId - Management group Id for the subscription.
- subscription
Owner stringId - Owner Id of the subscription
- subscription
Tenant 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
- management
Group StringId - Management group Id for the subscription.
- subscription
Owner StringId - Owner Id of the subscription
- subscription
Tenant StringId - Tenant Id of the subscription
- Map<String>
- Tags for the subscription
PutAliasRequestProperties, PutAliasRequestPropertiesArgs
- Additional
Properties Pulumi.Azure Native. Subscription. Inputs. Put Alias Request Additional Properties - Put alias request additional properties.
- Billing
Scope 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}
- Display
Name string - The friendly name of the subscription.
- Reseller
Id string - Reseller Id
- Subscription
Id 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.
- Additional
Properties PutAlias Request Additional Properties - Put alias request additional properties.
- Billing
Scope 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}
- Display
Name string - The friendly name of the subscription.
- Reseller
Id string - Reseller Id
- Subscription
Id 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 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}
- display
Name String - The friendly name of the subscription.
- reseller
Id String - Reseller Id
- subscription
Id 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 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}
- display
Name string - The friendly name of the subscription.
- reseller
Id string - Reseller Id
- subscription
Id 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.
- additional
Properties Property Map - Put alias request additional properties.
- billing
Scope 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}
- display
Name String - The friendly name of the subscription.
- reseller
Id String - Reseller Id
- subscription
Id String - This parameter can be used to create alias for existing subscription Id
- workload
String | "Production" | "Dev
Test" - The workload type of the subscription. It can be either Production or DevTest.
SubscriptionAliasResponsePropertiesResponse, SubscriptionAliasResponsePropertiesResponseArgs
- Accept
Ownership stringState - The accept ownership state of the resource.
- Accept
Ownership stringUrl - Url to accept ownership of the subscription.
- Subscription
Id string - Newly created subscription Id.
- Billing
Scope 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}
- Created
Time string - Created Time
- Display
Name string - The display name of the subscription.
- Management
Group stringId - The Management Group Id.
- Provisioning
State string - The provisioning state of the resource.
- Reseller
Id string - Reseller Id
- Subscription
Owner 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.
- Accept
Ownership stringState - The accept ownership state of the resource.
- Accept
Ownership stringUrl - Url to accept ownership of the subscription.
- Subscription
Id string - Newly created subscription Id.
- Billing
Scope 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}
- Created
Time string - Created Time
- Display
Name string - The display name of the subscription.
- Management
Group stringId - The Management Group Id.
- Provisioning
State string - The provisioning state of the resource.
- Reseller
Id string - Reseller Id
- Subscription
Owner 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.
- accept
Ownership StringState - The accept ownership state of the resource.
- accept
Ownership StringUrl - Url to accept ownership of the subscription.
- subscription
Id String - Newly created subscription Id.
- billing
Scope 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}
- created
Time String - Created Time
- display
Name String - The display name of the subscription.
- management
Group StringId - The Management Group Id.
- provisioning
State String - The provisioning state of the resource.
- reseller
Id String - Reseller Id
- subscription
Owner 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.
- accept
Ownership stringState - The accept ownership state of the resource.
- accept
Ownership stringUrl - Url to accept ownership of the subscription.
- subscription
Id string - Newly created subscription Id.
- billing
Scope 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}
- created
Time string - Created Time
- display
Name string - The display name of the subscription.
- management
Group stringId - The Management Group Id.
- provisioning
State string - The provisioning state of the resource.
- reseller
Id string - Reseller Id
- subscription
Owner 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.
- accept
Ownership StringState - The accept ownership state of the resource.
- accept
Ownership StringUrl - Url to accept ownership of the subscription.
- subscription
Id String - Newly created subscription Id.
- billing
Scope 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}
- created
Time String - Created Time
- display
Name String - The display name of the subscription.
- management
Group StringId - The Management Group Id.
- provisioning
State String - The provisioning state of the resource.
- reseller
Id String - Reseller Id
- subscription
Owner 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Workload, WorkloadArgs
- Production
- Production
- Dev
Test - DevTest
- Workload
Production - Production
- Workload
Dev Test - DevTest
- Production
- Production
- Dev
Test - DevTest
- Production
- Production
- Dev
Test - DevTest
- PRODUCTION
- Production
- DEV_TEST
- DevTest
- "Production"
- Production
- "Dev
Test" - 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