
Grafana v0.0.10, May 21 23

Grafana v0.0.10, May 21 23
grafana.getOrganizationPreferences
Explore with Pulumi AI
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
return await Deployment.RunAsync(() =>
{
var test = Grafana.GetOrganizationPreferences.Invoke();
});
package main
import (
"github.com/lbrlabs/pulumi-grafana/sdk/go/grafana"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := grafana.GetOrganizationPreferences(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.GrafanaFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = GrafanaFunctions.getOrganizationPreferences();
}
}
import pulumi
import pulumi_grafana as grafana
test = grafana.get_organization_preferences()
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
const test = grafana.getOrganizationPreferences({});
variables:
test:
fn::invoke:
Function: grafana:getOrganizationPreferences
Arguments: {}
Using getOrganizationPreferences
function getOrganizationPreferences(opts?: InvokeOptions): Promise<GetOrganizationPreferencesResult>
def get_organization_preferences(opts: Optional[InvokeOptions] = None) -> GetOrganizationPreferencesResult
func GetOrganizationPreferences(ctx *Context, opts ...InvokeOption) (*GetOrganizationPreferencesResult, error)
> Note: This function is named GetOrganizationPreferences
in the Go SDK.
public static class GetOrganizationPreferences
{
public static Task<GetOrganizationPreferencesResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetOrganizationPreferencesResult> getOrganizationPreferences(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: grafana:index/getOrganizationPreferences:getOrganizationPreferences
arguments:
# arguments dictionary
getOrganizationPreferences Result
The following output properties are available:
- Home
Dashboard intId The Organization home dashboard ID.
- Home
Dashboard stringUid The Organization home dashboard UID. This is only available in Grafana 9.0+.
- Id string
The provider-assigned unique ID for this managed resource.
- Org
Id string The Organization ID. If not set, the Org ID defined in the provider block will be used.
- Theme string
The Organization theme. Available values are
light
,dark
, or an empty string for the default.- Timezone string
The Organization timezone. Available values are
utc
,browser
, or an empty string for the default.- Week
Start string The Organization week start.
- Home
Dashboard intId The Organization home dashboard ID.
- Home
Dashboard stringUid The Organization home dashboard UID. This is only available in Grafana 9.0+.
- Id string
The provider-assigned unique ID for this managed resource.
- Org
Id string The Organization ID. If not set, the Org ID defined in the provider block will be used.
- Theme string
The Organization theme. Available values are
light
,dark
, or an empty string for the default.- Timezone string
The Organization timezone. Available values are
utc
,browser
, or an empty string for the default.- Week
Start string The Organization week start.
- home
Dashboard IntegerId The Organization home dashboard ID.
- home
Dashboard StringUid The Organization home dashboard UID. This is only available in Grafana 9.0+.
- id String
The provider-assigned unique ID for this managed resource.
- org
Id String The Organization ID. If not set, the Org ID defined in the provider block will be used.
- theme String
The Organization theme. Available values are
light
,dark
, or an empty string for the default.- timezone String
The Organization timezone. Available values are
utc
,browser
, or an empty string for the default.- week
Start String The Organization week start.
- home
Dashboard numberId The Organization home dashboard ID.
- home
Dashboard stringUid The Organization home dashboard UID. This is only available in Grafana 9.0+.
- id string
The provider-assigned unique ID for this managed resource.
- org
Id string The Organization ID. If not set, the Org ID defined in the provider block will be used.
- theme string
The Organization theme. Available values are
light
,dark
, or an empty string for the default.- timezone string
The Organization timezone. Available values are
utc
,browser
, or an empty string for the default.- week
Start string The Organization week start.
- home_
dashboard_ intid The Organization home dashboard ID.
- home_
dashboard_ struid The Organization home dashboard UID. This is only available in Grafana 9.0+.
- id str
The provider-assigned unique ID for this managed resource.
- org_
id str The Organization ID. If not set, the Org ID defined in the provider block will be used.
- theme str
The Organization theme. Available values are
light
,dark
, or an empty string for the default.- timezone str
The Organization timezone. Available values are
utc
,browser
, or an empty string for the default.- week_
start str The Organization week start.
- home
Dashboard NumberId The Organization home dashboard ID.
- home
Dashboard StringUid The Organization home dashboard UID. This is only available in Grafana 9.0+.
- id String
The provider-assigned unique ID for this managed resource.
- org
Id String The Organization ID. If not set, the Org ID defined in the provider block will be used.
- theme String
The Organization theme. Available values are
light
,dark
, or an empty string for the default.- timezone String
The Organization timezone. Available values are
utc
,browser
, or an empty string for the default.- week
Start String The Organization week start.
Package Details
- Repository
- grafana lbrlabs/pulumi-grafana
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
grafana
Terraform Provider.