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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.subscription.getAlias
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get Alias Subscription. Azure REST API version: 2021-10-01.
Other available API versions: 2020-09-01, 2024-08-01-preview.
Using getAlias
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAlias(args: GetAliasArgs, opts?: InvokeOptions): Promise<GetAliasResult>
function getAliasOutput(args: GetAliasOutputArgs, opts?: InvokeOptions): Output<GetAliasResult>def get_alias(alias_name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetAliasResult
def get_alias_output(alias_name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetAliasResult]func LookupAlias(ctx *Context, args *LookupAliasArgs, opts ...InvokeOption) (*LookupAliasResult, error)
func LookupAliasOutput(ctx *Context, args *LookupAliasOutputArgs, opts ...InvokeOption) LookupAliasResultOutput> Note: This function is named LookupAlias in the Go SDK.
public static class GetAlias 
{
    public static Task<GetAliasResult> InvokeAsync(GetAliasArgs args, InvokeOptions? opts = null)
    public static Output<GetAliasResult> Invoke(GetAliasInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAliasResult> getAlias(GetAliasArgs args, InvokeOptions options)
public static Output<GetAliasResult> getAlias(GetAliasArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:subscription:getAlias
  arguments:
    # arguments dictionaryThe following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getAlias Result
The following output properties are available:
- Id string
- Fully qualified ID for the alias resource.
- Name string
- Alias ID.
- Properties
Pulumi.Azure Native. Subscription. Outputs. Subscription Alias Response Properties Response 
- Subscription Alias response properties.
- 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
- Fully qualified ID for the alias resource.
- Name string
- Alias ID.
- Properties
SubscriptionAlias Response Properties Response 
- Subscription Alias response properties.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource type, Microsoft.Subscription/aliases.
- id String
- Fully qualified ID for the alias resource.
- name String
- Alias ID.
- properties
SubscriptionAlias Response Properties Response 
- Subscription Alias response properties.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type, Microsoft.Subscription/aliases.
- id string
- Fully qualified ID for the alias resource.
- name string
- Alias ID.
- properties
SubscriptionAlias Response Properties Response 
- Subscription Alias response properties.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type string
- Resource type, Microsoft.Subscription/aliases.
- id str
- Fully qualified ID for the alias resource.
- name str
- Alias ID.
- properties
SubscriptionAlias Response Properties Response 
- Subscription Alias response properties.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type str
- Resource type, Microsoft.Subscription/aliases.
- id String
- Fully qualified ID for the alias resource.
- name String
- Alias ID.
- properties Property Map
- Subscription Alias response properties.
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type, Microsoft.Subscription/aliases.
Supporting Types
SubscriptionAliasResponsePropertiesResponse    
- 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  
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi