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

64 lines (63 loc) 1.77 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieves the current value for a specific setting. * * Uses Azure REST API version 2019-11-01. */ export declare function getSetting(args: GetSettingArgs, opts?: pulumi.InvokeOptions): Promise<GetSettingResult>; export interface GetSettingArgs { /** * Name of the setting. Allowed values: myscope */ settingName: string; } /** * State of the myscope setting. */ export interface GetSettingResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Array of scopes with additional details used by Cost Management in the Azure portal. */ readonly cache?: outputs.costmanagement.SettingsPropertiesResponseCache[]; /** * Resource Id. */ readonly id: string; /** * Resource kind. */ readonly kind: string; /** * Resource name. */ readonly name: string; /** * Sets the default scope the current user will see when they sign into Azure Cost Management in the Azure portal. */ readonly scope: string; /** * Indicates what scope Cost Management in the Azure portal should default to. Allowed values: LastUsed. */ readonly startOn?: string; /** * Resource type. */ readonly type: string; } /** * Retrieves the current value for a specific setting. * * Uses Azure REST API version 2019-11-01. */ export declare function getSettingOutput(args: GetSettingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSettingResult>; export interface GetSettingOutputArgs { /** * Name of the setting. Allowed values: myscope */ settingName: pulumi.Input<string>; }