grafana.experimental.AppsPlaylistV0Alpha1
Explore with Pulumi AI
Manages Grafana playlists using the new Grafana APIs.
Create AppsPlaylistV0Alpha1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppsPlaylistV0Alpha1(name: string, args?: AppsPlaylistV0Alpha1Args, opts?: CustomResourceOptions);
@overload
def AppsPlaylistV0Alpha1(resource_name: str,
args: Optional[AppsPlaylistV0Alpha1Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AppsPlaylistV0Alpha1(resource_name: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[AppsPlaylistV0Alpha1MetadataArgs] = None,
options: Optional[AppsPlaylistV0Alpha1OptionsArgs] = None,
spec: Optional[AppsPlaylistV0Alpha1SpecArgs] = None)
func NewAppsPlaylistV0Alpha1(ctx *Context, name string, args *AppsPlaylistV0Alpha1Args, opts ...ResourceOption) (*AppsPlaylistV0Alpha1, error)
public AppsPlaylistV0Alpha1(string name, AppsPlaylistV0Alpha1Args? args = null, CustomResourceOptions? opts = null)
public AppsPlaylistV0Alpha1(String name, AppsPlaylistV0Alpha1Args args)
public AppsPlaylistV0Alpha1(String name, AppsPlaylistV0Alpha1Args args, CustomResourceOptions options)
type: grafana:experimental:AppsPlaylistV0Alpha1
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppsPlaylistV0Alpha1Args
- 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 AppsPlaylistV0Alpha1Args
- 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 AppsPlaylistV0Alpha1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppsPlaylistV0Alpha1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppsPlaylistV0Alpha1Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var appsPlaylistV0Alpha1Resource = new Grafana.Experimental.AppsPlaylistV0Alpha1("appsPlaylistV0Alpha1Resource", new()
{
Metadata = new Grafana.Experimental.Inputs.AppsPlaylistV0Alpha1MetadataArgs
{
Uid = "string",
FolderUid = "string",
Url = "string",
Uuid = "string",
Version = "string",
},
Options = new Grafana.Experimental.Inputs.AppsPlaylistV0Alpha1OptionsArgs
{
Overwrite = false,
},
Spec = new Grafana.Experimental.Inputs.AppsPlaylistV0Alpha1SpecArgs
{
Items = new[]
{
new Grafana.Experimental.Inputs.AppsPlaylistV0Alpha1SpecItemArgs
{
Type = "string",
Value = "string",
},
},
Title = "string",
Interval = "string",
},
});
example, err := experimental.NewAppsPlaylistV0Alpha1(ctx, "appsPlaylistV0Alpha1Resource", &experimental.AppsPlaylistV0Alpha1Args{
Metadata: &experimental.AppsPlaylistV0Alpha1MetadataArgs{
Uid: pulumi.String("string"),
FolderUid: pulumi.String("string"),
Url: pulumi.String("string"),
Uuid: pulumi.String("string"),
Version: pulumi.String("string"),
},
Options: &experimental.AppsPlaylistV0Alpha1OptionsArgs{
Overwrite: pulumi.Bool(false),
},
Spec: &experimental.AppsPlaylistV0Alpha1SpecArgs{
Items: experimental.AppsPlaylistV0Alpha1SpecItemArray{
&experimental.AppsPlaylistV0Alpha1SpecItemArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Title: pulumi.String("string"),
Interval: pulumi.String("string"),
},
})
var appsPlaylistV0Alpha1Resource = new AppsPlaylistV0Alpha1("appsPlaylistV0Alpha1Resource", AppsPlaylistV0Alpha1Args.builder()
.metadata(AppsPlaylistV0Alpha1MetadataArgs.builder()
.uid("string")
.folderUid("string")
.url("string")
.uuid("string")
.version("string")
.build())
.options(AppsPlaylistV0Alpha1OptionsArgs.builder()
.overwrite(false)
.build())
.spec(AppsPlaylistV0Alpha1SpecArgs.builder()
.items(AppsPlaylistV0Alpha1SpecItemArgs.builder()
.type("string")
.value("string")
.build())
.title("string")
.interval("string")
.build())
.build());
apps_playlist_v0_alpha1_resource = grafana.experimental.AppsPlaylistV0Alpha1("appsPlaylistV0Alpha1Resource",
metadata={
"uid": "string",
"folder_uid": "string",
"url": "string",
"uuid": "string",
"version": "string",
},
options={
"overwrite": False,
},
spec={
"items": [{
"type": "string",
"value": "string",
}],
"title": "string",
"interval": "string",
})
const appsPlaylistV0Alpha1Resource = new grafana.experimental.AppsPlaylistV0Alpha1("appsPlaylistV0Alpha1Resource", {
metadata: {
uid: "string",
folderUid: "string",
url: "string",
uuid: "string",
version: "string",
},
options: {
overwrite: false,
},
spec: {
items: [{
type: "string",
value: "string",
}],
title: "string",
interval: "string",
},
});
type: grafana:experimental:AppsPlaylistV0Alpha1
properties:
metadata:
folderUid: string
uid: string
url: string
uuid: string
version: string
options:
overwrite: false
spec:
interval: string
items:
- type: string
value: string
title: string
AppsPlaylistV0Alpha1 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AppsPlaylistV0Alpha1 resource accepts the following input properties:
- Metadata
Pulumiverse.
Grafana. Experimental. Inputs. Apps Playlist V0Alpha1Metadata - The metadata of the resource.
- Options
Pulumiverse.
Grafana. Experimental. Inputs. Apps Playlist V0Alpha1Options - Options for applying the resource.
- Spec
Pulumiverse.
Grafana. Experimental. Inputs. Apps Playlist V0Alpha1Spec - The spec of the resource.
- Metadata
Apps
Playlist V0Alpha1Metadata Args - The metadata of the resource.
- Options
Apps
Playlist V0Alpha1Options Args - Options for applying the resource.
- Spec
Apps
Playlist V0Alpha1Spec Args - The spec of the resource.
- metadata
Apps
Playlist V0Alpha1Metadata - The metadata of the resource.
- options
Apps
Playlist V0Alpha1Options - Options for applying the resource.
- spec
Apps
Playlist V0Alpha1Spec - The spec of the resource.
- metadata
Apps
Playlist V0Alpha1Metadata - The metadata of the resource.
- options
Apps
Playlist V0Alpha1Options - Options for applying the resource.
- spec
Apps
Playlist V0Alpha1Spec - The spec of the resource.
- metadata
Apps
Playlist V0Alpha1Metadata Args - The metadata of the resource.
- options
Apps
Playlist V0Alpha1Options Args - Options for applying the resource.
- spec
Apps
Playlist V0Alpha1Spec Args - The spec of the resource.
- metadata Property Map
- The metadata of the resource.
- options Property Map
- Options for applying the resource.
- spec Property Map
- The spec of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the AppsPlaylistV0Alpha1 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 AppsPlaylistV0Alpha1 Resource
Get an existing AppsPlaylistV0Alpha1 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?: AppsPlaylistV0Alpha1State, opts?: CustomResourceOptions): AppsPlaylistV0Alpha1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[AppsPlaylistV0Alpha1MetadataArgs] = None,
options: Optional[AppsPlaylistV0Alpha1OptionsArgs] = None,
spec: Optional[AppsPlaylistV0Alpha1SpecArgs] = None) -> AppsPlaylistV0Alpha1
func GetAppsPlaylistV0Alpha1(ctx *Context, name string, id IDInput, state *AppsPlaylistV0Alpha1State, opts ...ResourceOption) (*AppsPlaylistV0Alpha1, error)
public static AppsPlaylistV0Alpha1 Get(string name, Input<string> id, AppsPlaylistV0Alpha1State? state, CustomResourceOptions? opts = null)
public static AppsPlaylistV0Alpha1 get(String name, Output<String> id, AppsPlaylistV0Alpha1State state, CustomResourceOptions options)
resources: _: type: grafana:experimental:AppsPlaylistV0Alpha1 get: id: ${id}
- 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.
- Metadata
Pulumiverse.
Grafana. Experimental. Inputs. Apps Playlist V0Alpha1Metadata - The metadata of the resource.
- Options
Pulumiverse.
Grafana. Experimental. Inputs. Apps Playlist V0Alpha1Options - Options for applying the resource.
- Spec
Pulumiverse.
Grafana. Experimental. Inputs. Apps Playlist V0Alpha1Spec - The spec of the resource.
- Metadata
Apps
Playlist V0Alpha1Metadata Args - The metadata of the resource.
- Options
Apps
Playlist V0Alpha1Options Args - Options for applying the resource.
- Spec
Apps
Playlist V0Alpha1Spec Args - The spec of the resource.
- metadata
Apps
Playlist V0Alpha1Metadata - The metadata of the resource.
- options
Apps
Playlist V0Alpha1Options - Options for applying the resource.
- spec
Apps
Playlist V0Alpha1Spec - The spec of the resource.
- metadata
Apps
Playlist V0Alpha1Metadata - The metadata of the resource.
- options
Apps
Playlist V0Alpha1Options - Options for applying the resource.
- spec
Apps
Playlist V0Alpha1Spec - The spec of the resource.
- metadata
Apps
Playlist V0Alpha1Metadata Args - The metadata of the resource.
- options
Apps
Playlist V0Alpha1Options Args - Options for applying the resource.
- spec
Apps
Playlist V0Alpha1Spec Args - The spec of the resource.
- metadata Property Map
- The metadata of the resource.
- options Property Map
- Options for applying the resource.
- spec Property Map
- The spec of the resource.
Supporting Types
AppsPlaylistV0Alpha1Metadata, AppsPlaylistV0Alpha1MetadataArgs
- uid str
- The unique identifier of the resource.
- folder_
uid str - The UID of the folder to save the resource in.
- url str
- The full URL of the resource.
- uuid str
- The globally unique identifier of a resource, used by the API for tracking.
- version str
- The version of the resource.
AppsPlaylistV0Alpha1Options, AppsPlaylistV0Alpha1OptionsArgs
- Overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- Overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite Boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite Boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
AppsPlaylistV0Alpha1Spec, AppsPlaylistV0Alpha1SpecArgs
- Items
List<Pulumiverse.
Grafana. Experimental. Inputs. Apps Playlist V0Alpha1Spec Item> - The items of the playlist.
- Title string
- The title of the playlist.
- Interval string
- The interval of the playlist.
- Items
[]Apps
Playlist V0Alpha1Spec Item - The items of the playlist.
- Title string
- The title of the playlist.
- Interval string
- The interval of the playlist.
- items
List<Apps
Playlist V0Alpha1Spec Item> - The items of the playlist.
- title String
- The title of the playlist.
- interval String
- The interval of the playlist.
- items
Apps
Playlist V0Alpha1Spec Item[] - The items of the playlist.
- title string
- The title of the playlist.
- interval string
- The interval of the playlist.
- items
Sequence[Apps
Playlist V0Alpha1Spec Item] - The items of the playlist.
- title str
- The title of the playlist.
- interval str
- The interval of the playlist.
- items List<Property Map>
- The items of the playlist.
- title String
- The title of the playlist.
- interval String
- The interval of the playlist.
AppsPlaylistV0Alpha1SpecItem, AppsPlaylistV0Alpha1SpecItemArgs
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
grafana
Terraform Provider.