1. Packages
  2. Splight
  3. API Docs
  4. getGrids
splight v1.2.13 published on Friday, Feb 14, 2025 by splightplatform

splight.getGrids

Explore with Pulumi AI

splight v1.2.13 published on Friday, Feb 14, 2025 by splightplatform

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as splight from "@pulumi/splight";

const grids = splight.getGrids({});
Copy
import pulumi
import pulumi_splight as splight

grids = splight.get_grids()
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/splightplatform/pulumi-splight/sdk/go/splight"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := splight.GetGrids(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Splight = Pulumi.Splight;

return await Deployment.RunAsync(() => 
{
    var grids = Splight.GetGrids.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.splight.SplightFunctions;
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 grids = SplightFunctions.getGrids();

    }
}
Copy
variables:
  grids:
    fn::invoke:
      Function: splight:getGrids
      Arguments: {}
Copy

Using getGrids

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 getGrids(opts?: InvokeOptions): Promise<GetGridsResult>
function getGridsOutput(opts?: InvokeOptions): Output<GetGridsResult>
Copy
def get_grids(opts: Optional[InvokeOptions] = None) -> GetGridsResult
def get_grids_output(opts: Optional[InvokeOptions] = None) -> Output[GetGridsResult]
Copy
func GetGrids(ctx *Context, opts ...InvokeOption) (*GetGridsResult, error)
func GetGridsOutput(ctx *Context, opts ...InvokeOption) GetGridsResultOutput
Copy

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

public static class GetGrids 
{
    public static Task<GetGridsResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetGridsResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGridsResult> getGrids(InvokeOptions options)
public static Output<GetGridsResult> getGrids(InvokeOptions options)
Copy
fn::invoke:
  function: splight:index/getGrids:getGrids
  arguments:
    # arguments dictionary
Copy

getGrids Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Tags List<Splight.Splight.Outputs.GetGridsTag>
Id string
The provider-assigned unique ID for this managed resource.
Tags []GetGridsTag
id String
The provider-assigned unique ID for this managed resource.
tags List<GetGridsTag>
id string
The provider-assigned unique ID for this managed resource.
tags GetGridsTag[]
id str
The provider-assigned unique ID for this managed resource.
tags Sequence[GetGridsTag]
id String
The provider-assigned unique ID for this managed resource.
tags List<Property Map>

Supporting Types

GetGridsTag

Id This property is required. string
Id of the resource
Name This property is required. string
name of the resource
Id This property is required. string
Id of the resource
Name This property is required. string
name of the resource
id This property is required. String
Id of the resource
name This property is required. String
name of the resource
id This property is required. string
Id of the resource
name This property is required. string
name of the resource
id This property is required. str
Id of the resource
name This property is required. str
name of the resource
id This property is required. String
Id of the resource
name This property is required. String
name of the resource

Package Details

Repository
splight splightplatform/pulumi-splight
License
Apache-2.0
Notes
This Pulumi package is based on the splight Terraform Provider.
splight v1.2.13 published on Friday, Feb 14, 2025 by splightplatform