func NewLiveEventOutput(ctx *pulumi.Context,
	name string, args *LiveEventOutputArgs, opts ...pulumi.ResourceOption) (*LiveEventOutput, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}

	if args.ArchiveWindowDuration == nil {
		return nil, errors.New("invalid value for required argument 'ArchiveWindowDuration'")
	}
	if args.AssetName == nil {
		return nil, errors.New("invalid value for required argument 'AssetName'")
	}
	if args.LiveEventId == nil {
		return nil, errors.New("invalid value for required argument 'LiveEventId'")
	}
	var resource LiveEventOutput
	err := ctx.RegisterResource("azure:media/liveEventOutput:LiveEventOutput", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewLiveEventOutput registers a new resource with the given unique name, arguments, and options.
NewLiveEventOutput registers a new resource with the given unique name, arguments, and options.
// NewLiveEventOutput registers a new resource with the given unique name arguments and options .
func NewLiveEventOutput(ctx *pulumi.Context,
	name string, args *LiveEventOutputArgs, opts ...pulumi.ResourceOption) (*LiveEventOutput, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.ArchiveWindowDuration == nil {
		return nil, errors.New("invalid value for required argument 'ArchiveWindowDuration'")
	}
	if args.AssetName == nil {
		return nil, errors.New("invalid value for required argument 'AssetName'")
	}
	if args.LiveEventId == nil {
		return nil, errors.New("invalid value for required argument 'LiveEventId'")
	}
	var resource LiveEventOutput
	err := ctx.RegisterResource("azure:media/liveEventOutput:LiveEventOutput", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewLiveEventOutput ( ctx * pulumi . Context , name string , args * LiveEventOutputArgs , opts ... pulumi . ResourceOption ) ( * LiveEventOutput , error ) { if args == nil { return nil , errors . New ( " " ) } if args . ArchiveWindowDuration == nil { return nil , errors . New ( " " ) } if args . AssetName == nil { return nil , errors . New ( " " ) } if args . LiveEventId == nil { return nil , errors . New ( " " ) } var resource LiveEventOutput err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewLiveEventOutput registers a new resource with the given unique name, arguments, and options.
NewLiveEventOutput registers a new resource with the given unique name arguments and options .