1. Packages
  2. Azure Native v1
  3. API Docs
  4. costmanagement
  5. getSetting
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.costmanagement.getSetting

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Retrieves the current value for a specific setting. API Version: 2019-11-01.

    Using getSetting

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSetting(args: GetSettingArgs, opts?: InvokeOptions): Promise<GetSettingResult>
    function getSettingOutput(args: GetSettingOutputArgs, opts?: InvokeOptions): Output<GetSettingResult>
    def get_setting(setting_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetSettingResult
    def get_setting_output(setting_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetSettingResult]
    func LookupSetting(ctx *Context, args *LookupSettingArgs, opts ...InvokeOption) (*LookupSettingResult, error)
    func LookupSettingOutput(ctx *Context, args *LookupSettingOutputArgs, opts ...InvokeOption) LookupSettingResultOutput

    > Note: This function is named LookupSetting in the Go SDK.

    public static class GetSetting 
    {
        public static Task<GetSettingResult> InvokeAsync(GetSettingArgs args, InvokeOptions? opts = null)
        public static Output<GetSettingResult> Invoke(GetSettingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSettingResult> getSetting(GetSettingArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:costmanagement:getSetting
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SettingName string
    Name of the setting. Allowed values: myscope
    SettingName string
    Name of the setting. Allowed values: myscope
    settingName String
    Name of the setting. Allowed values: myscope
    settingName string
    Name of the setting. Allowed values: myscope
    setting_name str
    Name of the setting. Allowed values: myscope
    settingName String
    Name of the setting. Allowed values: myscope

    getSetting Result

    The following output properties are available:

    Id string
    Resource Id.
    Kind string
    Resource kind.
    Name string
    Resource name.
    Scope string
    Sets the default scope the current user will see when they sign into Azure Cost Management in the Azure portal.
    Type string
    Resource type.
    Cache List<Pulumi.AzureNative.CostManagement.Outputs.SettingsPropertiesResponseCache>
    Array of scopes with additional details used by Cost Management in the Azure portal.
    StartOn string
    Indicates what scope Cost Management in the Azure portal should default to. Allowed values: LastUsed.
    Id string
    Resource Id.
    Kind string
    Resource kind.
    Name string
    Resource name.
    Scope string
    Sets the default scope the current user will see when they sign into Azure Cost Management in the Azure portal.
    Type string
    Resource type.
    Cache []SettingsPropertiesResponseCache
    Array of scopes with additional details used by Cost Management in the Azure portal.
    StartOn string
    Indicates what scope Cost Management in the Azure portal should default to. Allowed values: LastUsed.
    id String
    Resource Id.
    kind String
    Resource kind.
    name String
    Resource name.
    scope String
    Sets the default scope the current user will see when they sign into Azure Cost Management in the Azure portal.
    type String
    Resource type.
    cache List<SettingsPropertiesResponseCache>
    Array of scopes with additional details used by Cost Management in the Azure portal.
    startOn String
    Indicates what scope Cost Management in the Azure portal should default to. Allowed values: LastUsed.
    id string
    Resource Id.
    kind string
    Resource kind.
    name string
    Resource name.
    scope string
    Sets the default scope the current user will see when they sign into Azure Cost Management in the Azure portal.
    type string
    Resource type.
    cache SettingsPropertiesResponseCache[]
    Array of scopes with additional details used by Cost Management in the Azure portal.
    startOn string
    Indicates what scope Cost Management in the Azure portal should default to. Allowed values: LastUsed.
    id str
    Resource Id.
    kind str
    Resource kind.
    name str
    Resource name.
    scope str
    Sets the default scope the current user will see when they sign into Azure Cost Management in the Azure portal.
    type str
    Resource type.
    cache Sequence[SettingsPropertiesResponseCache]
    Array of scopes with additional details used by Cost Management in the Azure portal.
    start_on str
    Indicates what scope Cost Management in the Azure portal should default to. Allowed values: LastUsed.
    id String
    Resource Id.
    kind String
    Resource kind.
    name String
    Resource name.
    scope String
    Sets the default scope the current user will see when they sign into Azure Cost Management in the Azure portal.
    type String
    Resource type.
    cache List<Property Map>
    Array of scopes with additional details used by Cost Management in the Azure portal.
    startOn String
    Indicates what scope Cost Management in the Azure portal should default to. Allowed values: LastUsed.

    Supporting Types

    SettingsPropertiesResponseCache

    Channel string
    Indicates the account type. Allowed values include: EA, PAYG, Modern, Internal, Unknown.
    Id string
    Resource ID used by Resource Manager to uniquely identify the scope.
    Name string
    Display name for the scope.
    Subchannel string
    Indicates the type of modern account. Allowed values include: Individual, Enterprise, Partner, Indirect, NotApplicable
    Parent string
    Resource ID of the parent scope. For instance, subscription's resource ID for a resource group or a management group resource ID for a subscription.
    Status string
    Indicates the status of the scope. Status only applies to subscriptions and billing accounts.
    Channel string
    Indicates the account type. Allowed values include: EA, PAYG, Modern, Internal, Unknown.
    Id string
    Resource ID used by Resource Manager to uniquely identify the scope.
    Name string
    Display name for the scope.
    Subchannel string
    Indicates the type of modern account. Allowed values include: Individual, Enterprise, Partner, Indirect, NotApplicable
    Parent string
    Resource ID of the parent scope. For instance, subscription's resource ID for a resource group or a management group resource ID for a subscription.
    Status string
    Indicates the status of the scope. Status only applies to subscriptions and billing accounts.
    channel String
    Indicates the account type. Allowed values include: EA, PAYG, Modern, Internal, Unknown.
    id String
    Resource ID used by Resource Manager to uniquely identify the scope.
    name String
    Display name for the scope.
    subchannel String
    Indicates the type of modern account. Allowed values include: Individual, Enterprise, Partner, Indirect, NotApplicable
    parent String
    Resource ID of the parent scope. For instance, subscription's resource ID for a resource group or a management group resource ID for a subscription.
    status String
    Indicates the status of the scope. Status only applies to subscriptions and billing accounts.
    channel string
    Indicates the account type. Allowed values include: EA, PAYG, Modern, Internal, Unknown.
    id string
    Resource ID used by Resource Manager to uniquely identify the scope.
    name string
    Display name for the scope.
    subchannel string
    Indicates the type of modern account. Allowed values include: Individual, Enterprise, Partner, Indirect, NotApplicable
    parent string
    Resource ID of the parent scope. For instance, subscription's resource ID for a resource group or a management group resource ID for a subscription.
    status string
    Indicates the status of the scope. Status only applies to subscriptions and billing accounts.
    channel str
    Indicates the account type. Allowed values include: EA, PAYG, Modern, Internal, Unknown.
    id str
    Resource ID used by Resource Manager to uniquely identify the scope.
    name str
    Display name for the scope.
    subchannel str
    Indicates the type of modern account. Allowed values include: Individual, Enterprise, Partner, Indirect, NotApplicable
    parent str
    Resource ID of the parent scope. For instance, subscription's resource ID for a resource group or a management group resource ID for a subscription.
    status str
    Indicates the status of the scope. Status only applies to subscriptions and billing accounts.
    channel String
    Indicates the account type. Allowed values include: EA, PAYG, Modern, Internal, Unknown.
    id String
    Resource ID used by Resource Manager to uniquely identify the scope.
    name String
    Display name for the scope.
    subchannel String
    Indicates the type of modern account. Allowed values include: Individual, Enterprise, Partner, Indirect, NotApplicable
    parent String
    Resource ID of the parent scope. For instance, subscription's resource ID for a resource group or a management group resource ID for a subscription.
    status String
    Indicates the status of the scope. Status only applies to subscriptions and billing accounts.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi