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

85 lines (84 loc) 2.66 kB
import * as pulumi from "@pulumi/pulumi"; /** * Returns the properties of an Azure Stack registration. * * Uses Azure REST API version 2022-06-01. * * Other available API versions: 2020-06-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurestack [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getRegistration(args: GetRegistrationArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistrationResult>; export interface GetRegistrationArgs { /** * Name of the Azure Stack registration. */ registrationName: string; /** * Name of the resource group. */ resourceGroup: string; } /** * Registration information. */ export interface GetRegistrationResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Specifies the billing mode for the Azure Stack registration. */ readonly billingModel?: string; /** * The identifier of the registered Azure Stack. */ readonly cloudId?: string; /** * The entity tag used for optimistic concurrency when modifying the resource. */ readonly etag?: string; /** * ID of the resource. */ readonly id: string; /** * Location of the resource. */ readonly location: string; /** * Name of the resource. */ readonly name: string; /** * The object identifier associated with the Azure Stack connecting to Azure. */ readonly objectId?: string; /** * Custom tags for the resource. */ readonly tags?: { [key: string]: string; }; /** * Type of Resource. */ readonly type: string; } /** * Returns the properties of an Azure Stack registration. * * Uses Azure REST API version 2022-06-01. * * Other available API versions: 2020-06-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurestack [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getRegistrationOutput(args: GetRegistrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRegistrationResult>; export interface GetRegistrationOutputArgs { /** * Name of the Azure Stack registration. */ registrationName: pulumi.Input<string>; /** * Name of the resource group. */ resourceGroup: pulumi.Input<string>; }