ml

package
v2.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EngineModel

type EngineModel struct {
	pulumi.CustomResourceState

	// The default version of the model. This version will be used to handle prediction requests that do not specify a version.
	DefaultVersion EngineModelDefaultVersionPtrOutput `pulumi:"defaultVersion"`
	// The description specified for the model when it was created.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// One or more labels that you can add, to organize your models.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The name specified for the model.
	Name pulumi.StringOutput `pulumi:"name"`
	// If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging
	OnlinePredictionConsoleLogging pulumi.BoolPtrOutput `pulumi:"onlinePredictionConsoleLogging"`
	// If true, online prediction access logs are sent to StackDriver Logging.
	OnlinePredictionLogging pulumi.BoolPtrOutput `pulumi:"onlinePredictionLogging"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The list of regions where the model is going to be deployed. Currently only one region per model is supported
	Regions pulumi.StringPtrOutput `pulumi:"regions"`
}

Represents a machine learning solution.

A model can have multiple versions, each of which is a deployed, trained model ready to receive prediction requests. The model itself is just a container.

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/ml_engine_model.html.markdown.

func GetEngineModel

func GetEngineModel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EngineModelState, opts ...pulumi.ResourceOption) (*EngineModel, error)

GetEngineModel gets an existing EngineModel 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 NewEngineModel

func NewEngineModel(ctx *pulumi.Context,
	name string, args *EngineModelArgs, opts ...pulumi.ResourceOption) (*EngineModel, error)

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

type EngineModelArgs

type EngineModelArgs struct {
	// The default version of the model. This version will be used to handle prediction requests that do not specify a version.
	DefaultVersion EngineModelDefaultVersionPtrInput
	// The description specified for the model when it was created.
	Description pulumi.StringPtrInput
	// One or more labels that you can add, to organize your models.
	Labels pulumi.StringMapInput
	// The name specified for the model.
	Name pulumi.StringPtrInput
	// If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging
	OnlinePredictionConsoleLogging pulumi.BoolPtrInput
	// If true, online prediction access logs are sent to StackDriver Logging.
	OnlinePredictionLogging pulumi.BoolPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The list of regions where the model is going to be deployed. Currently only one region per model is supported
	Regions pulumi.StringPtrInput
}

The set of arguments for constructing a EngineModel resource.

func (EngineModelArgs) ElementType

func (EngineModelArgs) ElementType() reflect.Type

type EngineModelDefaultVersion

type EngineModelDefaultVersion struct {
	Name string `pulumi:"name"`
}

type EngineModelDefaultVersionArgs

type EngineModelDefaultVersionArgs struct {
	Name pulumi.StringInput `pulumi:"name"`
}

func (EngineModelDefaultVersionArgs) ElementType

func (EngineModelDefaultVersionArgs) ToEngineModelDefaultVersionOutput

func (i EngineModelDefaultVersionArgs) ToEngineModelDefaultVersionOutput() EngineModelDefaultVersionOutput

func (EngineModelDefaultVersionArgs) ToEngineModelDefaultVersionOutputWithContext

func (i EngineModelDefaultVersionArgs) ToEngineModelDefaultVersionOutputWithContext(ctx context.Context) EngineModelDefaultVersionOutput

func (EngineModelDefaultVersionArgs) ToEngineModelDefaultVersionPtrOutput

func (i EngineModelDefaultVersionArgs) ToEngineModelDefaultVersionPtrOutput() EngineModelDefaultVersionPtrOutput

func (EngineModelDefaultVersionArgs) ToEngineModelDefaultVersionPtrOutputWithContext

func (i EngineModelDefaultVersionArgs) ToEngineModelDefaultVersionPtrOutputWithContext(ctx context.Context) EngineModelDefaultVersionPtrOutput

type EngineModelDefaultVersionInput

type EngineModelDefaultVersionInput interface {
	pulumi.Input

	ToEngineModelDefaultVersionOutput() EngineModelDefaultVersionOutput
	ToEngineModelDefaultVersionOutputWithContext(context.Context) EngineModelDefaultVersionOutput
}

type EngineModelDefaultVersionOutput

type EngineModelDefaultVersionOutput struct{ *pulumi.OutputState }

func (EngineModelDefaultVersionOutput) ElementType

func (EngineModelDefaultVersionOutput) Name

func (EngineModelDefaultVersionOutput) ToEngineModelDefaultVersionOutput

func (o EngineModelDefaultVersionOutput) ToEngineModelDefaultVersionOutput() EngineModelDefaultVersionOutput

func (EngineModelDefaultVersionOutput) ToEngineModelDefaultVersionOutputWithContext

func (o EngineModelDefaultVersionOutput) ToEngineModelDefaultVersionOutputWithContext(ctx context.Context) EngineModelDefaultVersionOutput

func (EngineModelDefaultVersionOutput) ToEngineModelDefaultVersionPtrOutput

func (o EngineModelDefaultVersionOutput) ToEngineModelDefaultVersionPtrOutput() EngineModelDefaultVersionPtrOutput

func (EngineModelDefaultVersionOutput) ToEngineModelDefaultVersionPtrOutputWithContext

func (o EngineModelDefaultVersionOutput) ToEngineModelDefaultVersionPtrOutputWithContext(ctx context.Context) EngineModelDefaultVersionPtrOutput

type EngineModelDefaultVersionPtrInput

type EngineModelDefaultVersionPtrInput interface {
	pulumi.Input

	ToEngineModelDefaultVersionPtrOutput() EngineModelDefaultVersionPtrOutput
	ToEngineModelDefaultVersionPtrOutputWithContext(context.Context) EngineModelDefaultVersionPtrOutput
}

type EngineModelDefaultVersionPtrOutput

type EngineModelDefaultVersionPtrOutput struct{ *pulumi.OutputState }

func (EngineModelDefaultVersionPtrOutput) Elem

func (EngineModelDefaultVersionPtrOutput) ElementType

func (EngineModelDefaultVersionPtrOutput) Name

func (EngineModelDefaultVersionPtrOutput) ToEngineModelDefaultVersionPtrOutput

func (o EngineModelDefaultVersionPtrOutput) ToEngineModelDefaultVersionPtrOutput() EngineModelDefaultVersionPtrOutput

func (EngineModelDefaultVersionPtrOutput) ToEngineModelDefaultVersionPtrOutputWithContext

func (o EngineModelDefaultVersionPtrOutput) ToEngineModelDefaultVersionPtrOutputWithContext(ctx context.Context) EngineModelDefaultVersionPtrOutput

type EngineModelState

type EngineModelState struct {
	// The default version of the model. This version will be used to handle prediction requests that do not specify a version.
	DefaultVersion EngineModelDefaultVersionPtrInput
	// The description specified for the model when it was created.
	Description pulumi.StringPtrInput
	// One or more labels that you can add, to organize your models.
	Labels pulumi.StringMapInput
	// The name specified for the model.
	Name pulumi.StringPtrInput
	// If true, online prediction nodes send stderr and stdout streams to Stackdriver Logging
	OnlinePredictionConsoleLogging pulumi.BoolPtrInput
	// If true, online prediction access logs are sent to StackDriver Logging.
	OnlinePredictionLogging pulumi.BoolPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The list of regions where the model is going to be deployed. Currently only one region per model is supported
	Regions pulumi.StringPtrInput
}

func (EngineModelState) ElementType

func (EngineModelState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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