cockpit

package
v0.0.0-...-c33e12d Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 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 Cockpit

type Cockpit struct {
	pulumi.CustomResourceState

	// Endpoints.
	Endpoints CockpitEndpointArrayOutput `pulumi:"endpoints"`
	// Name or ID of the plan to use.
	Plan pulumi.StringPtrOutput `pulumi:"plan"`
	// The ID of the current plan.
	PlanId pulumi.StringOutput `pulumi:"planId"`
	// `projectId`) The ID of the project the cockpit is associated with.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Push_url
	PushUrls CockpitPushUrlArrayOutput `pulumi:"pushUrls"`
}

## Import

Cockpits can be imported using the `{project_id}`, e.g.

bash

```sh $ pulumi import scaleway:cockpit/cockpit:Cockpit main 11111111-1111-1111-1111-111111111111 ```

func GetCockpit

func GetCockpit(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CockpitState, opts ...pulumi.ResourceOption) (*Cockpit, error)

GetCockpit gets an existing Cockpit 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 NewCockpit

func NewCockpit(ctx *pulumi.Context,
	name string, args *CockpitArgs, opts ...pulumi.ResourceOption) (*Cockpit, error)

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

func (*Cockpit) ElementType

func (*Cockpit) ElementType() reflect.Type

func (*Cockpit) ToCockpitOutput

func (i *Cockpit) ToCockpitOutput() CockpitOutput

func (*Cockpit) ToCockpitOutputWithContext

func (i *Cockpit) ToCockpitOutputWithContext(ctx context.Context) CockpitOutput

type CockpitArgs

type CockpitArgs struct {
	// Name or ID of the plan to use.
	Plan pulumi.StringPtrInput
	// `projectId`) The ID of the project the cockpit is associated with.
	ProjectId pulumi.StringPtrInput
}

The set of arguments for constructing a Cockpit resource.

func (CockpitArgs) ElementType

func (CockpitArgs) ElementType() reflect.Type

type CockpitArray

type CockpitArray []CockpitInput

func (CockpitArray) ElementType

func (CockpitArray) ElementType() reflect.Type

func (CockpitArray) ToCockpitArrayOutput

func (i CockpitArray) ToCockpitArrayOutput() CockpitArrayOutput

func (CockpitArray) ToCockpitArrayOutputWithContext

func (i CockpitArray) ToCockpitArrayOutputWithContext(ctx context.Context) CockpitArrayOutput

type CockpitArrayInput

type CockpitArrayInput interface {
	pulumi.Input

	ToCockpitArrayOutput() CockpitArrayOutput
	ToCockpitArrayOutputWithContext(context.Context) CockpitArrayOutput
}

CockpitArrayInput is an input type that accepts CockpitArray and CockpitArrayOutput values. You can construct a concrete instance of `CockpitArrayInput` via:

CockpitArray{ CockpitArgs{...} }

type CockpitArrayOutput

type CockpitArrayOutput struct{ *pulumi.OutputState }

func (CockpitArrayOutput) ElementType

func (CockpitArrayOutput) ElementType() reflect.Type

func (CockpitArrayOutput) Index

func (CockpitArrayOutput) ToCockpitArrayOutput

func (o CockpitArrayOutput) ToCockpitArrayOutput() CockpitArrayOutput

func (CockpitArrayOutput) ToCockpitArrayOutputWithContext

func (o CockpitArrayOutput) ToCockpitArrayOutputWithContext(ctx context.Context) CockpitArrayOutput

type CockpitEndpoint

type CockpitEndpoint struct {
	// The alertmanager URL.
	AlertmanagerUrl *string `pulumi:"alertmanagerUrl"`
	// The grafana URL.
	GrafanaUrl *string `pulumi:"grafanaUrl"`
	// The logs URL.
	LogsUrl *string `pulumi:"logsUrl"`
	// The metrics URL.
	MetricsUrl *string `pulumi:"metricsUrl"`
	// The traces URL.
	TracesUrl *string `pulumi:"tracesUrl"`
}

type CockpitEndpointArgs

type CockpitEndpointArgs struct {
	// The alertmanager URL.
	AlertmanagerUrl pulumi.StringPtrInput `pulumi:"alertmanagerUrl"`
	// The grafana URL.
	GrafanaUrl pulumi.StringPtrInput `pulumi:"grafanaUrl"`
	// The logs URL.
	LogsUrl pulumi.StringPtrInput `pulumi:"logsUrl"`
	// The metrics URL.
	MetricsUrl pulumi.StringPtrInput `pulumi:"metricsUrl"`
	// The traces URL.
	TracesUrl pulumi.StringPtrInput `pulumi:"tracesUrl"`
}

func (CockpitEndpointArgs) ElementType

func (CockpitEndpointArgs) ElementType() reflect.Type

func (CockpitEndpointArgs) ToCockpitEndpointOutput

func (i CockpitEndpointArgs) ToCockpitEndpointOutput() CockpitEndpointOutput

func (CockpitEndpointArgs) ToCockpitEndpointOutputWithContext

func (i CockpitEndpointArgs) ToCockpitEndpointOutputWithContext(ctx context.Context) CockpitEndpointOutput

type CockpitEndpointArray

type CockpitEndpointArray []CockpitEndpointInput

func (CockpitEndpointArray) ElementType

func (CockpitEndpointArray) ElementType() reflect.Type

func (CockpitEndpointArray) ToCockpitEndpointArrayOutput

func (i CockpitEndpointArray) ToCockpitEndpointArrayOutput() CockpitEndpointArrayOutput

func (CockpitEndpointArray) ToCockpitEndpointArrayOutputWithContext

func (i CockpitEndpointArray) ToCockpitEndpointArrayOutputWithContext(ctx context.Context) CockpitEndpointArrayOutput

type CockpitEndpointArrayInput

type CockpitEndpointArrayInput interface {
	pulumi.Input

	ToCockpitEndpointArrayOutput() CockpitEndpointArrayOutput
	ToCockpitEndpointArrayOutputWithContext(context.Context) CockpitEndpointArrayOutput
}

CockpitEndpointArrayInput is an input type that accepts CockpitEndpointArray and CockpitEndpointArrayOutput values. You can construct a concrete instance of `CockpitEndpointArrayInput` via:

CockpitEndpointArray{ CockpitEndpointArgs{...} }

type CockpitEndpointArrayOutput

type CockpitEndpointArrayOutput struct{ *pulumi.OutputState }

func (CockpitEndpointArrayOutput) ElementType

func (CockpitEndpointArrayOutput) ElementType() reflect.Type

func (CockpitEndpointArrayOutput) Index

func (CockpitEndpointArrayOutput) ToCockpitEndpointArrayOutput

func (o CockpitEndpointArrayOutput) ToCockpitEndpointArrayOutput() CockpitEndpointArrayOutput

func (CockpitEndpointArrayOutput) ToCockpitEndpointArrayOutputWithContext

func (o CockpitEndpointArrayOutput) ToCockpitEndpointArrayOutputWithContext(ctx context.Context) CockpitEndpointArrayOutput

type CockpitEndpointInput

type CockpitEndpointInput interface {
	pulumi.Input

	ToCockpitEndpointOutput() CockpitEndpointOutput
	ToCockpitEndpointOutputWithContext(context.Context) CockpitEndpointOutput
}

CockpitEndpointInput is an input type that accepts CockpitEndpointArgs and CockpitEndpointOutput values. You can construct a concrete instance of `CockpitEndpointInput` via:

CockpitEndpointArgs{...}

type CockpitEndpointOutput

type CockpitEndpointOutput struct{ *pulumi.OutputState }

func (CockpitEndpointOutput) AlertmanagerUrl

func (o CockpitEndpointOutput) AlertmanagerUrl() pulumi.StringPtrOutput

The alertmanager URL.

func (CockpitEndpointOutput) ElementType

func (CockpitEndpointOutput) ElementType() reflect.Type

func (CockpitEndpointOutput) GrafanaUrl

The grafana URL.

func (CockpitEndpointOutput) LogsUrl

The logs URL.

func (CockpitEndpointOutput) MetricsUrl

The metrics URL.

func (CockpitEndpointOutput) ToCockpitEndpointOutput

func (o CockpitEndpointOutput) ToCockpitEndpointOutput() CockpitEndpointOutput

func (CockpitEndpointOutput) ToCockpitEndpointOutputWithContext

func (o CockpitEndpointOutput) ToCockpitEndpointOutputWithContext(ctx context.Context) CockpitEndpointOutput

func (CockpitEndpointOutput) TracesUrl

The traces URL.

type CockpitInput

type CockpitInput interface {
	pulumi.Input

	ToCockpitOutput() CockpitOutput
	ToCockpitOutputWithContext(ctx context.Context) CockpitOutput
}

type CockpitMap

type CockpitMap map[string]CockpitInput

func (CockpitMap) ElementType

func (CockpitMap) ElementType() reflect.Type

func (CockpitMap) ToCockpitMapOutput

func (i CockpitMap) ToCockpitMapOutput() CockpitMapOutput

func (CockpitMap) ToCockpitMapOutputWithContext

func (i CockpitMap) ToCockpitMapOutputWithContext(ctx context.Context) CockpitMapOutput

type CockpitMapInput

type CockpitMapInput interface {
	pulumi.Input

	ToCockpitMapOutput() CockpitMapOutput
	ToCockpitMapOutputWithContext(context.Context) CockpitMapOutput
}

CockpitMapInput is an input type that accepts CockpitMap and CockpitMapOutput values. You can construct a concrete instance of `CockpitMapInput` via:

CockpitMap{ "key": CockpitArgs{...} }

type CockpitMapOutput

type CockpitMapOutput struct{ *pulumi.OutputState }

func (CockpitMapOutput) ElementType

func (CockpitMapOutput) ElementType() reflect.Type

func (CockpitMapOutput) MapIndex

func (CockpitMapOutput) ToCockpitMapOutput

func (o CockpitMapOutput) ToCockpitMapOutput() CockpitMapOutput

func (CockpitMapOutput) ToCockpitMapOutputWithContext

func (o CockpitMapOutput) ToCockpitMapOutputWithContext(ctx context.Context) CockpitMapOutput

type CockpitOutput

type CockpitOutput struct{ *pulumi.OutputState }

func (CockpitOutput) ElementType

func (CockpitOutput) ElementType() reflect.Type

func (CockpitOutput) Endpoints

Endpoints.

func (CockpitOutput) Plan

Name or ID of the plan to use.

func (CockpitOutput) PlanId

func (o CockpitOutput) PlanId() pulumi.StringOutput

The ID of the current plan.

func (CockpitOutput) ProjectId

func (o CockpitOutput) ProjectId() pulumi.StringOutput

`projectId`) The ID of the project the cockpit is associated with.

func (CockpitOutput) PushUrls

Push_url

func (CockpitOutput) ToCockpitOutput

func (o CockpitOutput) ToCockpitOutput() CockpitOutput

func (CockpitOutput) ToCockpitOutputWithContext

func (o CockpitOutput) ToCockpitOutputWithContext(ctx context.Context) CockpitOutput

type CockpitPushUrl

type CockpitPushUrl struct {
	// Push URL for logs (Grafana Loki)
	PushLogsUrl *string `pulumi:"pushLogsUrl"`
	// Push URL for metrics (Grafana Mimir)
	PushMetricsUrl *string `pulumi:"pushMetricsUrl"`
}

type CockpitPushUrlArgs

type CockpitPushUrlArgs struct {
	// Push URL for logs (Grafana Loki)
	PushLogsUrl pulumi.StringPtrInput `pulumi:"pushLogsUrl"`
	// Push URL for metrics (Grafana Mimir)
	PushMetricsUrl pulumi.StringPtrInput `pulumi:"pushMetricsUrl"`
}

func (CockpitPushUrlArgs) ElementType

func (CockpitPushUrlArgs) ElementType() reflect.Type

func (CockpitPushUrlArgs) ToCockpitPushUrlOutput

func (i CockpitPushUrlArgs) ToCockpitPushUrlOutput() CockpitPushUrlOutput

func (CockpitPushUrlArgs) ToCockpitPushUrlOutputWithContext

func (i CockpitPushUrlArgs) ToCockpitPushUrlOutputWithContext(ctx context.Context) CockpitPushUrlOutput

type CockpitPushUrlArray

type CockpitPushUrlArray []CockpitPushUrlInput

func (CockpitPushUrlArray) ElementType

func (CockpitPushUrlArray) ElementType() reflect.Type

func (CockpitPushUrlArray) ToCockpitPushUrlArrayOutput

func (i CockpitPushUrlArray) ToCockpitPushUrlArrayOutput() CockpitPushUrlArrayOutput

func (CockpitPushUrlArray) ToCockpitPushUrlArrayOutputWithContext

func (i CockpitPushUrlArray) ToCockpitPushUrlArrayOutputWithContext(ctx context.Context) CockpitPushUrlArrayOutput

type CockpitPushUrlArrayInput

type CockpitPushUrlArrayInput interface {
	pulumi.Input

	ToCockpitPushUrlArrayOutput() CockpitPushUrlArrayOutput
	ToCockpitPushUrlArrayOutputWithContext(context.Context) CockpitPushUrlArrayOutput
}

CockpitPushUrlArrayInput is an input type that accepts CockpitPushUrlArray and CockpitPushUrlArrayOutput values. You can construct a concrete instance of `CockpitPushUrlArrayInput` via:

CockpitPushUrlArray{ CockpitPushUrlArgs{...} }

type CockpitPushUrlArrayOutput

type CockpitPushUrlArrayOutput struct{ *pulumi.OutputState }

func (CockpitPushUrlArrayOutput) ElementType

func (CockpitPushUrlArrayOutput) ElementType() reflect.Type

func (CockpitPushUrlArrayOutput) Index

func (CockpitPushUrlArrayOutput) ToCockpitPushUrlArrayOutput

func (o CockpitPushUrlArrayOutput) ToCockpitPushUrlArrayOutput() CockpitPushUrlArrayOutput

func (CockpitPushUrlArrayOutput) ToCockpitPushUrlArrayOutputWithContext

func (o CockpitPushUrlArrayOutput) ToCockpitPushUrlArrayOutputWithContext(ctx context.Context) CockpitPushUrlArrayOutput

type CockpitPushUrlInput

type CockpitPushUrlInput interface {
	pulumi.Input

	ToCockpitPushUrlOutput() CockpitPushUrlOutput
	ToCockpitPushUrlOutputWithContext(context.Context) CockpitPushUrlOutput
}

CockpitPushUrlInput is an input type that accepts CockpitPushUrlArgs and CockpitPushUrlOutput values. You can construct a concrete instance of `CockpitPushUrlInput` via:

CockpitPushUrlArgs{...}

type CockpitPushUrlOutput

type CockpitPushUrlOutput struct{ *pulumi.OutputState }

func (CockpitPushUrlOutput) ElementType

func (CockpitPushUrlOutput) ElementType() reflect.Type

func (CockpitPushUrlOutput) PushLogsUrl

Push URL for logs (Grafana Loki)

func (CockpitPushUrlOutput) PushMetricsUrl

func (o CockpitPushUrlOutput) PushMetricsUrl() pulumi.StringPtrOutput

Push URL for metrics (Grafana Mimir)

func (CockpitPushUrlOutput) ToCockpitPushUrlOutput

func (o CockpitPushUrlOutput) ToCockpitPushUrlOutput() CockpitPushUrlOutput

func (CockpitPushUrlOutput) ToCockpitPushUrlOutputWithContext

func (o CockpitPushUrlOutput) ToCockpitPushUrlOutputWithContext(ctx context.Context) CockpitPushUrlOutput

type CockpitState

type CockpitState struct {
	// Endpoints.
	Endpoints CockpitEndpointArrayInput
	// Name or ID of the plan to use.
	Plan pulumi.StringPtrInput
	// The ID of the current plan.
	PlanId pulumi.StringPtrInput
	// `projectId`) The ID of the project the cockpit is associated with.
	ProjectId pulumi.StringPtrInput
	// Push_url
	PushUrls CockpitPushUrlArrayInput
}

func (CockpitState) ElementType

func (CockpitState) ElementType() reflect.Type

type GetCockpitEndpoint

type GetCockpitEndpoint struct {
	// The alertmanager URL
	AlertmanagerUrl string `pulumi:"alertmanagerUrl"`
	// The grafana URL
	GrafanaUrl string `pulumi:"grafanaUrl"`
	// The logs URL
	LogsUrl string `pulumi:"logsUrl"`
	// The metrics URL
	MetricsUrl string `pulumi:"metricsUrl"`
	// The traces URL
	TracesUrl string `pulumi:"tracesUrl"`
}

type GetCockpitEndpointArgs

type GetCockpitEndpointArgs struct {
	// The alertmanager URL
	AlertmanagerUrl pulumi.StringInput `pulumi:"alertmanagerUrl"`
	// The grafana URL
	GrafanaUrl pulumi.StringInput `pulumi:"grafanaUrl"`
	// The logs URL
	LogsUrl pulumi.StringInput `pulumi:"logsUrl"`
	// The metrics URL
	MetricsUrl pulumi.StringInput `pulumi:"metricsUrl"`
	// The traces URL
	TracesUrl pulumi.StringInput `pulumi:"tracesUrl"`
}

func (GetCockpitEndpointArgs) ElementType

func (GetCockpitEndpointArgs) ElementType() reflect.Type

func (GetCockpitEndpointArgs) ToGetCockpitEndpointOutput

func (i GetCockpitEndpointArgs) ToGetCockpitEndpointOutput() GetCockpitEndpointOutput

func (GetCockpitEndpointArgs) ToGetCockpitEndpointOutputWithContext

func (i GetCockpitEndpointArgs) ToGetCockpitEndpointOutputWithContext(ctx context.Context) GetCockpitEndpointOutput

type GetCockpitEndpointArray

type GetCockpitEndpointArray []GetCockpitEndpointInput

func (GetCockpitEndpointArray) ElementType

func (GetCockpitEndpointArray) ElementType() reflect.Type

func (GetCockpitEndpointArray) ToGetCockpitEndpointArrayOutput

func (i GetCockpitEndpointArray) ToGetCockpitEndpointArrayOutput() GetCockpitEndpointArrayOutput

func (GetCockpitEndpointArray) ToGetCockpitEndpointArrayOutputWithContext

func (i GetCockpitEndpointArray) ToGetCockpitEndpointArrayOutputWithContext(ctx context.Context) GetCockpitEndpointArrayOutput

type GetCockpitEndpointArrayInput

type GetCockpitEndpointArrayInput interface {
	pulumi.Input

	ToGetCockpitEndpointArrayOutput() GetCockpitEndpointArrayOutput
	ToGetCockpitEndpointArrayOutputWithContext(context.Context) GetCockpitEndpointArrayOutput
}

GetCockpitEndpointArrayInput is an input type that accepts GetCockpitEndpointArray and GetCockpitEndpointArrayOutput values. You can construct a concrete instance of `GetCockpitEndpointArrayInput` via:

GetCockpitEndpointArray{ GetCockpitEndpointArgs{...} }

type GetCockpitEndpointArrayOutput

type GetCockpitEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetCockpitEndpointArrayOutput) ElementType

func (GetCockpitEndpointArrayOutput) Index

func (GetCockpitEndpointArrayOutput) ToGetCockpitEndpointArrayOutput

func (o GetCockpitEndpointArrayOutput) ToGetCockpitEndpointArrayOutput() GetCockpitEndpointArrayOutput

func (GetCockpitEndpointArrayOutput) ToGetCockpitEndpointArrayOutputWithContext

func (o GetCockpitEndpointArrayOutput) ToGetCockpitEndpointArrayOutputWithContext(ctx context.Context) GetCockpitEndpointArrayOutput

type GetCockpitEndpointInput

type GetCockpitEndpointInput interface {
	pulumi.Input

	ToGetCockpitEndpointOutput() GetCockpitEndpointOutput
	ToGetCockpitEndpointOutputWithContext(context.Context) GetCockpitEndpointOutput
}

GetCockpitEndpointInput is an input type that accepts GetCockpitEndpointArgs and GetCockpitEndpointOutput values. You can construct a concrete instance of `GetCockpitEndpointInput` via:

GetCockpitEndpointArgs{...}

type GetCockpitEndpointOutput

type GetCockpitEndpointOutput struct{ *pulumi.OutputState }

func (GetCockpitEndpointOutput) AlertmanagerUrl

func (o GetCockpitEndpointOutput) AlertmanagerUrl() pulumi.StringOutput

The alertmanager URL

func (GetCockpitEndpointOutput) ElementType

func (GetCockpitEndpointOutput) ElementType() reflect.Type

func (GetCockpitEndpointOutput) GrafanaUrl

The grafana URL

func (GetCockpitEndpointOutput) LogsUrl

The logs URL

func (GetCockpitEndpointOutput) MetricsUrl

The metrics URL

func (GetCockpitEndpointOutput) ToGetCockpitEndpointOutput

func (o GetCockpitEndpointOutput) ToGetCockpitEndpointOutput() GetCockpitEndpointOutput

func (GetCockpitEndpointOutput) ToGetCockpitEndpointOutputWithContext

func (o GetCockpitEndpointOutput) ToGetCockpitEndpointOutputWithContext(ctx context.Context) GetCockpitEndpointOutput

func (GetCockpitEndpointOutput) TracesUrl

The traces URL

type GetCockpitPushUrl

type GetCockpitPushUrl struct {
	// Push URL for logs (Grafana Loki)
	PushLogsUrl string `pulumi:"pushLogsUrl"`
	// Push URL for metrics (Grafana Mimir)
	PushMetricsUrl string `pulumi:"pushMetricsUrl"`
}

type GetCockpitPushUrlArgs

type GetCockpitPushUrlArgs struct {
	// Push URL for logs (Grafana Loki)
	PushLogsUrl pulumi.StringInput `pulumi:"pushLogsUrl"`
	// Push URL for metrics (Grafana Mimir)
	PushMetricsUrl pulumi.StringInput `pulumi:"pushMetricsUrl"`
}

func (GetCockpitPushUrlArgs) ElementType

func (GetCockpitPushUrlArgs) ElementType() reflect.Type

func (GetCockpitPushUrlArgs) ToGetCockpitPushUrlOutput

func (i GetCockpitPushUrlArgs) ToGetCockpitPushUrlOutput() GetCockpitPushUrlOutput

func (GetCockpitPushUrlArgs) ToGetCockpitPushUrlOutputWithContext

func (i GetCockpitPushUrlArgs) ToGetCockpitPushUrlOutputWithContext(ctx context.Context) GetCockpitPushUrlOutput

type GetCockpitPushUrlArray

type GetCockpitPushUrlArray []GetCockpitPushUrlInput

func (GetCockpitPushUrlArray) ElementType

func (GetCockpitPushUrlArray) ElementType() reflect.Type

func (GetCockpitPushUrlArray) ToGetCockpitPushUrlArrayOutput

func (i GetCockpitPushUrlArray) ToGetCockpitPushUrlArrayOutput() GetCockpitPushUrlArrayOutput

func (GetCockpitPushUrlArray) ToGetCockpitPushUrlArrayOutputWithContext

func (i GetCockpitPushUrlArray) ToGetCockpitPushUrlArrayOutputWithContext(ctx context.Context) GetCockpitPushUrlArrayOutput

type GetCockpitPushUrlArrayInput

type GetCockpitPushUrlArrayInput interface {
	pulumi.Input

	ToGetCockpitPushUrlArrayOutput() GetCockpitPushUrlArrayOutput
	ToGetCockpitPushUrlArrayOutputWithContext(context.Context) GetCockpitPushUrlArrayOutput
}

GetCockpitPushUrlArrayInput is an input type that accepts GetCockpitPushUrlArray and GetCockpitPushUrlArrayOutput values. You can construct a concrete instance of `GetCockpitPushUrlArrayInput` via:

GetCockpitPushUrlArray{ GetCockpitPushUrlArgs{...} }

type GetCockpitPushUrlArrayOutput

type GetCockpitPushUrlArrayOutput struct{ *pulumi.OutputState }

func (GetCockpitPushUrlArrayOutput) ElementType

func (GetCockpitPushUrlArrayOutput) Index

func (GetCockpitPushUrlArrayOutput) ToGetCockpitPushUrlArrayOutput

func (o GetCockpitPushUrlArrayOutput) ToGetCockpitPushUrlArrayOutput() GetCockpitPushUrlArrayOutput

func (GetCockpitPushUrlArrayOutput) ToGetCockpitPushUrlArrayOutputWithContext

func (o GetCockpitPushUrlArrayOutput) ToGetCockpitPushUrlArrayOutputWithContext(ctx context.Context) GetCockpitPushUrlArrayOutput

type GetCockpitPushUrlInput

type GetCockpitPushUrlInput interface {
	pulumi.Input

	ToGetCockpitPushUrlOutput() GetCockpitPushUrlOutput
	ToGetCockpitPushUrlOutputWithContext(context.Context) GetCockpitPushUrlOutput
}

GetCockpitPushUrlInput is an input type that accepts GetCockpitPushUrlArgs and GetCockpitPushUrlOutput values. You can construct a concrete instance of `GetCockpitPushUrlInput` via:

GetCockpitPushUrlArgs{...}

type GetCockpitPushUrlOutput

type GetCockpitPushUrlOutput struct{ *pulumi.OutputState }

func (GetCockpitPushUrlOutput) ElementType

func (GetCockpitPushUrlOutput) ElementType() reflect.Type

func (GetCockpitPushUrlOutput) PushLogsUrl

Push URL for logs (Grafana Loki)

func (GetCockpitPushUrlOutput) PushMetricsUrl

func (o GetCockpitPushUrlOutput) PushMetricsUrl() pulumi.StringOutput

Push URL for metrics (Grafana Mimir)

func (GetCockpitPushUrlOutput) ToGetCockpitPushUrlOutput

func (o GetCockpitPushUrlOutput) ToGetCockpitPushUrlOutput() GetCockpitPushUrlOutput

func (GetCockpitPushUrlOutput) ToGetCockpitPushUrlOutputWithContext

func (o GetCockpitPushUrlOutput) ToGetCockpitPushUrlOutputWithContext(ctx context.Context) GetCockpitPushUrlOutput

type GetPlanArgs

type GetPlanArgs struct {
	// The name of the plan.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getPlan.

type GetPlanOutputArgs

type GetPlanOutputArgs struct {
	// The name of the plan.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getPlan.

func (GetPlanOutputArgs) ElementType

func (GetPlanOutputArgs) ElementType() reflect.Type

type GetPlanResult

type GetPlanResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

A collection of values returned by getPlan.

func GetPlan

func GetPlan(ctx *pulumi.Context, args *GetPlanArgs, opts ...pulumi.InvokeOption) (*GetPlanResult, error)

Gets information about a Scaleway Cockpit plan.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/cockpit"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		premium, err := cockpit.GetPlan(ctx, &cockpit.GetPlanArgs{
			Name: "premium",
		}, nil)
		if err != nil {
			return err
		}
		_, err = cockpit.NewCockpit(ctx, "main", &cockpit.CockpitArgs{
			Plan: *pulumi.String(premium.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetPlanResultOutput

type GetPlanResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPlan.

func (GetPlanResultOutput) ElementType

func (GetPlanResultOutput) ElementType() reflect.Type

func (GetPlanResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPlanResultOutput) Name

func (GetPlanResultOutput) ToGetPlanResultOutput

func (o GetPlanResultOutput) ToGetPlanResultOutput() GetPlanResultOutput

func (GetPlanResultOutput) ToGetPlanResultOutputWithContext

func (o GetPlanResultOutput) ToGetPlanResultOutputWithContext(ctx context.Context) GetPlanResultOutput

type GrafanaUser

type GrafanaUser struct {
	pulumi.CustomResourceState

	// The login of the grafana user.
	Login pulumi.StringOutput `pulumi:"login"`
	// The password of the grafana user
	Password pulumi.StringOutput `pulumi:"password"`
	// `projectId`) The ID of the project the cockpit is associated with.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The role of the grafana user. Must be `editor` or `viewer`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Creates and manages Scaleway Cockpit Grafana Users.

For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#grafana-users).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/cockpit"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mainCockpit, err := cockpit.LookupCockpit(ctx, nil, nil)
		if err != nil {
			return err
		}
		// Create an editor grafana user for the cockpit
		_, err = cockpit.NewGrafanaUser(ctx, "mainGrafanaUser", &cockpit.GrafanaUserArgs{
			ProjectId: *pulumi.String(mainCockpit.ProjectId),
			Login:     pulumi.String("my-awesome-user"),
			Role:      pulumi.String("editor"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Cockpits Grafana Users can be imported using the project ID and the grafana user ID formatted `{project_id}/{grafana_user_id}`, e.g.

bash

```sh $ pulumi import scaleway:cockpit/grafanaUser:GrafanaUser main 11111111-1111-1111-1111-111111111111/2 ```

func GetGrafanaUser

func GetGrafanaUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GrafanaUserState, opts ...pulumi.ResourceOption) (*GrafanaUser, error)

GetGrafanaUser gets an existing GrafanaUser 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 NewGrafanaUser

func NewGrafanaUser(ctx *pulumi.Context,
	name string, args *GrafanaUserArgs, opts ...pulumi.ResourceOption) (*GrafanaUser, error)

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

func (*GrafanaUser) ElementType

func (*GrafanaUser) ElementType() reflect.Type

func (*GrafanaUser) ToGrafanaUserOutput

func (i *GrafanaUser) ToGrafanaUserOutput() GrafanaUserOutput

func (*GrafanaUser) ToGrafanaUserOutputWithContext

func (i *GrafanaUser) ToGrafanaUserOutputWithContext(ctx context.Context) GrafanaUserOutput

type GrafanaUserArgs

type GrafanaUserArgs struct {
	// The login of the grafana user.
	Login pulumi.StringInput
	// `projectId`) The ID of the project the cockpit is associated with.
	ProjectId pulumi.StringPtrInput
	// The role of the grafana user. Must be `editor` or `viewer`.
	Role pulumi.StringInput
}

The set of arguments for constructing a GrafanaUser resource.

func (GrafanaUserArgs) ElementType

func (GrafanaUserArgs) ElementType() reflect.Type

type GrafanaUserArray

type GrafanaUserArray []GrafanaUserInput

func (GrafanaUserArray) ElementType

func (GrafanaUserArray) ElementType() reflect.Type

func (GrafanaUserArray) ToGrafanaUserArrayOutput

func (i GrafanaUserArray) ToGrafanaUserArrayOutput() GrafanaUserArrayOutput

func (GrafanaUserArray) ToGrafanaUserArrayOutputWithContext

func (i GrafanaUserArray) ToGrafanaUserArrayOutputWithContext(ctx context.Context) GrafanaUserArrayOutput

type GrafanaUserArrayInput

type GrafanaUserArrayInput interface {
	pulumi.Input

	ToGrafanaUserArrayOutput() GrafanaUserArrayOutput
	ToGrafanaUserArrayOutputWithContext(context.Context) GrafanaUserArrayOutput
}

GrafanaUserArrayInput is an input type that accepts GrafanaUserArray and GrafanaUserArrayOutput values. You can construct a concrete instance of `GrafanaUserArrayInput` via:

GrafanaUserArray{ GrafanaUserArgs{...} }

type GrafanaUserArrayOutput

type GrafanaUserArrayOutput struct{ *pulumi.OutputState }

func (GrafanaUserArrayOutput) ElementType

func (GrafanaUserArrayOutput) ElementType() reflect.Type

func (GrafanaUserArrayOutput) Index

func (GrafanaUserArrayOutput) ToGrafanaUserArrayOutput

func (o GrafanaUserArrayOutput) ToGrafanaUserArrayOutput() GrafanaUserArrayOutput

func (GrafanaUserArrayOutput) ToGrafanaUserArrayOutputWithContext

func (o GrafanaUserArrayOutput) ToGrafanaUserArrayOutputWithContext(ctx context.Context) GrafanaUserArrayOutput

type GrafanaUserInput

type GrafanaUserInput interface {
	pulumi.Input

	ToGrafanaUserOutput() GrafanaUserOutput
	ToGrafanaUserOutputWithContext(ctx context.Context) GrafanaUserOutput
}

type GrafanaUserMap

type GrafanaUserMap map[string]GrafanaUserInput

func (GrafanaUserMap) ElementType

func (GrafanaUserMap) ElementType() reflect.Type

func (GrafanaUserMap) ToGrafanaUserMapOutput

func (i GrafanaUserMap) ToGrafanaUserMapOutput() GrafanaUserMapOutput

func (GrafanaUserMap) ToGrafanaUserMapOutputWithContext

func (i GrafanaUserMap) ToGrafanaUserMapOutputWithContext(ctx context.Context) GrafanaUserMapOutput

type GrafanaUserMapInput

type GrafanaUserMapInput interface {
	pulumi.Input

	ToGrafanaUserMapOutput() GrafanaUserMapOutput
	ToGrafanaUserMapOutputWithContext(context.Context) GrafanaUserMapOutput
}

GrafanaUserMapInput is an input type that accepts GrafanaUserMap and GrafanaUserMapOutput values. You can construct a concrete instance of `GrafanaUserMapInput` via:

GrafanaUserMap{ "key": GrafanaUserArgs{...} }

type GrafanaUserMapOutput

type GrafanaUserMapOutput struct{ *pulumi.OutputState }

func (GrafanaUserMapOutput) ElementType

func (GrafanaUserMapOutput) ElementType() reflect.Type

func (GrafanaUserMapOutput) MapIndex

func (GrafanaUserMapOutput) ToGrafanaUserMapOutput

func (o GrafanaUserMapOutput) ToGrafanaUserMapOutput() GrafanaUserMapOutput

func (GrafanaUserMapOutput) ToGrafanaUserMapOutputWithContext

func (o GrafanaUserMapOutput) ToGrafanaUserMapOutputWithContext(ctx context.Context) GrafanaUserMapOutput

type GrafanaUserOutput

type GrafanaUserOutput struct{ *pulumi.OutputState }

func (GrafanaUserOutput) ElementType

func (GrafanaUserOutput) ElementType() reflect.Type

func (GrafanaUserOutput) Login

The login of the grafana user.

func (GrafanaUserOutput) Password

func (o GrafanaUserOutput) Password() pulumi.StringOutput

The password of the grafana user

func (GrafanaUserOutput) ProjectId

func (o GrafanaUserOutput) ProjectId() pulumi.StringOutput

`projectId`) The ID of the project the cockpit is associated with.

func (GrafanaUserOutput) Role

The role of the grafana user. Must be `editor` or `viewer`.

func (GrafanaUserOutput) ToGrafanaUserOutput

func (o GrafanaUserOutput) ToGrafanaUserOutput() GrafanaUserOutput

func (GrafanaUserOutput) ToGrafanaUserOutputWithContext

func (o GrafanaUserOutput) ToGrafanaUserOutputWithContext(ctx context.Context) GrafanaUserOutput

type GrafanaUserState

type GrafanaUserState struct {
	// The login of the grafana user.
	Login pulumi.StringPtrInput
	// The password of the grafana user
	Password pulumi.StringPtrInput
	// `projectId`) The ID of the project the cockpit is associated with.
	ProjectId pulumi.StringPtrInput
	// The role of the grafana user. Must be `editor` or `viewer`.
	Role pulumi.StringPtrInput
}

func (GrafanaUserState) ElementType

func (GrafanaUserState) ElementType() reflect.Type

type LookupCockpitArgs

type LookupCockpitArgs struct {
	// `projectId`) The ID of the project the cockpit is associated with.
	ProjectId *string `pulumi:"projectId"`
}

A collection of arguments for invoking getCockpit.

type LookupCockpitOutputArgs

type LookupCockpitOutputArgs struct {
	// `projectId`) The ID of the project the cockpit is associated with.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
}

A collection of arguments for invoking getCockpit.

func (LookupCockpitOutputArgs) ElementType

func (LookupCockpitOutputArgs) ElementType() reflect.Type

type LookupCockpitResult

type LookupCockpitResult struct {
	// Endpoints
	Endpoints []GetCockpitEndpoint `pulumi:"endpoints"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the current plan
	PlanId    string              `pulumi:"planId"`
	ProjectId *string             `pulumi:"projectId"`
	PushUrls  []GetCockpitPushUrl `pulumi:"pushUrls"`
}

A collection of values returned by getCockpit.

func LookupCockpit

func LookupCockpit(ctx *pulumi.Context, args *LookupCockpitArgs, opts ...pulumi.InvokeOption) (*LookupCockpitResult, error)

Gets information about the Scaleway Cockpit.

For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/cockpit"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cockpit.LookupCockpit(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/cockpit"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cockpit.LookupCockpit(ctx, &cockpit.LookupCockpitArgs{
			ProjectId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupCockpitResultOutput

type LookupCockpitResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCockpit.

func (LookupCockpitResultOutput) ElementType

func (LookupCockpitResultOutput) ElementType() reflect.Type

func (LookupCockpitResultOutput) Endpoints

Endpoints

func (LookupCockpitResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupCockpitResultOutput) PlanId

The ID of the current plan

func (LookupCockpitResultOutput) ProjectId

func (LookupCockpitResultOutput) PushUrls

func (LookupCockpitResultOutput) ToLookupCockpitResultOutput

func (o LookupCockpitResultOutput) ToLookupCockpitResultOutput() LookupCockpitResultOutput

func (LookupCockpitResultOutput) ToLookupCockpitResultOutputWithContext

func (o LookupCockpitResultOutput) ToLookupCockpitResultOutputWithContext(ctx context.Context) LookupCockpitResultOutput

type Token

type Token struct {
	pulumi.CustomResourceState

	// The name of the token.
	Name pulumi.StringOutput `pulumi:"name"`
	// `projectId`) The ID of the project the cockpit is associated with.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Allowed scopes.
	Scopes TokenScopesOutput `pulumi:"scopes"`
	// The secret key of the token.
	SecretKey pulumi.StringOutput `pulumi:"secretKey"`
}

Creates and manages Scaleway Cockpit Tokens.

For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#tokens).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/cockpit"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mainCockpit, err := cockpit.LookupCockpit(ctx, nil, nil)
		if err != nil {
			return err
		}
		// Create a token for the cockpit that can write metrics and logs
		_, err = cockpit.NewToken(ctx, "mainToken", &cockpit.TokenArgs{
			ProjectId: *pulumi.String(mainCockpit.ProjectId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/cockpit"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mainCockpit, err := cockpit.LookupCockpit(ctx, nil, nil)
		if err != nil {
			return err
		}
		// Create a token for the cockpit that can read metrics and logs but not write
		_, err = cockpit.NewToken(ctx, "mainToken", &cockpit.TokenArgs{
			ProjectId: *pulumi.String(mainCockpit.ProjectId),
			Scopes: &cockpit.TokenScopesArgs{
				QueryMetrics: pulumi.Bool(true),
				WriteMetrics: pulumi.Bool(false),
				QueryLogs:    pulumi.Bool(true),
				WriteLogs:    pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Cockpits can be imported using the token ID, e.g.

bash

```sh $ pulumi import scaleway:cockpit/token:Token main 11111111-1111-1111-1111-111111111111 ```

func GetToken

func GetToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TokenState, opts ...pulumi.ResourceOption) (*Token, error)

GetToken gets an existing Token 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 NewToken

func NewToken(ctx *pulumi.Context,
	name string, args *TokenArgs, opts ...pulumi.ResourceOption) (*Token, error)

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

func (*Token) ElementType

func (*Token) ElementType() reflect.Type

func (*Token) ToTokenOutput

func (i *Token) ToTokenOutput() TokenOutput

func (*Token) ToTokenOutputWithContext

func (i *Token) ToTokenOutputWithContext(ctx context.Context) TokenOutput

type TokenArgs

type TokenArgs struct {
	// The name of the token.
	Name pulumi.StringPtrInput
	// `projectId`) The ID of the project the cockpit is associated with.
	ProjectId pulumi.StringPtrInput
	// Allowed scopes.
	Scopes TokenScopesPtrInput
}

The set of arguments for constructing a Token resource.

func (TokenArgs) ElementType

func (TokenArgs) ElementType() reflect.Type

type TokenArray

type TokenArray []TokenInput

func (TokenArray) ElementType

func (TokenArray) ElementType() reflect.Type

func (TokenArray) ToTokenArrayOutput

func (i TokenArray) ToTokenArrayOutput() TokenArrayOutput

func (TokenArray) ToTokenArrayOutputWithContext

func (i TokenArray) ToTokenArrayOutputWithContext(ctx context.Context) TokenArrayOutput

type TokenArrayInput

type TokenArrayInput interface {
	pulumi.Input

	ToTokenArrayOutput() TokenArrayOutput
	ToTokenArrayOutputWithContext(context.Context) TokenArrayOutput
}

TokenArrayInput is an input type that accepts TokenArray and TokenArrayOutput values. You can construct a concrete instance of `TokenArrayInput` via:

TokenArray{ TokenArgs{...} }

type TokenArrayOutput

type TokenArrayOutput struct{ *pulumi.OutputState }

func (TokenArrayOutput) ElementType

func (TokenArrayOutput) ElementType() reflect.Type

func (TokenArrayOutput) Index

func (TokenArrayOutput) ToTokenArrayOutput

func (o TokenArrayOutput) ToTokenArrayOutput() TokenArrayOutput

func (TokenArrayOutput) ToTokenArrayOutputWithContext

func (o TokenArrayOutput) ToTokenArrayOutputWithContext(ctx context.Context) TokenArrayOutput

type TokenInput

type TokenInput interface {
	pulumi.Input

	ToTokenOutput() TokenOutput
	ToTokenOutputWithContext(ctx context.Context) TokenOutput
}

type TokenMap

type TokenMap map[string]TokenInput

func (TokenMap) ElementType

func (TokenMap) ElementType() reflect.Type

func (TokenMap) ToTokenMapOutput

func (i TokenMap) ToTokenMapOutput() TokenMapOutput

func (TokenMap) ToTokenMapOutputWithContext

func (i TokenMap) ToTokenMapOutputWithContext(ctx context.Context) TokenMapOutput

type TokenMapInput

type TokenMapInput interface {
	pulumi.Input

	ToTokenMapOutput() TokenMapOutput
	ToTokenMapOutputWithContext(context.Context) TokenMapOutput
}

TokenMapInput is an input type that accepts TokenMap and TokenMapOutput values. You can construct a concrete instance of `TokenMapInput` via:

TokenMap{ "key": TokenArgs{...} }

type TokenMapOutput

type TokenMapOutput struct{ *pulumi.OutputState }

func (TokenMapOutput) ElementType

func (TokenMapOutput) ElementType() reflect.Type

func (TokenMapOutput) MapIndex

func (TokenMapOutput) ToTokenMapOutput

func (o TokenMapOutput) ToTokenMapOutput() TokenMapOutput

func (TokenMapOutput) ToTokenMapOutputWithContext

func (o TokenMapOutput) ToTokenMapOutputWithContext(ctx context.Context) TokenMapOutput

type TokenOutput

type TokenOutput struct{ *pulumi.OutputState }

func (TokenOutput) ElementType

func (TokenOutput) ElementType() reflect.Type

func (TokenOutput) Name

func (o TokenOutput) Name() pulumi.StringOutput

The name of the token.

func (TokenOutput) ProjectId

func (o TokenOutput) ProjectId() pulumi.StringOutput

`projectId`) The ID of the project the cockpit is associated with.

func (TokenOutput) Scopes

func (o TokenOutput) Scopes() TokenScopesOutput

Allowed scopes.

func (TokenOutput) SecretKey

func (o TokenOutput) SecretKey() pulumi.StringOutput

The secret key of the token.

func (TokenOutput) ToTokenOutput

func (o TokenOutput) ToTokenOutput() TokenOutput

func (TokenOutput) ToTokenOutputWithContext

func (o TokenOutput) ToTokenOutputWithContext(ctx context.Context) TokenOutput

type TokenScopes

type TokenScopes struct {
	// Query logs.
	QueryLogs *bool `pulumi:"queryLogs"`
	// Query metrics.
	QueryMetrics *bool `pulumi:"queryMetrics"`
	// Query traces.
	QueryTraces *bool `pulumi:"queryTraces"`
	// Setup alerts.
	SetupAlerts *bool `pulumi:"setupAlerts"`
	// Setup logs rules.
	SetupLogsRules *bool `pulumi:"setupLogsRules"`
	// Setup metrics rules.
	SetupMetricsRules *bool `pulumi:"setupMetricsRules"`
	// Write logs.
	WriteLogs *bool `pulumi:"writeLogs"`
	// Write metrics.
	WriteMetrics *bool `pulumi:"writeMetrics"`
	// Write traces.
	WriteTraces *bool `pulumi:"writeTraces"`
}

type TokenScopesArgs

type TokenScopesArgs struct {
	// Query logs.
	QueryLogs pulumi.BoolPtrInput `pulumi:"queryLogs"`
	// Query metrics.
	QueryMetrics pulumi.BoolPtrInput `pulumi:"queryMetrics"`
	// Query traces.
	QueryTraces pulumi.BoolPtrInput `pulumi:"queryTraces"`
	// Setup alerts.
	SetupAlerts pulumi.BoolPtrInput `pulumi:"setupAlerts"`
	// Setup logs rules.
	SetupLogsRules pulumi.BoolPtrInput `pulumi:"setupLogsRules"`
	// Setup metrics rules.
	SetupMetricsRules pulumi.BoolPtrInput `pulumi:"setupMetricsRules"`
	// Write logs.
	WriteLogs pulumi.BoolPtrInput `pulumi:"writeLogs"`
	// Write metrics.
	WriteMetrics pulumi.BoolPtrInput `pulumi:"writeMetrics"`
	// Write traces.
	WriteTraces pulumi.BoolPtrInput `pulumi:"writeTraces"`
}

func (TokenScopesArgs) ElementType

func (TokenScopesArgs) ElementType() reflect.Type

func (TokenScopesArgs) ToTokenScopesOutput

func (i TokenScopesArgs) ToTokenScopesOutput() TokenScopesOutput

func (TokenScopesArgs) ToTokenScopesOutputWithContext

func (i TokenScopesArgs) ToTokenScopesOutputWithContext(ctx context.Context) TokenScopesOutput

func (TokenScopesArgs) ToTokenScopesPtrOutput

func (i TokenScopesArgs) ToTokenScopesPtrOutput() TokenScopesPtrOutput

func (TokenScopesArgs) ToTokenScopesPtrOutputWithContext

func (i TokenScopesArgs) ToTokenScopesPtrOutputWithContext(ctx context.Context) TokenScopesPtrOutput

type TokenScopesInput

type TokenScopesInput interface {
	pulumi.Input

	ToTokenScopesOutput() TokenScopesOutput
	ToTokenScopesOutputWithContext(context.Context) TokenScopesOutput
}

TokenScopesInput is an input type that accepts TokenScopesArgs and TokenScopesOutput values. You can construct a concrete instance of `TokenScopesInput` via:

TokenScopesArgs{...}

type TokenScopesOutput

type TokenScopesOutput struct{ *pulumi.OutputState }

func (TokenScopesOutput) ElementType

func (TokenScopesOutput) ElementType() reflect.Type

func (TokenScopesOutput) QueryLogs

func (o TokenScopesOutput) QueryLogs() pulumi.BoolPtrOutput

Query logs.

func (TokenScopesOutput) QueryMetrics

func (o TokenScopesOutput) QueryMetrics() pulumi.BoolPtrOutput

Query metrics.

func (TokenScopesOutput) QueryTraces

func (o TokenScopesOutput) QueryTraces() pulumi.BoolPtrOutput

Query traces.

func (TokenScopesOutput) SetupAlerts

func (o TokenScopesOutput) SetupAlerts() pulumi.BoolPtrOutput

Setup alerts.

func (TokenScopesOutput) SetupLogsRules

func (o TokenScopesOutput) SetupLogsRules() pulumi.BoolPtrOutput

Setup logs rules.

func (TokenScopesOutput) SetupMetricsRules

func (o TokenScopesOutput) SetupMetricsRules() pulumi.BoolPtrOutput

Setup metrics rules.

func (TokenScopesOutput) ToTokenScopesOutput

func (o TokenScopesOutput) ToTokenScopesOutput() TokenScopesOutput

func (TokenScopesOutput) ToTokenScopesOutputWithContext

func (o TokenScopesOutput) ToTokenScopesOutputWithContext(ctx context.Context) TokenScopesOutput

func (TokenScopesOutput) ToTokenScopesPtrOutput

func (o TokenScopesOutput) ToTokenScopesPtrOutput() TokenScopesPtrOutput

func (TokenScopesOutput) ToTokenScopesPtrOutputWithContext

func (o TokenScopesOutput) ToTokenScopesPtrOutputWithContext(ctx context.Context) TokenScopesPtrOutput

func (TokenScopesOutput) WriteLogs

func (o TokenScopesOutput) WriteLogs() pulumi.BoolPtrOutput

Write logs.

func (TokenScopesOutput) WriteMetrics

func (o TokenScopesOutput) WriteMetrics() pulumi.BoolPtrOutput

Write metrics.

func (TokenScopesOutput) WriteTraces

func (o TokenScopesOutput) WriteTraces() pulumi.BoolPtrOutput

Write traces.

type TokenScopesPtrInput

type TokenScopesPtrInput interface {
	pulumi.Input

	ToTokenScopesPtrOutput() TokenScopesPtrOutput
	ToTokenScopesPtrOutputWithContext(context.Context) TokenScopesPtrOutput
}

TokenScopesPtrInput is an input type that accepts TokenScopesArgs, TokenScopesPtr and TokenScopesPtrOutput values. You can construct a concrete instance of `TokenScopesPtrInput` via:

        TokenScopesArgs{...}

or:

        nil

func TokenScopesPtr

func TokenScopesPtr(v *TokenScopesArgs) TokenScopesPtrInput

type TokenScopesPtrOutput

type TokenScopesPtrOutput struct{ *pulumi.OutputState }

func (TokenScopesPtrOutput) Elem

func (TokenScopesPtrOutput) ElementType

func (TokenScopesPtrOutput) ElementType() reflect.Type

func (TokenScopesPtrOutput) QueryLogs

Query logs.

func (TokenScopesPtrOutput) QueryMetrics

func (o TokenScopesPtrOutput) QueryMetrics() pulumi.BoolPtrOutput

Query metrics.

func (TokenScopesPtrOutput) QueryTraces

func (o TokenScopesPtrOutput) QueryTraces() pulumi.BoolPtrOutput

Query traces.

func (TokenScopesPtrOutput) SetupAlerts

func (o TokenScopesPtrOutput) SetupAlerts() pulumi.BoolPtrOutput

Setup alerts.

func (TokenScopesPtrOutput) SetupLogsRules

func (o TokenScopesPtrOutput) SetupLogsRules() pulumi.BoolPtrOutput

Setup logs rules.

func (TokenScopesPtrOutput) SetupMetricsRules

func (o TokenScopesPtrOutput) SetupMetricsRules() pulumi.BoolPtrOutput

Setup metrics rules.

func (TokenScopesPtrOutput) ToTokenScopesPtrOutput

func (o TokenScopesPtrOutput) ToTokenScopesPtrOutput() TokenScopesPtrOutput

func (TokenScopesPtrOutput) ToTokenScopesPtrOutputWithContext

func (o TokenScopesPtrOutput) ToTokenScopesPtrOutputWithContext(ctx context.Context) TokenScopesPtrOutput

func (TokenScopesPtrOutput) WriteLogs

Write logs.

func (TokenScopesPtrOutput) WriteMetrics

func (o TokenScopesPtrOutput) WriteMetrics() pulumi.BoolPtrOutput

Write metrics.

func (TokenScopesPtrOutput) WriteTraces

func (o TokenScopesPtrOutput) WriteTraces() pulumi.BoolPtrOutput

Write traces.

type TokenState

type TokenState struct {
	// The name of the token.
	Name pulumi.StringPtrInput
	// `projectId`) The ID of the project the cockpit is associated with.
	ProjectId pulumi.StringPtrInput
	// Allowed scopes.
	Scopes TokenScopesPtrInput
	// The secret key of the token.
	SecretKey pulumi.StringPtrInput
}

func (TokenState) ElementType

func (TokenState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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