coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix
coralogix.getHostedDashboard
Explore with Pulumi AI
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as coralogix from "@pulumi/coralogix";
const importedDashboard = coralogix.getHostedDashboard({
uid: coralogix_hosted_dashboard.dashboard.id,
});
import pulumi
import pulumi_coralogix as coralogix
imported_dashboard = coralogix.get_hosted_dashboard(uid=coralogix_hosted_dashboard["dashboard"]["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/coralogix/v2/coralogix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := coralogix.LookupHostedDashboard(ctx, &coralogix.LookupHostedDashboardArgs{
Uid: coralogix_hosted_dashboard.Dashboard.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Coralogix = Pulumi.Coralogix;
return await Deployment.RunAsync(() =>
{
var importedDashboard = Coralogix.GetHostedDashboard.Invoke(new()
{
Uid = coralogix_hosted_dashboard.Dashboard.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.coralogix.CoralogixFunctions;
import com.pulumi.coralogix.inputs.GetHostedDashboardArgs;
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 importedDashboard = CoralogixFunctions.getHostedDashboard(GetHostedDashboardArgs.builder()
.uid(coralogix_hosted_dashboard.dashboard().id())
.build());
}
}
variables:
importedDashboard:
fn::invoke:
function: coralogix:getHostedDashboard
arguments:
uid: ${coralogix_hosted_dashboard.dashboard.id}
Using getHostedDashboard
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 getHostedDashboard(args: GetHostedDashboardArgs, opts?: InvokeOptions): Promise<GetHostedDashboardResult>
function getHostedDashboardOutput(args: GetHostedDashboardOutputArgs, opts?: InvokeOptions): Output<GetHostedDashboardResult>
def get_hosted_dashboard(id: Optional[str] = None,
uid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHostedDashboardResult
def get_hosted_dashboard_output(id: Optional[pulumi.Input[str]] = None,
uid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHostedDashboardResult]
func LookupHostedDashboard(ctx *Context, args *LookupHostedDashboardArgs, opts ...InvokeOption) (*LookupHostedDashboardResult, error)
func LookupHostedDashboardOutput(ctx *Context, args *LookupHostedDashboardOutputArgs, opts ...InvokeOption) LookupHostedDashboardResultOutput
> Note: This function is named LookupHostedDashboard
in the Go SDK.
public static class GetHostedDashboard
{
public static Task<GetHostedDashboardResult> InvokeAsync(GetHostedDashboardArgs args, InvokeOptions? opts = null)
public static Output<GetHostedDashboardResult> Invoke(GetHostedDashboardInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHostedDashboardResult> getHostedDashboard(GetHostedDashboardArgs args, InvokeOptions options)
public static Output<GetHostedDashboardResult> getHostedDashboard(GetHostedDashboardArgs args, InvokeOptions options)
fn::invoke:
function: coralogix:index/getHostedDashboard:getHostedDashboard
arguments:
# arguments dictionary
The following arguments are supported:
getHostedDashboard Result
The following output properties are available:
- Grafanas
List<Get
Hosted Dashboard Grafana> - Hosted grafana dashboard. * Official documentation * HTTP API
- Id string
- The ID of this resource.
- Uid string
- The unique identifier of a dashboard with the dashboard-type prefix (e.g. - grafana:vgvvfknr)
- Grafanas
[]Get
Hosted Dashboard Grafana - Hosted grafana dashboard. * Official documentation * HTTP API
- Id string
- The ID of this resource.
- Uid string
- The unique identifier of a dashboard with the dashboard-type prefix (e.g. - grafana:vgvvfknr)
- grafanas
List<Get
Hosted Dashboard Grafana> - Hosted grafana dashboard. * Official documentation * HTTP API
- id String
- The ID of this resource.
- uid String
- The unique identifier of a dashboard with the dashboard-type prefix (e.g. - grafana:vgvvfknr)
- grafanas
Get
Hosted Dashboard Grafana[] - Hosted grafana dashboard. * Official documentation * HTTP API
- id string
- The ID of this resource.
- uid string
- The unique identifier of a dashboard with the dashboard-type prefix (e.g. - grafana:vgvvfknr)
- grafanas
Sequence[Get
Hosted Dashboard Grafana] - Hosted grafana dashboard. * Official documentation * HTTP API
- id str
- The ID of this resource.
- uid str
- The unique identifier of a dashboard with the dashboard-type prefix (e.g. - grafana:vgvvfknr)
- grafanas List<Property Map>
- Hosted grafana dashboard. * Official documentation * HTTP API
- id String
- The ID of this resource.
- uid String
- The unique identifier of a dashboard with the dashboard-type prefix (e.g. - grafana:vgvvfknr)
Supporting Types
GetHostedDashboardGrafana
- Config
Json string - Dashboard
Id double - Folder double
- Is
Starred bool - Title string
- Uid string
- Url string
- Version double
- Config
Json string - Dashboard
Id float64 - Folder float64
- Is
Starred bool - Title string
- Uid string
- Url string
- Version float64
- config
Json String - dashboard
Id Double - folder Double
- is
Starred Boolean - title String
- uid String
- url String
- version Double
- config
Json string - dashboard
Id number - folder number
- is
Starred boolean - title string
- uid string
- url string
- version number
- config_
json str - dashboard_
id float - folder float
- is_
starred bool - title str
- uid str
- url str
- version float
- config
Json String - dashboard
Id Number - folder Number
- is
Starred Boolean - title String
- uid String
- url String
- version Number
Package Details
- Repository
- coralogix coralogix/terraform-provider-coralogix
- License
- Notes
- This Pulumi package is based on the
coralogix
Terraform Provider.
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix