Grafana v0.16.1 published on Saturday, Mar 15, 2025 by pulumiverse
grafana.frontendObservability.getApp
Explore with Pulumi AI
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.cloud.CloudFunctions;
import com.pulumi.grafana.cloud.inputs.GetStackArgs;
import com.pulumi.grafana.frontendObservability.FrontendObservabilityFunctions;
import com.pulumi.grafana.frontendObservability.inputs.GetAppArgs;
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 teststack = CloudFunctions.getStack(GetStackArgs.builder()
.name("gcloudstacktest")
.build());
final var test-app = FrontendObservabilityFunctions.getApp(GetAppArgs.builder()
.stackId(teststack.applyValue(getStackResult -> getStackResult.id()))
.name("test-app")
.build());
}
}
variables:
teststack:
fn::invoke:
function: grafana:cloud:getStack
arguments:
name: gcloudstacktest
test-app:
fn::invoke:
function: grafana:frontendObservability:getApp
arguments:
stackId: ${teststack.id}
name: test-app
Using getApp
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 getApp(args: GetAppArgs, opts?: InvokeOptions): Promise<GetAppResult>
function getAppOutput(args: GetAppOutputArgs, opts?: InvokeOptions): Output<GetAppResult>
def get_app(name: Optional[str] = None,
stack_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetAppResult
def get_app_output(name: Optional[pulumi.Input[str]] = None,
stack_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppResult]
func GetApp(ctx *Context, args *GetAppArgs, opts ...InvokeOption) (*GetAppResult, error)
func GetAppOutput(ctx *Context, args *GetAppOutputArgs, opts ...InvokeOption) GetAppResultOutput
> Note: This function is named GetApp
in the Go SDK.
public static class GetApp
{
public static Task<GetAppResult> InvokeAsync(GetAppArgs args, InvokeOptions? opts = null)
public static Output<GetAppResult> Invoke(GetAppInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
public static Output<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
fn::invoke:
function: grafana:frontendObservability/getApp:getApp
arguments:
# arguments dictionary
The following arguments are supported:
getApp Result
The following output properties are available:
- Allowed
Origins List<string> - A list of allowed origins for CORS.
- Extra
Log Dictionary<string, string>Attributes - The extra attributes to append in each signal.
- Id int
- Name string
- Settings Dictionary<string, string>
- The settings of the Frontend Observability App.
- Stack
Id int
- Allowed
Origins []string - A list of allowed origins for CORS.
- Extra
Log map[string]stringAttributes - The extra attributes to append in each signal.
- Id int
- Name string
- Settings map[string]string
- The settings of the Frontend Observability App.
- Stack
Id int
- allowed
Origins List<String> - A list of allowed origins for CORS.
- extra
Log Map<String,String>Attributes - The extra attributes to append in each signal.
- id Integer
- name String
- settings Map<String,String>
- The settings of the Frontend Observability App.
- stack
Id Integer
- allowed
Origins string[] - A list of allowed origins for CORS.
- extra
Log {[key: string]: string}Attributes - The extra attributes to append in each signal.
- id number
- name string
- settings {[key: string]: string}
- The settings of the Frontend Observability App.
- stack
Id number
- allowed_
origins Sequence[str] - A list of allowed origins for CORS.
- extra_
log_ Mapping[str, str]attributes - The extra attributes to append in each signal.
- id int
- name str
- settings Mapping[str, str]
- The settings of the Frontend Observability App.
- stack_
id int
- allowed
Origins List<String> - A list of allowed origins for CORS.
- extra
Log Map<String>Attributes - The extra attributes to append in each signal.
- id Number
- name String
- settings Map<String>
- The settings of the Frontend Observability App.
- stack
Id Number
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
grafana
Terraform Provider.