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.73.0 published on Wednesday, Nov 20, 2024 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.73.0 published on Wednesday, Nov 20, 2024 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)
// 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 - 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 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 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 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.
- 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.
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.
- 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
- Fully qualified ID for the alias resource.
- Name string
- Alias ID.
- Properties
Subscription
Alias Response Properties Response - Subscription Alias response properties.
- System
Data 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
Subscription
Alias Response Properties Response - Subscription Alias response properties.
- system
Data 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
Subscription
Alias Response Properties Response - Subscription Alias response properties.
- system
Data 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
Subscription
Alias 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.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type, Microsoft.Subscription/aliases.
Supporting Types
SubscriptionAliasResponsePropertiesResponse
- 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
- 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.
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi