youtube

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Playlist

type Playlist struct {
	pulumi.CustomResourceState

	// the id of the channel. https://www.youtube.com/channel/<channelId>
	ChannelId pulumi.StringOutput `pulumi:"channelId"`
	// description of the playlist
	Description pulumi.StringOutput `pulumi:"description"`
	PlaylistId  pulumi.StringOutput `pulumi:"playlistId"`
	// title of the playlist
	Title pulumi.StringOutput `pulumi:"title"`
	// array of youtube links or ids. (https://www.youtube.com/watch?v=dQw4w9WgXcQ, or dQw4w9WgXcQ)
	Videos pulumi.StringArrayOutput `pulumi:"videos"`
	// visibility of the playlist. valid values are public, private, unlisted
	Visibility pulumi.StringOutput `pulumi:"visibility"`
}

func GetPlaylist

func GetPlaylist(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PlaylistState, opts ...pulumi.ResourceOption) (*Playlist, error)

GetPlaylist gets an existing Playlist resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPlaylist

func NewPlaylist(ctx *pulumi.Context,
	name string, args *PlaylistArgs, opts ...pulumi.ResourceOption) (*Playlist, error)

NewPlaylist registers a new resource with the given unique name, arguments, and options.

func (*Playlist) ElementType

func (*Playlist) ElementType() reflect.Type

func (*Playlist) ToPlaylistOutput

func (i *Playlist) ToPlaylistOutput() PlaylistOutput

func (*Playlist) ToPlaylistOutputWithContext

func (i *Playlist) ToPlaylistOutputWithContext(ctx context.Context) PlaylistOutput

type PlaylistArgs

type PlaylistArgs struct {
	// the id of the channel. https://www.youtube.com/channel/<channelId>
	ChannelId pulumi.StringPtrInput
	// description of the playlist
	Description pulumi.StringInput
	PlaylistId  pulumi.StringPtrInput
	// title of the playlist
	Title pulumi.StringInput
	// array of youtube links or ids. (https://www.youtube.com/watch?v=dQw4w9WgXcQ, or dQw4w9WgXcQ)
	Videos pulumi.StringArrayInput
	// visibility of the playlist. valid values are public, private, unlisted
	Visibility pulumi.StringInput
}

The set of arguments for constructing a Playlist resource.

func (PlaylistArgs) ElementType

func (PlaylistArgs) ElementType() reflect.Type

type PlaylistArray

type PlaylistArray []PlaylistInput

func (PlaylistArray) ElementType

func (PlaylistArray) ElementType() reflect.Type

func (PlaylistArray) ToPlaylistArrayOutput

func (i PlaylistArray) ToPlaylistArrayOutput() PlaylistArrayOutput

func (PlaylistArray) ToPlaylistArrayOutputWithContext

func (i PlaylistArray) ToPlaylistArrayOutputWithContext(ctx context.Context) PlaylistArrayOutput

type PlaylistArrayInput

type PlaylistArrayInput interface {
	pulumi.Input

	ToPlaylistArrayOutput() PlaylistArrayOutput
	ToPlaylistArrayOutputWithContext(context.Context) PlaylistArrayOutput
}

PlaylistArrayInput is an input type that accepts PlaylistArray and PlaylistArrayOutput values. You can construct a concrete instance of `PlaylistArrayInput` via:

PlaylistArray{ PlaylistArgs{...} }

type PlaylistArrayOutput

type PlaylistArrayOutput struct{ *pulumi.OutputState }

func (PlaylistArrayOutput) ElementType

func (PlaylistArrayOutput) ElementType() reflect.Type

func (PlaylistArrayOutput) Index

func (PlaylistArrayOutput) ToPlaylistArrayOutput

func (o PlaylistArrayOutput) ToPlaylistArrayOutput() PlaylistArrayOutput

func (PlaylistArrayOutput) ToPlaylistArrayOutputWithContext

func (o PlaylistArrayOutput) ToPlaylistArrayOutputWithContext(ctx context.Context) PlaylistArrayOutput

type PlaylistInput

type PlaylistInput interface {
	pulumi.Input

	ToPlaylistOutput() PlaylistOutput
	ToPlaylistOutputWithContext(ctx context.Context) PlaylistOutput
}

type PlaylistMap

type PlaylistMap map[string]PlaylistInput

func (PlaylistMap) ElementType

func (PlaylistMap) ElementType() reflect.Type

func (PlaylistMap) ToPlaylistMapOutput

func (i PlaylistMap) ToPlaylistMapOutput() PlaylistMapOutput

func (PlaylistMap) ToPlaylistMapOutputWithContext

func (i PlaylistMap) ToPlaylistMapOutputWithContext(ctx context.Context) PlaylistMapOutput

type PlaylistMapInput

type PlaylistMapInput interface {
	pulumi.Input

	ToPlaylistMapOutput() PlaylistMapOutput
	ToPlaylistMapOutputWithContext(context.Context) PlaylistMapOutput
}

PlaylistMapInput is an input type that accepts PlaylistMap and PlaylistMapOutput values. You can construct a concrete instance of `PlaylistMapInput` via:

PlaylistMap{ "key": PlaylistArgs{...} }

type PlaylistMapOutput

type PlaylistMapOutput struct{ *pulumi.OutputState }

func (PlaylistMapOutput) ElementType

func (PlaylistMapOutput) ElementType() reflect.Type

func (PlaylistMapOutput) MapIndex

func (PlaylistMapOutput) ToPlaylistMapOutput

func (o PlaylistMapOutput) ToPlaylistMapOutput() PlaylistMapOutput

func (PlaylistMapOutput) ToPlaylistMapOutputWithContext

func (o PlaylistMapOutput) ToPlaylistMapOutputWithContext(ctx context.Context) PlaylistMapOutput

type PlaylistOutput

type PlaylistOutput struct{ *pulumi.OutputState }

func (PlaylistOutput) ChannelId

func (o PlaylistOutput) ChannelId() pulumi.StringOutput

the id of the channel. https://www.youtube.com/channel/<channelId>

func (PlaylistOutput) Description

func (o PlaylistOutput) Description() pulumi.StringOutput

description of the playlist

func (PlaylistOutput) ElementType

func (PlaylistOutput) ElementType() reflect.Type

func (PlaylistOutput) PlaylistId

func (o PlaylistOutput) PlaylistId() pulumi.StringOutput

func (PlaylistOutput) Title

title of the playlist

func (PlaylistOutput) ToPlaylistOutput

func (o PlaylistOutput) ToPlaylistOutput() PlaylistOutput

func (PlaylistOutput) ToPlaylistOutputWithContext

func (o PlaylistOutput) ToPlaylistOutputWithContext(ctx context.Context) PlaylistOutput

func (PlaylistOutput) Videos

array of youtube links or ids. (https://www.youtube.com/watch?v=dQw4w9WgXcQ, or dQw4w9WgXcQ)

func (PlaylistOutput) Visibility

func (o PlaylistOutput) Visibility() pulumi.StringOutput

visibility of the playlist. valid values are public, private, unlisted

type PlaylistState

type PlaylistState struct {
}

func (PlaylistState) ElementType

func (PlaylistState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL