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