UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

60 lines (59 loc) 2.44 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get Alias Subscription. * * Uses Azure REST API version 2024-08-01-preview. * * Other available API versions: 2021-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native subscription [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getAlias(args: GetAliasArgs, opts?: pulumi.InvokeOptions): Promise<GetAliasResult>; export interface GetAliasArgs { /** * 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; } /** * Subscription Information with the alias. */ export interface GetAliasResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified ID for the alias resource. */ readonly id: string; /** * Alias ID. */ readonly name: string; /** * Subscription Alias response properties. */ readonly properties: outputs.subscription.SubscriptionAliasResponsePropertiesResponse; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: outputs.subscription.SystemDataResponse; /** * Resource type, Microsoft.Subscription/aliases. */ readonly type: string; } /** * Get Alias Subscription. * * Uses Azure REST API version 2024-08-01-preview. * * Other available API versions: 2021-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native subscription [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getAliasOutput(args: GetAliasOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAliasResult>; export interface GetAliasOutputArgs { /** * 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: pulumi.Input<string>; }