Documentation
¶
Index ¶
- type Collector
- type CollectorArgs
- type CollectorArray
- type CollectorArrayInput
- type CollectorArrayOutput
- func (CollectorArrayOutput) ElementType() reflect.Type
- func (o CollectorArrayOutput) Index(i pulumi.IntInput) CollectorOutput
- func (o CollectorArrayOutput) ToCollectorArrayOutput() CollectorArrayOutput
- func (o CollectorArrayOutput) ToCollectorArrayOutputWithContext(ctx context.Context) CollectorArrayOutput
- type CollectorInput
- type CollectorMap
- type CollectorMapInput
- type CollectorMapOutput
- type CollectorOutput
- func (CollectorOutput) ElementType() reflect.Type
- func (o CollectorOutput) Enabled() pulumi.BoolOutput
- func (o CollectorOutput) RemoteAttributes() pulumi.StringMapOutput
- func (o CollectorOutput) ToCollectorOutput() CollectorOutput
- func (o CollectorOutput) ToCollectorOutputWithContext(ctx context.Context) CollectorOutput
- type CollectorState
- type Pipeline
- type PipelineArgs
- type PipelineArray
- type PipelineArrayInput
- type PipelineArrayOutput
- type PipelineInput
- type PipelineMap
- type PipelineMapInput
- type PipelineMapOutput
- type PipelineOutput
- func (o PipelineOutput) Contents() pulumi.StringOutput
- func (PipelineOutput) ElementType() reflect.Type
- func (o PipelineOutput) Enabled() pulumi.BoolOutput
- func (o PipelineOutput) Matchers() pulumi.StringArrayOutput
- func (o PipelineOutput) Name() pulumi.StringOutput
- func (o PipelineOutput) ToPipelineOutput() PipelineOutput
- func (o PipelineOutput) ToPipelineOutputWithContext(ctx context.Context) PipelineOutput
- type PipelineState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct { pulumi.CustomResourceState // Whether the collector is enabled or not Enabled pulumi.BoolOutput `pulumi:"enabled"` // Remote attributes for the collector RemoteAttributes pulumi.StringMapOutput `pulumi:"remoteAttributes"` }
Manages Grafana Fleet Management collectors.
* [Official documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/) * [API documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/api-reference/collector-api/)
**Note:** Fleet Management is in [public preview](https://grafana.com/docs/release-life-cycle/#public-preview) and this resource is experimental. Grafana Labs offers limited support, and breaking changes might occur.
Required access policy scopes:
* fleet-management:read * fleet-management:write
## Import
```sh $ pulumi import grafana:fleetManagement/collector:Collector name "{{ id }}" ```
func GetCollector ¶
func GetCollector(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CollectorState, opts ...pulumi.ResourceOption) (*Collector, error)
GetCollector gets an existing Collector 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 NewCollector ¶
func NewCollector(ctx *pulumi.Context, name string, args *CollectorArgs, opts ...pulumi.ResourceOption) (*Collector, error)
NewCollector registers a new resource with the given unique name, arguments, and options.
func (*Collector) ElementType ¶
func (*Collector) ToCollectorOutput ¶
func (i *Collector) ToCollectorOutput() CollectorOutput
func (*Collector) ToCollectorOutputWithContext ¶
func (i *Collector) ToCollectorOutputWithContext(ctx context.Context) CollectorOutput
type CollectorArgs ¶
type CollectorArgs struct { // Whether the collector is enabled or not Enabled pulumi.BoolPtrInput // Remote attributes for the collector RemoteAttributes pulumi.StringMapInput }
The set of arguments for constructing a Collector resource.
func (CollectorArgs) ElementType ¶
func (CollectorArgs) ElementType() reflect.Type
type CollectorArray ¶
type CollectorArray []CollectorInput
func (CollectorArray) ElementType ¶
func (CollectorArray) ElementType() reflect.Type
func (CollectorArray) ToCollectorArrayOutput ¶
func (i CollectorArray) ToCollectorArrayOutput() CollectorArrayOutput
func (CollectorArray) ToCollectorArrayOutputWithContext ¶
func (i CollectorArray) ToCollectorArrayOutputWithContext(ctx context.Context) CollectorArrayOutput
type CollectorArrayInput ¶
type CollectorArrayInput interface { pulumi.Input ToCollectorArrayOutput() CollectorArrayOutput ToCollectorArrayOutputWithContext(context.Context) CollectorArrayOutput }
CollectorArrayInput is an input type that accepts CollectorArray and CollectorArrayOutput values. You can construct a concrete instance of `CollectorArrayInput` via:
CollectorArray{ CollectorArgs{...} }
type CollectorArrayOutput ¶
type CollectorArrayOutput struct{ *pulumi.OutputState }
func (CollectorArrayOutput) ElementType ¶
func (CollectorArrayOutput) ElementType() reflect.Type
func (CollectorArrayOutput) Index ¶
func (o CollectorArrayOutput) Index(i pulumi.IntInput) CollectorOutput
func (CollectorArrayOutput) ToCollectorArrayOutput ¶
func (o CollectorArrayOutput) ToCollectorArrayOutput() CollectorArrayOutput
func (CollectorArrayOutput) ToCollectorArrayOutputWithContext ¶
func (o CollectorArrayOutput) ToCollectorArrayOutputWithContext(ctx context.Context) CollectorArrayOutput
type CollectorInput ¶
type CollectorInput interface { pulumi.Input ToCollectorOutput() CollectorOutput ToCollectorOutputWithContext(ctx context.Context) CollectorOutput }
type CollectorMap ¶
type CollectorMap map[string]CollectorInput
func (CollectorMap) ElementType ¶
func (CollectorMap) ElementType() reflect.Type
func (CollectorMap) ToCollectorMapOutput ¶
func (i CollectorMap) ToCollectorMapOutput() CollectorMapOutput
func (CollectorMap) ToCollectorMapOutputWithContext ¶
func (i CollectorMap) ToCollectorMapOutputWithContext(ctx context.Context) CollectorMapOutput
type CollectorMapInput ¶
type CollectorMapInput interface { pulumi.Input ToCollectorMapOutput() CollectorMapOutput ToCollectorMapOutputWithContext(context.Context) CollectorMapOutput }
CollectorMapInput is an input type that accepts CollectorMap and CollectorMapOutput values. You can construct a concrete instance of `CollectorMapInput` via:
CollectorMap{ "key": CollectorArgs{...} }
type CollectorMapOutput ¶
type CollectorMapOutput struct{ *pulumi.OutputState }
func (CollectorMapOutput) ElementType ¶
func (CollectorMapOutput) ElementType() reflect.Type
func (CollectorMapOutput) MapIndex ¶
func (o CollectorMapOutput) MapIndex(k pulumi.StringInput) CollectorOutput
func (CollectorMapOutput) ToCollectorMapOutput ¶
func (o CollectorMapOutput) ToCollectorMapOutput() CollectorMapOutput
func (CollectorMapOutput) ToCollectorMapOutputWithContext ¶
func (o CollectorMapOutput) ToCollectorMapOutputWithContext(ctx context.Context) CollectorMapOutput
type CollectorOutput ¶
type CollectorOutput struct{ *pulumi.OutputState }
func (CollectorOutput) ElementType ¶
func (CollectorOutput) ElementType() reflect.Type
func (CollectorOutput) Enabled ¶
func (o CollectorOutput) Enabled() pulumi.BoolOutput
Whether the collector is enabled or not
func (CollectorOutput) RemoteAttributes ¶
func (o CollectorOutput) RemoteAttributes() pulumi.StringMapOutput
Remote attributes for the collector
func (CollectorOutput) ToCollectorOutput ¶
func (o CollectorOutput) ToCollectorOutput() CollectorOutput
func (CollectorOutput) ToCollectorOutputWithContext ¶
func (o CollectorOutput) ToCollectorOutputWithContext(ctx context.Context) CollectorOutput
type CollectorState ¶
type CollectorState struct { // Whether the collector is enabled or not Enabled pulumi.BoolPtrInput // Remote attributes for the collector RemoteAttributes pulumi.StringMapInput }
func (CollectorState) ElementType ¶
func (CollectorState) ElementType() reflect.Type
type Pipeline ¶
type Pipeline struct { pulumi.CustomResourceState // Configuration contents of the pipeline to be used by collectors Contents pulumi.StringOutput `pulumi:"contents"` // Whether the pipeline is enabled for collectors Enabled pulumi.BoolOutput `pulumi:"enabled"` // Used to match against collectors and assign pipelines to them; follows the syntax of Prometheus Alertmanager matchers Matchers pulumi.StringArrayOutput `pulumi:"matchers"` // Name of the pipeline which is the unique identifier for the pipeline Name pulumi.StringOutput `pulumi:"name"` }
Manages Grafana Fleet Management pipelines.
* [Official documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/) * [API documentation](https://grafana.com/docs/grafana-cloud/send-data/fleet-management/api-reference/pipeline-api/)
**Note:** Fleet Management is in [public preview](https://grafana.com/docs/release-life-cycle/#public-preview) and this resource is experimental. Grafana Labs offers limited support, and breaking changes might occur.
Required access policy scopes:
* fleet-management:read * fleet-management:write
## Import
```sh $ pulumi import grafana:fleetManagement/pipeline:Pipeline name "{{ name }}" ```
func GetPipeline ¶
func GetPipeline(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PipelineState, opts ...pulumi.ResourceOption) (*Pipeline, error)
GetPipeline gets an existing Pipeline 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 NewPipeline ¶
func NewPipeline(ctx *pulumi.Context, name string, args *PipelineArgs, opts ...pulumi.ResourceOption) (*Pipeline, error)
NewPipeline registers a new resource with the given unique name, arguments, and options.
func (*Pipeline) ElementType ¶
func (*Pipeline) ToPipelineOutput ¶
func (i *Pipeline) ToPipelineOutput() PipelineOutput
func (*Pipeline) ToPipelineOutputWithContext ¶
func (i *Pipeline) ToPipelineOutputWithContext(ctx context.Context) PipelineOutput
type PipelineArgs ¶
type PipelineArgs struct { // Configuration contents of the pipeline to be used by collectors Contents pulumi.StringInput // Whether the pipeline is enabled for collectors Enabled pulumi.BoolPtrInput // Used to match against collectors and assign pipelines to them; follows the syntax of Prometheus Alertmanager matchers Matchers pulumi.StringArrayInput // Name of the pipeline which is the unique identifier for the pipeline Name pulumi.StringPtrInput }
The set of arguments for constructing a Pipeline resource.
func (PipelineArgs) ElementType ¶
func (PipelineArgs) ElementType() reflect.Type
type PipelineArray ¶
type PipelineArray []PipelineInput
func (PipelineArray) ElementType ¶
func (PipelineArray) ElementType() reflect.Type
func (PipelineArray) ToPipelineArrayOutput ¶
func (i PipelineArray) ToPipelineArrayOutput() PipelineArrayOutput
func (PipelineArray) ToPipelineArrayOutputWithContext ¶
func (i PipelineArray) ToPipelineArrayOutputWithContext(ctx context.Context) PipelineArrayOutput
type PipelineArrayInput ¶
type PipelineArrayInput interface { pulumi.Input ToPipelineArrayOutput() PipelineArrayOutput ToPipelineArrayOutputWithContext(context.Context) PipelineArrayOutput }
PipelineArrayInput is an input type that accepts PipelineArray and PipelineArrayOutput values. You can construct a concrete instance of `PipelineArrayInput` via:
PipelineArray{ PipelineArgs{...} }
type PipelineArrayOutput ¶
type PipelineArrayOutput struct{ *pulumi.OutputState }
func (PipelineArrayOutput) ElementType ¶
func (PipelineArrayOutput) ElementType() reflect.Type
func (PipelineArrayOutput) Index ¶
func (o PipelineArrayOutput) Index(i pulumi.IntInput) PipelineOutput
func (PipelineArrayOutput) ToPipelineArrayOutput ¶
func (o PipelineArrayOutput) ToPipelineArrayOutput() PipelineArrayOutput
func (PipelineArrayOutput) ToPipelineArrayOutputWithContext ¶
func (o PipelineArrayOutput) ToPipelineArrayOutputWithContext(ctx context.Context) PipelineArrayOutput
type PipelineInput ¶
type PipelineInput interface { pulumi.Input ToPipelineOutput() PipelineOutput ToPipelineOutputWithContext(ctx context.Context) PipelineOutput }
type PipelineMap ¶
type PipelineMap map[string]PipelineInput
func (PipelineMap) ElementType ¶
func (PipelineMap) ElementType() reflect.Type
func (PipelineMap) ToPipelineMapOutput ¶
func (i PipelineMap) ToPipelineMapOutput() PipelineMapOutput
func (PipelineMap) ToPipelineMapOutputWithContext ¶
func (i PipelineMap) ToPipelineMapOutputWithContext(ctx context.Context) PipelineMapOutput
type PipelineMapInput ¶
type PipelineMapInput interface { pulumi.Input ToPipelineMapOutput() PipelineMapOutput ToPipelineMapOutputWithContext(context.Context) PipelineMapOutput }
PipelineMapInput is an input type that accepts PipelineMap and PipelineMapOutput values. You can construct a concrete instance of `PipelineMapInput` via:
PipelineMap{ "key": PipelineArgs{...} }
type PipelineMapOutput ¶
type PipelineMapOutput struct{ *pulumi.OutputState }
func (PipelineMapOutput) ElementType ¶
func (PipelineMapOutput) ElementType() reflect.Type
func (PipelineMapOutput) MapIndex ¶
func (o PipelineMapOutput) MapIndex(k pulumi.StringInput) PipelineOutput
func (PipelineMapOutput) ToPipelineMapOutput ¶
func (o PipelineMapOutput) ToPipelineMapOutput() PipelineMapOutput
func (PipelineMapOutput) ToPipelineMapOutputWithContext ¶
func (o PipelineMapOutput) ToPipelineMapOutputWithContext(ctx context.Context) PipelineMapOutput
type PipelineOutput ¶
type PipelineOutput struct{ *pulumi.OutputState }
func (PipelineOutput) Contents ¶
func (o PipelineOutput) Contents() pulumi.StringOutput
Configuration contents of the pipeline to be used by collectors
func (PipelineOutput) ElementType ¶
func (PipelineOutput) ElementType() reflect.Type
func (PipelineOutput) Enabled ¶
func (o PipelineOutput) Enabled() pulumi.BoolOutput
Whether the pipeline is enabled for collectors
func (PipelineOutput) Matchers ¶
func (o PipelineOutput) Matchers() pulumi.StringArrayOutput
Used to match against collectors and assign pipelines to them; follows the syntax of Prometheus Alertmanager matchers
func (PipelineOutput) Name ¶
func (o PipelineOutput) Name() pulumi.StringOutput
Name of the pipeline which is the unique identifier for the pipeline
func (PipelineOutput) ToPipelineOutput ¶
func (o PipelineOutput) ToPipelineOutput() PipelineOutput
func (PipelineOutput) ToPipelineOutputWithContext ¶
func (o PipelineOutput) ToPipelineOutputWithContext(ctx context.Context) PipelineOutput
type PipelineState ¶
type PipelineState struct { // Configuration contents of the pipeline to be used by collectors Contents pulumi.StringPtrInput // Whether the pipeline is enabled for collectors Enabled pulumi.BoolPtrInput // Used to match against collectors and assign pipelines to them; follows the syntax of Prometheus Alertmanager matchers Matchers pulumi.StringArrayInput // Name of the pipeline which is the unique identifier for the pipeline Name pulumi.StringPtrInput }
func (PipelineState) ElementType ¶
func (PipelineState) ElementType() reflect.Type