grafana logo
Grafana v0.0.10, May 21 23

grafana.Playlist

Explore with Pulumi AI

Create Playlist Resource

new Playlist(name: string, args: PlaylistArgs, opts?: CustomResourceOptions);
@overload
def Playlist(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             interval: Optional[str] = None,
             items: Optional[Sequence[PlaylistItemArgs]] = None,
             name: Optional[str] = None,
             org_id: Optional[str] = None)
@overload
def Playlist(resource_name: str,
             args: PlaylistArgs,
             opts: Optional[ResourceOptions] = None)
func NewPlaylist(ctx *Context, name string, args PlaylistArgs, opts ...ResourceOption) (*Playlist, error)
public Playlist(string name, PlaylistArgs args, CustomResourceOptions? opts = null)
public Playlist(String name, PlaylistArgs args)
public Playlist(String name, PlaylistArgs args, CustomResourceOptions options)
type: grafana:Playlist
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PlaylistArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args PlaylistArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PlaylistArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PlaylistArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PlaylistArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Playlist Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Playlist resource accepts the following input properties:

Interval string
Items List<Lbrlabs.PulumiPackage.Grafana.Inputs.PlaylistItemArgs>
Name string

The name of the playlist.

OrgId string

The Organization ID. If not set, the Org ID defined in the provider block will be used.

Interval string
Items []PlaylistItemArgs
Name string

The name of the playlist.

OrgId string

The Organization ID. If not set, the Org ID defined in the provider block will be used.

interval String
items List<PlaylistItemArgs>
name String

The name of the playlist.

orgId String

The Organization ID. If not set, the Org ID defined in the provider block will be used.

interval string
items PlaylistItemArgs[]
name string

The name of the playlist.

orgId string

The Organization ID. If not set, the Org ID defined in the provider block will be used.

interval str
items Sequence[PlaylistItemArgs]
name str

The name of the playlist.

org_id str

The Organization ID. If not set, the Org ID defined in the provider block will be used.

interval String
items List<Property Map>
name String

The name of the playlist.

orgId String

The Organization ID. If not set, the Org ID defined in the provider block will be used.

Outputs

All input properties are implicitly available as output properties. Additionally, the Playlist resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing Playlist Resource

Get an existing Playlist resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PlaylistState, opts?: CustomResourceOptions): Playlist
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        interval: Optional[str] = None,
        items: Optional[Sequence[PlaylistItemArgs]] = None,
        name: Optional[str] = None,
        org_id: Optional[str] = None) -> Playlist
func GetPlaylist(ctx *Context, name string, id IDInput, state *PlaylistState, opts ...ResourceOption) (*Playlist, error)
public static Playlist Get(string name, Input<string> id, PlaylistState? state, CustomResourceOptions? opts = null)
public static Playlist get(String name, Output<String> id, PlaylistState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Interval string
Items List<Lbrlabs.PulumiPackage.Grafana.Inputs.PlaylistItemArgs>
Name string

The name of the playlist.

OrgId string

The Organization ID. If not set, the Org ID defined in the provider block will be used.

Interval string
Items []PlaylistItemArgs
Name string

The name of the playlist.

OrgId string

The Organization ID. If not set, the Org ID defined in the provider block will be used.

interval String
items List<PlaylistItemArgs>
name String

The name of the playlist.

orgId String

The Organization ID. If not set, the Org ID defined in the provider block will be used.

interval string
items PlaylistItemArgs[]
name string

The name of the playlist.

orgId string

The Organization ID. If not set, the Org ID defined in the provider block will be used.

interval str
items Sequence[PlaylistItemArgs]
name str

The name of the playlist.

org_id str

The Organization ID. If not set, the Org ID defined in the provider block will be used.

interval String
items List<Property Map>
name String

The name of the playlist.

orgId String

The Organization ID. If not set, the Org ID defined in the provider block will be used.

Supporting Types

PlaylistItem

Order int
Title string
Id string

The ID of this resource.

Type string
Value string
Order int
Title string
Id string

The ID of this resource.

Type string
Value string
order Integer
title String
id String

The ID of this resource.

type String
value String
order number
title string
id string

The ID of this resource.

type string
value string
order int
title str
id str

The ID of this resource.

type str
value str
order Number
title String
id String

The ID of this resource.

type String
value String

Package Details

Repository
grafana lbrlabs/pulumi-grafana
License
Apache-2.0
Notes

This Pulumi package is based on the grafana Terraform Provider.