1. Packages
  2. Azure Native v1
  3. API Docs
  4. subscription
  5. getAlias
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.subscription.getAlias

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Get Alias Subscription. API Version: 2020-09-01.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:subscription:getAlias
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AliasName string
    Name for this subscription creation request also known as alias. 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
    Name for this subscription creation request also known as alias. 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
    Name for this subscription creation request also known as alias. 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
    Name for this subscription creation request also known as alias. 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
    Name for this subscription creation request also known as alias. 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
    Name for this subscription creation request also known as alias. 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.AzureNative.Subscription.Outputs.PutAliasResponsePropertiesResponse
    Put Alias response properties.
    Type string
    Resource type, Microsoft.Subscription/aliases.
    Id string
    Fully qualified ID for the alias resource.
    Name string
    Alias ID.
    Properties PutAliasResponsePropertiesResponse
    Put Alias response properties.
    Type string
    Resource type, Microsoft.Subscription/aliases.
    id String
    Fully qualified ID for the alias resource.
    name String
    Alias ID.
    properties PutAliasResponsePropertiesResponse
    Put Alias response properties.
    type String
    Resource type, Microsoft.Subscription/aliases.
    id string
    Fully qualified ID for the alias resource.
    name string
    Alias ID.
    properties PutAliasResponsePropertiesResponse
    Put Alias response properties.
    type string
    Resource type, Microsoft.Subscription/aliases.
    id str
    Fully qualified ID for the alias resource.
    name str
    Alias ID.
    properties PutAliasResponsePropertiesResponse
    Put Alias response properties.
    type str
    Resource type, Microsoft.Subscription/aliases.
    id String
    Fully qualified ID for the alias resource.
    name String
    Alias ID.
    properties Property Map
    Put Alias response properties.
    type String
    Resource type, Microsoft.Subscription/aliases.

    Supporting Types

    PutAliasResponsePropertiesResponse

    SubscriptionId string
    Newly created subscription Id.
    ProvisioningState string
    The provisioning state of the resource.
    SubscriptionId string
    Newly created subscription Id.
    ProvisioningState string
    The provisioning state of the resource.
    subscriptionId String
    Newly created subscription Id.
    provisioningState String
    The provisioning state of the resource.
    subscriptionId string
    Newly created subscription Id.
    provisioningState string
    The provisioning state of the resource.
    subscription_id str
    Newly created subscription Id.
    provisioning_state str
    The provisioning state of the resource.
    subscriptionId String
    Newly created subscription Id.
    provisioningState String
    The provisioning state of the resource.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi