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
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:
- Alias
Name 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 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 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 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.
- alias
Name 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.
Azure Native. Subscription. Outputs. Put Alias Response Properties Response - 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
Put
Alias Response Properties Response - 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
Put
Alias Response Properties Response - 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
Put
Alias Response Properties Response - 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
Put
Alias Response Properties Response - 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
- Subscription
Id string - Newly created subscription Id.
- Provisioning
State string - The provisioning state of the resource.
- Subscription
Id string - Newly created subscription Id.
- Provisioning
State string - The provisioning state of the resource.
- subscription
Id String - Newly created subscription Id.
- provisioning
State String - The provisioning state of the resource.
- subscription
Id string - Newly created subscription Id.
- provisioning
State string - The provisioning state of the resource.
- subscription_
id str - Newly created subscription Id.
- provisioning_
state str - The provisioning state of the resource.
- subscription
Id String - Newly created subscription Id.
- provisioning
State String - The provisioning state of the resource.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
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