getDashboard

Use this data source to access information about an existing shared dashboard in the Azure Portal. This is the data source of the azure.portal.Dashboard resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.portal.PortalFunctions;
import com.pulumi.azure.portal.inputs.GetDashboardArgs;
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 example = PortalFunctions.getDashboard(GetDashboardArgs.builder()
.name("existing-dashboard")
.resourceGroupName("dashboard-rg")
.build());
ctx.export("id", data.azurerm_dashboard().example().id());
}
}

Return

A collection of values returned by getDashboard.

Parameters

argument

A collection of arguments for invoking getDashboard.


suspend fun getDashboard(dashboardProperties: String? = null, displayName: String? = null, name: String? = null, resourceGroupName: String): GetDashboardResult

Return

A collection of values returned by getDashboard.

See also

Parameters

dashboardProperties

JSON data representing dashboard body.

displayName

Specifies the display name of the shared Azure Portal Dashboard.

name

Specifies the name of the shared Azure Portal Dashboard.

resourceGroupName

Specifies the name of the resource group the shared Azure Portal Dashboard is located in.


Return

A collection of values returned by getDashboard.

See also

Parameters

argument

Builder for com.pulumi.azure.portal.kotlin.inputs.GetDashboardPlainArgs.