@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.89 kB
TypeScript
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>;
}