This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
getEventSource.go
42 lines (37 loc) · 1.54 KB
/
getEventSource.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20180815preview
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupEventSource(ctx *pulumi.Context, args *LookupEventSourceArgs, opts ...pulumi.InvokeOption) (*LookupEventSourceResult, error) {
var rv LookupEventSourceResult
err := ctx.Invoke("azure-nextgen:timeseriesinsights/v20180815preview:getEventSource", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupEventSourceArgs struct {
// The name of the Time Series Insights environment associated with the specified resource group.
EnvironmentName string `pulumi:"environmentName"`
// The name of the Time Series Insights event source associated with the specified environment.
EventSourceName string `pulumi:"eventSourceName"`
// Name of an Azure Resource group.
ResourceGroupName string `pulumi:"resourceGroupName"`
}
// An environment receives data from one or more event sources. Each event source has associated connection info that allows the Time Series Insights ingress pipeline to connect to and pull data from the event source
type LookupEventSourceResult struct {
// Resource Id
Id string `pulumi:"id"`
// The kind of the event source.
Kind string `pulumi:"kind"`
// Resource location
Location string `pulumi:"location"`
// Resource name
Name string `pulumi:"name"`
// Resource tags
Tags map[string]string `pulumi:"tags"`
// Resource type
Type string `pulumi:"type"`
}