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

74 lines (73 loc) 1.89 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Returns account resource for a given name. * * Uses Azure REST API version 2023-04-13. */ export declare function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountResult>; export interface GetAccountArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the resource. */ resourceName: string; } /** * Account details */ export interface GetAccountResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Azure resource ID. */ readonly id: string; /** * Location of the resource. */ readonly location?: string; /** * Azure resource name. */ readonly name: string; /** * Property bag from billing account */ readonly properties: outputs.graphservices.AccountResourceResponseProperties; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: outputs.graphservices.AccountResourceResponseSystemData; /** * resource tags. */ readonly tags?: { [key: string]: string; }; /** * Azure resource type. */ readonly type: string; } /** * Returns account resource for a given name. * * Uses Azure REST API version 2023-04-13. */ export declare function getAccountOutput(args: GetAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountResult>; export interface GetAccountOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the resource. */ resourceName: pulumi.Input<string>; }