streamanalytics

package
v5.84.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 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 Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// The Azure Region where the Stream Analytics Cluster should exist. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for this Stream Analytics Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Stream Analytics Cluster should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The number of streaming units supported by the Cluster. Accepted values are multiples of `36` in the range of `36` to `216`.
	StreamingCapacity pulumi.IntOutput `pulumi:"streamingCapacity"`
	// A mapping of tags which should be assigned to the Stream Analytics.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Stream Analytics Cluster.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewCluster(ctx, "example", &streamanalytics.ClusterArgs{
			Name:              pulumi.String("examplestreamanalyticscluster"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			StreamingCapacity: pulumi.Int(36),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Clusters can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/cluster:Cluster example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.StreamAnalytics/clusters/cluster1 ```

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster 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 NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

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

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterArgs

type ClusterArgs struct {
	// The Azure Region where the Stream Analytics Cluster should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Stream Analytics Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Cluster should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The number of streaming units supported by the Cluster. Accepted values are multiples of `36` in the range of `36` to `216`.
	StreamingCapacity pulumi.IntInput
	// A mapping of tags which should be assigned to the Stream Analytics.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterInput

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) Location added in v5.5.0

func (o ClusterOutput) Location() pulumi.StringOutput

The Azure Region where the Stream Analytics Cluster should exist. Changing this forces a new resource to be created.

func (ClusterOutput) Name added in v5.5.0

The name which should be used for this Stream Analytics Cluster. Changing this forces a new resource to be created.

func (ClusterOutput) ResourceGroupName added in v5.5.0

func (o ClusterOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Cluster should exist. Changing this forces a new resource to be created.

func (ClusterOutput) StreamingCapacity added in v5.5.0

func (o ClusterOutput) StreamingCapacity() pulumi.IntOutput

The number of streaming units supported by the Cluster. Accepted values are multiples of `36` in the range of `36` to `216`.

func (ClusterOutput) Tags added in v5.5.0

A mapping of tags which should be assigned to the Stream Analytics.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterState

type ClusterState struct {
	// The Azure Region where the Stream Analytics Cluster should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Stream Analytics Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Cluster should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The number of streaming units supported by the Cluster. Accepted values are multiples of `36` in the range of `36` to `216`.
	StreamingCapacity pulumi.IntPtrInput
	// A mapping of tags which should be assigned to the Stream Analytics.
	Tags pulumi.StringMapInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type FunctionJavaScriptUDF

type FunctionJavaScriptUDF struct {
	pulumi.CustomResourceState

	// One or more `input` blocks as defined below.
	Inputs FunctionJavaScriptUDFInputTypeArrayOutput `pulumi:"inputs"`
	// The name of the JavaScript UDF Function. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// An `output` blocks as defined below.
	Output FunctionJavaScriptUDFOutputTypeOutput `pulumi:"output"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The JavaScript of this UDF Function.
	Script pulumi.StringOutput `pulumi:"script"`
	// The name of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
}

Manages a JavaScript UDF Function within Stream Analytics Streaming Job.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{
			Name: "example-resources",
		}, nil)
		if err != nil {
			return err
		}
		exampleGetJob, err := streamanalytics.LookupJob(ctx, &streamanalytics.LookupJobArgs{
			Name:              "example-job",
			ResourceGroupName: example.Name,
		}, nil)
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewFunctionJavaScriptUDF(ctx, "example", &streamanalytics.FunctionJavaScriptUDFArgs{
			Name:                   pulumi.String("example-javascript-function"),
			StreamAnalyticsJobName: pulumi.String(exampleGetJob.Name),
			ResourceGroupName:      pulumi.String(exampleGetJob.ResourceGroupName),
			Script:                 pulumi.String("function getRandomNumber(in) {\n  return in;\n}\n"),
			Inputs: streamanalytics.FunctionJavaScriptUDFInputTypeArray{
				&streamanalytics.FunctionJavaScriptUDFInputTypeArgs{
					Type: pulumi.String("bigint"),
				},
			},
			Output: &streamanalytics.FunctionJavaScriptUDFOutputTypeArgs{
				Type: pulumi.String("bigint"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics JavaScript UDF Functions can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/functionJavaScriptUDF:FunctionJavaScriptUDF example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/functions/func1 ```

func GetFunctionJavaScriptUDF

func GetFunctionJavaScriptUDF(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionJavaScriptUDFState, opts ...pulumi.ResourceOption) (*FunctionJavaScriptUDF, error)

GetFunctionJavaScriptUDF gets an existing FunctionJavaScriptUDF 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 NewFunctionJavaScriptUDF

func NewFunctionJavaScriptUDF(ctx *pulumi.Context,
	name string, args *FunctionJavaScriptUDFArgs, opts ...pulumi.ResourceOption) (*FunctionJavaScriptUDF, error)

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

func (*FunctionJavaScriptUDF) ElementType

func (*FunctionJavaScriptUDF) ElementType() reflect.Type

func (*FunctionJavaScriptUDF) ToFunctionJavaScriptUDFOutput

func (i *FunctionJavaScriptUDF) ToFunctionJavaScriptUDFOutput() FunctionJavaScriptUDFOutput

func (*FunctionJavaScriptUDF) ToFunctionJavaScriptUDFOutputWithContext

func (i *FunctionJavaScriptUDF) ToFunctionJavaScriptUDFOutputWithContext(ctx context.Context) FunctionJavaScriptUDFOutput

type FunctionJavaScriptUDFArgs

type FunctionJavaScriptUDFArgs struct {
	// One or more `input` blocks as defined below.
	Inputs FunctionJavaScriptUDFInputTypeArrayInput
	// The name of the JavaScript UDF Function. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// An `output` blocks as defined below.
	Output FunctionJavaScriptUDFOutputTypeInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The JavaScript of this UDF Function.
	Script pulumi.StringInput
	// The name of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
}

The set of arguments for constructing a FunctionJavaScriptUDF resource.

func (FunctionJavaScriptUDFArgs) ElementType

func (FunctionJavaScriptUDFArgs) ElementType() reflect.Type

type FunctionJavaScriptUDFArray

type FunctionJavaScriptUDFArray []FunctionJavaScriptUDFInput

func (FunctionJavaScriptUDFArray) ElementType

func (FunctionJavaScriptUDFArray) ElementType() reflect.Type

func (FunctionJavaScriptUDFArray) ToFunctionJavaScriptUDFArrayOutput

func (i FunctionJavaScriptUDFArray) ToFunctionJavaScriptUDFArrayOutput() FunctionJavaScriptUDFArrayOutput

func (FunctionJavaScriptUDFArray) ToFunctionJavaScriptUDFArrayOutputWithContext

func (i FunctionJavaScriptUDFArray) ToFunctionJavaScriptUDFArrayOutputWithContext(ctx context.Context) FunctionJavaScriptUDFArrayOutput

type FunctionJavaScriptUDFArrayInput

type FunctionJavaScriptUDFArrayInput interface {
	pulumi.Input

	ToFunctionJavaScriptUDFArrayOutput() FunctionJavaScriptUDFArrayOutput
	ToFunctionJavaScriptUDFArrayOutputWithContext(context.Context) FunctionJavaScriptUDFArrayOutput
}

FunctionJavaScriptUDFArrayInput is an input type that accepts FunctionJavaScriptUDFArray and FunctionJavaScriptUDFArrayOutput values. You can construct a concrete instance of `FunctionJavaScriptUDFArrayInput` via:

FunctionJavaScriptUDFArray{ FunctionJavaScriptUDFArgs{...} }

type FunctionJavaScriptUDFArrayOutput

type FunctionJavaScriptUDFArrayOutput struct{ *pulumi.OutputState }

func (FunctionJavaScriptUDFArrayOutput) ElementType

func (FunctionJavaScriptUDFArrayOutput) Index

func (FunctionJavaScriptUDFArrayOutput) ToFunctionJavaScriptUDFArrayOutput

func (o FunctionJavaScriptUDFArrayOutput) ToFunctionJavaScriptUDFArrayOutput() FunctionJavaScriptUDFArrayOutput

func (FunctionJavaScriptUDFArrayOutput) ToFunctionJavaScriptUDFArrayOutputWithContext

func (o FunctionJavaScriptUDFArrayOutput) ToFunctionJavaScriptUDFArrayOutputWithContext(ctx context.Context) FunctionJavaScriptUDFArrayOutput

type FunctionJavaScriptUDFInput

type FunctionJavaScriptUDFInput interface {
	pulumi.Input

	ToFunctionJavaScriptUDFOutput() FunctionJavaScriptUDFOutput
	ToFunctionJavaScriptUDFOutputWithContext(ctx context.Context) FunctionJavaScriptUDFOutput
}

type FunctionJavaScriptUDFInputType

type FunctionJavaScriptUDFInputType struct {
	// Is this input parameter a configuration parameter? Defaults to `false`.
	ConfigurationParameter *bool `pulumi:"configurationParameter"`
	// The Data Type for the Input Argument of this JavaScript Function. Possible values include `array`, `any`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
	Type string `pulumi:"type"`
}

type FunctionJavaScriptUDFInputTypeArgs

type FunctionJavaScriptUDFInputTypeArgs struct {
	// Is this input parameter a configuration parameter? Defaults to `false`.
	ConfigurationParameter pulumi.BoolPtrInput `pulumi:"configurationParameter"`
	// The Data Type for the Input Argument of this JavaScript Function. Possible values include `array`, `any`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (FunctionJavaScriptUDFInputTypeArgs) ElementType

func (FunctionJavaScriptUDFInputTypeArgs) ToFunctionJavaScriptUDFInputTypeOutput

func (i FunctionJavaScriptUDFInputTypeArgs) ToFunctionJavaScriptUDFInputTypeOutput() FunctionJavaScriptUDFInputTypeOutput

func (FunctionJavaScriptUDFInputTypeArgs) ToFunctionJavaScriptUDFInputTypeOutputWithContext

func (i FunctionJavaScriptUDFInputTypeArgs) ToFunctionJavaScriptUDFInputTypeOutputWithContext(ctx context.Context) FunctionJavaScriptUDFInputTypeOutput

type FunctionJavaScriptUDFInputTypeArray

type FunctionJavaScriptUDFInputTypeArray []FunctionJavaScriptUDFInputTypeInput

func (FunctionJavaScriptUDFInputTypeArray) ElementType

func (FunctionJavaScriptUDFInputTypeArray) ToFunctionJavaScriptUDFInputTypeArrayOutput

func (i FunctionJavaScriptUDFInputTypeArray) ToFunctionJavaScriptUDFInputTypeArrayOutput() FunctionJavaScriptUDFInputTypeArrayOutput

func (FunctionJavaScriptUDFInputTypeArray) ToFunctionJavaScriptUDFInputTypeArrayOutputWithContext

func (i FunctionJavaScriptUDFInputTypeArray) ToFunctionJavaScriptUDFInputTypeArrayOutputWithContext(ctx context.Context) FunctionJavaScriptUDFInputTypeArrayOutput

type FunctionJavaScriptUDFInputTypeArrayInput

type FunctionJavaScriptUDFInputTypeArrayInput interface {
	pulumi.Input

	ToFunctionJavaScriptUDFInputTypeArrayOutput() FunctionJavaScriptUDFInputTypeArrayOutput
	ToFunctionJavaScriptUDFInputTypeArrayOutputWithContext(context.Context) FunctionJavaScriptUDFInputTypeArrayOutput
}

FunctionJavaScriptUDFInputTypeArrayInput is an input type that accepts FunctionJavaScriptUDFInputTypeArray and FunctionJavaScriptUDFInputTypeArrayOutput values. You can construct a concrete instance of `FunctionJavaScriptUDFInputTypeArrayInput` via:

FunctionJavaScriptUDFInputTypeArray{ FunctionJavaScriptUDFInputTypeArgs{...} }

type FunctionJavaScriptUDFInputTypeArrayOutput

type FunctionJavaScriptUDFInputTypeArrayOutput struct{ *pulumi.OutputState }

func (FunctionJavaScriptUDFInputTypeArrayOutput) ElementType

func (FunctionJavaScriptUDFInputTypeArrayOutput) Index

func (FunctionJavaScriptUDFInputTypeArrayOutput) ToFunctionJavaScriptUDFInputTypeArrayOutput

func (o FunctionJavaScriptUDFInputTypeArrayOutput) ToFunctionJavaScriptUDFInputTypeArrayOutput() FunctionJavaScriptUDFInputTypeArrayOutput

func (FunctionJavaScriptUDFInputTypeArrayOutput) ToFunctionJavaScriptUDFInputTypeArrayOutputWithContext

func (o FunctionJavaScriptUDFInputTypeArrayOutput) ToFunctionJavaScriptUDFInputTypeArrayOutputWithContext(ctx context.Context) FunctionJavaScriptUDFInputTypeArrayOutput

type FunctionJavaScriptUDFInputTypeInput

type FunctionJavaScriptUDFInputTypeInput interface {
	pulumi.Input

	ToFunctionJavaScriptUDFInputTypeOutput() FunctionJavaScriptUDFInputTypeOutput
	ToFunctionJavaScriptUDFInputTypeOutputWithContext(context.Context) FunctionJavaScriptUDFInputTypeOutput
}

FunctionJavaScriptUDFInputTypeInput is an input type that accepts FunctionJavaScriptUDFInputTypeArgs and FunctionJavaScriptUDFInputTypeOutput values. You can construct a concrete instance of `FunctionJavaScriptUDFInputTypeInput` via:

FunctionJavaScriptUDFInputTypeArgs{...}

type FunctionJavaScriptUDFInputTypeOutput

type FunctionJavaScriptUDFInputTypeOutput struct{ *pulumi.OutputState }

func (FunctionJavaScriptUDFInputTypeOutput) ConfigurationParameter added in v5.6.0

func (o FunctionJavaScriptUDFInputTypeOutput) ConfigurationParameter() pulumi.BoolPtrOutput

Is this input parameter a configuration parameter? Defaults to `false`.

func (FunctionJavaScriptUDFInputTypeOutput) ElementType

func (FunctionJavaScriptUDFInputTypeOutput) ToFunctionJavaScriptUDFInputTypeOutput

func (o FunctionJavaScriptUDFInputTypeOutput) ToFunctionJavaScriptUDFInputTypeOutput() FunctionJavaScriptUDFInputTypeOutput

func (FunctionJavaScriptUDFInputTypeOutput) ToFunctionJavaScriptUDFInputTypeOutputWithContext

func (o FunctionJavaScriptUDFInputTypeOutput) ToFunctionJavaScriptUDFInputTypeOutputWithContext(ctx context.Context) FunctionJavaScriptUDFInputTypeOutput

func (FunctionJavaScriptUDFInputTypeOutput) Type

The Data Type for the Input Argument of this JavaScript Function. Possible values include `array`, `any`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.

type FunctionJavaScriptUDFMap

type FunctionJavaScriptUDFMap map[string]FunctionJavaScriptUDFInput

func (FunctionJavaScriptUDFMap) ElementType

func (FunctionJavaScriptUDFMap) ElementType() reflect.Type

func (FunctionJavaScriptUDFMap) ToFunctionJavaScriptUDFMapOutput

func (i FunctionJavaScriptUDFMap) ToFunctionJavaScriptUDFMapOutput() FunctionJavaScriptUDFMapOutput

func (FunctionJavaScriptUDFMap) ToFunctionJavaScriptUDFMapOutputWithContext

func (i FunctionJavaScriptUDFMap) ToFunctionJavaScriptUDFMapOutputWithContext(ctx context.Context) FunctionJavaScriptUDFMapOutput

type FunctionJavaScriptUDFMapInput

type FunctionJavaScriptUDFMapInput interface {
	pulumi.Input

	ToFunctionJavaScriptUDFMapOutput() FunctionJavaScriptUDFMapOutput
	ToFunctionJavaScriptUDFMapOutputWithContext(context.Context) FunctionJavaScriptUDFMapOutput
}

FunctionJavaScriptUDFMapInput is an input type that accepts FunctionJavaScriptUDFMap and FunctionJavaScriptUDFMapOutput values. You can construct a concrete instance of `FunctionJavaScriptUDFMapInput` via:

FunctionJavaScriptUDFMap{ "key": FunctionJavaScriptUDFArgs{...} }

type FunctionJavaScriptUDFMapOutput

type FunctionJavaScriptUDFMapOutput struct{ *pulumi.OutputState }

func (FunctionJavaScriptUDFMapOutput) ElementType

func (FunctionJavaScriptUDFMapOutput) MapIndex

func (FunctionJavaScriptUDFMapOutput) ToFunctionJavaScriptUDFMapOutput

func (o FunctionJavaScriptUDFMapOutput) ToFunctionJavaScriptUDFMapOutput() FunctionJavaScriptUDFMapOutput

func (FunctionJavaScriptUDFMapOutput) ToFunctionJavaScriptUDFMapOutputWithContext

func (o FunctionJavaScriptUDFMapOutput) ToFunctionJavaScriptUDFMapOutputWithContext(ctx context.Context) FunctionJavaScriptUDFMapOutput

type FunctionJavaScriptUDFOutput

type FunctionJavaScriptUDFOutput struct{ *pulumi.OutputState }

func (FunctionJavaScriptUDFOutput) ElementType

func (FunctionJavaScriptUDFOutput) Inputs added in v5.5.0

One or more `input` blocks as defined below.

func (FunctionJavaScriptUDFOutput) Name added in v5.5.0

The name of the JavaScript UDF Function. Changing this forces a new resource to be created.

func (FunctionJavaScriptUDFOutput) Output added in v5.5.0

An `output` blocks as defined below.

func (FunctionJavaScriptUDFOutput) ResourceGroupName added in v5.5.0

func (o FunctionJavaScriptUDFOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (FunctionJavaScriptUDFOutput) Script added in v5.5.0

The JavaScript of this UDF Function.

func (FunctionJavaScriptUDFOutput) StreamAnalyticsJobName added in v5.5.0

func (o FunctionJavaScriptUDFOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created.

func (FunctionJavaScriptUDFOutput) ToFunctionJavaScriptUDFOutput

func (o FunctionJavaScriptUDFOutput) ToFunctionJavaScriptUDFOutput() FunctionJavaScriptUDFOutput

func (FunctionJavaScriptUDFOutput) ToFunctionJavaScriptUDFOutputWithContext

func (o FunctionJavaScriptUDFOutput) ToFunctionJavaScriptUDFOutputWithContext(ctx context.Context) FunctionJavaScriptUDFOutput

type FunctionJavaScriptUDFOutputType

type FunctionJavaScriptUDFOutputType struct {
	// The Data Type output from this JavaScript Function. Possible values include `array`, `any`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
	Type string `pulumi:"type"`
}

type FunctionJavaScriptUDFOutputTypeArgs

type FunctionJavaScriptUDFOutputTypeArgs struct {
	// The Data Type output from this JavaScript Function. Possible values include `array`, `any`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (FunctionJavaScriptUDFOutputTypeArgs) ElementType

func (FunctionJavaScriptUDFOutputTypeArgs) ToFunctionJavaScriptUDFOutputTypeOutput

func (i FunctionJavaScriptUDFOutputTypeArgs) ToFunctionJavaScriptUDFOutputTypeOutput() FunctionJavaScriptUDFOutputTypeOutput

func (FunctionJavaScriptUDFOutputTypeArgs) ToFunctionJavaScriptUDFOutputTypeOutputWithContext

func (i FunctionJavaScriptUDFOutputTypeArgs) ToFunctionJavaScriptUDFOutputTypeOutputWithContext(ctx context.Context) FunctionJavaScriptUDFOutputTypeOutput

func (FunctionJavaScriptUDFOutputTypeArgs) ToFunctionJavaScriptUDFOutputTypePtrOutput

func (i FunctionJavaScriptUDFOutputTypeArgs) ToFunctionJavaScriptUDFOutputTypePtrOutput() FunctionJavaScriptUDFOutputTypePtrOutput

func (FunctionJavaScriptUDFOutputTypeArgs) ToFunctionJavaScriptUDFOutputTypePtrOutputWithContext

func (i FunctionJavaScriptUDFOutputTypeArgs) ToFunctionJavaScriptUDFOutputTypePtrOutputWithContext(ctx context.Context) FunctionJavaScriptUDFOutputTypePtrOutput

type FunctionJavaScriptUDFOutputTypeInput

type FunctionJavaScriptUDFOutputTypeInput interface {
	pulumi.Input

	ToFunctionJavaScriptUDFOutputTypeOutput() FunctionJavaScriptUDFOutputTypeOutput
	ToFunctionJavaScriptUDFOutputTypeOutputWithContext(context.Context) FunctionJavaScriptUDFOutputTypeOutput
}

FunctionJavaScriptUDFOutputTypeInput is an input type that accepts FunctionJavaScriptUDFOutputTypeArgs and FunctionJavaScriptUDFOutputTypeOutput values. You can construct a concrete instance of `FunctionJavaScriptUDFOutputTypeInput` via:

FunctionJavaScriptUDFOutputTypeArgs{...}

type FunctionJavaScriptUDFOutputTypeOutput

type FunctionJavaScriptUDFOutputTypeOutput struct{ *pulumi.OutputState }

func (FunctionJavaScriptUDFOutputTypeOutput) ElementType

func (FunctionJavaScriptUDFOutputTypeOutput) ToFunctionJavaScriptUDFOutputTypeOutput

func (o FunctionJavaScriptUDFOutputTypeOutput) ToFunctionJavaScriptUDFOutputTypeOutput() FunctionJavaScriptUDFOutputTypeOutput

func (FunctionJavaScriptUDFOutputTypeOutput) ToFunctionJavaScriptUDFOutputTypeOutputWithContext

func (o FunctionJavaScriptUDFOutputTypeOutput) ToFunctionJavaScriptUDFOutputTypeOutputWithContext(ctx context.Context) FunctionJavaScriptUDFOutputTypeOutput

func (FunctionJavaScriptUDFOutputTypeOutput) ToFunctionJavaScriptUDFOutputTypePtrOutput

func (o FunctionJavaScriptUDFOutputTypeOutput) ToFunctionJavaScriptUDFOutputTypePtrOutput() FunctionJavaScriptUDFOutputTypePtrOutput

func (FunctionJavaScriptUDFOutputTypeOutput) ToFunctionJavaScriptUDFOutputTypePtrOutputWithContext

func (o FunctionJavaScriptUDFOutputTypeOutput) ToFunctionJavaScriptUDFOutputTypePtrOutputWithContext(ctx context.Context) FunctionJavaScriptUDFOutputTypePtrOutput

func (FunctionJavaScriptUDFOutputTypeOutput) Type

The Data Type output from this JavaScript Function. Possible values include `array`, `any`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.

type FunctionJavaScriptUDFOutputTypePtrInput

type FunctionJavaScriptUDFOutputTypePtrInput interface {
	pulumi.Input

	ToFunctionJavaScriptUDFOutputTypePtrOutput() FunctionJavaScriptUDFOutputTypePtrOutput
	ToFunctionJavaScriptUDFOutputTypePtrOutputWithContext(context.Context) FunctionJavaScriptUDFOutputTypePtrOutput
}

FunctionJavaScriptUDFOutputTypePtrInput is an input type that accepts FunctionJavaScriptUDFOutputTypeArgs, FunctionJavaScriptUDFOutputTypePtr and FunctionJavaScriptUDFOutputTypePtrOutput values. You can construct a concrete instance of `FunctionJavaScriptUDFOutputTypePtrInput` via:

        FunctionJavaScriptUDFOutputTypeArgs{...}

or:

        nil

type FunctionJavaScriptUDFOutputTypePtrOutput

type FunctionJavaScriptUDFOutputTypePtrOutput struct{ *pulumi.OutputState }

func (FunctionJavaScriptUDFOutputTypePtrOutput) Elem

func (FunctionJavaScriptUDFOutputTypePtrOutput) ElementType

func (FunctionJavaScriptUDFOutputTypePtrOutput) ToFunctionJavaScriptUDFOutputTypePtrOutput

func (o FunctionJavaScriptUDFOutputTypePtrOutput) ToFunctionJavaScriptUDFOutputTypePtrOutput() FunctionJavaScriptUDFOutputTypePtrOutput

func (FunctionJavaScriptUDFOutputTypePtrOutput) ToFunctionJavaScriptUDFOutputTypePtrOutputWithContext

func (o FunctionJavaScriptUDFOutputTypePtrOutput) ToFunctionJavaScriptUDFOutputTypePtrOutputWithContext(ctx context.Context) FunctionJavaScriptUDFOutputTypePtrOutput

func (FunctionJavaScriptUDFOutputTypePtrOutput) Type

The Data Type output from this JavaScript Function. Possible values include `array`, `any`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.

type FunctionJavaScriptUDFState

type FunctionJavaScriptUDFState struct {
	// One or more `input` blocks as defined below.
	Inputs FunctionJavaScriptUDFInputTypeArrayInput
	// The name of the JavaScript UDF Function. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// An `output` blocks as defined below.
	Output FunctionJavaScriptUDFOutputTypePtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The JavaScript of this UDF Function.
	Script pulumi.StringPtrInput
	// The name of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
}

func (FunctionJavaScriptUDFState) ElementType

func (FunctionJavaScriptUDFState) ElementType() reflect.Type

type FunctionJavascriptUda

type FunctionJavascriptUda struct {
	pulumi.CustomResourceState

	// One or more `input` blocks as defined below.
	Inputs FunctionJavascriptUdaInputTypeArrayOutput `pulumi:"inputs"`
	// The name of the JavaScript UDA Function. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// An `output` block as defined below.
	Output FunctionJavascriptUdaOutputTypeOutput `pulumi:"output"`
	// The JavaScript of this UDA Function.
	Script pulumi.StringOutput `pulumi:"script"`
	// The resource ID of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringOutput `pulumi:"streamAnalyticsJobId"`
}

Manages a JavaScript UDA Function within a Stream Analytics Streaming Job.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{
			Name: "example-resources",
		}, nil)
		if err != nil {
			return err
		}
		exampleGetJob, err := streamanalytics.LookupJob(ctx, &streamanalytics.LookupJobArgs{
			Name:              "example-job",
			ResourceGroupName: example.Name,
		}, nil)
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewFunctionJavascriptUda(ctx, "example", &streamanalytics.FunctionJavascriptUdaArgs{
			Name:                 pulumi.String("example-javascript-function"),
			StreamAnalyticsJobId: pulumi.String(exampleGetJob.Id),
			Script: pulumi.String(`function main() {
    this.init = function () {
        this.state = 0;
    }

    this.accumulate = function (value, timestamp) {
        this.state += value;
    }

    this.computeResult = function () {
        return this.state;
    }
}

`),

			Inputs: streamanalytics.FunctionJavascriptUdaInputTypeArray{
				&streamanalytics.FunctionJavascriptUdaInputTypeArgs{
					Type: pulumi.String("bigint"),
				},
			},
			Output: &streamanalytics.FunctionJavascriptUdaOutputTypeArgs{
				Type: pulumi.String("bigint"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics JavaScript UDA Functions can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/functionJavascriptUda:FunctionJavascriptUda example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/functions/func1 ```

func GetFunctionJavascriptUda

func GetFunctionJavascriptUda(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionJavascriptUdaState, opts ...pulumi.ResourceOption) (*FunctionJavascriptUda, error)

GetFunctionJavascriptUda gets an existing FunctionJavascriptUda 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 NewFunctionJavascriptUda

func NewFunctionJavascriptUda(ctx *pulumi.Context,
	name string, args *FunctionJavascriptUdaArgs, opts ...pulumi.ResourceOption) (*FunctionJavascriptUda, error)

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

func (*FunctionJavascriptUda) ElementType

func (*FunctionJavascriptUda) ElementType() reflect.Type

func (*FunctionJavascriptUda) ToFunctionJavascriptUdaOutput

func (i *FunctionJavascriptUda) ToFunctionJavascriptUdaOutput() FunctionJavascriptUdaOutput

func (*FunctionJavascriptUda) ToFunctionJavascriptUdaOutputWithContext

func (i *FunctionJavascriptUda) ToFunctionJavascriptUdaOutputWithContext(ctx context.Context) FunctionJavascriptUdaOutput

type FunctionJavascriptUdaArgs

type FunctionJavascriptUdaArgs struct {
	// One or more `input` blocks as defined below.
	Inputs FunctionJavascriptUdaInputTypeArrayInput
	// The name of the JavaScript UDA Function. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// An `output` block as defined below.
	Output FunctionJavascriptUdaOutputTypeInput
	// The JavaScript of this UDA Function.
	Script pulumi.StringInput
	// The resource ID of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringInput
}

The set of arguments for constructing a FunctionJavascriptUda resource.

func (FunctionJavascriptUdaArgs) ElementType

func (FunctionJavascriptUdaArgs) ElementType() reflect.Type

type FunctionJavascriptUdaArray

type FunctionJavascriptUdaArray []FunctionJavascriptUdaInput

func (FunctionJavascriptUdaArray) ElementType

func (FunctionJavascriptUdaArray) ElementType() reflect.Type

func (FunctionJavascriptUdaArray) ToFunctionJavascriptUdaArrayOutput

func (i FunctionJavascriptUdaArray) ToFunctionJavascriptUdaArrayOutput() FunctionJavascriptUdaArrayOutput

func (FunctionJavascriptUdaArray) ToFunctionJavascriptUdaArrayOutputWithContext

func (i FunctionJavascriptUdaArray) ToFunctionJavascriptUdaArrayOutputWithContext(ctx context.Context) FunctionJavascriptUdaArrayOutput

type FunctionJavascriptUdaArrayInput

type FunctionJavascriptUdaArrayInput interface {
	pulumi.Input

	ToFunctionJavascriptUdaArrayOutput() FunctionJavascriptUdaArrayOutput
	ToFunctionJavascriptUdaArrayOutputWithContext(context.Context) FunctionJavascriptUdaArrayOutput
}

FunctionJavascriptUdaArrayInput is an input type that accepts FunctionJavascriptUdaArray and FunctionJavascriptUdaArrayOutput values. You can construct a concrete instance of `FunctionJavascriptUdaArrayInput` via:

FunctionJavascriptUdaArray{ FunctionJavascriptUdaArgs{...} }

type FunctionJavascriptUdaArrayOutput

type FunctionJavascriptUdaArrayOutput struct{ *pulumi.OutputState }

func (FunctionJavascriptUdaArrayOutput) ElementType

func (FunctionJavascriptUdaArrayOutput) Index

func (FunctionJavascriptUdaArrayOutput) ToFunctionJavascriptUdaArrayOutput

func (o FunctionJavascriptUdaArrayOutput) ToFunctionJavascriptUdaArrayOutput() FunctionJavascriptUdaArrayOutput

func (FunctionJavascriptUdaArrayOutput) ToFunctionJavascriptUdaArrayOutputWithContext

func (o FunctionJavascriptUdaArrayOutput) ToFunctionJavascriptUdaArrayOutputWithContext(ctx context.Context) FunctionJavascriptUdaArrayOutput

type FunctionJavascriptUdaInput

type FunctionJavascriptUdaInput interface {
	pulumi.Input

	ToFunctionJavascriptUdaOutput() FunctionJavascriptUdaOutput
	ToFunctionJavascriptUdaOutputWithContext(ctx context.Context) FunctionJavascriptUdaOutput
}

type FunctionJavascriptUdaInputType

type FunctionJavascriptUdaInputType struct {
	// Is this input parameter a configuration parameter? Defaults to `false`.
	ConfigurationParameter *bool `pulumi:"configurationParameter"`
	// The input data type of this JavaScript Function. Possible values include `any`, `array`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
	Type string `pulumi:"type"`
}

type FunctionJavascriptUdaInputTypeArgs

type FunctionJavascriptUdaInputTypeArgs struct {
	// Is this input parameter a configuration parameter? Defaults to `false`.
	ConfigurationParameter pulumi.BoolPtrInput `pulumi:"configurationParameter"`
	// The input data type of this JavaScript Function. Possible values include `any`, `array`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (FunctionJavascriptUdaInputTypeArgs) ElementType

func (FunctionJavascriptUdaInputTypeArgs) ToFunctionJavascriptUdaInputTypeOutput

func (i FunctionJavascriptUdaInputTypeArgs) ToFunctionJavascriptUdaInputTypeOutput() FunctionJavascriptUdaInputTypeOutput

func (FunctionJavascriptUdaInputTypeArgs) ToFunctionJavascriptUdaInputTypeOutputWithContext

func (i FunctionJavascriptUdaInputTypeArgs) ToFunctionJavascriptUdaInputTypeOutputWithContext(ctx context.Context) FunctionJavascriptUdaInputTypeOutput

type FunctionJavascriptUdaInputTypeArray

type FunctionJavascriptUdaInputTypeArray []FunctionJavascriptUdaInputTypeInput

func (FunctionJavascriptUdaInputTypeArray) ElementType

func (FunctionJavascriptUdaInputTypeArray) ToFunctionJavascriptUdaInputTypeArrayOutput

func (i FunctionJavascriptUdaInputTypeArray) ToFunctionJavascriptUdaInputTypeArrayOutput() FunctionJavascriptUdaInputTypeArrayOutput

func (FunctionJavascriptUdaInputTypeArray) ToFunctionJavascriptUdaInputTypeArrayOutputWithContext

func (i FunctionJavascriptUdaInputTypeArray) ToFunctionJavascriptUdaInputTypeArrayOutputWithContext(ctx context.Context) FunctionJavascriptUdaInputTypeArrayOutput

type FunctionJavascriptUdaInputTypeArrayInput

type FunctionJavascriptUdaInputTypeArrayInput interface {
	pulumi.Input

	ToFunctionJavascriptUdaInputTypeArrayOutput() FunctionJavascriptUdaInputTypeArrayOutput
	ToFunctionJavascriptUdaInputTypeArrayOutputWithContext(context.Context) FunctionJavascriptUdaInputTypeArrayOutput
}

FunctionJavascriptUdaInputTypeArrayInput is an input type that accepts FunctionJavascriptUdaInputTypeArray and FunctionJavascriptUdaInputTypeArrayOutput values. You can construct a concrete instance of `FunctionJavascriptUdaInputTypeArrayInput` via:

FunctionJavascriptUdaInputTypeArray{ FunctionJavascriptUdaInputTypeArgs{...} }

type FunctionJavascriptUdaInputTypeArrayOutput

type FunctionJavascriptUdaInputTypeArrayOutput struct{ *pulumi.OutputState }

func (FunctionJavascriptUdaInputTypeArrayOutput) ElementType

func (FunctionJavascriptUdaInputTypeArrayOutput) Index

func (FunctionJavascriptUdaInputTypeArrayOutput) ToFunctionJavascriptUdaInputTypeArrayOutput

func (o FunctionJavascriptUdaInputTypeArrayOutput) ToFunctionJavascriptUdaInputTypeArrayOutput() FunctionJavascriptUdaInputTypeArrayOutput

func (FunctionJavascriptUdaInputTypeArrayOutput) ToFunctionJavascriptUdaInputTypeArrayOutputWithContext

func (o FunctionJavascriptUdaInputTypeArrayOutput) ToFunctionJavascriptUdaInputTypeArrayOutputWithContext(ctx context.Context) FunctionJavascriptUdaInputTypeArrayOutput

type FunctionJavascriptUdaInputTypeInput

type FunctionJavascriptUdaInputTypeInput interface {
	pulumi.Input

	ToFunctionJavascriptUdaInputTypeOutput() FunctionJavascriptUdaInputTypeOutput
	ToFunctionJavascriptUdaInputTypeOutputWithContext(context.Context) FunctionJavascriptUdaInputTypeOutput
}

FunctionJavascriptUdaInputTypeInput is an input type that accepts FunctionJavascriptUdaInputTypeArgs and FunctionJavascriptUdaInputTypeOutput values. You can construct a concrete instance of `FunctionJavascriptUdaInputTypeInput` via:

FunctionJavascriptUdaInputTypeArgs{...}

type FunctionJavascriptUdaInputTypeOutput

type FunctionJavascriptUdaInputTypeOutput struct{ *pulumi.OutputState }

func (FunctionJavascriptUdaInputTypeOutput) ConfigurationParameter added in v5.6.0

func (o FunctionJavascriptUdaInputTypeOutput) ConfigurationParameter() pulumi.BoolPtrOutput

Is this input parameter a configuration parameter? Defaults to `false`.

func (FunctionJavascriptUdaInputTypeOutput) ElementType

func (FunctionJavascriptUdaInputTypeOutput) ToFunctionJavascriptUdaInputTypeOutput

func (o FunctionJavascriptUdaInputTypeOutput) ToFunctionJavascriptUdaInputTypeOutput() FunctionJavascriptUdaInputTypeOutput

func (FunctionJavascriptUdaInputTypeOutput) ToFunctionJavascriptUdaInputTypeOutputWithContext

func (o FunctionJavascriptUdaInputTypeOutput) ToFunctionJavascriptUdaInputTypeOutputWithContext(ctx context.Context) FunctionJavascriptUdaInputTypeOutput

func (FunctionJavascriptUdaInputTypeOutput) Type

The input data type of this JavaScript Function. Possible values include `any`, `array`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.

type FunctionJavascriptUdaMap

type FunctionJavascriptUdaMap map[string]FunctionJavascriptUdaInput

func (FunctionJavascriptUdaMap) ElementType

func (FunctionJavascriptUdaMap) ElementType() reflect.Type

func (FunctionJavascriptUdaMap) ToFunctionJavascriptUdaMapOutput

func (i FunctionJavascriptUdaMap) ToFunctionJavascriptUdaMapOutput() FunctionJavascriptUdaMapOutput

func (FunctionJavascriptUdaMap) ToFunctionJavascriptUdaMapOutputWithContext

func (i FunctionJavascriptUdaMap) ToFunctionJavascriptUdaMapOutputWithContext(ctx context.Context) FunctionJavascriptUdaMapOutput

type FunctionJavascriptUdaMapInput

type FunctionJavascriptUdaMapInput interface {
	pulumi.Input

	ToFunctionJavascriptUdaMapOutput() FunctionJavascriptUdaMapOutput
	ToFunctionJavascriptUdaMapOutputWithContext(context.Context) FunctionJavascriptUdaMapOutput
}

FunctionJavascriptUdaMapInput is an input type that accepts FunctionJavascriptUdaMap and FunctionJavascriptUdaMapOutput values. You can construct a concrete instance of `FunctionJavascriptUdaMapInput` via:

FunctionJavascriptUdaMap{ "key": FunctionJavascriptUdaArgs{...} }

type FunctionJavascriptUdaMapOutput

type FunctionJavascriptUdaMapOutput struct{ *pulumi.OutputState }

func (FunctionJavascriptUdaMapOutput) ElementType

func (FunctionJavascriptUdaMapOutput) MapIndex

func (FunctionJavascriptUdaMapOutput) ToFunctionJavascriptUdaMapOutput

func (o FunctionJavascriptUdaMapOutput) ToFunctionJavascriptUdaMapOutput() FunctionJavascriptUdaMapOutput

func (FunctionJavascriptUdaMapOutput) ToFunctionJavascriptUdaMapOutputWithContext

func (o FunctionJavascriptUdaMapOutput) ToFunctionJavascriptUdaMapOutputWithContext(ctx context.Context) FunctionJavascriptUdaMapOutput

type FunctionJavascriptUdaOutput

type FunctionJavascriptUdaOutput struct{ *pulumi.OutputState }

func (FunctionJavascriptUdaOutput) ElementType

func (FunctionJavascriptUdaOutput) Inputs added in v5.5.0

One or more `input` blocks as defined below.

func (FunctionJavascriptUdaOutput) Name added in v5.5.0

The name of the JavaScript UDA Function. Changing this forces a new resource to be created.

func (FunctionJavascriptUdaOutput) Output added in v5.5.0

An `output` block as defined below.

func (FunctionJavascriptUdaOutput) Script added in v5.5.0

The JavaScript of this UDA Function.

func (FunctionJavascriptUdaOutput) StreamAnalyticsJobId added in v5.5.0

func (o FunctionJavascriptUdaOutput) StreamAnalyticsJobId() pulumi.StringOutput

The resource ID of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created.

func (FunctionJavascriptUdaOutput) ToFunctionJavascriptUdaOutput

func (o FunctionJavascriptUdaOutput) ToFunctionJavascriptUdaOutput() FunctionJavascriptUdaOutput

func (FunctionJavascriptUdaOutput) ToFunctionJavascriptUdaOutputWithContext

func (o FunctionJavascriptUdaOutput) ToFunctionJavascriptUdaOutputWithContext(ctx context.Context) FunctionJavascriptUdaOutput

type FunctionJavascriptUdaOutputType

type FunctionJavascriptUdaOutputType struct {
	// The output data type from this JavaScript Function. Possible values include `any`, `array`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
	Type string `pulumi:"type"`
}

type FunctionJavascriptUdaOutputTypeArgs

type FunctionJavascriptUdaOutputTypeArgs struct {
	// The output data type from this JavaScript Function. Possible values include `any`, `array`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (FunctionJavascriptUdaOutputTypeArgs) ElementType

func (FunctionJavascriptUdaOutputTypeArgs) ToFunctionJavascriptUdaOutputTypeOutput

func (i FunctionJavascriptUdaOutputTypeArgs) ToFunctionJavascriptUdaOutputTypeOutput() FunctionJavascriptUdaOutputTypeOutput

func (FunctionJavascriptUdaOutputTypeArgs) ToFunctionJavascriptUdaOutputTypeOutputWithContext

func (i FunctionJavascriptUdaOutputTypeArgs) ToFunctionJavascriptUdaOutputTypeOutputWithContext(ctx context.Context) FunctionJavascriptUdaOutputTypeOutput

func (FunctionJavascriptUdaOutputTypeArgs) ToFunctionJavascriptUdaOutputTypePtrOutput

func (i FunctionJavascriptUdaOutputTypeArgs) ToFunctionJavascriptUdaOutputTypePtrOutput() FunctionJavascriptUdaOutputTypePtrOutput

func (FunctionJavascriptUdaOutputTypeArgs) ToFunctionJavascriptUdaOutputTypePtrOutputWithContext

func (i FunctionJavascriptUdaOutputTypeArgs) ToFunctionJavascriptUdaOutputTypePtrOutputWithContext(ctx context.Context) FunctionJavascriptUdaOutputTypePtrOutput

type FunctionJavascriptUdaOutputTypeInput

type FunctionJavascriptUdaOutputTypeInput interface {
	pulumi.Input

	ToFunctionJavascriptUdaOutputTypeOutput() FunctionJavascriptUdaOutputTypeOutput
	ToFunctionJavascriptUdaOutputTypeOutputWithContext(context.Context) FunctionJavascriptUdaOutputTypeOutput
}

FunctionJavascriptUdaOutputTypeInput is an input type that accepts FunctionJavascriptUdaOutputTypeArgs and FunctionJavascriptUdaOutputTypeOutput values. You can construct a concrete instance of `FunctionJavascriptUdaOutputTypeInput` via:

FunctionJavascriptUdaOutputTypeArgs{...}

type FunctionJavascriptUdaOutputTypeOutput

type FunctionJavascriptUdaOutputTypeOutput struct{ *pulumi.OutputState }

func (FunctionJavascriptUdaOutputTypeOutput) ElementType

func (FunctionJavascriptUdaOutputTypeOutput) ToFunctionJavascriptUdaOutputTypeOutput

func (o FunctionJavascriptUdaOutputTypeOutput) ToFunctionJavascriptUdaOutputTypeOutput() FunctionJavascriptUdaOutputTypeOutput

func (FunctionJavascriptUdaOutputTypeOutput) ToFunctionJavascriptUdaOutputTypeOutputWithContext

func (o FunctionJavascriptUdaOutputTypeOutput) ToFunctionJavascriptUdaOutputTypeOutputWithContext(ctx context.Context) FunctionJavascriptUdaOutputTypeOutput

func (FunctionJavascriptUdaOutputTypeOutput) ToFunctionJavascriptUdaOutputTypePtrOutput

func (o FunctionJavascriptUdaOutputTypeOutput) ToFunctionJavascriptUdaOutputTypePtrOutput() FunctionJavascriptUdaOutputTypePtrOutput

func (FunctionJavascriptUdaOutputTypeOutput) ToFunctionJavascriptUdaOutputTypePtrOutputWithContext

func (o FunctionJavascriptUdaOutputTypeOutput) ToFunctionJavascriptUdaOutputTypePtrOutputWithContext(ctx context.Context) FunctionJavascriptUdaOutputTypePtrOutput

func (FunctionJavascriptUdaOutputTypeOutput) Type

The output data type from this JavaScript Function. Possible values include `any`, `array`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.

type FunctionJavascriptUdaOutputTypePtrInput

type FunctionJavascriptUdaOutputTypePtrInput interface {
	pulumi.Input

	ToFunctionJavascriptUdaOutputTypePtrOutput() FunctionJavascriptUdaOutputTypePtrOutput
	ToFunctionJavascriptUdaOutputTypePtrOutputWithContext(context.Context) FunctionJavascriptUdaOutputTypePtrOutput
}

FunctionJavascriptUdaOutputTypePtrInput is an input type that accepts FunctionJavascriptUdaOutputTypeArgs, FunctionJavascriptUdaOutputTypePtr and FunctionJavascriptUdaOutputTypePtrOutput values. You can construct a concrete instance of `FunctionJavascriptUdaOutputTypePtrInput` via:

        FunctionJavascriptUdaOutputTypeArgs{...}

or:

        nil

type FunctionJavascriptUdaOutputTypePtrOutput

type FunctionJavascriptUdaOutputTypePtrOutput struct{ *pulumi.OutputState }

func (FunctionJavascriptUdaOutputTypePtrOutput) Elem

func (FunctionJavascriptUdaOutputTypePtrOutput) ElementType

func (FunctionJavascriptUdaOutputTypePtrOutput) ToFunctionJavascriptUdaOutputTypePtrOutput

func (o FunctionJavascriptUdaOutputTypePtrOutput) ToFunctionJavascriptUdaOutputTypePtrOutput() FunctionJavascriptUdaOutputTypePtrOutput

func (FunctionJavascriptUdaOutputTypePtrOutput) ToFunctionJavascriptUdaOutputTypePtrOutputWithContext

func (o FunctionJavascriptUdaOutputTypePtrOutput) ToFunctionJavascriptUdaOutputTypePtrOutputWithContext(ctx context.Context) FunctionJavascriptUdaOutputTypePtrOutput

func (FunctionJavascriptUdaOutputTypePtrOutput) Type

The output data type from this JavaScript Function. Possible values include `any`, `array`, `bigint`, `datetime`, `float`, `nvarchar(max)` and `record`.

type FunctionJavascriptUdaState

type FunctionJavascriptUdaState struct {
	// One or more `input` blocks as defined below.
	Inputs FunctionJavascriptUdaInputTypeArrayInput
	// The name of the JavaScript UDA Function. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// An `output` block as defined below.
	Output FunctionJavascriptUdaOutputTypePtrInput
	// The JavaScript of this UDA Function.
	Script pulumi.StringPtrInput
	// The resource ID of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringPtrInput
}

func (FunctionJavascriptUdaState) ElementType

func (FunctionJavascriptUdaState) ElementType() reflect.Type

type GetJobIdentity

type GetJobIdentity struct {
	// A list of User Assigned Managed Identity IDs assigned to this resource.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId string `pulumi:"tenantId"`
	// The identity type of this Managed Service Identity.
	Type string `pulumi:"type"`
}

type GetJobIdentityArgs

type GetJobIdentityArgs struct {
	// A list of User Assigned Managed Identity IDs assigned to this resource.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId pulumi.StringInput `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId pulumi.StringInput `pulumi:"tenantId"`
	// The identity type of this Managed Service Identity.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetJobIdentityArgs) ElementType

func (GetJobIdentityArgs) ElementType() reflect.Type

func (GetJobIdentityArgs) ToGetJobIdentityOutput

func (i GetJobIdentityArgs) ToGetJobIdentityOutput() GetJobIdentityOutput

func (GetJobIdentityArgs) ToGetJobIdentityOutputWithContext

func (i GetJobIdentityArgs) ToGetJobIdentityOutputWithContext(ctx context.Context) GetJobIdentityOutput

type GetJobIdentityArray

type GetJobIdentityArray []GetJobIdentityInput

func (GetJobIdentityArray) ElementType

func (GetJobIdentityArray) ElementType() reflect.Type

func (GetJobIdentityArray) ToGetJobIdentityArrayOutput

func (i GetJobIdentityArray) ToGetJobIdentityArrayOutput() GetJobIdentityArrayOutput

func (GetJobIdentityArray) ToGetJobIdentityArrayOutputWithContext

func (i GetJobIdentityArray) ToGetJobIdentityArrayOutputWithContext(ctx context.Context) GetJobIdentityArrayOutput

type GetJobIdentityArrayInput

type GetJobIdentityArrayInput interface {
	pulumi.Input

	ToGetJobIdentityArrayOutput() GetJobIdentityArrayOutput
	ToGetJobIdentityArrayOutputWithContext(context.Context) GetJobIdentityArrayOutput
}

GetJobIdentityArrayInput is an input type that accepts GetJobIdentityArray and GetJobIdentityArrayOutput values. You can construct a concrete instance of `GetJobIdentityArrayInput` via:

GetJobIdentityArray{ GetJobIdentityArgs{...} }

type GetJobIdentityArrayOutput

type GetJobIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetJobIdentityArrayOutput) ElementType

func (GetJobIdentityArrayOutput) ElementType() reflect.Type

func (GetJobIdentityArrayOutput) Index

func (GetJobIdentityArrayOutput) ToGetJobIdentityArrayOutput

func (o GetJobIdentityArrayOutput) ToGetJobIdentityArrayOutput() GetJobIdentityArrayOutput

func (GetJobIdentityArrayOutput) ToGetJobIdentityArrayOutputWithContext

func (o GetJobIdentityArrayOutput) ToGetJobIdentityArrayOutputWithContext(ctx context.Context) GetJobIdentityArrayOutput

type GetJobIdentityInput

type GetJobIdentityInput interface {
	pulumi.Input

	ToGetJobIdentityOutput() GetJobIdentityOutput
	ToGetJobIdentityOutputWithContext(context.Context) GetJobIdentityOutput
}

GetJobIdentityInput is an input type that accepts GetJobIdentityArgs and GetJobIdentityOutput values. You can construct a concrete instance of `GetJobIdentityInput` via:

GetJobIdentityArgs{...}

type GetJobIdentityOutput

type GetJobIdentityOutput struct{ *pulumi.OutputState }

func (GetJobIdentityOutput) ElementType

func (GetJobIdentityOutput) ElementType() reflect.Type

func (GetJobIdentityOutput) IdentityIds added in v5.65.0

A list of User Assigned Managed Identity IDs assigned to this resource.

func (GetJobIdentityOutput) PrincipalId

func (o GetJobIdentityOutput) PrincipalId() pulumi.StringOutput

The Principal ID associated with this Managed Service Identity.

func (GetJobIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (GetJobIdentityOutput) ToGetJobIdentityOutput

func (o GetJobIdentityOutput) ToGetJobIdentityOutput() GetJobIdentityOutput

func (GetJobIdentityOutput) ToGetJobIdentityOutputWithContext

func (o GetJobIdentityOutput) ToGetJobIdentityOutputWithContext(ctx context.Context) GetJobIdentityOutput

func (GetJobIdentityOutput) Type

The identity type of this Managed Service Identity.

type Job

type Job struct {
	pulumi.CustomResourceState

	// Specifies the compatibility level for this job - which controls certain runtime behaviours of the streaming job. Possible values are `1.0`, `1.1` and `1.2`.
	//
	// > **NOTE:** Support for Compatibility Level 1.2 is dependent on a new version of the Stream Analytics API, which [being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/5604).
	CompatibilityLevel pulumi.StringOutput `pulumi:"compatibilityLevel"`
	// The policy for storing stream analytics content. Possible values are `JobStorageAccount`, `SystemAccount`. Defaults to `SystemAccount`.
	ContentStoragePolicy pulumi.StringPtrOutput `pulumi:"contentStoragePolicy"`
	// Specifies the Data Locale of the Job, which [should be a supported .NET Culture](<https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx>).
	DataLocale pulumi.StringOutput `pulumi:"dataLocale"`
	// Specifies the maximum tolerable delay in seconds where events arriving late could be included. Supported range is `-1` (indefinite) to `1814399` (20d 23h 59m 59s). Default is `5`.
	EventsLateArrivalMaxDelayInSeconds pulumi.IntPtrOutput `pulumi:"eventsLateArrivalMaxDelayInSeconds"`
	// Specifies the maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order. Supported range is `0` to `599` (9m 59s). Default is `0`.
	EventsOutOfOrderMaxDelayInSeconds pulumi.IntPtrOutput `pulumi:"eventsOutOfOrderMaxDelayInSeconds"`
	// Specifies the policy which should be applied to events which arrive out of order in the input event stream. Possible values are `Adjust` and `Drop`. Default is `Adjust`.
	EventsOutOfOrderPolicy pulumi.StringPtrOutput `pulumi:"eventsOutOfOrderPolicy"`
	// An `identity` block as defined below.
	Identity JobIdentityPtrOutput `pulumi:"identity"`
	// The Job ID assigned by the Stream Analytics Job.
	JobId pulumi.StringOutput `pulumi:"jobId"`
	// The details of the job storage account. A `jobStorageAccount` block as defined below.
	JobStorageAccounts JobJobStorageAccountArrayOutput `pulumi:"jobStorageAccounts"`
	// The Azure Region in which the Resource Group exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the policy which should be applied to events which arrive at the output and cannot be written to the external storage due to being malformed (such as missing column values, column values of wrong type or size). Possible values are `Drop` and `Stop`. Default is `Drop`.
	OutputErrorPolicy pulumi.StringPtrOutput `pulumi:"outputErrorPolicy"`
	// The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The SKU Name to use for the Stream Analytics Job. Possible values are `Standard`, `StandardV2`. Defaults to `Standard`.
	SkuName pulumi.StringPtrOutput `pulumi:"skuName"`
	// The ID of an existing Stream Analytics Cluster where the Stream Analytics Job should run.
	StreamAnalyticsClusterId pulumi.StringPtrOutput `pulumi:"streamAnalyticsClusterId"`
	// Specifies the number of streaming units that the streaming job uses. Supported values are `1`, `3`, `6` and multiples of `6` up to `120`.
	//
	// > **NOTE:** `streamingUnits` must be set when `type` is `Cloud`.
	StreamingUnits      pulumi.IntPtrOutput    `pulumi:"streamingUnits"`
	Tags                pulumi.StringMapOutput `pulumi:"tags"`
	TransformationQuery pulumi.StringOutput    `pulumi:"transformationQuery"`
	// The type of the Stream Analytics Job. Possible values are `Cloud` and `Edge`. Defaults to `Cloud`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** `Edge` doesn't support `streamAnalyticsClusterId` and `streamingUnits`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Manages a Stream Analytics Job.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewJob(ctx, "example", &streamanalytics.JobArgs{
			Name:                               pulumi.String("example-job"),
			ResourceGroupName:                  example.Name,
			Location:                           example.Location,
			CompatibilityLevel:                 pulumi.String("1.2"),
			DataLocale:                         pulumi.String("en-GB"),
			EventsLateArrivalMaxDelayInSeconds: pulumi.Int(60),
			EventsOutOfOrderMaxDelayInSeconds:  pulumi.Int(50),
			EventsOutOfOrderPolicy:             pulumi.String("Adjust"),
			OutputErrorPolicy:                  pulumi.String("Drop"),
			StreamingUnits:                     pulumi.Int(3),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("Example"),
			},
			TransformationQuery: pulumi.String("    SELECT *\n    INTO [YourOutputAlias]\n    FROM [YourInputAlias]\n"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Job's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/job:Job example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1 ```

func GetJob

func GetJob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobState, opts ...pulumi.ResourceOption) (*Job, error)

GetJob gets an existing Job 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 NewJob

func NewJob(ctx *pulumi.Context,
	name string, args *JobArgs, opts ...pulumi.ResourceOption) (*Job, error)

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

func (*Job) ElementType

func (*Job) ElementType() reflect.Type

func (*Job) ToJobOutput

func (i *Job) ToJobOutput() JobOutput

func (*Job) ToJobOutputWithContext

func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput

type JobArgs

type JobArgs struct {
	// Specifies the compatibility level for this job - which controls certain runtime behaviours of the streaming job. Possible values are `1.0`, `1.1` and `1.2`.
	//
	// > **NOTE:** Support for Compatibility Level 1.2 is dependent on a new version of the Stream Analytics API, which [being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/5604).
	CompatibilityLevel pulumi.StringPtrInput
	// The policy for storing stream analytics content. Possible values are `JobStorageAccount`, `SystemAccount`. Defaults to `SystemAccount`.
	ContentStoragePolicy pulumi.StringPtrInput
	// Specifies the Data Locale of the Job, which [should be a supported .NET Culture](<https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx>).
	DataLocale pulumi.StringPtrInput
	// Specifies the maximum tolerable delay in seconds where events arriving late could be included. Supported range is `-1` (indefinite) to `1814399` (20d 23h 59m 59s). Default is `5`.
	EventsLateArrivalMaxDelayInSeconds pulumi.IntPtrInput
	// Specifies the maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order. Supported range is `0` to `599` (9m 59s). Default is `0`.
	EventsOutOfOrderMaxDelayInSeconds pulumi.IntPtrInput
	// Specifies the policy which should be applied to events which arrive out of order in the input event stream. Possible values are `Adjust` and `Drop`. Default is `Adjust`.
	EventsOutOfOrderPolicy pulumi.StringPtrInput
	// An `identity` block as defined below.
	Identity JobIdentityPtrInput
	// The details of the job storage account. A `jobStorageAccount` block as defined below.
	JobStorageAccounts JobJobStorageAccountArrayInput
	// The Azure Region in which the Resource Group exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the policy which should be applied to events which arrive at the output and cannot be written to the external storage due to being malformed (such as missing column values, column values of wrong type or size). Possible values are `Drop` and `Stop`. Default is `Drop`.
	OutputErrorPolicy pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The SKU Name to use for the Stream Analytics Job. Possible values are `Standard`, `StandardV2`. Defaults to `Standard`.
	SkuName pulumi.StringPtrInput
	// The ID of an existing Stream Analytics Cluster where the Stream Analytics Job should run.
	StreamAnalyticsClusterId pulumi.StringPtrInput
	// Specifies the number of streaming units that the streaming job uses. Supported values are `1`, `3`, `6` and multiples of `6` up to `120`.
	//
	// > **NOTE:** `streamingUnits` must be set when `type` is `Cloud`.
	StreamingUnits      pulumi.IntPtrInput
	Tags                pulumi.StringMapInput
	TransformationQuery pulumi.StringInput
	// The type of the Stream Analytics Job. Possible values are `Cloud` and `Edge`. Defaults to `Cloud`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** `Edge` doesn't support `streamAnalyticsClusterId` and `streamingUnits`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a Job resource.

func (JobArgs) ElementType

func (JobArgs) ElementType() reflect.Type

type JobArray

type JobArray []JobInput

func (JobArray) ElementType

func (JobArray) ElementType() reflect.Type

func (JobArray) ToJobArrayOutput

func (i JobArray) ToJobArrayOutput() JobArrayOutput

func (JobArray) ToJobArrayOutputWithContext

func (i JobArray) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput

type JobArrayInput

type JobArrayInput interface {
	pulumi.Input

	ToJobArrayOutput() JobArrayOutput
	ToJobArrayOutputWithContext(context.Context) JobArrayOutput
}

JobArrayInput is an input type that accepts JobArray and JobArrayOutput values. You can construct a concrete instance of `JobArrayInput` via:

JobArray{ JobArgs{...} }

type JobArrayOutput

type JobArrayOutput struct{ *pulumi.OutputState }

func (JobArrayOutput) ElementType

func (JobArrayOutput) ElementType() reflect.Type

func (JobArrayOutput) Index

func (JobArrayOutput) ToJobArrayOutput

func (o JobArrayOutput) ToJobArrayOutput() JobArrayOutput

func (JobArrayOutput) ToJobArrayOutputWithContext

func (o JobArrayOutput) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput

type JobIdentity

type JobIdentity struct {
	// The identity id of the user assigned identity to use when type is `UserAssigned`
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId *string `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Stream Analytics Job. Possible values are `SystemAssigned` and `UserAssigned`.
	Type string `pulumi:"type"`
}

type JobIdentityArgs

type JobIdentityArgs struct {
	// The identity id of the user assigned identity to use when type is `UserAssigned`
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Stream Analytics Job. Possible values are `SystemAssigned` and `UserAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (JobIdentityArgs) ElementType

func (JobIdentityArgs) ElementType() reflect.Type

func (JobIdentityArgs) ToJobIdentityOutput

func (i JobIdentityArgs) ToJobIdentityOutput() JobIdentityOutput

func (JobIdentityArgs) ToJobIdentityOutputWithContext

func (i JobIdentityArgs) ToJobIdentityOutputWithContext(ctx context.Context) JobIdentityOutput

func (JobIdentityArgs) ToJobIdentityPtrOutput

func (i JobIdentityArgs) ToJobIdentityPtrOutput() JobIdentityPtrOutput

func (JobIdentityArgs) ToJobIdentityPtrOutputWithContext

func (i JobIdentityArgs) ToJobIdentityPtrOutputWithContext(ctx context.Context) JobIdentityPtrOutput

type JobIdentityInput

type JobIdentityInput interface {
	pulumi.Input

	ToJobIdentityOutput() JobIdentityOutput
	ToJobIdentityOutputWithContext(context.Context) JobIdentityOutput
}

JobIdentityInput is an input type that accepts JobIdentityArgs and JobIdentityOutput values. You can construct a concrete instance of `JobIdentityInput` via:

JobIdentityArgs{...}

type JobIdentityOutput

type JobIdentityOutput struct{ *pulumi.OutputState }

func (JobIdentityOutput) ElementType

func (JobIdentityOutput) ElementType() reflect.Type

func (JobIdentityOutput) IdentityIds added in v5.65.0

func (o JobIdentityOutput) IdentityIds() pulumi.StringArrayOutput

The identity id of the user assigned identity to use when type is `UserAssigned`

func (JobIdentityOutput) PrincipalId

func (o JobIdentityOutput) PrincipalId() pulumi.StringPtrOutput

The Principal ID associated with this Managed Service Identity.

func (JobIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (JobIdentityOutput) ToJobIdentityOutput

func (o JobIdentityOutput) ToJobIdentityOutput() JobIdentityOutput

func (JobIdentityOutput) ToJobIdentityOutputWithContext

func (o JobIdentityOutput) ToJobIdentityOutputWithContext(ctx context.Context) JobIdentityOutput

func (JobIdentityOutput) ToJobIdentityPtrOutput

func (o JobIdentityOutput) ToJobIdentityPtrOutput() JobIdentityPtrOutput

func (JobIdentityOutput) ToJobIdentityPtrOutputWithContext

func (o JobIdentityOutput) ToJobIdentityPtrOutputWithContext(ctx context.Context) JobIdentityPtrOutput

func (JobIdentityOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Stream Analytics Job. Possible values are `SystemAssigned` and `UserAssigned`.

type JobIdentityPtrInput

type JobIdentityPtrInput interface {
	pulumi.Input

	ToJobIdentityPtrOutput() JobIdentityPtrOutput
	ToJobIdentityPtrOutputWithContext(context.Context) JobIdentityPtrOutput
}

JobIdentityPtrInput is an input type that accepts JobIdentityArgs, JobIdentityPtr and JobIdentityPtrOutput values. You can construct a concrete instance of `JobIdentityPtrInput` via:

        JobIdentityArgs{...}

or:

        nil

func JobIdentityPtr

func JobIdentityPtr(v *JobIdentityArgs) JobIdentityPtrInput

type JobIdentityPtrOutput

type JobIdentityPtrOutput struct{ *pulumi.OutputState }

func (JobIdentityPtrOutput) Elem

func (JobIdentityPtrOutput) ElementType

func (JobIdentityPtrOutput) ElementType() reflect.Type

func (JobIdentityPtrOutput) IdentityIds added in v5.65.0

The identity id of the user assigned identity to use when type is `UserAssigned`

func (JobIdentityPtrOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (JobIdentityPtrOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (JobIdentityPtrOutput) ToJobIdentityPtrOutput

func (o JobIdentityPtrOutput) ToJobIdentityPtrOutput() JobIdentityPtrOutput

func (JobIdentityPtrOutput) ToJobIdentityPtrOutputWithContext

func (o JobIdentityPtrOutput) ToJobIdentityPtrOutputWithContext(ctx context.Context) JobIdentityPtrOutput

func (JobIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Stream Analytics Job. Possible values are `SystemAssigned` and `UserAssigned`.

type JobInput

type JobInput interface {
	pulumi.Input

	ToJobOutput() JobOutput
	ToJobOutputWithContext(ctx context.Context) JobOutput
}

type JobJobStorageAccount added in v5.24.0

type JobJobStorageAccount struct {
	// The account key for the Azure storage account.
	AccountKey string `pulumi:"accountKey"`
	// The name of the Azure storage account.
	AccountName string `pulumi:"accountName"`
	// The authentication mode of the storage account. The only supported value is `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode *string `pulumi:"authenticationMode"`
}

type JobJobStorageAccountArgs added in v5.24.0

type JobJobStorageAccountArgs struct {
	// The account key for the Azure storage account.
	AccountKey pulumi.StringInput `pulumi:"accountKey"`
	// The name of the Azure storage account.
	AccountName pulumi.StringInput `pulumi:"accountName"`
	// The authentication mode of the storage account. The only supported value is `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput `pulumi:"authenticationMode"`
}

func (JobJobStorageAccountArgs) ElementType added in v5.24.0

func (JobJobStorageAccountArgs) ElementType() reflect.Type

func (JobJobStorageAccountArgs) ToJobJobStorageAccountOutput added in v5.24.0

func (i JobJobStorageAccountArgs) ToJobJobStorageAccountOutput() JobJobStorageAccountOutput

func (JobJobStorageAccountArgs) ToJobJobStorageAccountOutputWithContext added in v5.24.0

func (i JobJobStorageAccountArgs) ToJobJobStorageAccountOutputWithContext(ctx context.Context) JobJobStorageAccountOutput

type JobJobStorageAccountArray added in v5.24.0

type JobJobStorageAccountArray []JobJobStorageAccountInput

func (JobJobStorageAccountArray) ElementType added in v5.24.0

func (JobJobStorageAccountArray) ElementType() reflect.Type

func (JobJobStorageAccountArray) ToJobJobStorageAccountArrayOutput added in v5.24.0

func (i JobJobStorageAccountArray) ToJobJobStorageAccountArrayOutput() JobJobStorageAccountArrayOutput

func (JobJobStorageAccountArray) ToJobJobStorageAccountArrayOutputWithContext added in v5.24.0

func (i JobJobStorageAccountArray) ToJobJobStorageAccountArrayOutputWithContext(ctx context.Context) JobJobStorageAccountArrayOutput

type JobJobStorageAccountArrayInput added in v5.24.0

type JobJobStorageAccountArrayInput interface {
	pulumi.Input

	ToJobJobStorageAccountArrayOutput() JobJobStorageAccountArrayOutput
	ToJobJobStorageAccountArrayOutputWithContext(context.Context) JobJobStorageAccountArrayOutput
}

JobJobStorageAccountArrayInput is an input type that accepts JobJobStorageAccountArray and JobJobStorageAccountArrayOutput values. You can construct a concrete instance of `JobJobStorageAccountArrayInput` via:

JobJobStorageAccountArray{ JobJobStorageAccountArgs{...} }

type JobJobStorageAccountArrayOutput added in v5.24.0

type JobJobStorageAccountArrayOutput struct{ *pulumi.OutputState }

func (JobJobStorageAccountArrayOutput) ElementType added in v5.24.0

func (JobJobStorageAccountArrayOutput) Index added in v5.24.0

func (JobJobStorageAccountArrayOutput) ToJobJobStorageAccountArrayOutput added in v5.24.0

func (o JobJobStorageAccountArrayOutput) ToJobJobStorageAccountArrayOutput() JobJobStorageAccountArrayOutput

func (JobJobStorageAccountArrayOutput) ToJobJobStorageAccountArrayOutputWithContext added in v5.24.0

func (o JobJobStorageAccountArrayOutput) ToJobJobStorageAccountArrayOutputWithContext(ctx context.Context) JobJobStorageAccountArrayOutput

type JobJobStorageAccountInput added in v5.24.0

type JobJobStorageAccountInput interface {
	pulumi.Input

	ToJobJobStorageAccountOutput() JobJobStorageAccountOutput
	ToJobJobStorageAccountOutputWithContext(context.Context) JobJobStorageAccountOutput
}

JobJobStorageAccountInput is an input type that accepts JobJobStorageAccountArgs and JobJobStorageAccountOutput values. You can construct a concrete instance of `JobJobStorageAccountInput` via:

JobJobStorageAccountArgs{...}

type JobJobStorageAccountOutput added in v5.24.0

type JobJobStorageAccountOutput struct{ *pulumi.OutputState }

func (JobJobStorageAccountOutput) AccountKey added in v5.24.0

The account key for the Azure storage account.

func (JobJobStorageAccountOutput) AccountName added in v5.24.0

The name of the Azure storage account.

func (JobJobStorageAccountOutput) AuthenticationMode added in v5.24.0

func (o JobJobStorageAccountOutput) AuthenticationMode() pulumi.StringPtrOutput

The authentication mode of the storage account. The only supported value is `ConnectionString`. Defaults to `ConnectionString`.

func (JobJobStorageAccountOutput) ElementType added in v5.24.0

func (JobJobStorageAccountOutput) ElementType() reflect.Type

func (JobJobStorageAccountOutput) ToJobJobStorageAccountOutput added in v5.24.0

func (o JobJobStorageAccountOutput) ToJobJobStorageAccountOutput() JobJobStorageAccountOutput

func (JobJobStorageAccountOutput) ToJobJobStorageAccountOutputWithContext added in v5.24.0

func (o JobJobStorageAccountOutput) ToJobJobStorageAccountOutputWithContext(ctx context.Context) JobJobStorageAccountOutput

type JobMap

type JobMap map[string]JobInput

func (JobMap) ElementType

func (JobMap) ElementType() reflect.Type

func (JobMap) ToJobMapOutput

func (i JobMap) ToJobMapOutput() JobMapOutput

func (JobMap) ToJobMapOutputWithContext

func (i JobMap) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput

type JobMapInput

type JobMapInput interface {
	pulumi.Input

	ToJobMapOutput() JobMapOutput
	ToJobMapOutputWithContext(context.Context) JobMapOutput
}

JobMapInput is an input type that accepts JobMap and JobMapOutput values. You can construct a concrete instance of `JobMapInput` via:

JobMap{ "key": JobArgs{...} }

type JobMapOutput

type JobMapOutput struct{ *pulumi.OutputState }

func (JobMapOutput) ElementType

func (JobMapOutput) ElementType() reflect.Type

func (JobMapOutput) MapIndex

func (o JobMapOutput) MapIndex(k pulumi.StringInput) JobOutput

func (JobMapOutput) ToJobMapOutput

func (o JobMapOutput) ToJobMapOutput() JobMapOutput

func (JobMapOutput) ToJobMapOutputWithContext

func (o JobMapOutput) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput

type JobOutput

type JobOutput struct{ *pulumi.OutputState }

func (JobOutput) CompatibilityLevel added in v5.5.0

func (o JobOutput) CompatibilityLevel() pulumi.StringOutput

Specifies the compatibility level for this job - which controls certain runtime behaviours of the streaming job. Possible values are `1.0`, `1.1` and `1.2`.

> **NOTE:** Support for Compatibility Level 1.2 is dependent on a new version of the Stream Analytics API, which [being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/5604).

func (JobOutput) ContentStoragePolicy added in v5.24.0

func (o JobOutput) ContentStoragePolicy() pulumi.StringPtrOutput

The policy for storing stream analytics content. Possible values are `JobStorageAccount`, `SystemAccount`. Defaults to `SystemAccount`.

func (JobOutput) DataLocale added in v5.5.0

func (o JobOutput) DataLocale() pulumi.StringOutput

Specifies the Data Locale of the Job, which [should be a supported .NET Culture](<https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx>).

func (JobOutput) ElementType

func (JobOutput) ElementType() reflect.Type

func (JobOutput) EventsLateArrivalMaxDelayInSeconds added in v5.5.0

func (o JobOutput) EventsLateArrivalMaxDelayInSeconds() pulumi.IntPtrOutput

Specifies the maximum tolerable delay in seconds where events arriving late could be included. Supported range is `-1` (indefinite) to `1814399` (20d 23h 59m 59s). Default is `5`.

func (JobOutput) EventsOutOfOrderMaxDelayInSeconds added in v5.5.0

func (o JobOutput) EventsOutOfOrderMaxDelayInSeconds() pulumi.IntPtrOutput

Specifies the maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order. Supported range is `0` to `599` (9m 59s). Default is `0`.

func (JobOutput) EventsOutOfOrderPolicy added in v5.5.0

func (o JobOutput) EventsOutOfOrderPolicy() pulumi.StringPtrOutput

Specifies the policy which should be applied to events which arrive out of order in the input event stream. Possible values are `Adjust` and `Drop`. Default is `Adjust`.

func (JobOutput) Identity added in v5.5.0

func (o JobOutput) Identity() JobIdentityPtrOutput

An `identity` block as defined below.

func (JobOutput) JobId added in v5.5.0

func (o JobOutput) JobId() pulumi.StringOutput

The Job ID assigned by the Stream Analytics Job.

func (JobOutput) JobStorageAccounts added in v5.24.0

func (o JobOutput) JobStorageAccounts() JobJobStorageAccountArrayOutput

The details of the job storage account. A `jobStorageAccount` block as defined below.

func (JobOutput) Location added in v5.5.0

func (o JobOutput) Location() pulumi.StringOutput

The Azure Region in which the Resource Group exists. Changing this forces a new resource to be created.

func (JobOutput) Name added in v5.5.0

func (o JobOutput) Name() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (JobOutput) OutputErrorPolicy added in v5.5.0

func (o JobOutput) OutputErrorPolicy() pulumi.StringPtrOutput

Specifies the policy which should be applied to events which arrive at the output and cannot be written to the external storage due to being malformed (such as missing column values, column values of wrong type or size). Possible values are `Drop` and `Stop`. Default is `Drop`.

func (JobOutput) ResourceGroupName added in v5.5.0

func (o JobOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.

func (JobOutput) SkuName added in v5.64.0

func (o JobOutput) SkuName() pulumi.StringPtrOutput

The SKU Name to use for the Stream Analytics Job. Possible values are `Standard`, `StandardV2`. Defaults to `Standard`.

func (JobOutput) StreamAnalyticsClusterId added in v5.5.0

func (o JobOutput) StreamAnalyticsClusterId() pulumi.StringPtrOutput

The ID of an existing Stream Analytics Cluster where the Stream Analytics Job should run.

func (JobOutput) StreamingUnits added in v5.5.0

func (o JobOutput) StreamingUnits() pulumi.IntPtrOutput

Specifies the number of streaming units that the streaming job uses. Supported values are `1`, `3`, `6` and multiples of `6` up to `120`.

> **NOTE:** `streamingUnits` must be set when `type` is `Cloud`.

func (JobOutput) Tags added in v5.5.0

func (o JobOutput) Tags() pulumi.StringMapOutput

func (JobOutput) ToJobOutput

func (o JobOutput) ToJobOutput() JobOutput

func (JobOutput) ToJobOutputWithContext

func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput

func (JobOutput) TransformationQuery added in v5.5.0

func (o JobOutput) TransformationQuery() pulumi.StringOutput

func (JobOutput) Type added in v5.5.0

func (o JobOutput) Type() pulumi.StringPtrOutput

The type of the Stream Analytics Job. Possible values are `Cloud` and `Edge`. Defaults to `Cloud`. Changing this forces a new resource to be created.

> **NOTE:** `Edge` doesn't support `streamAnalyticsClusterId` and `streamingUnits`.

type JobSchedule added in v5.2.0

type JobSchedule struct {
	pulumi.CustomResourceState

	// The time at which the Stream Analytics job last produced an output.
	LastOutputTime pulumi.StringOutput `pulumi:"lastOutputTime"`
	// The starting mode of the Stream Analytics Job. Possible values are `JobStartTime`, `CustomTime` and `LastOutputEventTime`.
	//
	// > **Note:** Setting `startMode` to `LastOutputEventTime` is only possible if the job had been previously started and produced output.
	StartMode pulumi.StringOutput `pulumi:"startMode"`
	// The time in ISO8601 format at which the Stream Analytics Job should be started e.g. `2022-04-01T00:00:00Z`. This property can only be specified if `startMode` is set to `CustomTime`
	StartTime pulumi.StringOutput `pulumi:"startTime"`
	// The ID of the Stream Analytics Job that should be scheduled or started. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringOutput `pulumi:"streamAnalyticsJobId"`
}

Manages a Stream Analytics Job Schedule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("example"),
			ResourceGroupName:      example.Name,
			Location:               example.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{
			Name:                pulumi.String("example"),
			StorageAccountName:  exampleAccount.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewBlob(ctx, "example", &storage.BlobArgs{
			Name:                 pulumi.String("example"),
			StorageAccountName:   exampleAccount.Name,
			StorageContainerName: exampleContainer.Name,
			Type:                 pulumi.String("Block"),
			Source:               pulumi.NewFileAsset("example.csv"),
		})
		if err != nil {
			return err
		}
		exampleJob, err := streamanalytics.NewJob(ctx, "example", &streamanalytics.JobArgs{
			Name:                               pulumi.String("example-job"),
			ResourceGroupName:                  example.Name,
			Location:                           example.Location,
			CompatibilityLevel:                 pulumi.String("1.2"),
			DataLocale:                         pulumi.String("en-GB"),
			EventsLateArrivalMaxDelayInSeconds: pulumi.Int(60),
			EventsOutOfOrderMaxDelayInSeconds:  pulumi.Int(50),
			EventsOutOfOrderPolicy:             pulumi.String("Adjust"),
			OutputErrorPolicy:                  pulumi.String("Drop"),
			StreamingUnits:                     pulumi.Int(3),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("Example"),
			},
			TransformationQuery: pulumi.String("    SELECT *\n    INTO [exampleoutput]\n    FROM [exampleinput]\n"),
		})
		if err != nil {
			return err
		}
		exampleStreamInputBlob, err := streamanalytics.NewStreamInputBlob(ctx, "example", &streamanalytics.StreamInputBlobArgs{
			Name:                   pulumi.String("exampleinput"),
			StreamAnalyticsJobName: exampleJob.Name,
			ResourceGroupName:      exampleJob.ResourceGroupName,
			StorageAccountName:     exampleAccount.Name,
			StorageAccountKey:      exampleAccount.PrimaryAccessKey,
			StorageContainerName:   exampleContainer.Name,
			PathPattern:            pulumi.String(""),
			DateFormat:             pulumi.String("yyyy/MM/dd"),
			TimeFormat:             pulumi.String("HH"),
			Serialization: &streamanalytics.StreamInputBlobSerializationArgs{
				Type:           pulumi.String("Csv"),
				Encoding:       pulumi.String("UTF8"),
				FieldDelimiter: pulumi.String(","),
			},
		})
		if err != nil {
			return err
		}
		exampleOutputBlob, err := streamanalytics.NewOutputBlob(ctx, "example", &streamanalytics.OutputBlobArgs{
			Name:                   pulumi.String("exampleoutput"),
			StreamAnalyticsJobName: exampleJob.Name,
			ResourceGroupName:      exampleJob.ResourceGroupName,
			StorageAccountName:     exampleAccount.Name,
			StorageAccountKey:      exampleAccount.PrimaryAccessKey,
			StorageContainerName:   exampleContainer.Name,
			PathPattern:            pulumi.String("example-{date}-{time}"),
			DateFormat:             pulumi.String("yyyy-MM-dd"),
			TimeFormat:             pulumi.String("HH"),
			Serialization: &streamanalytics.OutputBlobSerializationArgs{
				Type: pulumi.String("Avro"),
			},
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewJobSchedule(ctx, "example", &streamanalytics.JobScheduleArgs{
			StreamAnalyticsJobId: exampleJob.ID(),
			StartMode:            pulumi.String("CustomTime"),
			StartTime:            pulumi.String("2022-09-21T00:00:00Z"),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleJob,
			exampleStreamInputBlob,
			exampleOutputBlob,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Job's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/jobSchedule:JobSchedule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/schedule/default ```

func GetJobSchedule added in v5.2.0

func GetJobSchedule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobScheduleState, opts ...pulumi.ResourceOption) (*JobSchedule, error)

GetJobSchedule gets an existing JobSchedule 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 NewJobSchedule added in v5.2.0

func NewJobSchedule(ctx *pulumi.Context,
	name string, args *JobScheduleArgs, opts ...pulumi.ResourceOption) (*JobSchedule, error)

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

func (*JobSchedule) ElementType added in v5.2.0

func (*JobSchedule) ElementType() reflect.Type

func (*JobSchedule) ToJobScheduleOutput added in v5.2.0

func (i *JobSchedule) ToJobScheduleOutput() JobScheduleOutput

func (*JobSchedule) ToJobScheduleOutputWithContext added in v5.2.0

func (i *JobSchedule) ToJobScheduleOutputWithContext(ctx context.Context) JobScheduleOutput

type JobScheduleArgs added in v5.2.0

type JobScheduleArgs struct {
	// The starting mode of the Stream Analytics Job. Possible values are `JobStartTime`, `CustomTime` and `LastOutputEventTime`.
	//
	// > **Note:** Setting `startMode` to `LastOutputEventTime` is only possible if the job had been previously started and produced output.
	StartMode pulumi.StringInput
	// The time in ISO8601 format at which the Stream Analytics Job should be started e.g. `2022-04-01T00:00:00Z`. This property can only be specified if `startMode` is set to `CustomTime`
	StartTime pulumi.StringPtrInput
	// The ID of the Stream Analytics Job that should be scheduled or started. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringInput
}

The set of arguments for constructing a JobSchedule resource.

func (JobScheduleArgs) ElementType added in v5.2.0

func (JobScheduleArgs) ElementType() reflect.Type

type JobScheduleArray added in v5.2.0

type JobScheduleArray []JobScheduleInput

func (JobScheduleArray) ElementType added in v5.2.0

func (JobScheduleArray) ElementType() reflect.Type

func (JobScheduleArray) ToJobScheduleArrayOutput added in v5.2.0

func (i JobScheduleArray) ToJobScheduleArrayOutput() JobScheduleArrayOutput

func (JobScheduleArray) ToJobScheduleArrayOutputWithContext added in v5.2.0

func (i JobScheduleArray) ToJobScheduleArrayOutputWithContext(ctx context.Context) JobScheduleArrayOutput

type JobScheduleArrayInput added in v5.2.0

type JobScheduleArrayInput interface {
	pulumi.Input

	ToJobScheduleArrayOutput() JobScheduleArrayOutput
	ToJobScheduleArrayOutputWithContext(context.Context) JobScheduleArrayOutput
}

JobScheduleArrayInput is an input type that accepts JobScheduleArray and JobScheduleArrayOutput values. You can construct a concrete instance of `JobScheduleArrayInput` via:

JobScheduleArray{ JobScheduleArgs{...} }

type JobScheduleArrayOutput added in v5.2.0

type JobScheduleArrayOutput struct{ *pulumi.OutputState }

func (JobScheduleArrayOutput) ElementType added in v5.2.0

func (JobScheduleArrayOutput) ElementType() reflect.Type

func (JobScheduleArrayOutput) Index added in v5.2.0

func (JobScheduleArrayOutput) ToJobScheduleArrayOutput added in v5.2.0

func (o JobScheduleArrayOutput) ToJobScheduleArrayOutput() JobScheduleArrayOutput

func (JobScheduleArrayOutput) ToJobScheduleArrayOutputWithContext added in v5.2.0

func (o JobScheduleArrayOutput) ToJobScheduleArrayOutputWithContext(ctx context.Context) JobScheduleArrayOutput

type JobScheduleInput added in v5.2.0

type JobScheduleInput interface {
	pulumi.Input

	ToJobScheduleOutput() JobScheduleOutput
	ToJobScheduleOutputWithContext(ctx context.Context) JobScheduleOutput
}

type JobScheduleMap added in v5.2.0

type JobScheduleMap map[string]JobScheduleInput

func (JobScheduleMap) ElementType added in v5.2.0

func (JobScheduleMap) ElementType() reflect.Type

func (JobScheduleMap) ToJobScheduleMapOutput added in v5.2.0

func (i JobScheduleMap) ToJobScheduleMapOutput() JobScheduleMapOutput

func (JobScheduleMap) ToJobScheduleMapOutputWithContext added in v5.2.0

func (i JobScheduleMap) ToJobScheduleMapOutputWithContext(ctx context.Context) JobScheduleMapOutput

type JobScheduleMapInput added in v5.2.0

type JobScheduleMapInput interface {
	pulumi.Input

	ToJobScheduleMapOutput() JobScheduleMapOutput
	ToJobScheduleMapOutputWithContext(context.Context) JobScheduleMapOutput
}

JobScheduleMapInput is an input type that accepts JobScheduleMap and JobScheduleMapOutput values. You can construct a concrete instance of `JobScheduleMapInput` via:

JobScheduleMap{ "key": JobScheduleArgs{...} }

type JobScheduleMapOutput added in v5.2.0

type JobScheduleMapOutput struct{ *pulumi.OutputState }

func (JobScheduleMapOutput) ElementType added in v5.2.0

func (JobScheduleMapOutput) ElementType() reflect.Type

func (JobScheduleMapOutput) MapIndex added in v5.2.0

func (JobScheduleMapOutput) ToJobScheduleMapOutput added in v5.2.0

func (o JobScheduleMapOutput) ToJobScheduleMapOutput() JobScheduleMapOutput

func (JobScheduleMapOutput) ToJobScheduleMapOutputWithContext added in v5.2.0

func (o JobScheduleMapOutput) ToJobScheduleMapOutputWithContext(ctx context.Context) JobScheduleMapOutput

type JobScheduleOutput added in v5.2.0

type JobScheduleOutput struct{ *pulumi.OutputState }

func (JobScheduleOutput) ElementType added in v5.2.0

func (JobScheduleOutput) ElementType() reflect.Type

func (JobScheduleOutput) LastOutputTime added in v5.5.0

func (o JobScheduleOutput) LastOutputTime() pulumi.StringOutput

The time at which the Stream Analytics job last produced an output.

func (JobScheduleOutput) StartMode added in v5.5.0

func (o JobScheduleOutput) StartMode() pulumi.StringOutput

The starting mode of the Stream Analytics Job. Possible values are `JobStartTime`, `CustomTime` and `LastOutputEventTime`.

> **Note:** Setting `startMode` to `LastOutputEventTime` is only possible if the job had been previously started and produced output.

func (JobScheduleOutput) StartTime added in v5.5.0

func (o JobScheduleOutput) StartTime() pulumi.StringOutput

The time in ISO8601 format at which the Stream Analytics Job should be started e.g. `2022-04-01T00:00:00Z`. This property can only be specified if `startMode` is set to `CustomTime`

func (JobScheduleOutput) StreamAnalyticsJobId added in v5.5.0

func (o JobScheduleOutput) StreamAnalyticsJobId() pulumi.StringOutput

The ID of the Stream Analytics Job that should be scheduled or started. Changing this forces a new resource to be created.

func (JobScheduleOutput) ToJobScheduleOutput added in v5.2.0

func (o JobScheduleOutput) ToJobScheduleOutput() JobScheduleOutput

func (JobScheduleOutput) ToJobScheduleOutputWithContext added in v5.2.0

func (o JobScheduleOutput) ToJobScheduleOutputWithContext(ctx context.Context) JobScheduleOutput

type JobScheduleState added in v5.2.0

type JobScheduleState struct {
	// The time at which the Stream Analytics job last produced an output.
	LastOutputTime pulumi.StringPtrInput
	// The starting mode of the Stream Analytics Job. Possible values are `JobStartTime`, `CustomTime` and `LastOutputEventTime`.
	//
	// > **Note:** Setting `startMode` to `LastOutputEventTime` is only possible if the job had been previously started and produced output.
	StartMode pulumi.StringPtrInput
	// The time in ISO8601 format at which the Stream Analytics Job should be started e.g. `2022-04-01T00:00:00Z`. This property can only be specified if `startMode` is set to `CustomTime`
	StartTime pulumi.StringPtrInput
	// The ID of the Stream Analytics Job that should be scheduled or started. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringPtrInput
}

func (JobScheduleState) ElementType added in v5.2.0

func (JobScheduleState) ElementType() reflect.Type

type JobState

type JobState struct {
	// Specifies the compatibility level for this job - which controls certain runtime behaviours of the streaming job. Possible values are `1.0`, `1.1` and `1.2`.
	//
	// > **NOTE:** Support for Compatibility Level 1.2 is dependent on a new version of the Stream Analytics API, which [being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/5604).
	CompatibilityLevel pulumi.StringPtrInput
	// The policy for storing stream analytics content. Possible values are `JobStorageAccount`, `SystemAccount`. Defaults to `SystemAccount`.
	ContentStoragePolicy pulumi.StringPtrInput
	// Specifies the Data Locale of the Job, which [should be a supported .NET Culture](<https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx>).
	DataLocale pulumi.StringPtrInput
	// Specifies the maximum tolerable delay in seconds where events arriving late could be included. Supported range is `-1` (indefinite) to `1814399` (20d 23h 59m 59s). Default is `5`.
	EventsLateArrivalMaxDelayInSeconds pulumi.IntPtrInput
	// Specifies the maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order. Supported range is `0` to `599` (9m 59s). Default is `0`.
	EventsOutOfOrderMaxDelayInSeconds pulumi.IntPtrInput
	// Specifies the policy which should be applied to events which arrive out of order in the input event stream. Possible values are `Adjust` and `Drop`. Default is `Adjust`.
	EventsOutOfOrderPolicy pulumi.StringPtrInput
	// An `identity` block as defined below.
	Identity JobIdentityPtrInput
	// The Job ID assigned by the Stream Analytics Job.
	JobId pulumi.StringPtrInput
	// The details of the job storage account. A `jobStorageAccount` block as defined below.
	JobStorageAccounts JobJobStorageAccountArrayInput
	// The Azure Region in which the Resource Group exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the policy which should be applied to events which arrive at the output and cannot be written to the external storage due to being malformed (such as missing column values, column values of wrong type or size). Possible values are `Drop` and `Stop`. Default is `Drop`.
	OutputErrorPolicy pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The SKU Name to use for the Stream Analytics Job. Possible values are `Standard`, `StandardV2`. Defaults to `Standard`.
	SkuName pulumi.StringPtrInput
	// The ID of an existing Stream Analytics Cluster where the Stream Analytics Job should run.
	StreamAnalyticsClusterId pulumi.StringPtrInput
	// Specifies the number of streaming units that the streaming job uses. Supported values are `1`, `3`, `6` and multiples of `6` up to `120`.
	//
	// > **NOTE:** `streamingUnits` must be set when `type` is `Cloud`.
	StreamingUnits      pulumi.IntPtrInput
	Tags                pulumi.StringMapInput
	TransformationQuery pulumi.StringPtrInput
	// The type of the Stream Analytics Job. Possible values are `Cloud` and `Edge`. Defaults to `Cloud`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** `Edge` doesn't support `streamAnalyticsClusterId` and `streamingUnits`.
	Type pulumi.StringPtrInput
}

func (JobState) ElementType

func (JobState) ElementType() reflect.Type

type LookupJobArgs

type LookupJobArgs struct {
	// Specifies the name of the Stream Analytics Job.
	Name string `pulumi:"name"`
	// Specifies the name of the resource group the Stream Analytics Job is located in.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getJob.

type LookupJobOutputArgs

type LookupJobOutputArgs struct {
	// Specifies the name of the Stream Analytics Job.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the name of the resource group the Stream Analytics Job is located in.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getJob.

func (LookupJobOutputArgs) ElementType

func (LookupJobOutputArgs) ElementType() reflect.Type

type LookupJobResult

type LookupJobResult struct {
	// The compatibility level for this job.
	CompatibilityLevel string `pulumi:"compatibilityLevel"`
	// The Data Locale of the Job.
	DataLocale string `pulumi:"dataLocale"`
	// The maximum tolerable delay in seconds where events arriving late could be included.
	EventsLateArrivalMaxDelayInSeconds int `pulumi:"eventsLateArrivalMaxDelayInSeconds"`
	// The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order.
	EventsOutOfOrderMaxDelayInSeconds int `pulumi:"eventsOutOfOrderMaxDelayInSeconds"`
	// The policy which should be applied to events which arrive out of order in the input event stream.
	EventsOutOfOrderPolicy string `pulumi:"eventsOutOfOrderPolicy"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// An `identity` block as defined below.
	Identities []GetJobIdentity `pulumi:"identities"`
	// The Job ID assigned by the Stream Analytics Job.
	JobId string `pulumi:"jobId"`
	// The time at which the Stream Analytics job last produced an output.
	LastOutputTime string `pulumi:"lastOutputTime"`
	// The Azure location where the Stream Analytics Job exists.
	Location string `pulumi:"location"`
	Name     string `pulumi:"name"`
	// The policy which should be applied to events which arrive at the output and cannot be written to the external storage due to being malformed (such as missing column values, column values of wrong type or size).
	OutputErrorPolicy string `pulumi:"outputErrorPolicy"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The SKU Name to use for the Stream Analytics Job.
	SkuName string `pulumi:"skuName"`
	// The starting mode set for this Stream Analytics Job.
	StartMode string `pulumi:"startMode"`
	// The time at which this Stream Analytics Job was scheduled to start.
	StartTime string `pulumi:"startTime"`
	// The number of streaming units that this Stream Analytics Job uses.
	StreamingUnits int `pulumi:"streamingUnits"`
	// The query that will be run in this Stream Analytics Job, [written in Stream Analytics Query Language (SAQL)](https://msdn.microsoft.com/library/azure/dn834998).
	TransformationQuery string `pulumi:"transformationQuery"`
}

A collection of values returned by getJob.

func LookupJob

func LookupJob(ctx *pulumi.Context, args *LookupJobArgs, opts ...pulumi.InvokeOption) (*LookupJobResult, error)

Use this data source to access information about an existing Stream Analytics Job.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := streamanalytics.LookupJob(ctx, &streamanalytics.LookupJobArgs{
			Name:              "example-job",
			ResourceGroupName: "example-resources",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("jobId", example.JobId)
		return nil
	})
}

```

type LookupJobResultOutput

type LookupJobResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getJob.

func (LookupJobResultOutput) CompatibilityLevel

func (o LookupJobResultOutput) CompatibilityLevel() pulumi.StringOutput

The compatibility level for this job.

func (LookupJobResultOutput) DataLocale

func (o LookupJobResultOutput) DataLocale() pulumi.StringOutput

The Data Locale of the Job.

func (LookupJobResultOutput) ElementType

func (LookupJobResultOutput) ElementType() reflect.Type

func (LookupJobResultOutput) EventsLateArrivalMaxDelayInSeconds

func (o LookupJobResultOutput) EventsLateArrivalMaxDelayInSeconds() pulumi.IntOutput

The maximum tolerable delay in seconds where events arriving late could be included.

func (LookupJobResultOutput) EventsOutOfOrderMaxDelayInSeconds

func (o LookupJobResultOutput) EventsOutOfOrderMaxDelayInSeconds() pulumi.IntOutput

The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order.

func (LookupJobResultOutput) EventsOutOfOrderPolicy

func (o LookupJobResultOutput) EventsOutOfOrderPolicy() pulumi.StringOutput

The policy which should be applied to events which arrive out of order in the input event stream.

func (LookupJobResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupJobResultOutput) Identities

An `identity` block as defined below.

func (LookupJobResultOutput) JobId

The Job ID assigned by the Stream Analytics Job.

func (LookupJobResultOutput) LastOutputTime added in v5.2.0

func (o LookupJobResultOutput) LastOutputTime() pulumi.StringOutput

The time at which the Stream Analytics job last produced an output.

func (LookupJobResultOutput) Location

The Azure location where the Stream Analytics Job exists.

func (LookupJobResultOutput) Name

func (LookupJobResultOutput) OutputErrorPolicy

func (o LookupJobResultOutput) OutputErrorPolicy() pulumi.StringOutput

The policy which should be applied to events which arrive at the output and cannot be written to the external storage due to being malformed (such as missing column values, column values of wrong type or size).

func (LookupJobResultOutput) ResourceGroupName

func (o LookupJobResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupJobResultOutput) SkuName added in v5.64.0

The SKU Name to use for the Stream Analytics Job.

func (LookupJobResultOutput) StartMode added in v5.2.0

The starting mode set for this Stream Analytics Job.

func (LookupJobResultOutput) StartTime added in v5.2.0

The time at which this Stream Analytics Job was scheduled to start.

func (LookupJobResultOutput) StreamingUnits

func (o LookupJobResultOutput) StreamingUnits() pulumi.IntOutput

The number of streaming units that this Stream Analytics Job uses.

func (LookupJobResultOutput) ToLookupJobResultOutput

func (o LookupJobResultOutput) ToLookupJobResultOutput() LookupJobResultOutput

func (LookupJobResultOutput) ToLookupJobResultOutputWithContext

func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Context) LookupJobResultOutput

func (LookupJobResultOutput) TransformationQuery

func (o LookupJobResultOutput) TransformationQuery() pulumi.StringOutput

The query that will be run in this Stream Analytics Job, [written in Stream Analytics Query Language (SAQL)](https://msdn.microsoft.com/library/azure/dn834998).

type ManagedPrivateEndpoint

type ManagedPrivateEndpoint struct {
	pulumi.CustomResourceState

	// The name which should be used for this Stream Analytics Managed Private Endpoint. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Stream Analytics Managed Private Endpoint should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The name of the Stream Analytics Cluster where the Managed Private Endpoint should be created. Changing this forces a new resource to be created.
	StreamAnalyticsClusterName pulumi.StringOutput `pulumi:"streamAnalyticsClusterName"`
	// Specifies the sub resource name which the Stream Analytics Private Endpoint is able to connect to. Changing this forces a new resource to be created.
	SubresourceName pulumi.StringOutput `pulumi:"subresourceName"`
	// The ID of the Private Link Enabled Remote Resource which this Stream Analytics Private endpoint should be connected to. Changing this forces a new resource to be created.
	TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"`
}

Manages a Stream Analytics Managed Private Endpoint.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplestorageacc"),
			ResourceGroupName:      example.Name,
			Location:               example.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
			AccountKind:            pulumi.String("StorageV2"),
			IsHnsEnabled:           pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleCluster, err := streamanalytics.NewCluster(ctx, "example", &streamanalytics.ClusterArgs{
			Name:              pulumi.String("examplestreamanalyticscluster"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			StreamingCapacity: pulumi.Int(36),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewManagedPrivateEndpoint(ctx, "example", &streamanalytics.ManagedPrivateEndpointArgs{
			Name:                       pulumi.String("exampleprivateendpoint"),
			ResourceGroupName:          example.Name,
			StreamAnalyticsClusterName: exampleCluster.Name,
			TargetResourceId:           exampleAccount.ID(),
			SubresourceName:            pulumi.String("blob"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Private Endpoints can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/managedPrivateEndpoint:ManagedPrivateEndpoint example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.StreamAnalytics/clusters/cluster1/privateEndpoints/endpoint1 ```

func GetManagedPrivateEndpoint

func GetManagedPrivateEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ManagedPrivateEndpointState, opts ...pulumi.ResourceOption) (*ManagedPrivateEndpoint, error)

GetManagedPrivateEndpoint gets an existing ManagedPrivateEndpoint 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 NewManagedPrivateEndpoint

func NewManagedPrivateEndpoint(ctx *pulumi.Context,
	name string, args *ManagedPrivateEndpointArgs, opts ...pulumi.ResourceOption) (*ManagedPrivateEndpoint, error)

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

func (*ManagedPrivateEndpoint) ElementType

func (*ManagedPrivateEndpoint) ElementType() reflect.Type

func (*ManagedPrivateEndpoint) ToManagedPrivateEndpointOutput

func (i *ManagedPrivateEndpoint) ToManagedPrivateEndpointOutput() ManagedPrivateEndpointOutput

func (*ManagedPrivateEndpoint) ToManagedPrivateEndpointOutputWithContext

func (i *ManagedPrivateEndpoint) ToManagedPrivateEndpointOutputWithContext(ctx context.Context) ManagedPrivateEndpointOutput

type ManagedPrivateEndpointArgs

type ManagedPrivateEndpointArgs struct {
	// The name which should be used for this Stream Analytics Managed Private Endpoint. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Managed Private Endpoint should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The name of the Stream Analytics Cluster where the Managed Private Endpoint should be created. Changing this forces a new resource to be created.
	StreamAnalyticsClusterName pulumi.StringInput
	// Specifies the sub resource name which the Stream Analytics Private Endpoint is able to connect to. Changing this forces a new resource to be created.
	SubresourceName pulumi.StringInput
	// The ID of the Private Link Enabled Remote Resource which this Stream Analytics Private endpoint should be connected to. Changing this forces a new resource to be created.
	TargetResourceId pulumi.StringInput
}

The set of arguments for constructing a ManagedPrivateEndpoint resource.

func (ManagedPrivateEndpointArgs) ElementType

func (ManagedPrivateEndpointArgs) ElementType() reflect.Type

type ManagedPrivateEndpointArray

type ManagedPrivateEndpointArray []ManagedPrivateEndpointInput

func (ManagedPrivateEndpointArray) ElementType

func (ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutput

func (i ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutput() ManagedPrivateEndpointArrayOutput

func (ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutputWithContext

func (i ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutputWithContext(ctx context.Context) ManagedPrivateEndpointArrayOutput

type ManagedPrivateEndpointArrayInput

type ManagedPrivateEndpointArrayInput interface {
	pulumi.Input

	ToManagedPrivateEndpointArrayOutput() ManagedPrivateEndpointArrayOutput
	ToManagedPrivateEndpointArrayOutputWithContext(context.Context) ManagedPrivateEndpointArrayOutput
}

ManagedPrivateEndpointArrayInput is an input type that accepts ManagedPrivateEndpointArray and ManagedPrivateEndpointArrayOutput values. You can construct a concrete instance of `ManagedPrivateEndpointArrayInput` via:

ManagedPrivateEndpointArray{ ManagedPrivateEndpointArgs{...} }

type ManagedPrivateEndpointArrayOutput

type ManagedPrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (ManagedPrivateEndpointArrayOutput) ElementType

func (ManagedPrivateEndpointArrayOutput) Index

func (ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutput

func (o ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutput() ManagedPrivateEndpointArrayOutput

func (ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutputWithContext

func (o ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutputWithContext(ctx context.Context) ManagedPrivateEndpointArrayOutput

type ManagedPrivateEndpointInput

type ManagedPrivateEndpointInput interface {
	pulumi.Input

	ToManagedPrivateEndpointOutput() ManagedPrivateEndpointOutput
	ToManagedPrivateEndpointOutputWithContext(ctx context.Context) ManagedPrivateEndpointOutput
}

type ManagedPrivateEndpointMap

type ManagedPrivateEndpointMap map[string]ManagedPrivateEndpointInput

func (ManagedPrivateEndpointMap) ElementType

func (ManagedPrivateEndpointMap) ElementType() reflect.Type

func (ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutput

func (i ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutput() ManagedPrivateEndpointMapOutput

func (ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutputWithContext

func (i ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutputWithContext(ctx context.Context) ManagedPrivateEndpointMapOutput

type ManagedPrivateEndpointMapInput

type ManagedPrivateEndpointMapInput interface {
	pulumi.Input

	ToManagedPrivateEndpointMapOutput() ManagedPrivateEndpointMapOutput
	ToManagedPrivateEndpointMapOutputWithContext(context.Context) ManagedPrivateEndpointMapOutput
}

ManagedPrivateEndpointMapInput is an input type that accepts ManagedPrivateEndpointMap and ManagedPrivateEndpointMapOutput values. You can construct a concrete instance of `ManagedPrivateEndpointMapInput` via:

ManagedPrivateEndpointMap{ "key": ManagedPrivateEndpointArgs{...} }

type ManagedPrivateEndpointMapOutput

type ManagedPrivateEndpointMapOutput struct{ *pulumi.OutputState }

func (ManagedPrivateEndpointMapOutput) ElementType

func (ManagedPrivateEndpointMapOutput) MapIndex

func (ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutput

func (o ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutput() ManagedPrivateEndpointMapOutput

func (ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutputWithContext

func (o ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutputWithContext(ctx context.Context) ManagedPrivateEndpointMapOutput

type ManagedPrivateEndpointOutput

type ManagedPrivateEndpointOutput struct{ *pulumi.OutputState }

func (ManagedPrivateEndpointOutput) ElementType

func (ManagedPrivateEndpointOutput) Name added in v5.5.0

The name which should be used for this Stream Analytics Managed Private Endpoint. Changing this forces a new resource to be created.

func (ManagedPrivateEndpointOutput) ResourceGroupName added in v5.5.0

func (o ManagedPrivateEndpointOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Managed Private Endpoint should exist. Changing this forces a new resource to be created.

func (ManagedPrivateEndpointOutput) StreamAnalyticsClusterName added in v5.5.0

func (o ManagedPrivateEndpointOutput) StreamAnalyticsClusterName() pulumi.StringOutput

The name of the Stream Analytics Cluster where the Managed Private Endpoint should be created. Changing this forces a new resource to be created.

func (ManagedPrivateEndpointOutput) SubresourceName added in v5.5.0

func (o ManagedPrivateEndpointOutput) SubresourceName() pulumi.StringOutput

Specifies the sub resource name which the Stream Analytics Private Endpoint is able to connect to. Changing this forces a new resource to be created.

func (ManagedPrivateEndpointOutput) TargetResourceId added in v5.5.0

func (o ManagedPrivateEndpointOutput) TargetResourceId() pulumi.StringOutput

The ID of the Private Link Enabled Remote Resource which this Stream Analytics Private endpoint should be connected to. Changing this forces a new resource to be created.

func (ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutput

func (o ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutput() ManagedPrivateEndpointOutput

func (ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutputWithContext

func (o ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutputWithContext(ctx context.Context) ManagedPrivateEndpointOutput

type ManagedPrivateEndpointState

type ManagedPrivateEndpointState struct {
	// The name which should be used for this Stream Analytics Managed Private Endpoint. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Managed Private Endpoint should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the Stream Analytics Cluster where the Managed Private Endpoint should be created. Changing this forces a new resource to be created.
	StreamAnalyticsClusterName pulumi.StringPtrInput
	// Specifies the sub resource name which the Stream Analytics Private Endpoint is able to connect to. Changing this forces a new resource to be created.
	SubresourceName pulumi.StringPtrInput
	// The ID of the Private Link Enabled Remote Resource which this Stream Analytics Private endpoint should be connected to. Changing this forces a new resource to be created.
	TargetResourceId pulumi.StringPtrInput
}

func (ManagedPrivateEndpointState) ElementType

type OutputBlob

type OutputBlob struct {
	pulumi.CustomResourceState

	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrOutput `pulumi:"authenticationMode"`
	// The maximum wait time per batch in `hh:mm:ss` e.g. `00:02:00` for two minutes.
	BatchMaxWaitTime pulumi.StringPtrOutput `pulumi:"batchMaxWaitTime"`
	// The minimum number of rows per batch (must be between `0` and `1000000`).
	BatchMinRows pulumi.IntPtrOutput `pulumi:"batchMinRows"`
	// Determines whether blob blocks are either committed automatically or appended. Possible values are `Append` and `Once`. Defaults to `Append`.
	BlobWriteMode pulumi.StringPtrOutput `pulumi:"blobWriteMode"`
	// The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.
	DateFormat pulumi.StringOutput `pulumi:"dateFormat"`
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.
	PathPattern pulumi.StringOutput `pulumi:"pathPattern"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `serialization` block as defined below.
	Serialization OutputBlobSerializationOutput `pulumi:"serialization"`
	// The Access Key which should be used to connect to this Storage Account.
	StorageAccountKey pulumi.StringPtrOutput `pulumi:"storageAccountKey"`
	// The name of the Storage Account.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
	// The name of the Container within the Storage Account.
	StorageContainerName pulumi.StringOutput `pulumi:"storageContainerName"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
	// The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.
	TimeFormat pulumi.StringOutput `pulumi:"timeFormat"`
}

Manages a Stream Analytics Output to Blob Storage.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("rg-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplesa"),
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{
			Name:                pulumi.String("example"),
			StorageAccountName:  exampleAccount.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewOutputBlob(ctx, "example", &streamanalytics.OutputBlobArgs{
			Name: pulumi.String("output-to-blob-storage"),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			StorageAccountName:   exampleAccount.Name,
			StorageAccountKey:    exampleAccount.PrimaryAccessKey,
			StorageContainerName: exampleContainer.Name,
			PathPattern:          pulumi.String("some-pattern"),
			DateFormat:           pulumi.String("yyyy-MM-dd"),
			TimeFormat:           pulumi.String("HH"),
			Serialization: &streamanalytics.OutputBlobSerializationArgs{
				Type:           pulumi.String("Csv"),
				Encoding:       pulumi.String("UTF8"),
				FieldDelimiter: pulumi.String(","),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Outputs to Blob Storage can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/outputBlob:OutputBlob example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/outputs/output1 ```

func GetOutputBlob

func GetOutputBlob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OutputBlobState, opts ...pulumi.ResourceOption) (*OutputBlob, error)

GetOutputBlob gets an existing OutputBlob 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 NewOutputBlob

func NewOutputBlob(ctx *pulumi.Context,
	name string, args *OutputBlobArgs, opts ...pulumi.ResourceOption) (*OutputBlob, error)

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

func (*OutputBlob) ElementType

func (*OutputBlob) ElementType() reflect.Type

func (*OutputBlob) ToOutputBlobOutput

func (i *OutputBlob) ToOutputBlobOutput() OutputBlobOutput

func (*OutputBlob) ToOutputBlobOutputWithContext

func (i *OutputBlob) ToOutputBlobOutputWithContext(ctx context.Context) OutputBlobOutput

type OutputBlobArgs

type OutputBlobArgs struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The maximum wait time per batch in `hh:mm:ss` e.g. `00:02:00` for two minutes.
	BatchMaxWaitTime pulumi.StringPtrInput
	// The minimum number of rows per batch (must be between `0` and `1000000`).
	BatchMinRows pulumi.IntPtrInput
	// Determines whether blob blocks are either committed automatically or appended. Possible values are `Append` and `Once`. Defaults to `Append`.
	BlobWriteMode pulumi.StringPtrInput
	// The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.
	DateFormat pulumi.StringInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.
	PathPattern pulumi.StringInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `serialization` block as defined below.
	Serialization OutputBlobSerializationInput
	// The Access Key which should be used to connect to this Storage Account.
	StorageAccountKey pulumi.StringPtrInput
	// The name of the Storage Account.
	StorageAccountName pulumi.StringInput
	// The name of the Container within the Storage Account.
	StorageContainerName pulumi.StringInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
	// The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.
	TimeFormat pulumi.StringInput
}

The set of arguments for constructing a OutputBlob resource.

func (OutputBlobArgs) ElementType

func (OutputBlobArgs) ElementType() reflect.Type

type OutputBlobArray

type OutputBlobArray []OutputBlobInput

func (OutputBlobArray) ElementType

func (OutputBlobArray) ElementType() reflect.Type

func (OutputBlobArray) ToOutputBlobArrayOutput

func (i OutputBlobArray) ToOutputBlobArrayOutput() OutputBlobArrayOutput

func (OutputBlobArray) ToOutputBlobArrayOutputWithContext

func (i OutputBlobArray) ToOutputBlobArrayOutputWithContext(ctx context.Context) OutputBlobArrayOutput

type OutputBlobArrayInput

type OutputBlobArrayInput interface {
	pulumi.Input

	ToOutputBlobArrayOutput() OutputBlobArrayOutput
	ToOutputBlobArrayOutputWithContext(context.Context) OutputBlobArrayOutput
}

OutputBlobArrayInput is an input type that accepts OutputBlobArray and OutputBlobArrayOutput values. You can construct a concrete instance of `OutputBlobArrayInput` via:

OutputBlobArray{ OutputBlobArgs{...} }

type OutputBlobArrayOutput

type OutputBlobArrayOutput struct{ *pulumi.OutputState }

func (OutputBlobArrayOutput) ElementType

func (OutputBlobArrayOutput) ElementType() reflect.Type

func (OutputBlobArrayOutput) Index

func (OutputBlobArrayOutput) ToOutputBlobArrayOutput

func (o OutputBlobArrayOutput) ToOutputBlobArrayOutput() OutputBlobArrayOutput

func (OutputBlobArrayOutput) ToOutputBlobArrayOutputWithContext

func (o OutputBlobArrayOutput) ToOutputBlobArrayOutputWithContext(ctx context.Context) OutputBlobArrayOutput

type OutputBlobInput

type OutputBlobInput interface {
	pulumi.Input

	ToOutputBlobOutput() OutputBlobOutput
	ToOutputBlobOutputWithContext(ctx context.Context) OutputBlobOutput
}

type OutputBlobMap

type OutputBlobMap map[string]OutputBlobInput

func (OutputBlobMap) ElementType

func (OutputBlobMap) ElementType() reflect.Type

func (OutputBlobMap) ToOutputBlobMapOutput

func (i OutputBlobMap) ToOutputBlobMapOutput() OutputBlobMapOutput

func (OutputBlobMap) ToOutputBlobMapOutputWithContext

func (i OutputBlobMap) ToOutputBlobMapOutputWithContext(ctx context.Context) OutputBlobMapOutput

type OutputBlobMapInput

type OutputBlobMapInput interface {
	pulumi.Input

	ToOutputBlobMapOutput() OutputBlobMapOutput
	ToOutputBlobMapOutputWithContext(context.Context) OutputBlobMapOutput
}

OutputBlobMapInput is an input type that accepts OutputBlobMap and OutputBlobMapOutput values. You can construct a concrete instance of `OutputBlobMapInput` via:

OutputBlobMap{ "key": OutputBlobArgs{...} }

type OutputBlobMapOutput

type OutputBlobMapOutput struct{ *pulumi.OutputState }

func (OutputBlobMapOutput) ElementType

func (OutputBlobMapOutput) ElementType() reflect.Type

func (OutputBlobMapOutput) MapIndex

func (OutputBlobMapOutput) ToOutputBlobMapOutput

func (o OutputBlobMapOutput) ToOutputBlobMapOutput() OutputBlobMapOutput

func (OutputBlobMapOutput) ToOutputBlobMapOutputWithContext

func (o OutputBlobMapOutput) ToOutputBlobMapOutputWithContext(ctx context.Context) OutputBlobMapOutput

type OutputBlobOutput

type OutputBlobOutput struct{ *pulumi.OutputState }

func (OutputBlobOutput) AuthenticationMode added in v5.13.0

func (o OutputBlobOutput) AuthenticationMode() pulumi.StringPtrOutput

The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.

func (OutputBlobOutput) BatchMaxWaitTime added in v5.5.0

func (o OutputBlobOutput) BatchMaxWaitTime() pulumi.StringPtrOutput

The maximum wait time per batch in `hh:mm:ss` e.g. `00:02:00` for two minutes.

func (OutputBlobOutput) BatchMinRows added in v5.5.0

func (o OutputBlobOutput) BatchMinRows() pulumi.IntPtrOutput

The minimum number of rows per batch (must be between `0` and `1000000`).

func (OutputBlobOutput) BlobWriteMode added in v5.69.0

func (o OutputBlobOutput) BlobWriteMode() pulumi.StringPtrOutput

Determines whether blob blocks are either committed automatically or appended. Possible values are `Append` and `Once`. Defaults to `Append`.

func (OutputBlobOutput) DateFormat added in v5.5.0

func (o OutputBlobOutput) DateFormat() pulumi.StringOutput

The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.

func (OutputBlobOutput) ElementType

func (OutputBlobOutput) ElementType() reflect.Type

func (OutputBlobOutput) Name added in v5.5.0

The name of the Stream Output. Changing this forces a new resource to be created.

func (OutputBlobOutput) PathPattern added in v5.5.0

func (o OutputBlobOutput) PathPattern() pulumi.StringOutput

The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.

func (OutputBlobOutput) ResourceGroupName added in v5.5.0

func (o OutputBlobOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (OutputBlobOutput) Serialization added in v5.5.0

A `serialization` block as defined below.

func (OutputBlobOutput) StorageAccountKey added in v5.5.0

func (o OutputBlobOutput) StorageAccountKey() pulumi.StringPtrOutput

The Access Key which should be used to connect to this Storage Account.

func (OutputBlobOutput) StorageAccountName added in v5.5.0

func (o OutputBlobOutput) StorageAccountName() pulumi.StringOutput

The name of the Storage Account.

func (OutputBlobOutput) StorageContainerName added in v5.5.0

func (o OutputBlobOutput) StorageContainerName() pulumi.StringOutput

The name of the Container within the Storage Account.

func (OutputBlobOutput) StreamAnalyticsJobName added in v5.5.0

func (o OutputBlobOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (OutputBlobOutput) TimeFormat added in v5.5.0

func (o OutputBlobOutput) TimeFormat() pulumi.StringOutput

The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.

func (OutputBlobOutput) ToOutputBlobOutput

func (o OutputBlobOutput) ToOutputBlobOutput() OutputBlobOutput

func (OutputBlobOutput) ToOutputBlobOutputWithContext

func (o OutputBlobOutput) ToOutputBlobOutputWithContext(ctx context.Context) OutputBlobOutput

type OutputBlobSerialization

type OutputBlobSerialization struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding *string `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
	//
	// > **NOTE:** This is Required and can only be specified when `type` is set to `Json`.
	Format *string `pulumi:"format"`
	// The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.
	//
	// > **NOTE:** `batchMaxWaitTime` and `batchMinRows` are required when `type` is set to `Parquet`
	Type string `pulumi:"type"`
}

type OutputBlobSerializationArgs

type OutputBlobSerializationArgs struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
	//
	// > **NOTE:** This is Required and can only be specified when `type` is set to `Json`.
	Format pulumi.StringPtrInput `pulumi:"format"`
	// The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.
	//
	// > **NOTE:** `batchMaxWaitTime` and `batchMinRows` are required when `type` is set to `Parquet`
	Type pulumi.StringInput `pulumi:"type"`
}

func (OutputBlobSerializationArgs) ElementType

func (OutputBlobSerializationArgs) ToOutputBlobSerializationOutput

func (i OutputBlobSerializationArgs) ToOutputBlobSerializationOutput() OutputBlobSerializationOutput

func (OutputBlobSerializationArgs) ToOutputBlobSerializationOutputWithContext

func (i OutputBlobSerializationArgs) ToOutputBlobSerializationOutputWithContext(ctx context.Context) OutputBlobSerializationOutput

func (OutputBlobSerializationArgs) ToOutputBlobSerializationPtrOutput

func (i OutputBlobSerializationArgs) ToOutputBlobSerializationPtrOutput() OutputBlobSerializationPtrOutput

func (OutputBlobSerializationArgs) ToOutputBlobSerializationPtrOutputWithContext

func (i OutputBlobSerializationArgs) ToOutputBlobSerializationPtrOutputWithContext(ctx context.Context) OutputBlobSerializationPtrOutput

type OutputBlobSerializationInput

type OutputBlobSerializationInput interface {
	pulumi.Input

	ToOutputBlobSerializationOutput() OutputBlobSerializationOutput
	ToOutputBlobSerializationOutputWithContext(context.Context) OutputBlobSerializationOutput
}

OutputBlobSerializationInput is an input type that accepts OutputBlobSerializationArgs and OutputBlobSerializationOutput values. You can construct a concrete instance of `OutputBlobSerializationInput` via:

OutputBlobSerializationArgs{...}

type OutputBlobSerializationOutput

type OutputBlobSerializationOutput struct{ *pulumi.OutputState }

func (OutputBlobSerializationOutput) ElementType

func (OutputBlobSerializationOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (OutputBlobSerializationOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (OutputBlobSerializationOutput) Format

Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.

> **NOTE:** This is Required and can only be specified when `type` is set to `Json`.

func (OutputBlobSerializationOutput) ToOutputBlobSerializationOutput

func (o OutputBlobSerializationOutput) ToOutputBlobSerializationOutput() OutputBlobSerializationOutput

func (OutputBlobSerializationOutput) ToOutputBlobSerializationOutputWithContext

func (o OutputBlobSerializationOutput) ToOutputBlobSerializationOutputWithContext(ctx context.Context) OutputBlobSerializationOutput

func (OutputBlobSerializationOutput) ToOutputBlobSerializationPtrOutput

func (o OutputBlobSerializationOutput) ToOutputBlobSerializationPtrOutput() OutputBlobSerializationPtrOutput

func (OutputBlobSerializationOutput) ToOutputBlobSerializationPtrOutputWithContext

func (o OutputBlobSerializationOutput) ToOutputBlobSerializationPtrOutputWithContext(ctx context.Context) OutputBlobSerializationPtrOutput

func (OutputBlobSerializationOutput) Type

The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.

> **NOTE:** `batchMaxWaitTime` and `batchMinRows` are required when `type` is set to `Parquet`

type OutputBlobSerializationPtrInput

type OutputBlobSerializationPtrInput interface {
	pulumi.Input

	ToOutputBlobSerializationPtrOutput() OutputBlobSerializationPtrOutput
	ToOutputBlobSerializationPtrOutputWithContext(context.Context) OutputBlobSerializationPtrOutput
}

OutputBlobSerializationPtrInput is an input type that accepts OutputBlobSerializationArgs, OutputBlobSerializationPtr and OutputBlobSerializationPtrOutput values. You can construct a concrete instance of `OutputBlobSerializationPtrInput` via:

        OutputBlobSerializationArgs{...}

or:

        nil

type OutputBlobSerializationPtrOutput

type OutputBlobSerializationPtrOutput struct{ *pulumi.OutputState }

func (OutputBlobSerializationPtrOutput) Elem

func (OutputBlobSerializationPtrOutput) ElementType

func (OutputBlobSerializationPtrOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (OutputBlobSerializationPtrOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (OutputBlobSerializationPtrOutput) Format

Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.

> **NOTE:** This is Required and can only be specified when `type` is set to `Json`.

func (OutputBlobSerializationPtrOutput) ToOutputBlobSerializationPtrOutput

func (o OutputBlobSerializationPtrOutput) ToOutputBlobSerializationPtrOutput() OutputBlobSerializationPtrOutput

func (OutputBlobSerializationPtrOutput) ToOutputBlobSerializationPtrOutputWithContext

func (o OutputBlobSerializationPtrOutput) ToOutputBlobSerializationPtrOutputWithContext(ctx context.Context) OutputBlobSerializationPtrOutput

func (OutputBlobSerializationPtrOutput) Type

The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.

> **NOTE:** `batchMaxWaitTime` and `batchMinRows` are required when `type` is set to `Parquet`

type OutputBlobState

type OutputBlobState struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The maximum wait time per batch in `hh:mm:ss` e.g. `00:02:00` for two minutes.
	BatchMaxWaitTime pulumi.StringPtrInput
	// The minimum number of rows per batch (must be between `0` and `1000000`).
	BatchMinRows pulumi.IntPtrInput
	// Determines whether blob blocks are either committed automatically or appended. Possible values are `Append` and `Once`. Defaults to `Append`.
	BlobWriteMode pulumi.StringPtrInput
	// The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.
	DateFormat pulumi.StringPtrInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.
	PathPattern pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `serialization` block as defined below.
	Serialization OutputBlobSerializationPtrInput
	// The Access Key which should be used to connect to this Storage Account.
	StorageAccountKey pulumi.StringPtrInput
	// The name of the Storage Account.
	StorageAccountName pulumi.StringPtrInput
	// The name of the Container within the Storage Account.
	StorageContainerName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
	// The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.
	TimeFormat pulumi.StringPtrInput
}

func (OutputBlobState) ElementType

func (OutputBlobState) ElementType() reflect.Type

type OutputCosmosdb added in v5.4.0

type OutputCosmosdb struct {
	pulumi.CustomResourceState

	// The name of the CosmosDB container.
	ContainerName pulumi.StringOutput `pulumi:"containerName"`
	// The account key for the CosmosDB database.
	CosmosdbAccountKey pulumi.StringOutput `pulumi:"cosmosdbAccountKey"`
	// The ID of the CosmosDB database.
	CosmosdbSqlDatabaseId pulumi.StringOutput `pulumi:"cosmosdbSqlDatabaseId"`
	// The name of the field in output events used to specify the primary key which insert or update operations are based on.
	DocumentId pulumi.StringPtrOutput `pulumi:"documentId"`
	// The name of the Stream Analytics Output. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the field in output events used to specify the key for partitioning output across collections. If `containerName` contains `{partition}` token, this property is required to be specified.
	PartitionKey pulumi.StringPtrOutput `pulumi:"partitionKey"`
	// The ID of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringOutput `pulumi:"streamAnalyticsJobId"`
}

Manages a Stream Analytics Output to CosmosDB.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/cosmosdb"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("rg-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleAccount, err := cosmosdb.NewAccount(ctx, "example", &cosmosdb.AccountArgs{
			Name:              pulumi.String("exampledb"),
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			OfferType:         pulumi.String("Standard"),
			Kind:              pulumi.String("GlobalDocumentDB"),
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel:     pulumi.String("BoundedStaleness"),
				MaxIntervalInSeconds: pulumi.Int(10),
				MaxStalenessPrefix:   pulumi.Int(200),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         exampleResourceGroup.Location,
					FailoverPriority: pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleSqlDatabase, err := cosmosdb.NewSqlDatabase(ctx, "example", &cosmosdb.SqlDatabaseArgs{
			Name:              pulumi.String("cosmos-sql-db"),
			ResourceGroupName: exampleAccount.ResourceGroupName,
			AccountName:       exampleAccount.Name,
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		exampleSqlContainer, err := cosmosdb.NewSqlContainer(ctx, "example", &cosmosdb.SqlContainerArgs{
			Name:              pulumi.String("examplecontainer"),
			ResourceGroupName: exampleAccount.ResourceGroupName,
			AccountName:       exampleAccount.Name,
			DatabaseName:      exampleSqlDatabase.Name,
			PartitionKeyPath:  pulumi.String("foo"),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewOutputCosmosdb(ctx, "example", &streamanalytics.OutputCosmosdbArgs{
			Name: pulumi.String("output-to-cosmosdb"),
			StreamAnalyticsJobId: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Id, nil
			}).(pulumi.StringPtrOutput),
			CosmosdbAccountKey:    exampleAccount.PrimaryKey,
			CosmosdbSqlDatabaseId: exampleSqlDatabase.ID(),
			ContainerName:         exampleSqlContainer.Name,
			DocumentId:            pulumi.String("exampledocumentid"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Outputs for CosmosDB can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/outputCosmosdb:OutputCosmosdb example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/outputs/output1 ```

func GetOutputCosmosdb added in v5.4.0

func GetOutputCosmosdb(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OutputCosmosdbState, opts ...pulumi.ResourceOption) (*OutputCosmosdb, error)

GetOutputCosmosdb gets an existing OutputCosmosdb 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 NewOutputCosmosdb added in v5.4.0

func NewOutputCosmosdb(ctx *pulumi.Context,
	name string, args *OutputCosmosdbArgs, opts ...pulumi.ResourceOption) (*OutputCosmosdb, error)

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

func (*OutputCosmosdb) ElementType added in v5.4.0

func (*OutputCosmosdb) ElementType() reflect.Type

func (*OutputCosmosdb) ToOutputCosmosdbOutput added in v5.4.0

func (i *OutputCosmosdb) ToOutputCosmosdbOutput() OutputCosmosdbOutput

func (*OutputCosmosdb) ToOutputCosmosdbOutputWithContext added in v5.4.0

func (i *OutputCosmosdb) ToOutputCosmosdbOutputWithContext(ctx context.Context) OutputCosmosdbOutput

type OutputCosmosdbArgs added in v5.4.0

type OutputCosmosdbArgs struct {
	// The name of the CosmosDB container.
	ContainerName pulumi.StringInput
	// The account key for the CosmosDB database.
	CosmosdbAccountKey pulumi.StringInput
	// The ID of the CosmosDB database.
	CosmosdbSqlDatabaseId pulumi.StringInput
	// The name of the field in output events used to specify the primary key which insert or update operations are based on.
	DocumentId pulumi.StringPtrInput
	// The name of the Stream Analytics Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the field in output events used to specify the key for partitioning output across collections. If `containerName` contains `{partition}` token, this property is required to be specified.
	PartitionKey pulumi.StringPtrInput
	// The ID of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringInput
}

The set of arguments for constructing a OutputCosmosdb resource.

func (OutputCosmosdbArgs) ElementType added in v5.4.0

func (OutputCosmosdbArgs) ElementType() reflect.Type

type OutputCosmosdbArray added in v5.4.0

type OutputCosmosdbArray []OutputCosmosdbInput

func (OutputCosmosdbArray) ElementType added in v5.4.0

func (OutputCosmosdbArray) ElementType() reflect.Type

func (OutputCosmosdbArray) ToOutputCosmosdbArrayOutput added in v5.4.0

func (i OutputCosmosdbArray) ToOutputCosmosdbArrayOutput() OutputCosmosdbArrayOutput

func (OutputCosmosdbArray) ToOutputCosmosdbArrayOutputWithContext added in v5.4.0

func (i OutputCosmosdbArray) ToOutputCosmosdbArrayOutputWithContext(ctx context.Context) OutputCosmosdbArrayOutput

type OutputCosmosdbArrayInput added in v5.4.0

type OutputCosmosdbArrayInput interface {
	pulumi.Input

	ToOutputCosmosdbArrayOutput() OutputCosmosdbArrayOutput
	ToOutputCosmosdbArrayOutputWithContext(context.Context) OutputCosmosdbArrayOutput
}

OutputCosmosdbArrayInput is an input type that accepts OutputCosmosdbArray and OutputCosmosdbArrayOutput values. You can construct a concrete instance of `OutputCosmosdbArrayInput` via:

OutputCosmosdbArray{ OutputCosmosdbArgs{...} }

type OutputCosmosdbArrayOutput added in v5.4.0

type OutputCosmosdbArrayOutput struct{ *pulumi.OutputState }

func (OutputCosmosdbArrayOutput) ElementType added in v5.4.0

func (OutputCosmosdbArrayOutput) ElementType() reflect.Type

func (OutputCosmosdbArrayOutput) Index added in v5.4.0

func (OutputCosmosdbArrayOutput) ToOutputCosmosdbArrayOutput added in v5.4.0

func (o OutputCosmosdbArrayOutput) ToOutputCosmosdbArrayOutput() OutputCosmosdbArrayOutput

func (OutputCosmosdbArrayOutput) ToOutputCosmosdbArrayOutputWithContext added in v5.4.0

func (o OutputCosmosdbArrayOutput) ToOutputCosmosdbArrayOutputWithContext(ctx context.Context) OutputCosmosdbArrayOutput

type OutputCosmosdbInput added in v5.4.0

type OutputCosmosdbInput interface {
	pulumi.Input

	ToOutputCosmosdbOutput() OutputCosmosdbOutput
	ToOutputCosmosdbOutputWithContext(ctx context.Context) OutputCosmosdbOutput
}

type OutputCosmosdbMap added in v5.4.0

type OutputCosmosdbMap map[string]OutputCosmosdbInput

func (OutputCosmosdbMap) ElementType added in v5.4.0

func (OutputCosmosdbMap) ElementType() reflect.Type

func (OutputCosmosdbMap) ToOutputCosmosdbMapOutput added in v5.4.0

func (i OutputCosmosdbMap) ToOutputCosmosdbMapOutput() OutputCosmosdbMapOutput

func (OutputCosmosdbMap) ToOutputCosmosdbMapOutputWithContext added in v5.4.0

func (i OutputCosmosdbMap) ToOutputCosmosdbMapOutputWithContext(ctx context.Context) OutputCosmosdbMapOutput

type OutputCosmosdbMapInput added in v5.4.0

type OutputCosmosdbMapInput interface {
	pulumi.Input

	ToOutputCosmosdbMapOutput() OutputCosmosdbMapOutput
	ToOutputCosmosdbMapOutputWithContext(context.Context) OutputCosmosdbMapOutput
}

OutputCosmosdbMapInput is an input type that accepts OutputCosmosdbMap and OutputCosmosdbMapOutput values. You can construct a concrete instance of `OutputCosmosdbMapInput` via:

OutputCosmosdbMap{ "key": OutputCosmosdbArgs{...} }

type OutputCosmosdbMapOutput added in v5.4.0

type OutputCosmosdbMapOutput struct{ *pulumi.OutputState }

func (OutputCosmosdbMapOutput) ElementType added in v5.4.0

func (OutputCosmosdbMapOutput) ElementType() reflect.Type

func (OutputCosmosdbMapOutput) MapIndex added in v5.4.0

func (OutputCosmosdbMapOutput) ToOutputCosmosdbMapOutput added in v5.4.0

func (o OutputCosmosdbMapOutput) ToOutputCosmosdbMapOutput() OutputCosmosdbMapOutput

func (OutputCosmosdbMapOutput) ToOutputCosmosdbMapOutputWithContext added in v5.4.0

func (o OutputCosmosdbMapOutput) ToOutputCosmosdbMapOutputWithContext(ctx context.Context) OutputCosmosdbMapOutput

type OutputCosmosdbOutput added in v5.4.0

type OutputCosmosdbOutput struct{ *pulumi.OutputState }

func (OutputCosmosdbOutput) ContainerName added in v5.5.0

func (o OutputCosmosdbOutput) ContainerName() pulumi.StringOutput

The name of the CosmosDB container.

func (OutputCosmosdbOutput) CosmosdbAccountKey added in v5.5.0

func (o OutputCosmosdbOutput) CosmosdbAccountKey() pulumi.StringOutput

The account key for the CosmosDB database.

func (OutputCosmosdbOutput) CosmosdbSqlDatabaseId added in v5.5.0

func (o OutputCosmosdbOutput) CosmosdbSqlDatabaseId() pulumi.StringOutput

The ID of the CosmosDB database.

func (OutputCosmosdbOutput) DocumentId added in v5.5.0

The name of the field in output events used to specify the primary key which insert or update operations are based on.

func (OutputCosmosdbOutput) ElementType added in v5.4.0

func (OutputCosmosdbOutput) ElementType() reflect.Type

func (OutputCosmosdbOutput) Name added in v5.5.0

The name of the Stream Analytics Output. Changing this forces a new resource to be created.

func (OutputCosmosdbOutput) PartitionKey added in v5.18.0

func (o OutputCosmosdbOutput) PartitionKey() pulumi.StringPtrOutput

The name of the field in output events used to specify the key for partitioning output across collections. If `containerName` contains `{partition}` token, this property is required to be specified.

func (OutputCosmosdbOutput) StreamAnalyticsJobId added in v5.5.0

func (o OutputCosmosdbOutput) StreamAnalyticsJobId() pulumi.StringOutput

The ID of the Stream Analytics Job. Changing this forces a new resource to be created.

func (OutputCosmosdbOutput) ToOutputCosmosdbOutput added in v5.4.0

func (o OutputCosmosdbOutput) ToOutputCosmosdbOutput() OutputCosmosdbOutput

func (OutputCosmosdbOutput) ToOutputCosmosdbOutputWithContext added in v5.4.0

func (o OutputCosmosdbOutput) ToOutputCosmosdbOutputWithContext(ctx context.Context) OutputCosmosdbOutput

type OutputCosmosdbState added in v5.4.0

type OutputCosmosdbState struct {
	// The name of the CosmosDB container.
	ContainerName pulumi.StringPtrInput
	// The account key for the CosmosDB database.
	CosmosdbAccountKey pulumi.StringPtrInput
	// The ID of the CosmosDB database.
	CosmosdbSqlDatabaseId pulumi.StringPtrInput
	// The name of the field in output events used to specify the primary key which insert or update operations are based on.
	DocumentId pulumi.StringPtrInput
	// The name of the Stream Analytics Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the field in output events used to specify the key for partitioning output across collections. If `containerName` contains `{partition}` token, this property is required to be specified.
	PartitionKey pulumi.StringPtrInput
	// The ID of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringPtrInput
}

func (OutputCosmosdbState) ElementType added in v5.4.0

func (OutputCosmosdbState) ElementType() reflect.Type

type OutputEventHub

type OutputEventHub struct {
	pulumi.CustomResourceState

	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrOutput `pulumi:"authenticationMode"`
	// The name of the Event Hub.
	EventhubName pulumi.StringOutput `pulumi:"eventhubName"`
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The column that is used for the Event Hub partition key.
	PartitionKey pulumi.StringPtrOutput `pulumi:"partitionKey"`
	// A list of property columns to add to the Event Hub output.
	PropertyColumns pulumi.StringArrayOutput `pulumi:"propertyColumns"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `serialization` block as defined below.
	Serialization OutputEventHubSerializationOutput `pulumi:"serialization"`
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringOutput `pulumi:"servicebusNamespace"`
	// The shared access policy key for the specified shared access policy. Required when `authenticationMode` is set to `ConnectionString`.
	SharedAccessPolicyKey pulumi.StringPtrOutput `pulumi:"sharedAccessPolicyKey"`
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required when `authenticationMode` is set to `ConnectionString`.
	SharedAccessPolicyName pulumi.StringPtrOutput `pulumi:"sharedAccessPolicyName"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
}

Manages a Stream Analytics Output to an EventHub.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/eventhub"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("rg-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "example", &eventhub.EventHubNamespaceArgs{
			Name:              pulumi.String("example-ehnamespace"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("Standard"),
			Capacity:          pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		exampleEventHub, err := eventhub.NewEventHub(ctx, "example", &eventhub.EventHubArgs{
			Name:              pulumi.String("example-eventhub"),
			NamespaceName:     exampleEventHubNamespace.Name,
			ResourceGroupName: exampleResourceGroup.Name,
			PartitionCount:    pulumi.Int(2),
			MessageRetention:  pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewOutputEventHub(ctx, "example", &streamanalytics.OutputEventHubArgs{
			Name: pulumi.String("output-to-eventhub"),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			EventhubName:           exampleEventHub.Name,
			ServicebusNamespace:    exampleEventHubNamespace.Name,
			SharedAccessPolicyKey:  exampleEventHubNamespace.DefaultPrimaryKey,
			SharedAccessPolicyName: pulumi.String("RootManageSharedAccessKey"),
			Serialization: &streamanalytics.OutputEventHubSerializationArgs{
				Type: pulumi.String("Avro"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Outputs to an EventHub can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/outputEventHub:OutputEventHub example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/outputs/output1 ```

func GetOutputEventHub

func GetOutputEventHub(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OutputEventHubState, opts ...pulumi.ResourceOption) (*OutputEventHub, error)

GetOutputEventHub gets an existing OutputEventHub 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 NewOutputEventHub

func NewOutputEventHub(ctx *pulumi.Context,
	name string, args *OutputEventHubArgs, opts ...pulumi.ResourceOption) (*OutputEventHub, error)

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

func (*OutputEventHub) ElementType

func (*OutputEventHub) ElementType() reflect.Type

func (*OutputEventHub) ToOutputEventHubOutput

func (i *OutputEventHub) ToOutputEventHubOutput() OutputEventHubOutput

func (*OutputEventHub) ToOutputEventHubOutputWithContext

func (i *OutputEventHub) ToOutputEventHubOutputWithContext(ctx context.Context) OutputEventHubOutput

type OutputEventHubArgs

type OutputEventHubArgs struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The name of the Event Hub.
	EventhubName pulumi.StringInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The column that is used for the Event Hub partition key.
	PartitionKey pulumi.StringPtrInput
	// A list of property columns to add to the Event Hub output.
	PropertyColumns pulumi.StringArrayInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `serialization` block as defined below.
	Serialization OutputEventHubSerializationInput
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringInput
	// The shared access policy key for the specified shared access policy. Required when `authenticationMode` is set to `ConnectionString`.
	SharedAccessPolicyKey pulumi.StringPtrInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required when `authenticationMode` is set to `ConnectionString`.
	SharedAccessPolicyName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
}

The set of arguments for constructing a OutputEventHub resource.

func (OutputEventHubArgs) ElementType

func (OutputEventHubArgs) ElementType() reflect.Type

type OutputEventHubArray

type OutputEventHubArray []OutputEventHubInput

func (OutputEventHubArray) ElementType

func (OutputEventHubArray) ElementType() reflect.Type

func (OutputEventHubArray) ToOutputEventHubArrayOutput

func (i OutputEventHubArray) ToOutputEventHubArrayOutput() OutputEventHubArrayOutput

func (OutputEventHubArray) ToOutputEventHubArrayOutputWithContext

func (i OutputEventHubArray) ToOutputEventHubArrayOutputWithContext(ctx context.Context) OutputEventHubArrayOutput

type OutputEventHubArrayInput

type OutputEventHubArrayInput interface {
	pulumi.Input

	ToOutputEventHubArrayOutput() OutputEventHubArrayOutput
	ToOutputEventHubArrayOutputWithContext(context.Context) OutputEventHubArrayOutput
}

OutputEventHubArrayInput is an input type that accepts OutputEventHubArray and OutputEventHubArrayOutput values. You can construct a concrete instance of `OutputEventHubArrayInput` via:

OutputEventHubArray{ OutputEventHubArgs{...} }

type OutputEventHubArrayOutput

type OutputEventHubArrayOutput struct{ *pulumi.OutputState }

func (OutputEventHubArrayOutput) ElementType

func (OutputEventHubArrayOutput) ElementType() reflect.Type

func (OutputEventHubArrayOutput) Index

func (OutputEventHubArrayOutput) ToOutputEventHubArrayOutput

func (o OutputEventHubArrayOutput) ToOutputEventHubArrayOutput() OutputEventHubArrayOutput

func (OutputEventHubArrayOutput) ToOutputEventHubArrayOutputWithContext

func (o OutputEventHubArrayOutput) ToOutputEventHubArrayOutputWithContext(ctx context.Context) OutputEventHubArrayOutput

type OutputEventHubInput

type OutputEventHubInput interface {
	pulumi.Input

	ToOutputEventHubOutput() OutputEventHubOutput
	ToOutputEventHubOutputWithContext(ctx context.Context) OutputEventHubOutput
}

type OutputEventHubMap

type OutputEventHubMap map[string]OutputEventHubInput

func (OutputEventHubMap) ElementType

func (OutputEventHubMap) ElementType() reflect.Type

func (OutputEventHubMap) ToOutputEventHubMapOutput

func (i OutputEventHubMap) ToOutputEventHubMapOutput() OutputEventHubMapOutput

func (OutputEventHubMap) ToOutputEventHubMapOutputWithContext

func (i OutputEventHubMap) ToOutputEventHubMapOutputWithContext(ctx context.Context) OutputEventHubMapOutput

type OutputEventHubMapInput

type OutputEventHubMapInput interface {
	pulumi.Input

	ToOutputEventHubMapOutput() OutputEventHubMapOutput
	ToOutputEventHubMapOutputWithContext(context.Context) OutputEventHubMapOutput
}

OutputEventHubMapInput is an input type that accepts OutputEventHubMap and OutputEventHubMapOutput values. You can construct a concrete instance of `OutputEventHubMapInput` via:

OutputEventHubMap{ "key": OutputEventHubArgs{...} }

type OutputEventHubMapOutput

type OutputEventHubMapOutput struct{ *pulumi.OutputState }

func (OutputEventHubMapOutput) ElementType

func (OutputEventHubMapOutput) ElementType() reflect.Type

func (OutputEventHubMapOutput) MapIndex

func (OutputEventHubMapOutput) ToOutputEventHubMapOutput

func (o OutputEventHubMapOutput) ToOutputEventHubMapOutput() OutputEventHubMapOutput

func (OutputEventHubMapOutput) ToOutputEventHubMapOutputWithContext

func (o OutputEventHubMapOutput) ToOutputEventHubMapOutputWithContext(ctx context.Context) OutputEventHubMapOutput

type OutputEventHubOutput

type OutputEventHubOutput struct{ *pulumi.OutputState }

func (OutputEventHubOutput) AuthenticationMode added in v5.18.0

func (o OutputEventHubOutput) AuthenticationMode() pulumi.StringPtrOutput

The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.

func (OutputEventHubOutput) ElementType

func (OutputEventHubOutput) ElementType() reflect.Type

func (OutputEventHubOutput) EventhubName added in v5.5.0

func (o OutputEventHubOutput) EventhubName() pulumi.StringOutput

The name of the Event Hub.

func (OutputEventHubOutput) Name added in v5.5.0

The name of the Stream Output. Changing this forces a new resource to be created.

func (OutputEventHubOutput) PartitionKey added in v5.5.0

func (o OutputEventHubOutput) PartitionKey() pulumi.StringPtrOutput

The column that is used for the Event Hub partition key.

func (OutputEventHubOutput) PropertyColumns added in v5.5.0

func (o OutputEventHubOutput) PropertyColumns() pulumi.StringArrayOutput

A list of property columns to add to the Event Hub output.

func (OutputEventHubOutput) ResourceGroupName added in v5.5.0

func (o OutputEventHubOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (OutputEventHubOutput) Serialization added in v5.5.0

A `serialization` block as defined below.

func (OutputEventHubOutput) ServicebusNamespace added in v5.5.0

func (o OutputEventHubOutput) ServicebusNamespace() pulumi.StringOutput

The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.

func (OutputEventHubOutput) SharedAccessPolicyKey added in v5.5.0

func (o OutputEventHubOutput) SharedAccessPolicyKey() pulumi.StringPtrOutput

The shared access policy key for the specified shared access policy. Required when `authenticationMode` is set to `ConnectionString`.

func (OutputEventHubOutput) SharedAccessPolicyName added in v5.5.0

func (o OutputEventHubOutput) SharedAccessPolicyName() pulumi.StringPtrOutput

The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required when `authenticationMode` is set to `ConnectionString`.

func (OutputEventHubOutput) StreamAnalyticsJobName added in v5.5.0

func (o OutputEventHubOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (OutputEventHubOutput) ToOutputEventHubOutput

func (o OutputEventHubOutput) ToOutputEventHubOutput() OutputEventHubOutput

func (OutputEventHubOutput) ToOutputEventHubOutputWithContext

func (o OutputEventHubOutput) ToOutputEventHubOutputWithContext(ctx context.Context) OutputEventHubOutput

type OutputEventHubSerialization

type OutputEventHubSerialization struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding *string `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
	//
	// > **NOTE:** This is Required and can only be specified when `type` is set to `Json`.
	Format *string `pulumi:"format"`
	// The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.
	Type string `pulumi:"type"`
}

type OutputEventHubSerializationArgs

type OutputEventHubSerializationArgs struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
	//
	// > **NOTE:** This is Required and can only be specified when `type` is set to `Json`.
	Format pulumi.StringPtrInput `pulumi:"format"`
	// The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (OutputEventHubSerializationArgs) ElementType

func (OutputEventHubSerializationArgs) ToOutputEventHubSerializationOutput

func (i OutputEventHubSerializationArgs) ToOutputEventHubSerializationOutput() OutputEventHubSerializationOutput

func (OutputEventHubSerializationArgs) ToOutputEventHubSerializationOutputWithContext

func (i OutputEventHubSerializationArgs) ToOutputEventHubSerializationOutputWithContext(ctx context.Context) OutputEventHubSerializationOutput

func (OutputEventHubSerializationArgs) ToOutputEventHubSerializationPtrOutput

func (i OutputEventHubSerializationArgs) ToOutputEventHubSerializationPtrOutput() OutputEventHubSerializationPtrOutput

func (OutputEventHubSerializationArgs) ToOutputEventHubSerializationPtrOutputWithContext

func (i OutputEventHubSerializationArgs) ToOutputEventHubSerializationPtrOutputWithContext(ctx context.Context) OutputEventHubSerializationPtrOutput

type OutputEventHubSerializationInput

type OutputEventHubSerializationInput interface {
	pulumi.Input

	ToOutputEventHubSerializationOutput() OutputEventHubSerializationOutput
	ToOutputEventHubSerializationOutputWithContext(context.Context) OutputEventHubSerializationOutput
}

OutputEventHubSerializationInput is an input type that accepts OutputEventHubSerializationArgs and OutputEventHubSerializationOutput values. You can construct a concrete instance of `OutputEventHubSerializationInput` via:

OutputEventHubSerializationArgs{...}

type OutputEventHubSerializationOutput

type OutputEventHubSerializationOutput struct{ *pulumi.OutputState }

func (OutputEventHubSerializationOutput) ElementType

func (OutputEventHubSerializationOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (OutputEventHubSerializationOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (OutputEventHubSerializationOutput) Format

Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.

> **NOTE:** This is Required and can only be specified when `type` is set to `Json`.

func (OutputEventHubSerializationOutput) ToOutputEventHubSerializationOutput

func (o OutputEventHubSerializationOutput) ToOutputEventHubSerializationOutput() OutputEventHubSerializationOutput

func (OutputEventHubSerializationOutput) ToOutputEventHubSerializationOutputWithContext

func (o OutputEventHubSerializationOutput) ToOutputEventHubSerializationOutputWithContext(ctx context.Context) OutputEventHubSerializationOutput

func (OutputEventHubSerializationOutput) ToOutputEventHubSerializationPtrOutput

func (o OutputEventHubSerializationOutput) ToOutputEventHubSerializationPtrOutput() OutputEventHubSerializationPtrOutput

func (OutputEventHubSerializationOutput) ToOutputEventHubSerializationPtrOutputWithContext

func (o OutputEventHubSerializationOutput) ToOutputEventHubSerializationPtrOutputWithContext(ctx context.Context) OutputEventHubSerializationPtrOutput

func (OutputEventHubSerializationOutput) Type

The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.

type OutputEventHubSerializationPtrInput

type OutputEventHubSerializationPtrInput interface {
	pulumi.Input

	ToOutputEventHubSerializationPtrOutput() OutputEventHubSerializationPtrOutput
	ToOutputEventHubSerializationPtrOutputWithContext(context.Context) OutputEventHubSerializationPtrOutput
}

OutputEventHubSerializationPtrInput is an input type that accepts OutputEventHubSerializationArgs, OutputEventHubSerializationPtr and OutputEventHubSerializationPtrOutput values. You can construct a concrete instance of `OutputEventHubSerializationPtrInput` via:

        OutputEventHubSerializationArgs{...}

or:

        nil

type OutputEventHubSerializationPtrOutput

type OutputEventHubSerializationPtrOutput struct{ *pulumi.OutputState }

func (OutputEventHubSerializationPtrOutput) Elem

func (OutputEventHubSerializationPtrOutput) ElementType

func (OutputEventHubSerializationPtrOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (OutputEventHubSerializationPtrOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (OutputEventHubSerializationPtrOutput) Format

Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.

> **NOTE:** This is Required and can only be specified when `type` is set to `Json`.

func (OutputEventHubSerializationPtrOutput) ToOutputEventHubSerializationPtrOutput

func (o OutputEventHubSerializationPtrOutput) ToOutputEventHubSerializationPtrOutput() OutputEventHubSerializationPtrOutput

func (OutputEventHubSerializationPtrOutput) ToOutputEventHubSerializationPtrOutputWithContext

func (o OutputEventHubSerializationPtrOutput) ToOutputEventHubSerializationPtrOutputWithContext(ctx context.Context) OutputEventHubSerializationPtrOutput

func (OutputEventHubSerializationPtrOutput) Type

The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.

type OutputEventHubState

type OutputEventHubState struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The name of the Event Hub.
	EventhubName pulumi.StringPtrInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The column that is used for the Event Hub partition key.
	PartitionKey pulumi.StringPtrInput
	// A list of property columns to add to the Event Hub output.
	PropertyColumns pulumi.StringArrayInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `serialization` block as defined below.
	Serialization OutputEventHubSerializationPtrInput
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringPtrInput
	// The shared access policy key for the specified shared access policy. Required when `authenticationMode` is set to `ConnectionString`.
	SharedAccessPolicyKey pulumi.StringPtrInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required when `authenticationMode` is set to `ConnectionString`.
	SharedAccessPolicyName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
}

func (OutputEventHubState) ElementType

func (OutputEventHubState) ElementType() reflect.Type

type OutputFunction

type OutputFunction struct {
	pulumi.CustomResourceState

	// The API key for the Function.
	ApiKey pulumi.StringOutput `pulumi:"apiKey"`
	// The maximum number of events in each batch that's sent to the function. Defaults to `100`.
	BatchMaxCount pulumi.IntPtrOutput `pulumi:"batchMaxCount"`
	// The maximum batch size in bytes that's sent to the function. Defaults to `262144` (256 kB).
	BatchMaxInBytes pulumi.IntPtrOutput `pulumi:"batchMaxInBytes"`
	// The name of the Function App.
	FunctionApp pulumi.StringOutput `pulumi:"functionApp"`
	// The name of the function in the Function App.
	FunctionName pulumi.StringOutput `pulumi:"functionName"`
	// The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
}

Manages a Stream Analytics Output Function.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplestorageaccount"),
			ResourceGroupName:      example.Name,
			Location:               example.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		examplePlan, err := appservice.NewPlan(ctx, "example", &appservice.PlanArgs{
			Name:              pulumi.String("exampleappserviceplan"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Kind:              pulumi.Any("FunctionApp"),
			Reserved:          pulumi.Bool(true),
			Sku: &appservice.PlanSkuArgs{
				Tier: pulumi.String("Dynamic"),
				Size: pulumi.String("Y1"),
			},
		})
		if err != nil {
			return err
		}
		exampleFunctionApp, err := appservice.NewFunctionApp(ctx, "example", &appservice.FunctionAppArgs{
			Name:                    pulumi.String("examplefunctionapp"),
			Location:                example.Location,
			ResourceGroupName:       example.Name,
			AppServicePlanId:        examplePlan.ID(),
			StorageAccountName:      exampleAccount.Name,
			StorageAccountAccessKey: exampleAccount.PrimaryAccessKey,
			OsType:                  pulumi.String("linux"),
			Version:                 pulumi.String("~3"),
		})
		if err != nil {
			return err
		}
		exampleJob, err := streamanalytics.NewJob(ctx, "example", &streamanalytics.JobArgs{
			Name:                pulumi.String("examplestreamanalyticsjob"),
			ResourceGroupName:   example.Name,
			Location:            example.Location,
			StreamingUnits:      pulumi.Int(3),
			TransformationQuery: pulumi.String("    SELECT *\n    INTO [YourOutputAlias]\n    FROM [YourInputAlias]\n"),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewOutputFunction(ctx, "example", &streamanalytics.OutputFunctionArgs{
			Name:                   pulumi.String("exampleoutput"),
			ResourceGroupName:      exampleJob.ResourceGroupName,
			StreamAnalyticsJobName: exampleJob.Name,
			FunctionApp:            exampleFunctionApp.Name,
			FunctionName:           pulumi.String("examplefunctionname"),
			ApiKey:                 pulumi.String("exampleapikey"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Output Functions can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/outputFunction:OutputFunction example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/outputs/output1 ```

func GetOutputFunction

func GetOutputFunction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OutputFunctionState, opts ...pulumi.ResourceOption) (*OutputFunction, error)

GetOutputFunction gets an existing OutputFunction 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 NewOutputFunction

func NewOutputFunction(ctx *pulumi.Context,
	name string, args *OutputFunctionArgs, opts ...pulumi.ResourceOption) (*OutputFunction, error)

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

func (*OutputFunction) ElementType

func (*OutputFunction) ElementType() reflect.Type

func (*OutputFunction) ToOutputFunctionOutput

func (i *OutputFunction) ToOutputFunctionOutput() OutputFunctionOutput

func (*OutputFunction) ToOutputFunctionOutputWithContext

func (i *OutputFunction) ToOutputFunctionOutputWithContext(ctx context.Context) OutputFunctionOutput

type OutputFunctionArgs

type OutputFunctionArgs struct {
	// The API key for the Function.
	ApiKey pulumi.StringInput
	// The maximum number of events in each batch that's sent to the function. Defaults to `100`.
	BatchMaxCount pulumi.IntPtrInput
	// The maximum batch size in bytes that's sent to the function. Defaults to `262144` (256 kB).
	BatchMaxInBytes pulumi.IntPtrInput
	// The name of the Function App.
	FunctionApp pulumi.StringInput
	// The name of the function in the Function App.
	FunctionName pulumi.StringInput
	// The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
}

The set of arguments for constructing a OutputFunction resource.

func (OutputFunctionArgs) ElementType

func (OutputFunctionArgs) ElementType() reflect.Type

type OutputFunctionArray

type OutputFunctionArray []OutputFunctionInput

func (OutputFunctionArray) ElementType

func (OutputFunctionArray) ElementType() reflect.Type

func (OutputFunctionArray) ToOutputFunctionArrayOutput

func (i OutputFunctionArray) ToOutputFunctionArrayOutput() OutputFunctionArrayOutput

func (OutputFunctionArray) ToOutputFunctionArrayOutputWithContext

func (i OutputFunctionArray) ToOutputFunctionArrayOutputWithContext(ctx context.Context) OutputFunctionArrayOutput

type OutputFunctionArrayInput

type OutputFunctionArrayInput interface {
	pulumi.Input

	ToOutputFunctionArrayOutput() OutputFunctionArrayOutput
	ToOutputFunctionArrayOutputWithContext(context.Context) OutputFunctionArrayOutput
}

OutputFunctionArrayInput is an input type that accepts OutputFunctionArray and OutputFunctionArrayOutput values. You can construct a concrete instance of `OutputFunctionArrayInput` via:

OutputFunctionArray{ OutputFunctionArgs{...} }

type OutputFunctionArrayOutput

type OutputFunctionArrayOutput struct{ *pulumi.OutputState }

func (OutputFunctionArrayOutput) ElementType

func (OutputFunctionArrayOutput) ElementType() reflect.Type

func (OutputFunctionArrayOutput) Index

func (OutputFunctionArrayOutput) ToOutputFunctionArrayOutput

func (o OutputFunctionArrayOutput) ToOutputFunctionArrayOutput() OutputFunctionArrayOutput

func (OutputFunctionArrayOutput) ToOutputFunctionArrayOutputWithContext

func (o OutputFunctionArrayOutput) ToOutputFunctionArrayOutputWithContext(ctx context.Context) OutputFunctionArrayOutput

type OutputFunctionInput

type OutputFunctionInput interface {
	pulumi.Input

	ToOutputFunctionOutput() OutputFunctionOutput
	ToOutputFunctionOutputWithContext(ctx context.Context) OutputFunctionOutput
}

type OutputFunctionMap

type OutputFunctionMap map[string]OutputFunctionInput

func (OutputFunctionMap) ElementType

func (OutputFunctionMap) ElementType() reflect.Type

func (OutputFunctionMap) ToOutputFunctionMapOutput

func (i OutputFunctionMap) ToOutputFunctionMapOutput() OutputFunctionMapOutput

func (OutputFunctionMap) ToOutputFunctionMapOutputWithContext

func (i OutputFunctionMap) ToOutputFunctionMapOutputWithContext(ctx context.Context) OutputFunctionMapOutput

type OutputFunctionMapInput

type OutputFunctionMapInput interface {
	pulumi.Input

	ToOutputFunctionMapOutput() OutputFunctionMapOutput
	ToOutputFunctionMapOutputWithContext(context.Context) OutputFunctionMapOutput
}

OutputFunctionMapInput is an input type that accepts OutputFunctionMap and OutputFunctionMapOutput values. You can construct a concrete instance of `OutputFunctionMapInput` via:

OutputFunctionMap{ "key": OutputFunctionArgs{...} }

type OutputFunctionMapOutput

type OutputFunctionMapOutput struct{ *pulumi.OutputState }

func (OutputFunctionMapOutput) ElementType

func (OutputFunctionMapOutput) ElementType() reflect.Type

func (OutputFunctionMapOutput) MapIndex

func (OutputFunctionMapOutput) ToOutputFunctionMapOutput

func (o OutputFunctionMapOutput) ToOutputFunctionMapOutput() OutputFunctionMapOutput

func (OutputFunctionMapOutput) ToOutputFunctionMapOutputWithContext

func (o OutputFunctionMapOutput) ToOutputFunctionMapOutputWithContext(ctx context.Context) OutputFunctionMapOutput

type OutputFunctionOutput

type OutputFunctionOutput struct{ *pulumi.OutputState }

func (OutputFunctionOutput) ApiKey added in v5.5.0

The API key for the Function.

func (OutputFunctionOutput) BatchMaxCount added in v5.5.0

func (o OutputFunctionOutput) BatchMaxCount() pulumi.IntPtrOutput

The maximum number of events in each batch that's sent to the function. Defaults to `100`.

func (OutputFunctionOutput) BatchMaxInBytes added in v5.5.0

func (o OutputFunctionOutput) BatchMaxInBytes() pulumi.IntPtrOutput

The maximum batch size in bytes that's sent to the function. Defaults to `262144` (256 kB).

func (OutputFunctionOutput) ElementType

func (OutputFunctionOutput) ElementType() reflect.Type

func (OutputFunctionOutput) FunctionApp added in v5.5.0

func (o OutputFunctionOutput) FunctionApp() pulumi.StringOutput

The name of the Function App.

func (OutputFunctionOutput) FunctionName added in v5.5.0

func (o OutputFunctionOutput) FunctionName() pulumi.StringOutput

The name of the function in the Function App.

func (OutputFunctionOutput) Name added in v5.5.0

The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.

func (OutputFunctionOutput) ResourceGroupName added in v5.5.0

func (o OutputFunctionOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.

func (OutputFunctionOutput) StreamAnalyticsJobName added in v5.5.0

func (o OutputFunctionOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (OutputFunctionOutput) ToOutputFunctionOutput

func (o OutputFunctionOutput) ToOutputFunctionOutput() OutputFunctionOutput

func (OutputFunctionOutput) ToOutputFunctionOutputWithContext

func (o OutputFunctionOutput) ToOutputFunctionOutputWithContext(ctx context.Context) OutputFunctionOutput

type OutputFunctionState

type OutputFunctionState struct {
	// The API key for the Function.
	ApiKey pulumi.StringPtrInput
	// The maximum number of events in each batch that's sent to the function. Defaults to `100`.
	BatchMaxCount pulumi.IntPtrInput
	// The maximum batch size in bytes that's sent to the function. Defaults to `262144` (256 kB).
	BatchMaxInBytes pulumi.IntPtrInput
	// The name of the Function App.
	FunctionApp pulumi.StringPtrInput
	// The name of the function in the Function App.
	FunctionName pulumi.StringPtrInput
	// The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
}

func (OutputFunctionState) ElementType

func (OutputFunctionState) ElementType() reflect.Type

type OutputMssql

type OutputMssql struct {
	pulumi.CustomResourceState

	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrOutput `pulumi:"authenticationMode"`
	// The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
	Database pulumi.StringOutput `pulumi:"database"`
	// The max batch count to write to the SQL Database. Defaults to `10000`. Possible values are between `1` and `1073741824`.
	MaxBatchCount pulumi.Float64PtrOutput `pulumi:"maxBatchCount"`
	// The max writer count for the SQL Database. Defaults to `1`. Possible values are `0` which bases the writer count on the query partition and `1` which corresponds to a single writer.
	MaxWriterCount pulumi.Float64PtrOutput `pulumi:"maxWriterCount"`
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Password used together with username, to login to the Microsoft SQL Server. Required if `authenticationMode` is `ConnectionString`.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The SQL server url. Changing this forces a new resource to be created.
	Server pulumi.StringOutput `pulumi:"server"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
	// Table in the database that the output points to. Changing this forces a new resource to be created.
	Table pulumi.StringOutput `pulumi:"table"`
	// Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if `authenticationMode` is `ConnectionString`.
	User pulumi.StringPtrOutput `pulumi:"user"`
}

Manages a Stream Analytics Output to Microsoft SQL Server Database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/sql"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("rg-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleSqlServer, err := sql.NewSqlServer(ctx, "example", &sql.SqlServerArgs{
			Name:                       pulumi.String("example-server"),
			ResourceGroupName:          exampleResourceGroup.Name,
			Location:                   exampleResourceGroup.Location,
			Version:                    pulumi.String("12.0"),
			AdministratorLogin:         pulumi.String("dbadmin"),
			AdministratorLoginPassword: pulumi.String("example-password"),
		})
		if err != nil {
			return err
		}
		exampleDatabase, err := sql.NewDatabase(ctx, "example", &sql.DatabaseArgs{
			Name:                          pulumi.String("exampledb"),
			ResourceGroupName:             exampleResourceGroup.Name,
			Location:                      exampleResourceGroup.Location,
			ServerName:                    exampleSqlServer.Name,
			RequestedServiceObjectiveName: pulumi.String("S0"),
			Collation:                     pulumi.String("SQL_LATIN1_GENERAL_CP1_CI_AS"),
			MaxSizeBytes:                  pulumi.String("268435456000"),
			CreateMode:                    pulumi.String("Default"),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewOutputMssql(ctx, "example", &streamanalytics.OutputMssqlArgs{
			Name: pulumi.String("example-output-sql"),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			Server:   exampleSqlServer.FullyQualifiedDomainName,
			User:     exampleSqlServer.AdministratorLogin,
			Password: exampleSqlServer.AdministratorLoginPassword,
			Database: exampleDatabase.Name,
			Table:    pulumi.String("ExampleTable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Outputs to Microsoft SQL Server Database can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/outputMssql:OutputMssql example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/outputs/output1 ```

func GetOutputMssql

func GetOutputMssql(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OutputMssqlState, opts ...pulumi.ResourceOption) (*OutputMssql, error)

GetOutputMssql gets an existing OutputMssql 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 NewOutputMssql

func NewOutputMssql(ctx *pulumi.Context,
	name string, args *OutputMssqlArgs, opts ...pulumi.ResourceOption) (*OutputMssql, error)

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

func (*OutputMssql) ElementType

func (*OutputMssql) ElementType() reflect.Type

func (*OutputMssql) ToOutputMssqlOutput

func (i *OutputMssql) ToOutputMssqlOutput() OutputMssqlOutput

func (*OutputMssql) ToOutputMssqlOutputWithContext

func (i *OutputMssql) ToOutputMssqlOutputWithContext(ctx context.Context) OutputMssqlOutput

type OutputMssqlArgs

type OutputMssqlArgs struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
	Database pulumi.StringInput
	// The max batch count to write to the SQL Database. Defaults to `10000`. Possible values are between `1` and `1073741824`.
	MaxBatchCount pulumi.Float64PtrInput
	// The max writer count for the SQL Database. Defaults to `1`. Possible values are `0` which bases the writer count on the query partition and `1` which corresponds to a single writer.
	MaxWriterCount pulumi.Float64PtrInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Password used together with username, to login to the Microsoft SQL Server. Required if `authenticationMode` is `ConnectionString`.
	Password pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The SQL server url. Changing this forces a new resource to be created.
	Server pulumi.StringInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
	// Table in the database that the output points to. Changing this forces a new resource to be created.
	Table pulumi.StringInput
	// Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if `authenticationMode` is `ConnectionString`.
	User pulumi.StringPtrInput
}

The set of arguments for constructing a OutputMssql resource.

func (OutputMssqlArgs) ElementType

func (OutputMssqlArgs) ElementType() reflect.Type

type OutputMssqlArray

type OutputMssqlArray []OutputMssqlInput

func (OutputMssqlArray) ElementType

func (OutputMssqlArray) ElementType() reflect.Type

func (OutputMssqlArray) ToOutputMssqlArrayOutput

func (i OutputMssqlArray) ToOutputMssqlArrayOutput() OutputMssqlArrayOutput

func (OutputMssqlArray) ToOutputMssqlArrayOutputWithContext

func (i OutputMssqlArray) ToOutputMssqlArrayOutputWithContext(ctx context.Context) OutputMssqlArrayOutput

type OutputMssqlArrayInput

type OutputMssqlArrayInput interface {
	pulumi.Input

	ToOutputMssqlArrayOutput() OutputMssqlArrayOutput
	ToOutputMssqlArrayOutputWithContext(context.Context) OutputMssqlArrayOutput
}

OutputMssqlArrayInput is an input type that accepts OutputMssqlArray and OutputMssqlArrayOutput values. You can construct a concrete instance of `OutputMssqlArrayInput` via:

OutputMssqlArray{ OutputMssqlArgs{...} }

type OutputMssqlArrayOutput

type OutputMssqlArrayOutput struct{ *pulumi.OutputState }

func (OutputMssqlArrayOutput) ElementType

func (OutputMssqlArrayOutput) ElementType() reflect.Type

func (OutputMssqlArrayOutput) Index

func (OutputMssqlArrayOutput) ToOutputMssqlArrayOutput

func (o OutputMssqlArrayOutput) ToOutputMssqlArrayOutput() OutputMssqlArrayOutput

func (OutputMssqlArrayOutput) ToOutputMssqlArrayOutputWithContext

func (o OutputMssqlArrayOutput) ToOutputMssqlArrayOutputWithContext(ctx context.Context) OutputMssqlArrayOutput

type OutputMssqlInput

type OutputMssqlInput interface {
	pulumi.Input

	ToOutputMssqlOutput() OutputMssqlOutput
	ToOutputMssqlOutputWithContext(ctx context.Context) OutputMssqlOutput
}

type OutputMssqlMap

type OutputMssqlMap map[string]OutputMssqlInput

func (OutputMssqlMap) ElementType

func (OutputMssqlMap) ElementType() reflect.Type

func (OutputMssqlMap) ToOutputMssqlMapOutput

func (i OutputMssqlMap) ToOutputMssqlMapOutput() OutputMssqlMapOutput

func (OutputMssqlMap) ToOutputMssqlMapOutputWithContext

func (i OutputMssqlMap) ToOutputMssqlMapOutputWithContext(ctx context.Context) OutputMssqlMapOutput

type OutputMssqlMapInput

type OutputMssqlMapInput interface {
	pulumi.Input

	ToOutputMssqlMapOutput() OutputMssqlMapOutput
	ToOutputMssqlMapOutputWithContext(context.Context) OutputMssqlMapOutput
}

OutputMssqlMapInput is an input type that accepts OutputMssqlMap and OutputMssqlMapOutput values. You can construct a concrete instance of `OutputMssqlMapInput` via:

OutputMssqlMap{ "key": OutputMssqlArgs{...} }

type OutputMssqlMapOutput

type OutputMssqlMapOutput struct{ *pulumi.OutputState }

func (OutputMssqlMapOutput) ElementType

func (OutputMssqlMapOutput) ElementType() reflect.Type

func (OutputMssqlMapOutput) MapIndex

func (OutputMssqlMapOutput) ToOutputMssqlMapOutput

func (o OutputMssqlMapOutput) ToOutputMssqlMapOutput() OutputMssqlMapOutput

func (OutputMssqlMapOutput) ToOutputMssqlMapOutputWithContext

func (o OutputMssqlMapOutput) ToOutputMssqlMapOutputWithContext(ctx context.Context) OutputMssqlMapOutput

type OutputMssqlOutput

type OutputMssqlOutput struct{ *pulumi.OutputState }

func (OutputMssqlOutput) AuthenticationMode added in v5.18.0

func (o OutputMssqlOutput) AuthenticationMode() pulumi.StringPtrOutput

The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.

func (OutputMssqlOutput) Database added in v5.5.0

func (o OutputMssqlOutput) Database() pulumi.StringOutput

The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.

func (OutputMssqlOutput) ElementType

func (OutputMssqlOutput) ElementType() reflect.Type

func (OutputMssqlOutput) MaxBatchCount added in v5.5.0

func (o OutputMssqlOutput) MaxBatchCount() pulumi.Float64PtrOutput

The max batch count to write to the SQL Database. Defaults to `10000`. Possible values are between `1` and `1073741824`.

func (OutputMssqlOutput) MaxWriterCount added in v5.5.0

func (o OutputMssqlOutput) MaxWriterCount() pulumi.Float64PtrOutput

The max writer count for the SQL Database. Defaults to `1`. Possible values are `0` which bases the writer count on the query partition and `1` which corresponds to a single writer.

func (OutputMssqlOutput) Name added in v5.5.0

The name of the Stream Output. Changing this forces a new resource to be created.

func (OutputMssqlOutput) Password added in v5.5.0

Password used together with username, to login to the Microsoft SQL Server. Required if `authenticationMode` is `ConnectionString`.

func (OutputMssqlOutput) ResourceGroupName added in v5.5.0

func (o OutputMssqlOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (OutputMssqlOutput) Server added in v5.5.0

The SQL server url. Changing this forces a new resource to be created.

func (OutputMssqlOutput) StreamAnalyticsJobName added in v5.5.0

func (o OutputMssqlOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (OutputMssqlOutput) Table added in v5.5.0

Table in the database that the output points to. Changing this forces a new resource to be created.

func (OutputMssqlOutput) ToOutputMssqlOutput

func (o OutputMssqlOutput) ToOutputMssqlOutput() OutputMssqlOutput

func (OutputMssqlOutput) ToOutputMssqlOutputWithContext

func (o OutputMssqlOutput) ToOutputMssqlOutputWithContext(ctx context.Context) OutputMssqlOutput

func (OutputMssqlOutput) User added in v5.5.0

Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if `authenticationMode` is `ConnectionString`.

type OutputMssqlState

type OutputMssqlState struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
	Database pulumi.StringPtrInput
	// The max batch count to write to the SQL Database. Defaults to `10000`. Possible values are between `1` and `1073741824`.
	MaxBatchCount pulumi.Float64PtrInput
	// The max writer count for the SQL Database. Defaults to `1`. Possible values are `0` which bases the writer count on the query partition and `1` which corresponds to a single writer.
	MaxWriterCount pulumi.Float64PtrInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Password used together with username, to login to the Microsoft SQL Server. Required if `authenticationMode` is `ConnectionString`.
	Password pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The SQL server url. Changing this forces a new resource to be created.
	Server pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
	// Table in the database that the output points to. Changing this forces a new resource to be created.
	Table pulumi.StringPtrInput
	// Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if `authenticationMode` is `ConnectionString`.
	User pulumi.StringPtrInput
}

func (OutputMssqlState) ElementType

func (OutputMssqlState) ElementType() reflect.Type

type OutputPowerbi added in v5.6.0

type OutputPowerbi struct {
	pulumi.CustomResourceState

	// The name of the Power BI dataset.
	Dataset pulumi.StringOutput `pulumi:"dataset"`
	// The ID of the Power BI group, this must be a valid UUID.
	GroupId pulumi.StringOutput `pulumi:"groupId"`
	// The name of the Power BI group. Use this property to help remember which specific Power BI group id was used.
	GroupName pulumi.StringOutput `pulumi:"groupName"`
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringOutput `pulumi:"streamAnalyticsJobId"`
	// The name of the Power BI table under the specified dataset.
	Table pulumi.StringOutput `pulumi:"table"`
	// The user display name of the user that was used to obtain the refresh token.
	TokenUserDisplayName pulumi.StringPtrOutput `pulumi:"tokenUserDisplayName"`
	// The user principal name (UPN) of the user that was used to obtain the refresh token.
	TokenUserPrincipalName pulumi.StringPtrOutput `pulumi:"tokenUserPrincipalName"`
}

Manages a Stream Analytics Output powerBI.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{
			Name: "example-resources",
		}, nil)
		if err != nil {
			return err
		}
		exampleGetJob, err := streamanalytics.LookupJob(ctx, &streamanalytics.LookupJobArgs{
			Name:              "example-job",
			ResourceGroupName: example.Name,
		}, nil)
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewOutputPowerbi(ctx, "example", &streamanalytics.OutputPowerbiArgs{
			Name:                 pulumi.String("output-to-powerbi"),
			StreamAnalyticsJobId: pulumi.String(exampleGetJob.Id),
			Dataset:              pulumi.String("example-dataset"),
			Table:                pulumi.String("example-table"),
			GroupId:              pulumi.String("00000000-0000-0000-0000-000000000000"),
			GroupName:            pulumi.String("some-group-name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Output to Power BI can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/outputPowerbi:OutputPowerbi example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/outputs/output1 ```

func GetOutputPowerbi added in v5.6.0

func GetOutputPowerbi(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OutputPowerbiState, opts ...pulumi.ResourceOption) (*OutputPowerbi, error)

GetOutputPowerbi gets an existing OutputPowerbi 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 NewOutputPowerbi added in v5.6.0

func NewOutputPowerbi(ctx *pulumi.Context,
	name string, args *OutputPowerbiArgs, opts ...pulumi.ResourceOption) (*OutputPowerbi, error)

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

func (*OutputPowerbi) ElementType added in v5.6.0

func (*OutputPowerbi) ElementType() reflect.Type

func (*OutputPowerbi) ToOutputPowerbiOutput added in v5.6.0

func (i *OutputPowerbi) ToOutputPowerbiOutput() OutputPowerbiOutput

func (*OutputPowerbi) ToOutputPowerbiOutputWithContext added in v5.6.0

func (i *OutputPowerbi) ToOutputPowerbiOutputWithContext(ctx context.Context) OutputPowerbiOutput

type OutputPowerbiArgs added in v5.6.0

type OutputPowerbiArgs struct {
	// The name of the Power BI dataset.
	Dataset pulumi.StringInput
	// The ID of the Power BI group, this must be a valid UUID.
	GroupId pulumi.StringInput
	// The name of the Power BI group. Use this property to help remember which specific Power BI group id was used.
	GroupName pulumi.StringInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The ID of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringInput
	// The name of the Power BI table under the specified dataset.
	Table pulumi.StringInput
	// The user display name of the user that was used to obtain the refresh token.
	TokenUserDisplayName pulumi.StringPtrInput
	// The user principal name (UPN) of the user that was used to obtain the refresh token.
	TokenUserPrincipalName pulumi.StringPtrInput
}

The set of arguments for constructing a OutputPowerbi resource.

func (OutputPowerbiArgs) ElementType added in v5.6.0

func (OutputPowerbiArgs) ElementType() reflect.Type

type OutputPowerbiArray added in v5.6.0

type OutputPowerbiArray []OutputPowerbiInput

func (OutputPowerbiArray) ElementType added in v5.6.0

func (OutputPowerbiArray) ElementType() reflect.Type

func (OutputPowerbiArray) ToOutputPowerbiArrayOutput added in v5.6.0

func (i OutputPowerbiArray) ToOutputPowerbiArrayOutput() OutputPowerbiArrayOutput

func (OutputPowerbiArray) ToOutputPowerbiArrayOutputWithContext added in v5.6.0

func (i OutputPowerbiArray) ToOutputPowerbiArrayOutputWithContext(ctx context.Context) OutputPowerbiArrayOutput

type OutputPowerbiArrayInput added in v5.6.0

type OutputPowerbiArrayInput interface {
	pulumi.Input

	ToOutputPowerbiArrayOutput() OutputPowerbiArrayOutput
	ToOutputPowerbiArrayOutputWithContext(context.Context) OutputPowerbiArrayOutput
}

OutputPowerbiArrayInput is an input type that accepts OutputPowerbiArray and OutputPowerbiArrayOutput values. You can construct a concrete instance of `OutputPowerbiArrayInput` via:

OutputPowerbiArray{ OutputPowerbiArgs{...} }

type OutputPowerbiArrayOutput added in v5.6.0

type OutputPowerbiArrayOutput struct{ *pulumi.OutputState }

func (OutputPowerbiArrayOutput) ElementType added in v5.6.0

func (OutputPowerbiArrayOutput) ElementType() reflect.Type

func (OutputPowerbiArrayOutput) Index added in v5.6.0

func (OutputPowerbiArrayOutput) ToOutputPowerbiArrayOutput added in v5.6.0

func (o OutputPowerbiArrayOutput) ToOutputPowerbiArrayOutput() OutputPowerbiArrayOutput

func (OutputPowerbiArrayOutput) ToOutputPowerbiArrayOutputWithContext added in v5.6.0

func (o OutputPowerbiArrayOutput) ToOutputPowerbiArrayOutputWithContext(ctx context.Context) OutputPowerbiArrayOutput

type OutputPowerbiInput added in v5.6.0

type OutputPowerbiInput interface {
	pulumi.Input

	ToOutputPowerbiOutput() OutputPowerbiOutput
	ToOutputPowerbiOutputWithContext(ctx context.Context) OutputPowerbiOutput
}

type OutputPowerbiMap added in v5.6.0

type OutputPowerbiMap map[string]OutputPowerbiInput

func (OutputPowerbiMap) ElementType added in v5.6.0

func (OutputPowerbiMap) ElementType() reflect.Type

func (OutputPowerbiMap) ToOutputPowerbiMapOutput added in v5.6.0

func (i OutputPowerbiMap) ToOutputPowerbiMapOutput() OutputPowerbiMapOutput

func (OutputPowerbiMap) ToOutputPowerbiMapOutputWithContext added in v5.6.0

func (i OutputPowerbiMap) ToOutputPowerbiMapOutputWithContext(ctx context.Context) OutputPowerbiMapOutput

type OutputPowerbiMapInput added in v5.6.0

type OutputPowerbiMapInput interface {
	pulumi.Input

	ToOutputPowerbiMapOutput() OutputPowerbiMapOutput
	ToOutputPowerbiMapOutputWithContext(context.Context) OutputPowerbiMapOutput
}

OutputPowerbiMapInput is an input type that accepts OutputPowerbiMap and OutputPowerbiMapOutput values. You can construct a concrete instance of `OutputPowerbiMapInput` via:

OutputPowerbiMap{ "key": OutputPowerbiArgs{...} }

type OutputPowerbiMapOutput added in v5.6.0

type OutputPowerbiMapOutput struct{ *pulumi.OutputState }

func (OutputPowerbiMapOutput) ElementType added in v5.6.0

func (OutputPowerbiMapOutput) ElementType() reflect.Type

func (OutputPowerbiMapOutput) MapIndex added in v5.6.0

func (OutputPowerbiMapOutput) ToOutputPowerbiMapOutput added in v5.6.0

func (o OutputPowerbiMapOutput) ToOutputPowerbiMapOutput() OutputPowerbiMapOutput

func (OutputPowerbiMapOutput) ToOutputPowerbiMapOutputWithContext added in v5.6.0

func (o OutputPowerbiMapOutput) ToOutputPowerbiMapOutputWithContext(ctx context.Context) OutputPowerbiMapOutput

type OutputPowerbiOutput added in v5.6.0

type OutputPowerbiOutput struct{ *pulumi.OutputState }

func (OutputPowerbiOutput) Dataset added in v5.6.0

The name of the Power BI dataset.

func (OutputPowerbiOutput) ElementType added in v5.6.0

func (OutputPowerbiOutput) ElementType() reflect.Type

func (OutputPowerbiOutput) GroupId added in v5.6.0

The ID of the Power BI group, this must be a valid UUID.

func (OutputPowerbiOutput) GroupName added in v5.6.0

func (o OutputPowerbiOutput) GroupName() pulumi.StringOutput

The name of the Power BI group. Use this property to help remember which specific Power BI group id was used.

func (OutputPowerbiOutput) Name added in v5.6.0

The name of the Stream Output. Changing this forces a new resource to be created.

func (OutputPowerbiOutput) StreamAnalyticsJobId added in v5.6.0

func (o OutputPowerbiOutput) StreamAnalyticsJobId() pulumi.StringOutput

The ID of the Stream Analytics Job. Changing this forces a new resource to be created.

func (OutputPowerbiOutput) Table added in v5.6.0

The name of the Power BI table under the specified dataset.

func (OutputPowerbiOutput) ToOutputPowerbiOutput added in v5.6.0

func (o OutputPowerbiOutput) ToOutputPowerbiOutput() OutputPowerbiOutput

func (OutputPowerbiOutput) ToOutputPowerbiOutputWithContext added in v5.6.0

func (o OutputPowerbiOutput) ToOutputPowerbiOutputWithContext(ctx context.Context) OutputPowerbiOutput

func (OutputPowerbiOutput) TokenUserDisplayName added in v5.18.0

func (o OutputPowerbiOutput) TokenUserDisplayName() pulumi.StringPtrOutput

The user display name of the user that was used to obtain the refresh token.

func (OutputPowerbiOutput) TokenUserPrincipalName added in v5.18.0

func (o OutputPowerbiOutput) TokenUserPrincipalName() pulumi.StringPtrOutput

The user principal name (UPN) of the user that was used to obtain the refresh token.

type OutputPowerbiState added in v5.6.0

type OutputPowerbiState struct {
	// The name of the Power BI dataset.
	Dataset pulumi.StringPtrInput
	// The ID of the Power BI group, this must be a valid UUID.
	GroupId pulumi.StringPtrInput
	// The name of the Power BI group. Use this property to help remember which specific Power BI group id was used.
	GroupName pulumi.StringPtrInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The ID of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringPtrInput
	// The name of the Power BI table under the specified dataset.
	Table pulumi.StringPtrInput
	// The user display name of the user that was used to obtain the refresh token.
	TokenUserDisplayName pulumi.StringPtrInput
	// The user principal name (UPN) of the user that was used to obtain the refresh token.
	TokenUserPrincipalName pulumi.StringPtrInput
}

func (OutputPowerbiState) ElementType added in v5.6.0

func (OutputPowerbiState) ElementType() reflect.Type

type OutputServiceBusQueue

type OutputServiceBusQueue struct {
	pulumi.CustomResourceState

	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrOutput `pulumi:"authenticationMode"`
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of property columns to add to the Service Bus Queue output.
	PropertyColumns pulumi.StringArrayOutput `pulumi:"propertyColumns"`
	// The name of the Service Bus Queue.
	QueueName pulumi.StringOutput `pulumi:"queueName"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `serialization` block as defined below.
	Serialization OutputServiceBusQueueSerializationOutput `pulumi:"serialization"`
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringOutput `pulumi:"servicebusNamespace"`
	// The shared access policy key for the specified shared access policy. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyKey pulumi.StringPtrOutput `pulumi:"sharedAccessPolicyKey"`
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyName pulumi.StringPtrOutput `pulumi:"sharedAccessPolicyName"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
	// A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Queue Output.
	//
	// > **NOTE:** The acceptable keys are `ContentType`, `CorrelationId`, `Label`, `MessageId`, `PartitionKey`, `ReplyTo`, `ReplyToSessionId`, `ScheduledEnqueueTimeUtc`, `SessionId`, `TimeToLive` and `To`.
	SystemPropertyColumns pulumi.StringMapOutput `pulumi:"systemPropertyColumns"`
}

Manages a Stream Analytics Output to a ServiceBus Queue.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/servicebus"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("rg-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleNamespace, err := servicebus.NewNamespace(ctx, "example", &servicebus.NamespaceArgs{
			Name:              pulumi.String("example-namespace"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("Standard"),
		})
		if err != nil {
			return err
		}
		exampleQueue, err := servicebus.NewQueue(ctx, "example", &servicebus.QueueArgs{
			Name:               pulumi.String("example-queue"),
			NamespaceId:        exampleNamespace.ID(),
			EnablePartitioning: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewOutputServiceBusQueue(ctx, "example", &streamanalytics.OutputServiceBusQueueArgs{
			Name: pulumi.String("blob-storage-output"),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			QueueName:              exampleQueue.Name,
			ServicebusNamespace:    exampleNamespace.Name,
			SharedAccessPolicyKey:  exampleNamespace.DefaultPrimaryKey,
			SharedAccessPolicyName: pulumi.String("RootManageSharedAccessKey"),
			Serialization: &streamanalytics.OutputServiceBusQueueSerializationArgs{
				Type:   pulumi.String("Csv"),
				Format: pulumi.String("Array"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Output ServiceBus Queue's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/outputServiceBusQueue:OutputServiceBusQueue example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/outputs/output1 ```

func GetOutputServiceBusQueue

func GetOutputServiceBusQueue(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OutputServiceBusQueueState, opts ...pulumi.ResourceOption) (*OutputServiceBusQueue, error)

GetOutputServiceBusQueue gets an existing OutputServiceBusQueue 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 NewOutputServiceBusQueue

func NewOutputServiceBusQueue(ctx *pulumi.Context,
	name string, args *OutputServiceBusQueueArgs, opts ...pulumi.ResourceOption) (*OutputServiceBusQueue, error)

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

func (*OutputServiceBusQueue) ElementType

func (*OutputServiceBusQueue) ElementType() reflect.Type

func (*OutputServiceBusQueue) ToOutputServiceBusQueueOutput

func (i *OutputServiceBusQueue) ToOutputServiceBusQueueOutput() OutputServiceBusQueueOutput

func (*OutputServiceBusQueue) ToOutputServiceBusQueueOutputWithContext

func (i *OutputServiceBusQueue) ToOutputServiceBusQueueOutputWithContext(ctx context.Context) OutputServiceBusQueueOutput

type OutputServiceBusQueueArgs

type OutputServiceBusQueueArgs struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A list of property columns to add to the Service Bus Queue output.
	PropertyColumns pulumi.StringArrayInput
	// The name of the Service Bus Queue.
	QueueName pulumi.StringInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `serialization` block as defined below.
	Serialization OutputServiceBusQueueSerializationInput
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringInput
	// The shared access policy key for the specified shared access policy. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyKey pulumi.StringPtrInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
	// A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Queue Output.
	//
	// > **NOTE:** The acceptable keys are `ContentType`, `CorrelationId`, `Label`, `MessageId`, `PartitionKey`, `ReplyTo`, `ReplyToSessionId`, `ScheduledEnqueueTimeUtc`, `SessionId`, `TimeToLive` and `To`.
	SystemPropertyColumns pulumi.StringMapInput
}

The set of arguments for constructing a OutputServiceBusQueue resource.

func (OutputServiceBusQueueArgs) ElementType

func (OutputServiceBusQueueArgs) ElementType() reflect.Type

type OutputServiceBusQueueArray

type OutputServiceBusQueueArray []OutputServiceBusQueueInput

func (OutputServiceBusQueueArray) ElementType

func (OutputServiceBusQueueArray) ElementType() reflect.Type

func (OutputServiceBusQueueArray) ToOutputServiceBusQueueArrayOutput

func (i OutputServiceBusQueueArray) ToOutputServiceBusQueueArrayOutput() OutputServiceBusQueueArrayOutput

func (OutputServiceBusQueueArray) ToOutputServiceBusQueueArrayOutputWithContext

func (i OutputServiceBusQueueArray) ToOutputServiceBusQueueArrayOutputWithContext(ctx context.Context) OutputServiceBusQueueArrayOutput

type OutputServiceBusQueueArrayInput

type OutputServiceBusQueueArrayInput interface {
	pulumi.Input

	ToOutputServiceBusQueueArrayOutput() OutputServiceBusQueueArrayOutput
	ToOutputServiceBusQueueArrayOutputWithContext(context.Context) OutputServiceBusQueueArrayOutput
}

OutputServiceBusQueueArrayInput is an input type that accepts OutputServiceBusQueueArray and OutputServiceBusQueueArrayOutput values. You can construct a concrete instance of `OutputServiceBusQueueArrayInput` via:

OutputServiceBusQueueArray{ OutputServiceBusQueueArgs{...} }

type OutputServiceBusQueueArrayOutput

type OutputServiceBusQueueArrayOutput struct{ *pulumi.OutputState }

func (OutputServiceBusQueueArrayOutput) ElementType

func (OutputServiceBusQueueArrayOutput) Index

func (OutputServiceBusQueueArrayOutput) ToOutputServiceBusQueueArrayOutput

func (o OutputServiceBusQueueArrayOutput) ToOutputServiceBusQueueArrayOutput() OutputServiceBusQueueArrayOutput

func (OutputServiceBusQueueArrayOutput) ToOutputServiceBusQueueArrayOutputWithContext

func (o OutputServiceBusQueueArrayOutput) ToOutputServiceBusQueueArrayOutputWithContext(ctx context.Context) OutputServiceBusQueueArrayOutput

type OutputServiceBusQueueInput

type OutputServiceBusQueueInput interface {
	pulumi.Input

	ToOutputServiceBusQueueOutput() OutputServiceBusQueueOutput
	ToOutputServiceBusQueueOutputWithContext(ctx context.Context) OutputServiceBusQueueOutput
}

type OutputServiceBusQueueMap

type OutputServiceBusQueueMap map[string]OutputServiceBusQueueInput

func (OutputServiceBusQueueMap) ElementType

func (OutputServiceBusQueueMap) ElementType() reflect.Type

func (OutputServiceBusQueueMap) ToOutputServiceBusQueueMapOutput

func (i OutputServiceBusQueueMap) ToOutputServiceBusQueueMapOutput() OutputServiceBusQueueMapOutput

func (OutputServiceBusQueueMap) ToOutputServiceBusQueueMapOutputWithContext

func (i OutputServiceBusQueueMap) ToOutputServiceBusQueueMapOutputWithContext(ctx context.Context) OutputServiceBusQueueMapOutput

type OutputServiceBusQueueMapInput

type OutputServiceBusQueueMapInput interface {
	pulumi.Input

	ToOutputServiceBusQueueMapOutput() OutputServiceBusQueueMapOutput
	ToOutputServiceBusQueueMapOutputWithContext(context.Context) OutputServiceBusQueueMapOutput
}

OutputServiceBusQueueMapInput is an input type that accepts OutputServiceBusQueueMap and OutputServiceBusQueueMapOutput values. You can construct a concrete instance of `OutputServiceBusQueueMapInput` via:

OutputServiceBusQueueMap{ "key": OutputServiceBusQueueArgs{...} }

type OutputServiceBusQueueMapOutput

type OutputServiceBusQueueMapOutput struct{ *pulumi.OutputState }

func (OutputServiceBusQueueMapOutput) ElementType

func (OutputServiceBusQueueMapOutput) MapIndex

func (OutputServiceBusQueueMapOutput) ToOutputServiceBusQueueMapOutput

func (o OutputServiceBusQueueMapOutput) ToOutputServiceBusQueueMapOutput() OutputServiceBusQueueMapOutput

func (OutputServiceBusQueueMapOutput) ToOutputServiceBusQueueMapOutputWithContext

func (o OutputServiceBusQueueMapOutput) ToOutputServiceBusQueueMapOutputWithContext(ctx context.Context) OutputServiceBusQueueMapOutput

type OutputServiceBusQueueOutput

type OutputServiceBusQueueOutput struct{ *pulumi.OutputState }

func (OutputServiceBusQueueOutput) AuthenticationMode added in v5.22.0

func (o OutputServiceBusQueueOutput) AuthenticationMode() pulumi.StringPtrOutput

The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.

func (OutputServiceBusQueueOutput) ElementType

func (OutputServiceBusQueueOutput) Name added in v5.5.0

The name of the Stream Output. Changing this forces a new resource to be created.

func (OutputServiceBusQueueOutput) PropertyColumns added in v5.6.0

A list of property columns to add to the Service Bus Queue output.

func (OutputServiceBusQueueOutput) QueueName added in v5.5.0

The name of the Service Bus Queue.

func (OutputServiceBusQueueOutput) ResourceGroupName added in v5.5.0

func (o OutputServiceBusQueueOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (OutputServiceBusQueueOutput) Serialization added in v5.5.0

A `serialization` block as defined below.

func (OutputServiceBusQueueOutput) ServicebusNamespace added in v5.5.0

func (o OutputServiceBusQueueOutput) ServicebusNamespace() pulumi.StringOutput

The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.

func (OutputServiceBusQueueOutput) SharedAccessPolicyKey added in v5.5.0

func (o OutputServiceBusQueueOutput) SharedAccessPolicyKey() pulumi.StringPtrOutput

The shared access policy key for the specified shared access policy. Required if `authenticationMode` is `ConnectionString`.

func (OutputServiceBusQueueOutput) SharedAccessPolicyName added in v5.5.0

func (o OutputServiceBusQueueOutput) SharedAccessPolicyName() pulumi.StringPtrOutput

The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if `authenticationMode` is `ConnectionString`.

func (OutputServiceBusQueueOutput) StreamAnalyticsJobName added in v5.5.0

func (o OutputServiceBusQueueOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (OutputServiceBusQueueOutput) SystemPropertyColumns added in v5.6.0

func (o OutputServiceBusQueueOutput) SystemPropertyColumns() pulumi.StringMapOutput

A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Queue Output.

> **NOTE:** The acceptable keys are `ContentType`, `CorrelationId`, `Label`, `MessageId`, `PartitionKey`, `ReplyTo`, `ReplyToSessionId`, `ScheduledEnqueueTimeUtc`, `SessionId`, `TimeToLive` and `To`.

func (OutputServiceBusQueueOutput) ToOutputServiceBusQueueOutput

func (o OutputServiceBusQueueOutput) ToOutputServiceBusQueueOutput() OutputServiceBusQueueOutput

func (OutputServiceBusQueueOutput) ToOutputServiceBusQueueOutputWithContext

func (o OutputServiceBusQueueOutput) ToOutputServiceBusQueueOutputWithContext(ctx context.Context) OutputServiceBusQueueOutput

type OutputServiceBusQueueSerialization

type OutputServiceBusQueueSerialization struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding *string `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
	//
	// > **NOTE:** This is Required and can only be specified when `type` is set to `Json`.
	Format *string `pulumi:"format"`
	// The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.
	Type string `pulumi:"type"`
}

type OutputServiceBusQueueSerializationArgs

type OutputServiceBusQueueSerializationArgs struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
	//
	// > **NOTE:** This is Required and can only be specified when `type` is set to `Json`.
	Format pulumi.StringPtrInput `pulumi:"format"`
	// The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (OutputServiceBusQueueSerializationArgs) ElementType

func (OutputServiceBusQueueSerializationArgs) ToOutputServiceBusQueueSerializationOutput

func (i OutputServiceBusQueueSerializationArgs) ToOutputServiceBusQueueSerializationOutput() OutputServiceBusQueueSerializationOutput

func (OutputServiceBusQueueSerializationArgs) ToOutputServiceBusQueueSerializationOutputWithContext

func (i OutputServiceBusQueueSerializationArgs) ToOutputServiceBusQueueSerializationOutputWithContext(ctx context.Context) OutputServiceBusQueueSerializationOutput

func (OutputServiceBusQueueSerializationArgs) ToOutputServiceBusQueueSerializationPtrOutput

func (i OutputServiceBusQueueSerializationArgs) ToOutputServiceBusQueueSerializationPtrOutput() OutputServiceBusQueueSerializationPtrOutput

func (OutputServiceBusQueueSerializationArgs) ToOutputServiceBusQueueSerializationPtrOutputWithContext

func (i OutputServiceBusQueueSerializationArgs) ToOutputServiceBusQueueSerializationPtrOutputWithContext(ctx context.Context) OutputServiceBusQueueSerializationPtrOutput

type OutputServiceBusQueueSerializationInput

type OutputServiceBusQueueSerializationInput interface {
	pulumi.Input

	ToOutputServiceBusQueueSerializationOutput() OutputServiceBusQueueSerializationOutput
	ToOutputServiceBusQueueSerializationOutputWithContext(context.Context) OutputServiceBusQueueSerializationOutput
}

OutputServiceBusQueueSerializationInput is an input type that accepts OutputServiceBusQueueSerializationArgs and OutputServiceBusQueueSerializationOutput values. You can construct a concrete instance of `OutputServiceBusQueueSerializationInput` via:

OutputServiceBusQueueSerializationArgs{...}

type OutputServiceBusQueueSerializationOutput

type OutputServiceBusQueueSerializationOutput struct{ *pulumi.OutputState }

func (OutputServiceBusQueueSerializationOutput) ElementType

func (OutputServiceBusQueueSerializationOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (OutputServiceBusQueueSerializationOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (OutputServiceBusQueueSerializationOutput) Format

Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.

> **NOTE:** This is Required and can only be specified when `type` is set to `Json`.

func (OutputServiceBusQueueSerializationOutput) ToOutputServiceBusQueueSerializationOutput

func (o OutputServiceBusQueueSerializationOutput) ToOutputServiceBusQueueSerializationOutput() OutputServiceBusQueueSerializationOutput

func (OutputServiceBusQueueSerializationOutput) ToOutputServiceBusQueueSerializationOutputWithContext

func (o OutputServiceBusQueueSerializationOutput) ToOutputServiceBusQueueSerializationOutputWithContext(ctx context.Context) OutputServiceBusQueueSerializationOutput

func (OutputServiceBusQueueSerializationOutput) ToOutputServiceBusQueueSerializationPtrOutput

func (o OutputServiceBusQueueSerializationOutput) ToOutputServiceBusQueueSerializationPtrOutput() OutputServiceBusQueueSerializationPtrOutput

func (OutputServiceBusQueueSerializationOutput) ToOutputServiceBusQueueSerializationPtrOutputWithContext

func (o OutputServiceBusQueueSerializationOutput) ToOutputServiceBusQueueSerializationPtrOutputWithContext(ctx context.Context) OutputServiceBusQueueSerializationPtrOutput

func (OutputServiceBusQueueSerializationOutput) Type

The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.

type OutputServiceBusQueueSerializationPtrInput

type OutputServiceBusQueueSerializationPtrInput interface {
	pulumi.Input

	ToOutputServiceBusQueueSerializationPtrOutput() OutputServiceBusQueueSerializationPtrOutput
	ToOutputServiceBusQueueSerializationPtrOutputWithContext(context.Context) OutputServiceBusQueueSerializationPtrOutput
}

OutputServiceBusQueueSerializationPtrInput is an input type that accepts OutputServiceBusQueueSerializationArgs, OutputServiceBusQueueSerializationPtr and OutputServiceBusQueueSerializationPtrOutput values. You can construct a concrete instance of `OutputServiceBusQueueSerializationPtrInput` via:

        OutputServiceBusQueueSerializationArgs{...}

or:

        nil

type OutputServiceBusQueueSerializationPtrOutput

type OutputServiceBusQueueSerializationPtrOutput struct{ *pulumi.OutputState }

func (OutputServiceBusQueueSerializationPtrOutput) Elem

func (OutputServiceBusQueueSerializationPtrOutput) ElementType

func (OutputServiceBusQueueSerializationPtrOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (OutputServiceBusQueueSerializationPtrOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (OutputServiceBusQueueSerializationPtrOutput) Format

Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.

> **NOTE:** This is Required and can only be specified when `type` is set to `Json`.

func (OutputServiceBusQueueSerializationPtrOutput) ToOutputServiceBusQueueSerializationPtrOutput

func (o OutputServiceBusQueueSerializationPtrOutput) ToOutputServiceBusQueueSerializationPtrOutput() OutputServiceBusQueueSerializationPtrOutput

func (OutputServiceBusQueueSerializationPtrOutput) ToOutputServiceBusQueueSerializationPtrOutputWithContext

func (o OutputServiceBusQueueSerializationPtrOutput) ToOutputServiceBusQueueSerializationPtrOutputWithContext(ctx context.Context) OutputServiceBusQueueSerializationPtrOutput

func (OutputServiceBusQueueSerializationPtrOutput) Type

The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.

type OutputServiceBusQueueState

type OutputServiceBusQueueState struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A list of property columns to add to the Service Bus Queue output.
	PropertyColumns pulumi.StringArrayInput
	// The name of the Service Bus Queue.
	QueueName pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `serialization` block as defined below.
	Serialization OutputServiceBusQueueSerializationPtrInput
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringPtrInput
	// The shared access policy key for the specified shared access policy. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyKey pulumi.StringPtrInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
	// A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Queue Output.
	//
	// > **NOTE:** The acceptable keys are `ContentType`, `CorrelationId`, `Label`, `MessageId`, `PartitionKey`, `ReplyTo`, `ReplyToSessionId`, `ScheduledEnqueueTimeUtc`, `SessionId`, `TimeToLive` and `To`.
	SystemPropertyColumns pulumi.StringMapInput
}

func (OutputServiceBusQueueState) ElementType

func (OutputServiceBusQueueState) ElementType() reflect.Type

type OutputServicebusTopic

type OutputServicebusTopic struct {
	pulumi.CustomResourceState

	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrOutput `pulumi:"authenticationMode"`
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of property columns to add to the Service Bus Topic output.
	PropertyColumns pulumi.StringArrayOutput `pulumi:"propertyColumns"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `serialization` block as defined below.
	Serialization OutputServicebusTopicSerializationOutput `pulumi:"serialization"`
	// The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringOutput `pulumi:"servicebusNamespace"`
	// The shared access policy key for the specified shared access policy. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyKey pulumi.StringPtrOutput `pulumi:"sharedAccessPolicyKey"`
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyName pulumi.StringPtrOutput `pulumi:"sharedAccessPolicyName"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
	// A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.
	//
	// > **NOTE:** The acceptable keys are `ContentType`, `CorrelationId`, `Label`, `MessageId`, `PartitionKey`, `ReplyTo`, `ReplyToSessionId`, `ScheduledEnqueueTimeUtc`, `SessionId`, `TimeToLive` and `To`.
	SystemPropertyColumns pulumi.StringMapOutput `pulumi:"systemPropertyColumns"`
	// The name of the Service Bus Topic.
	TopicName pulumi.StringOutput `pulumi:"topicName"`
}

Manages a Stream Analytics Output to a ServiceBus Topic.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/servicebus"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("rg-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleNamespace, err := servicebus.NewNamespace(ctx, "example", &servicebus.NamespaceArgs{
			Name:              pulumi.String("example-namespace"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("Standard"),
		})
		if err != nil {
			return err
		}
		exampleTopic, err := servicebus.NewTopic(ctx, "example", &servicebus.TopicArgs{
			Name:               pulumi.String("example-topic"),
			NamespaceId:        exampleNamespace.ID(),
			EnablePartitioning: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewOutputServicebusTopic(ctx, "example", &streamanalytics.OutputServicebusTopicArgs{
			Name: pulumi.String("service-bus-topic-output"),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			TopicName:              exampleTopic.Name,
			ServicebusNamespace:    exampleNamespace.Name,
			SharedAccessPolicyKey:  exampleNamespace.DefaultPrimaryKey,
			SharedAccessPolicyName: pulumi.String("RootManageSharedAccessKey"),
			PropertyColumns: pulumi.StringArray{
				pulumi.String("col1"),
				pulumi.String("col2"),
			},
			Serialization: &streamanalytics.OutputServicebusTopicSerializationArgs{
				Type:   pulumi.String("Csv"),
				Format: pulumi.String("Array"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Output ServiceBus Topic's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/outputServicebusTopic:OutputServicebusTopic example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/outputs/output1 ```

func GetOutputServicebusTopic

func GetOutputServicebusTopic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OutputServicebusTopicState, opts ...pulumi.ResourceOption) (*OutputServicebusTopic, error)

GetOutputServicebusTopic gets an existing OutputServicebusTopic 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 NewOutputServicebusTopic

func NewOutputServicebusTopic(ctx *pulumi.Context,
	name string, args *OutputServicebusTopicArgs, opts ...pulumi.ResourceOption) (*OutputServicebusTopic, error)

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

func (*OutputServicebusTopic) ElementType

func (*OutputServicebusTopic) ElementType() reflect.Type

func (*OutputServicebusTopic) ToOutputServicebusTopicOutput

func (i *OutputServicebusTopic) ToOutputServicebusTopicOutput() OutputServicebusTopicOutput

func (*OutputServicebusTopic) ToOutputServicebusTopicOutputWithContext

func (i *OutputServicebusTopic) ToOutputServicebusTopicOutputWithContext(ctx context.Context) OutputServicebusTopicOutput

type OutputServicebusTopicArgs

type OutputServicebusTopicArgs struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A list of property columns to add to the Service Bus Topic output.
	PropertyColumns pulumi.StringArrayInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `serialization` block as defined below.
	Serialization OutputServicebusTopicSerializationInput
	// The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringInput
	// The shared access policy key for the specified shared access policy. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyKey pulumi.StringPtrInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
	// A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.
	//
	// > **NOTE:** The acceptable keys are `ContentType`, `CorrelationId`, `Label`, `MessageId`, `PartitionKey`, `ReplyTo`, `ReplyToSessionId`, `ScheduledEnqueueTimeUtc`, `SessionId`, `TimeToLive` and `To`.
	SystemPropertyColumns pulumi.StringMapInput
	// The name of the Service Bus Topic.
	TopicName pulumi.StringInput
}

The set of arguments for constructing a OutputServicebusTopic resource.

func (OutputServicebusTopicArgs) ElementType

func (OutputServicebusTopicArgs) ElementType() reflect.Type

type OutputServicebusTopicArray

type OutputServicebusTopicArray []OutputServicebusTopicInput

func (OutputServicebusTopicArray) ElementType

func (OutputServicebusTopicArray) ElementType() reflect.Type

func (OutputServicebusTopicArray) ToOutputServicebusTopicArrayOutput

func (i OutputServicebusTopicArray) ToOutputServicebusTopicArrayOutput() OutputServicebusTopicArrayOutput

func (OutputServicebusTopicArray) ToOutputServicebusTopicArrayOutputWithContext

func (i OutputServicebusTopicArray) ToOutputServicebusTopicArrayOutputWithContext(ctx context.Context) OutputServicebusTopicArrayOutput

type OutputServicebusTopicArrayInput

type OutputServicebusTopicArrayInput interface {
	pulumi.Input

	ToOutputServicebusTopicArrayOutput() OutputServicebusTopicArrayOutput
	ToOutputServicebusTopicArrayOutputWithContext(context.Context) OutputServicebusTopicArrayOutput
}

OutputServicebusTopicArrayInput is an input type that accepts OutputServicebusTopicArray and OutputServicebusTopicArrayOutput values. You can construct a concrete instance of `OutputServicebusTopicArrayInput` via:

OutputServicebusTopicArray{ OutputServicebusTopicArgs{...} }

type OutputServicebusTopicArrayOutput

type OutputServicebusTopicArrayOutput struct{ *pulumi.OutputState }

func (OutputServicebusTopicArrayOutput) ElementType

func (OutputServicebusTopicArrayOutput) Index

func (OutputServicebusTopicArrayOutput) ToOutputServicebusTopicArrayOutput

func (o OutputServicebusTopicArrayOutput) ToOutputServicebusTopicArrayOutput() OutputServicebusTopicArrayOutput

func (OutputServicebusTopicArrayOutput) ToOutputServicebusTopicArrayOutputWithContext

func (o OutputServicebusTopicArrayOutput) ToOutputServicebusTopicArrayOutputWithContext(ctx context.Context) OutputServicebusTopicArrayOutput

type OutputServicebusTopicInput

type OutputServicebusTopicInput interface {
	pulumi.Input

	ToOutputServicebusTopicOutput() OutputServicebusTopicOutput
	ToOutputServicebusTopicOutputWithContext(ctx context.Context) OutputServicebusTopicOutput
}

type OutputServicebusTopicMap

type OutputServicebusTopicMap map[string]OutputServicebusTopicInput

func (OutputServicebusTopicMap) ElementType

func (OutputServicebusTopicMap) ElementType() reflect.Type

func (OutputServicebusTopicMap) ToOutputServicebusTopicMapOutput

func (i OutputServicebusTopicMap) ToOutputServicebusTopicMapOutput() OutputServicebusTopicMapOutput

func (OutputServicebusTopicMap) ToOutputServicebusTopicMapOutputWithContext

func (i OutputServicebusTopicMap) ToOutputServicebusTopicMapOutputWithContext(ctx context.Context) OutputServicebusTopicMapOutput

type OutputServicebusTopicMapInput

type OutputServicebusTopicMapInput interface {
	pulumi.Input

	ToOutputServicebusTopicMapOutput() OutputServicebusTopicMapOutput
	ToOutputServicebusTopicMapOutputWithContext(context.Context) OutputServicebusTopicMapOutput
}

OutputServicebusTopicMapInput is an input type that accepts OutputServicebusTopicMap and OutputServicebusTopicMapOutput values. You can construct a concrete instance of `OutputServicebusTopicMapInput` via:

OutputServicebusTopicMap{ "key": OutputServicebusTopicArgs{...} }

type OutputServicebusTopicMapOutput

type OutputServicebusTopicMapOutput struct{ *pulumi.OutputState }

func (OutputServicebusTopicMapOutput) ElementType

func (OutputServicebusTopicMapOutput) MapIndex

func (OutputServicebusTopicMapOutput) ToOutputServicebusTopicMapOutput

func (o OutputServicebusTopicMapOutput) ToOutputServicebusTopicMapOutput() OutputServicebusTopicMapOutput

func (OutputServicebusTopicMapOutput) ToOutputServicebusTopicMapOutputWithContext

func (o OutputServicebusTopicMapOutput) ToOutputServicebusTopicMapOutputWithContext(ctx context.Context) OutputServicebusTopicMapOutput

type OutputServicebusTopicOutput

type OutputServicebusTopicOutput struct{ *pulumi.OutputState }

func (OutputServicebusTopicOutput) AuthenticationMode added in v5.18.0

func (o OutputServicebusTopicOutput) AuthenticationMode() pulumi.StringPtrOutput

The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.

func (OutputServicebusTopicOutput) ElementType

func (OutputServicebusTopicOutput) Name added in v5.5.0

The name of the Stream Output. Changing this forces a new resource to be created.

func (OutputServicebusTopicOutput) PropertyColumns added in v5.5.0

A list of property columns to add to the Service Bus Topic output.

func (OutputServicebusTopicOutput) ResourceGroupName added in v5.5.0

func (o OutputServicebusTopicOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (OutputServicebusTopicOutput) Serialization added in v5.5.0

A `serialization` block as defined below.

func (OutputServicebusTopicOutput) ServicebusNamespace added in v5.5.0

func (o OutputServicebusTopicOutput) ServicebusNamespace() pulumi.StringOutput

The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.

func (OutputServicebusTopicOutput) SharedAccessPolicyKey added in v5.5.0

func (o OutputServicebusTopicOutput) SharedAccessPolicyKey() pulumi.StringPtrOutput

The shared access policy key for the specified shared access policy. Required if `authenticationMode` is `ConnectionString`.

func (OutputServicebusTopicOutput) SharedAccessPolicyName added in v5.5.0

func (o OutputServicebusTopicOutput) SharedAccessPolicyName() pulumi.StringPtrOutput

The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if `authenticationMode` is `ConnectionString`.

func (OutputServicebusTopicOutput) StreamAnalyticsJobName added in v5.5.0

func (o OutputServicebusTopicOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (OutputServicebusTopicOutput) SystemPropertyColumns added in v5.5.0

func (o OutputServicebusTopicOutput) SystemPropertyColumns() pulumi.StringMapOutput

A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.

> **NOTE:** The acceptable keys are `ContentType`, `CorrelationId`, `Label`, `MessageId`, `PartitionKey`, `ReplyTo`, `ReplyToSessionId`, `ScheduledEnqueueTimeUtc`, `SessionId`, `TimeToLive` and `To`.

func (OutputServicebusTopicOutput) ToOutputServicebusTopicOutput

func (o OutputServicebusTopicOutput) ToOutputServicebusTopicOutput() OutputServicebusTopicOutput

func (OutputServicebusTopicOutput) ToOutputServicebusTopicOutputWithContext

func (o OutputServicebusTopicOutput) ToOutputServicebusTopicOutputWithContext(ctx context.Context) OutputServicebusTopicOutput

func (OutputServicebusTopicOutput) TopicName added in v5.5.0

The name of the Service Bus Topic.

type OutputServicebusTopicSerialization

type OutputServicebusTopicSerialization struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding *string `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
	//
	// > **NOTE:** This is Required and can only be specified when `type` is set to `Json`.
	Format *string `pulumi:"format"`
	// The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.
	Type string `pulumi:"type"`
}

type OutputServicebusTopicSerializationArgs

type OutputServicebusTopicSerializationArgs struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.
	//
	// > **NOTE:** This is Required and can only be specified when `type` is set to `Json`.
	Format pulumi.StringPtrInput `pulumi:"format"`
	// The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (OutputServicebusTopicSerializationArgs) ElementType

func (OutputServicebusTopicSerializationArgs) ToOutputServicebusTopicSerializationOutput

func (i OutputServicebusTopicSerializationArgs) ToOutputServicebusTopicSerializationOutput() OutputServicebusTopicSerializationOutput

func (OutputServicebusTopicSerializationArgs) ToOutputServicebusTopicSerializationOutputWithContext

func (i OutputServicebusTopicSerializationArgs) ToOutputServicebusTopicSerializationOutputWithContext(ctx context.Context) OutputServicebusTopicSerializationOutput

func (OutputServicebusTopicSerializationArgs) ToOutputServicebusTopicSerializationPtrOutput

func (i OutputServicebusTopicSerializationArgs) ToOutputServicebusTopicSerializationPtrOutput() OutputServicebusTopicSerializationPtrOutput

func (OutputServicebusTopicSerializationArgs) ToOutputServicebusTopicSerializationPtrOutputWithContext

func (i OutputServicebusTopicSerializationArgs) ToOutputServicebusTopicSerializationPtrOutputWithContext(ctx context.Context) OutputServicebusTopicSerializationPtrOutput

type OutputServicebusTopicSerializationInput

type OutputServicebusTopicSerializationInput interface {
	pulumi.Input

	ToOutputServicebusTopicSerializationOutput() OutputServicebusTopicSerializationOutput
	ToOutputServicebusTopicSerializationOutputWithContext(context.Context) OutputServicebusTopicSerializationOutput
}

OutputServicebusTopicSerializationInput is an input type that accepts OutputServicebusTopicSerializationArgs and OutputServicebusTopicSerializationOutput values. You can construct a concrete instance of `OutputServicebusTopicSerializationInput` via:

OutputServicebusTopicSerializationArgs{...}

type OutputServicebusTopicSerializationOutput

type OutputServicebusTopicSerializationOutput struct{ *pulumi.OutputState }

func (OutputServicebusTopicSerializationOutput) ElementType

func (OutputServicebusTopicSerializationOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (OutputServicebusTopicSerializationOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (OutputServicebusTopicSerializationOutput) Format

Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.

> **NOTE:** This is Required and can only be specified when `type` is set to `Json`.

func (OutputServicebusTopicSerializationOutput) ToOutputServicebusTopicSerializationOutput

func (o OutputServicebusTopicSerializationOutput) ToOutputServicebusTopicSerializationOutput() OutputServicebusTopicSerializationOutput

func (OutputServicebusTopicSerializationOutput) ToOutputServicebusTopicSerializationOutputWithContext

func (o OutputServicebusTopicSerializationOutput) ToOutputServicebusTopicSerializationOutputWithContext(ctx context.Context) OutputServicebusTopicSerializationOutput

func (OutputServicebusTopicSerializationOutput) ToOutputServicebusTopicSerializationPtrOutput

func (o OutputServicebusTopicSerializationOutput) ToOutputServicebusTopicSerializationPtrOutput() OutputServicebusTopicSerializationPtrOutput

func (OutputServicebusTopicSerializationOutput) ToOutputServicebusTopicSerializationPtrOutputWithContext

func (o OutputServicebusTopicSerializationOutput) ToOutputServicebusTopicSerializationPtrOutputWithContext(ctx context.Context) OutputServicebusTopicSerializationPtrOutput

func (OutputServicebusTopicSerializationOutput) Type

The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.

type OutputServicebusTopicSerializationPtrInput

type OutputServicebusTopicSerializationPtrInput interface {
	pulumi.Input

	ToOutputServicebusTopicSerializationPtrOutput() OutputServicebusTopicSerializationPtrOutput
	ToOutputServicebusTopicSerializationPtrOutputWithContext(context.Context) OutputServicebusTopicSerializationPtrOutput
}

OutputServicebusTopicSerializationPtrInput is an input type that accepts OutputServicebusTopicSerializationArgs, OutputServicebusTopicSerializationPtr and OutputServicebusTopicSerializationPtrOutput values. You can construct a concrete instance of `OutputServicebusTopicSerializationPtrInput` via:

        OutputServicebusTopicSerializationArgs{...}

or:

        nil

type OutputServicebusTopicSerializationPtrOutput

type OutputServicebusTopicSerializationPtrOutput struct{ *pulumi.OutputState }

func (OutputServicebusTopicSerializationPtrOutput) Elem

func (OutputServicebusTopicSerializationPtrOutput) ElementType

func (OutputServicebusTopicSerializationPtrOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (OutputServicebusTopicSerializationPtrOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (OutputServicebusTopicSerializationPtrOutput) Format

Specifies the format of the JSON the output will be written in. Possible values are `Array` and `LineSeparated`.

> **NOTE:** This is Required and can only be specified when `type` is set to `Json`.

func (OutputServicebusTopicSerializationPtrOutput) ToOutputServicebusTopicSerializationPtrOutput

func (o OutputServicebusTopicSerializationPtrOutput) ToOutputServicebusTopicSerializationPtrOutput() OutputServicebusTopicSerializationPtrOutput

func (OutputServicebusTopicSerializationPtrOutput) ToOutputServicebusTopicSerializationPtrOutputWithContext

func (o OutputServicebusTopicSerializationPtrOutput) ToOutputServicebusTopicSerializationPtrOutputWithContext(ctx context.Context) OutputServicebusTopicSerializationPtrOutput

func (OutputServicebusTopicSerializationPtrOutput) Type

The serialization format used for outgoing data streams. Possible values are `Avro`, `Csv`, `Json` and `Parquet`.

type OutputServicebusTopicState

type OutputServicebusTopicState struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A list of property columns to add to the Service Bus Topic output.
	PropertyColumns pulumi.StringArrayInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `serialization` block as defined below.
	Serialization OutputServicebusTopicSerializationPtrInput
	// The namespace that is associated with the desired Event Hub, Service Bus Topic, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringPtrInput
	// The shared access policy key for the specified shared access policy. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyKey pulumi.StringPtrInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required if `authenticationMode` is `ConnectionString`.
	SharedAccessPolicyName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
	// A key-value pair of system property columns that will be attached to the outgoing messages for the Service Bus Topic Output.
	//
	// > **NOTE:** The acceptable keys are `ContentType`, `CorrelationId`, `Label`, `MessageId`, `PartitionKey`, `ReplyTo`, `ReplyToSessionId`, `ScheduledEnqueueTimeUtc`, `SessionId`, `TimeToLive` and `To`.
	SystemPropertyColumns pulumi.StringMapInput
	// The name of the Service Bus Topic.
	TopicName pulumi.StringPtrInput
}

func (OutputServicebusTopicState) ElementType

func (OutputServicebusTopicState) ElementType() reflect.Type

type OutputSynapse

type OutputSynapse struct {
	pulumi.CustomResourceState

	// The name of the Azure SQL database. Changing this forces a new resource to be created.
	Database pulumi.StringOutput `pulumi:"database"`
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The password that will be used to connect to the Azure SQL database.
	Password pulumi.StringOutput `pulumi:"password"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The name of the SQL server containing the Azure SQL database. Changing this forces a new resource to be created.
	Server pulumi.StringOutput `pulumi:"server"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
	// The name of the table in the Azure SQL database. Changing this forces a new resource to be created.
	Table pulumi.StringOutput `pulumi:"table"`
	// The user name that will be used to connect to the Azure SQL database. Changing this forces a new resource to be created.
	User pulumi.StringOutput `pulumi:"user"`
}

Manages a Stream Analytics Output to an Azure Synapse Analytics Workspace.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("rg-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplestorageacc"),
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
			AccountKind:            pulumi.String("StorageV2"),
			IsHnsEnabled:           pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "example", &storage.DataLakeGen2FilesystemArgs{
			Name:             pulumi.String("example"),
			StorageAccountId: exampleAccount.ID(),
		})
		if err != nil {
			return err
		}
		exampleWorkspace, err := synapse.NewWorkspace(ctx, "example", &synapse.WorkspaceArgs{
			Name:                            pulumi.String("example"),
			ResourceGroupName:               exampleResourceGroup.Name,
			Location:                        exampleResourceGroup.Location,
			StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(),
			SqlAdministratorLogin:           pulumi.String("sqladminuser"),
			SqlAdministratorLoginPassword:   pulumi.String("H@Sh1CoR3!"),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewOutputSynapse(ctx, "example", &streamanalytics.OutputSynapseArgs{
			Name: pulumi.String("example-output-synapse"),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			Server: exampleWorkspace.ConnectivityEndpoints.ApplyT(func(connectivityEndpoints map[string]string) (string, error) {
				return connectivityEndpoints.SqlOnDemand, nil
			}).(pulumi.StringOutput),
			User:     exampleWorkspace.SqlAdministratorLogin,
			Password: exampleWorkspace.SqlAdministratorLoginPassword,
			Database: pulumi.String("master"),
			Table:    pulumi.String("ExampleTable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

A Stream Analytics Output to an Azure Synapse Analytics Workspace can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/outputSynapse:OutputSynapse example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/outputs/output1 ```

func GetOutputSynapse

func GetOutputSynapse(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OutputSynapseState, opts ...pulumi.ResourceOption) (*OutputSynapse, error)

GetOutputSynapse gets an existing OutputSynapse 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 NewOutputSynapse

func NewOutputSynapse(ctx *pulumi.Context,
	name string, args *OutputSynapseArgs, opts ...pulumi.ResourceOption) (*OutputSynapse, error)

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

func (*OutputSynapse) ElementType

func (*OutputSynapse) ElementType() reflect.Type

func (*OutputSynapse) ToOutputSynapseOutput

func (i *OutputSynapse) ToOutputSynapseOutput() OutputSynapseOutput

func (*OutputSynapse) ToOutputSynapseOutputWithContext

func (i *OutputSynapse) ToOutputSynapseOutputWithContext(ctx context.Context) OutputSynapseOutput

type OutputSynapseArgs

type OutputSynapseArgs struct {
	// The name of the Azure SQL database. Changing this forces a new resource to be created.
	Database pulumi.StringInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The password that will be used to connect to the Azure SQL database.
	Password pulumi.StringInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The name of the SQL server containing the Azure SQL database. Changing this forces a new resource to be created.
	Server pulumi.StringInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
	// The name of the table in the Azure SQL database. Changing this forces a new resource to be created.
	Table pulumi.StringInput
	// The user name that will be used to connect to the Azure SQL database. Changing this forces a new resource to be created.
	User pulumi.StringInput
}

The set of arguments for constructing a OutputSynapse resource.

func (OutputSynapseArgs) ElementType

func (OutputSynapseArgs) ElementType() reflect.Type

type OutputSynapseArray

type OutputSynapseArray []OutputSynapseInput

func (OutputSynapseArray) ElementType

func (OutputSynapseArray) ElementType() reflect.Type

func (OutputSynapseArray) ToOutputSynapseArrayOutput

func (i OutputSynapseArray) ToOutputSynapseArrayOutput() OutputSynapseArrayOutput

func (OutputSynapseArray) ToOutputSynapseArrayOutputWithContext

func (i OutputSynapseArray) ToOutputSynapseArrayOutputWithContext(ctx context.Context) OutputSynapseArrayOutput

type OutputSynapseArrayInput

type OutputSynapseArrayInput interface {
	pulumi.Input

	ToOutputSynapseArrayOutput() OutputSynapseArrayOutput
	ToOutputSynapseArrayOutputWithContext(context.Context) OutputSynapseArrayOutput
}

OutputSynapseArrayInput is an input type that accepts OutputSynapseArray and OutputSynapseArrayOutput values. You can construct a concrete instance of `OutputSynapseArrayInput` via:

OutputSynapseArray{ OutputSynapseArgs{...} }

type OutputSynapseArrayOutput

type OutputSynapseArrayOutput struct{ *pulumi.OutputState }

func (OutputSynapseArrayOutput) ElementType

func (OutputSynapseArrayOutput) ElementType() reflect.Type

func (OutputSynapseArrayOutput) Index

func (OutputSynapseArrayOutput) ToOutputSynapseArrayOutput

func (o OutputSynapseArrayOutput) ToOutputSynapseArrayOutput() OutputSynapseArrayOutput

func (OutputSynapseArrayOutput) ToOutputSynapseArrayOutputWithContext

func (o OutputSynapseArrayOutput) ToOutputSynapseArrayOutputWithContext(ctx context.Context) OutputSynapseArrayOutput

type OutputSynapseInput

type OutputSynapseInput interface {
	pulumi.Input

	ToOutputSynapseOutput() OutputSynapseOutput
	ToOutputSynapseOutputWithContext(ctx context.Context) OutputSynapseOutput
}

type OutputSynapseMap

type OutputSynapseMap map[string]OutputSynapseInput

func (OutputSynapseMap) ElementType

func (OutputSynapseMap) ElementType() reflect.Type

func (OutputSynapseMap) ToOutputSynapseMapOutput

func (i OutputSynapseMap) ToOutputSynapseMapOutput() OutputSynapseMapOutput

func (OutputSynapseMap) ToOutputSynapseMapOutputWithContext

func (i OutputSynapseMap) ToOutputSynapseMapOutputWithContext(ctx context.Context) OutputSynapseMapOutput

type OutputSynapseMapInput

type OutputSynapseMapInput interface {
	pulumi.Input

	ToOutputSynapseMapOutput() OutputSynapseMapOutput
	ToOutputSynapseMapOutputWithContext(context.Context) OutputSynapseMapOutput
}

OutputSynapseMapInput is an input type that accepts OutputSynapseMap and OutputSynapseMapOutput values. You can construct a concrete instance of `OutputSynapseMapInput` via:

OutputSynapseMap{ "key": OutputSynapseArgs{...} }

type OutputSynapseMapOutput

type OutputSynapseMapOutput struct{ *pulumi.OutputState }

func (OutputSynapseMapOutput) ElementType

func (OutputSynapseMapOutput) ElementType() reflect.Type

func (OutputSynapseMapOutput) MapIndex

func (OutputSynapseMapOutput) ToOutputSynapseMapOutput

func (o OutputSynapseMapOutput) ToOutputSynapseMapOutput() OutputSynapseMapOutput

func (OutputSynapseMapOutput) ToOutputSynapseMapOutputWithContext

func (o OutputSynapseMapOutput) ToOutputSynapseMapOutputWithContext(ctx context.Context) OutputSynapseMapOutput

type OutputSynapseOutput

type OutputSynapseOutput struct{ *pulumi.OutputState }

func (OutputSynapseOutput) Database added in v5.5.0

The name of the Azure SQL database. Changing this forces a new resource to be created.

func (OutputSynapseOutput) ElementType

func (OutputSynapseOutput) ElementType() reflect.Type

func (OutputSynapseOutput) Name added in v5.5.0

The name of the Stream Output. Changing this forces a new resource to be created.

func (OutputSynapseOutput) Password added in v5.5.0

The password that will be used to connect to the Azure SQL database.

func (OutputSynapseOutput) ResourceGroupName added in v5.5.0

func (o OutputSynapseOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (OutputSynapseOutput) Server added in v5.5.0

The name of the SQL server containing the Azure SQL database. Changing this forces a new resource to be created.

func (OutputSynapseOutput) StreamAnalyticsJobName added in v5.5.0

func (o OutputSynapseOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (OutputSynapseOutput) Table added in v5.5.0

The name of the table in the Azure SQL database. Changing this forces a new resource to be created.

func (OutputSynapseOutput) ToOutputSynapseOutput

func (o OutputSynapseOutput) ToOutputSynapseOutput() OutputSynapseOutput

func (OutputSynapseOutput) ToOutputSynapseOutputWithContext

func (o OutputSynapseOutput) ToOutputSynapseOutputWithContext(ctx context.Context) OutputSynapseOutput

func (OutputSynapseOutput) User added in v5.5.0

The user name that will be used to connect to the Azure SQL database. Changing this forces a new resource to be created.

type OutputSynapseState

type OutputSynapseState struct {
	// The name of the Azure SQL database. Changing this forces a new resource to be created.
	Database pulumi.StringPtrInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The password that will be used to connect to the Azure SQL database.
	Password pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the SQL server containing the Azure SQL database. Changing this forces a new resource to be created.
	Server pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
	// The name of the table in the Azure SQL database. Changing this forces a new resource to be created.
	Table pulumi.StringPtrInput
	// The user name that will be used to connect to the Azure SQL database. Changing this forces a new resource to be created.
	User pulumi.StringPtrInput
}

func (OutputSynapseState) ElementType

func (OutputSynapseState) ElementType() reflect.Type

type OutputTable

type OutputTable struct {
	pulumi.CustomResourceState

	// The number of records for a batch operation. Must be between `1` and `100`.
	BatchSize pulumi.IntOutput `pulumi:"batchSize"`
	// A list of the column names to be removed from output event entities.
	ColumnsToRemoves pulumi.StringArrayOutput `pulumi:"columnsToRemoves"`
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the output column that contains the partition key.
	PartitionKey pulumi.StringOutput `pulumi:"partitionKey"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The name of the output column that contains the row key.
	RowKey pulumi.StringOutput `pulumi:"rowKey"`
	// The Access Key which should be used to connect to this Storage Account.
	StorageAccountKey pulumi.StringOutput `pulumi:"storageAccountKey"`
	// The name of the Storage Account.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
	// The name of the table where the stream should be output to.
	Table pulumi.StringOutput `pulumi:"table"`
}

Manages a Stream Analytics Output Table.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("rg-example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplesa"),
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleTable, err := storage.NewTable(ctx, "example", &storage.TableArgs{
			Name:               pulumi.String("exampletable"),
			StorageAccountName: exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewOutputTable(ctx, "example", &streamanalytics.OutputTableArgs{
			Name: pulumi.String("output-to-storage-table"),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			StorageAccountName: exampleAccount.Name,
			StorageAccountKey:  exampleAccount.PrimaryAccessKey,
			Table:              exampleTable.Name,
			PartitionKey:       pulumi.String("foo"),
			RowKey:             pulumi.String("bar"),
			BatchSize:          pulumi.Int(100),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Output to Table can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/outputTable:OutputTable example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/outputs/output1 ```

func GetOutputTable

func GetOutputTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OutputTableState, opts ...pulumi.ResourceOption) (*OutputTable, error)

GetOutputTable gets an existing OutputTable 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 NewOutputTable

func NewOutputTable(ctx *pulumi.Context,
	name string, args *OutputTableArgs, opts ...pulumi.ResourceOption) (*OutputTable, error)

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

func (*OutputTable) ElementType

func (*OutputTable) ElementType() reflect.Type

func (*OutputTable) ToOutputTableOutput

func (i *OutputTable) ToOutputTableOutput() OutputTableOutput

func (*OutputTable) ToOutputTableOutputWithContext

func (i *OutputTable) ToOutputTableOutputWithContext(ctx context.Context) OutputTableOutput

type OutputTableArgs

type OutputTableArgs struct {
	// The number of records for a batch operation. Must be between `1` and `100`.
	BatchSize pulumi.IntInput
	// A list of the column names to be removed from output event entities.
	ColumnsToRemoves pulumi.StringArrayInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the output column that contains the partition key.
	PartitionKey pulumi.StringInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The name of the output column that contains the row key.
	RowKey pulumi.StringInput
	// The Access Key which should be used to connect to this Storage Account.
	StorageAccountKey pulumi.StringInput
	// The name of the Storage Account.
	StorageAccountName pulumi.StringInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
	// The name of the table where the stream should be output to.
	Table pulumi.StringInput
}

The set of arguments for constructing a OutputTable resource.

func (OutputTableArgs) ElementType

func (OutputTableArgs) ElementType() reflect.Type

type OutputTableArray

type OutputTableArray []OutputTableInput

func (OutputTableArray) ElementType

func (OutputTableArray) ElementType() reflect.Type

func (OutputTableArray) ToOutputTableArrayOutput

func (i OutputTableArray) ToOutputTableArrayOutput() OutputTableArrayOutput

func (OutputTableArray) ToOutputTableArrayOutputWithContext

func (i OutputTableArray) ToOutputTableArrayOutputWithContext(ctx context.Context) OutputTableArrayOutput

type OutputTableArrayInput

type OutputTableArrayInput interface {
	pulumi.Input

	ToOutputTableArrayOutput() OutputTableArrayOutput
	ToOutputTableArrayOutputWithContext(context.Context) OutputTableArrayOutput
}

OutputTableArrayInput is an input type that accepts OutputTableArray and OutputTableArrayOutput values. You can construct a concrete instance of `OutputTableArrayInput` via:

OutputTableArray{ OutputTableArgs{...} }

type OutputTableArrayOutput

type OutputTableArrayOutput struct{ *pulumi.OutputState }

func (OutputTableArrayOutput) ElementType

func (OutputTableArrayOutput) ElementType() reflect.Type

func (OutputTableArrayOutput) Index

func (OutputTableArrayOutput) ToOutputTableArrayOutput

func (o OutputTableArrayOutput) ToOutputTableArrayOutput() OutputTableArrayOutput

func (OutputTableArrayOutput) ToOutputTableArrayOutputWithContext

func (o OutputTableArrayOutput) ToOutputTableArrayOutputWithContext(ctx context.Context) OutputTableArrayOutput

type OutputTableInput

type OutputTableInput interface {
	pulumi.Input

	ToOutputTableOutput() OutputTableOutput
	ToOutputTableOutputWithContext(ctx context.Context) OutputTableOutput
}

type OutputTableMap

type OutputTableMap map[string]OutputTableInput

func (OutputTableMap) ElementType

func (OutputTableMap) ElementType() reflect.Type

func (OutputTableMap) ToOutputTableMapOutput

func (i OutputTableMap) ToOutputTableMapOutput() OutputTableMapOutput

func (OutputTableMap) ToOutputTableMapOutputWithContext

func (i OutputTableMap) ToOutputTableMapOutputWithContext(ctx context.Context) OutputTableMapOutput

type OutputTableMapInput

type OutputTableMapInput interface {
	pulumi.Input

	ToOutputTableMapOutput() OutputTableMapOutput
	ToOutputTableMapOutputWithContext(context.Context) OutputTableMapOutput
}

OutputTableMapInput is an input type that accepts OutputTableMap and OutputTableMapOutput values. You can construct a concrete instance of `OutputTableMapInput` via:

OutputTableMap{ "key": OutputTableArgs{...} }

type OutputTableMapOutput

type OutputTableMapOutput struct{ *pulumi.OutputState }

func (OutputTableMapOutput) ElementType

func (OutputTableMapOutput) ElementType() reflect.Type

func (OutputTableMapOutput) MapIndex

func (OutputTableMapOutput) ToOutputTableMapOutput

func (o OutputTableMapOutput) ToOutputTableMapOutput() OutputTableMapOutput

func (OutputTableMapOutput) ToOutputTableMapOutputWithContext

func (o OutputTableMapOutput) ToOutputTableMapOutputWithContext(ctx context.Context) OutputTableMapOutput

type OutputTableOutput

type OutputTableOutput struct{ *pulumi.OutputState }

func (OutputTableOutput) BatchSize added in v5.5.0

func (o OutputTableOutput) BatchSize() pulumi.IntOutput

The number of records for a batch operation. Must be between `1` and `100`.

func (OutputTableOutput) ColumnsToRemoves added in v5.5.0

func (o OutputTableOutput) ColumnsToRemoves() pulumi.StringArrayOutput

A list of the column names to be removed from output event entities.

func (OutputTableOutput) ElementType

func (OutputTableOutput) ElementType() reflect.Type

func (OutputTableOutput) Name added in v5.5.0

The name of the Stream Output. Changing this forces a new resource to be created.

func (OutputTableOutput) PartitionKey added in v5.5.0

func (o OutputTableOutput) PartitionKey() pulumi.StringOutput

The name of the output column that contains the partition key.

func (OutputTableOutput) ResourceGroupName added in v5.5.0

func (o OutputTableOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (OutputTableOutput) RowKey added in v5.5.0

The name of the output column that contains the row key.

func (OutputTableOutput) StorageAccountKey added in v5.5.0

func (o OutputTableOutput) StorageAccountKey() pulumi.StringOutput

The Access Key which should be used to connect to this Storage Account.

func (OutputTableOutput) StorageAccountName added in v5.5.0

func (o OutputTableOutput) StorageAccountName() pulumi.StringOutput

The name of the Storage Account.

func (OutputTableOutput) StreamAnalyticsJobName added in v5.5.0

func (o OutputTableOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (OutputTableOutput) Table added in v5.5.0

The name of the table where the stream should be output to.

func (OutputTableOutput) ToOutputTableOutput

func (o OutputTableOutput) ToOutputTableOutput() OutputTableOutput

func (OutputTableOutput) ToOutputTableOutputWithContext

func (o OutputTableOutput) ToOutputTableOutputWithContext(ctx context.Context) OutputTableOutput

type OutputTableState

type OutputTableState struct {
	// The number of records for a batch operation. Must be between `1` and `100`.
	BatchSize pulumi.IntPtrInput
	// A list of the column names to be removed from output event entities.
	ColumnsToRemoves pulumi.StringArrayInput
	// The name of the Stream Output. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the output column that contains the partition key.
	PartitionKey pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the output column that contains the row key.
	RowKey pulumi.StringPtrInput
	// The Access Key which should be used to connect to this Storage Account.
	StorageAccountKey pulumi.StringPtrInput
	// The name of the Storage Account.
	StorageAccountName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
	// The name of the table where the stream should be output to.
	Table pulumi.StringPtrInput
}

func (OutputTableState) ElementType

func (OutputTableState) ElementType() reflect.Type

type ReferenceInputBlob

type ReferenceInputBlob struct {
	pulumi.CustomResourceState

	// The authentication mode for the Stream Analytics Reference Input. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrOutput `pulumi:"authenticationMode"`
	// The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.
	DateFormat pulumi.StringOutput `pulumi:"dateFormat"`
	// The name of the Reference Input Blob. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.
	PathPattern pulumi.StringOutput `pulumi:"pathPattern"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `serialization` block as defined below.
	Serialization ReferenceInputBlobSerializationOutput `pulumi:"serialization"`
	// The Access Key which should be used to connect to this Storage Account. Required if `authenticationMode` is `ConnectionString`.
	StorageAccountKey pulumi.StringPtrOutput `pulumi:"storageAccountKey"`
	// The name of the Storage Account that has the blob container with reference data.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
	// The name of the Container within the Storage Account.
	StorageContainerName pulumi.StringOutput `pulumi:"storageContainerName"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
	// The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.
	TimeFormat pulumi.StringOutput `pulumi:"timeFormat"`
}

Manages a Stream Analytics Reference Input Blob. Reference data (also known as a lookup table) is a finite data set that is static or slowly changing in nature, used to perform a lookup or to correlate with your data stream. Learn more [here](https://docs.microsoft.com/azure/stream-analytics/stream-analytics-use-reference-data#azure-blob-storage).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplestoracc"),
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{
			Name:                pulumi.String("example"),
			StorageAccountName:  exampleAccount.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewReferenceInputBlob(ctx, "test", &streamanalytics.ReferenceInputBlobArgs{
			Name: pulumi.String("blob-reference-input"),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			StorageAccountName:   exampleAccount.Name,
			StorageAccountKey:    exampleAccount.PrimaryAccessKey,
			StorageContainerName: exampleContainer.Name,
			PathPattern:          pulumi.String("some-random-pattern"),
			DateFormat:           pulumi.String("yyyy/MM/dd"),
			TimeFormat:           pulumi.String("HH"),
			Serialization: &streamanalytics.ReferenceInputBlobSerializationArgs{
				Type:     pulumi.String("Json"),
				Encoding: pulumi.String("UTF8"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Reference Input Blob's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/referenceInputBlob:ReferenceInputBlob example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/inputs/input1 ```

func GetReferenceInputBlob

func GetReferenceInputBlob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReferenceInputBlobState, opts ...pulumi.ResourceOption) (*ReferenceInputBlob, error)

GetReferenceInputBlob gets an existing ReferenceInputBlob 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 NewReferenceInputBlob

func NewReferenceInputBlob(ctx *pulumi.Context,
	name string, args *ReferenceInputBlobArgs, opts ...pulumi.ResourceOption) (*ReferenceInputBlob, error)

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

func (*ReferenceInputBlob) ElementType

func (*ReferenceInputBlob) ElementType() reflect.Type

func (*ReferenceInputBlob) ToReferenceInputBlobOutput

func (i *ReferenceInputBlob) ToReferenceInputBlobOutput() ReferenceInputBlobOutput

func (*ReferenceInputBlob) ToReferenceInputBlobOutputWithContext

func (i *ReferenceInputBlob) ToReferenceInputBlobOutputWithContext(ctx context.Context) ReferenceInputBlobOutput

type ReferenceInputBlobArgs

type ReferenceInputBlobArgs struct {
	// The authentication mode for the Stream Analytics Reference Input. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.
	DateFormat pulumi.StringInput
	// The name of the Reference Input Blob. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.
	PathPattern pulumi.StringInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `serialization` block as defined below.
	Serialization ReferenceInputBlobSerializationInput
	// The Access Key which should be used to connect to this Storage Account. Required if `authenticationMode` is `ConnectionString`.
	StorageAccountKey pulumi.StringPtrInput
	// The name of the Storage Account that has the blob container with reference data.
	StorageAccountName pulumi.StringInput
	// The name of the Container within the Storage Account.
	StorageContainerName pulumi.StringInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
	// The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.
	TimeFormat pulumi.StringInput
}

The set of arguments for constructing a ReferenceInputBlob resource.

func (ReferenceInputBlobArgs) ElementType

func (ReferenceInputBlobArgs) ElementType() reflect.Type

type ReferenceInputBlobArray

type ReferenceInputBlobArray []ReferenceInputBlobInput

func (ReferenceInputBlobArray) ElementType

func (ReferenceInputBlobArray) ElementType() reflect.Type

func (ReferenceInputBlobArray) ToReferenceInputBlobArrayOutput

func (i ReferenceInputBlobArray) ToReferenceInputBlobArrayOutput() ReferenceInputBlobArrayOutput

func (ReferenceInputBlobArray) ToReferenceInputBlobArrayOutputWithContext

func (i ReferenceInputBlobArray) ToReferenceInputBlobArrayOutputWithContext(ctx context.Context) ReferenceInputBlobArrayOutput

type ReferenceInputBlobArrayInput

type ReferenceInputBlobArrayInput interface {
	pulumi.Input

	ToReferenceInputBlobArrayOutput() ReferenceInputBlobArrayOutput
	ToReferenceInputBlobArrayOutputWithContext(context.Context) ReferenceInputBlobArrayOutput
}

ReferenceInputBlobArrayInput is an input type that accepts ReferenceInputBlobArray and ReferenceInputBlobArrayOutput values. You can construct a concrete instance of `ReferenceInputBlobArrayInput` via:

ReferenceInputBlobArray{ ReferenceInputBlobArgs{...} }

type ReferenceInputBlobArrayOutput

type ReferenceInputBlobArrayOutput struct{ *pulumi.OutputState }

func (ReferenceInputBlobArrayOutput) ElementType

func (ReferenceInputBlobArrayOutput) Index

func (ReferenceInputBlobArrayOutput) ToReferenceInputBlobArrayOutput

func (o ReferenceInputBlobArrayOutput) ToReferenceInputBlobArrayOutput() ReferenceInputBlobArrayOutput

func (ReferenceInputBlobArrayOutput) ToReferenceInputBlobArrayOutputWithContext

func (o ReferenceInputBlobArrayOutput) ToReferenceInputBlobArrayOutputWithContext(ctx context.Context) ReferenceInputBlobArrayOutput

type ReferenceInputBlobInput

type ReferenceInputBlobInput interface {
	pulumi.Input

	ToReferenceInputBlobOutput() ReferenceInputBlobOutput
	ToReferenceInputBlobOutputWithContext(ctx context.Context) ReferenceInputBlobOutput
}

type ReferenceInputBlobMap

type ReferenceInputBlobMap map[string]ReferenceInputBlobInput

func (ReferenceInputBlobMap) ElementType

func (ReferenceInputBlobMap) ElementType() reflect.Type

func (ReferenceInputBlobMap) ToReferenceInputBlobMapOutput

func (i ReferenceInputBlobMap) ToReferenceInputBlobMapOutput() ReferenceInputBlobMapOutput

func (ReferenceInputBlobMap) ToReferenceInputBlobMapOutputWithContext

func (i ReferenceInputBlobMap) ToReferenceInputBlobMapOutputWithContext(ctx context.Context) ReferenceInputBlobMapOutput

type ReferenceInputBlobMapInput

type ReferenceInputBlobMapInput interface {
	pulumi.Input

	ToReferenceInputBlobMapOutput() ReferenceInputBlobMapOutput
	ToReferenceInputBlobMapOutputWithContext(context.Context) ReferenceInputBlobMapOutput
}

ReferenceInputBlobMapInput is an input type that accepts ReferenceInputBlobMap and ReferenceInputBlobMapOutput values. You can construct a concrete instance of `ReferenceInputBlobMapInput` via:

ReferenceInputBlobMap{ "key": ReferenceInputBlobArgs{...} }

type ReferenceInputBlobMapOutput

type ReferenceInputBlobMapOutput struct{ *pulumi.OutputState }

func (ReferenceInputBlobMapOutput) ElementType

func (ReferenceInputBlobMapOutput) MapIndex

func (ReferenceInputBlobMapOutput) ToReferenceInputBlobMapOutput

func (o ReferenceInputBlobMapOutput) ToReferenceInputBlobMapOutput() ReferenceInputBlobMapOutput

func (ReferenceInputBlobMapOutput) ToReferenceInputBlobMapOutputWithContext

func (o ReferenceInputBlobMapOutput) ToReferenceInputBlobMapOutputWithContext(ctx context.Context) ReferenceInputBlobMapOutput

type ReferenceInputBlobOutput

type ReferenceInputBlobOutput struct{ *pulumi.OutputState }

func (ReferenceInputBlobOutput) AuthenticationMode added in v5.18.0

func (o ReferenceInputBlobOutput) AuthenticationMode() pulumi.StringPtrOutput

The authentication mode for the Stream Analytics Reference Input. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.

func (ReferenceInputBlobOutput) DateFormat added in v5.5.0

The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.

func (ReferenceInputBlobOutput) ElementType

func (ReferenceInputBlobOutput) ElementType() reflect.Type

func (ReferenceInputBlobOutput) Name added in v5.5.0

The name of the Reference Input Blob. Changing this forces a new resource to be created.

func (ReferenceInputBlobOutput) PathPattern added in v5.5.0

The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.

func (ReferenceInputBlobOutput) ResourceGroupName added in v5.5.0

func (o ReferenceInputBlobOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (ReferenceInputBlobOutput) Serialization added in v5.5.0

A `serialization` block as defined below.

func (ReferenceInputBlobOutput) StorageAccountKey added in v5.5.0

func (o ReferenceInputBlobOutput) StorageAccountKey() pulumi.StringPtrOutput

The Access Key which should be used to connect to this Storage Account. Required if `authenticationMode` is `ConnectionString`.

func (ReferenceInputBlobOutput) StorageAccountName added in v5.5.0

func (o ReferenceInputBlobOutput) StorageAccountName() pulumi.StringOutput

The name of the Storage Account that has the blob container with reference data.

func (ReferenceInputBlobOutput) StorageContainerName added in v5.5.0

func (o ReferenceInputBlobOutput) StorageContainerName() pulumi.StringOutput

The name of the Container within the Storage Account.

func (ReferenceInputBlobOutput) StreamAnalyticsJobName added in v5.5.0

func (o ReferenceInputBlobOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (ReferenceInputBlobOutput) TimeFormat added in v5.5.0

The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.

func (ReferenceInputBlobOutput) ToReferenceInputBlobOutput

func (o ReferenceInputBlobOutput) ToReferenceInputBlobOutput() ReferenceInputBlobOutput

func (ReferenceInputBlobOutput) ToReferenceInputBlobOutputWithContext

func (o ReferenceInputBlobOutput) ToReferenceInputBlobOutputWithContext(ctx context.Context) ReferenceInputBlobOutput

type ReferenceInputBlobSerialization

type ReferenceInputBlobSerialization struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding *string `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// The serialization format used for the reference data. Possible values are `Avro`, `Csv` and `Json`.
	Type string `pulumi:"type"`
}

type ReferenceInputBlobSerializationArgs

type ReferenceInputBlobSerializationArgs struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// The serialization format used for the reference data. Possible values are `Avro`, `Csv` and `Json`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ReferenceInputBlobSerializationArgs) ElementType

func (ReferenceInputBlobSerializationArgs) ToReferenceInputBlobSerializationOutput

func (i ReferenceInputBlobSerializationArgs) ToReferenceInputBlobSerializationOutput() ReferenceInputBlobSerializationOutput

func (ReferenceInputBlobSerializationArgs) ToReferenceInputBlobSerializationOutputWithContext

func (i ReferenceInputBlobSerializationArgs) ToReferenceInputBlobSerializationOutputWithContext(ctx context.Context) ReferenceInputBlobSerializationOutput

func (ReferenceInputBlobSerializationArgs) ToReferenceInputBlobSerializationPtrOutput

func (i ReferenceInputBlobSerializationArgs) ToReferenceInputBlobSerializationPtrOutput() ReferenceInputBlobSerializationPtrOutput

func (ReferenceInputBlobSerializationArgs) ToReferenceInputBlobSerializationPtrOutputWithContext

func (i ReferenceInputBlobSerializationArgs) ToReferenceInputBlobSerializationPtrOutputWithContext(ctx context.Context) ReferenceInputBlobSerializationPtrOutput

type ReferenceInputBlobSerializationInput

type ReferenceInputBlobSerializationInput interface {
	pulumi.Input

	ToReferenceInputBlobSerializationOutput() ReferenceInputBlobSerializationOutput
	ToReferenceInputBlobSerializationOutputWithContext(context.Context) ReferenceInputBlobSerializationOutput
}

ReferenceInputBlobSerializationInput is an input type that accepts ReferenceInputBlobSerializationArgs and ReferenceInputBlobSerializationOutput values. You can construct a concrete instance of `ReferenceInputBlobSerializationInput` via:

ReferenceInputBlobSerializationArgs{...}

type ReferenceInputBlobSerializationOutput

type ReferenceInputBlobSerializationOutput struct{ *pulumi.OutputState }

func (ReferenceInputBlobSerializationOutput) ElementType

func (ReferenceInputBlobSerializationOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (ReferenceInputBlobSerializationOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (ReferenceInputBlobSerializationOutput) ToReferenceInputBlobSerializationOutput

func (o ReferenceInputBlobSerializationOutput) ToReferenceInputBlobSerializationOutput() ReferenceInputBlobSerializationOutput

func (ReferenceInputBlobSerializationOutput) ToReferenceInputBlobSerializationOutputWithContext

func (o ReferenceInputBlobSerializationOutput) ToReferenceInputBlobSerializationOutputWithContext(ctx context.Context) ReferenceInputBlobSerializationOutput

func (ReferenceInputBlobSerializationOutput) ToReferenceInputBlobSerializationPtrOutput

func (o ReferenceInputBlobSerializationOutput) ToReferenceInputBlobSerializationPtrOutput() ReferenceInputBlobSerializationPtrOutput

func (ReferenceInputBlobSerializationOutput) ToReferenceInputBlobSerializationPtrOutputWithContext

func (o ReferenceInputBlobSerializationOutput) ToReferenceInputBlobSerializationPtrOutputWithContext(ctx context.Context) ReferenceInputBlobSerializationPtrOutput

func (ReferenceInputBlobSerializationOutput) Type

The serialization format used for the reference data. Possible values are `Avro`, `Csv` and `Json`.

type ReferenceInputBlobSerializationPtrInput

type ReferenceInputBlobSerializationPtrInput interface {
	pulumi.Input

	ToReferenceInputBlobSerializationPtrOutput() ReferenceInputBlobSerializationPtrOutput
	ToReferenceInputBlobSerializationPtrOutputWithContext(context.Context) ReferenceInputBlobSerializationPtrOutput
}

ReferenceInputBlobSerializationPtrInput is an input type that accepts ReferenceInputBlobSerializationArgs, ReferenceInputBlobSerializationPtr and ReferenceInputBlobSerializationPtrOutput values. You can construct a concrete instance of `ReferenceInputBlobSerializationPtrInput` via:

        ReferenceInputBlobSerializationArgs{...}

or:

        nil

type ReferenceInputBlobSerializationPtrOutput

type ReferenceInputBlobSerializationPtrOutput struct{ *pulumi.OutputState }

func (ReferenceInputBlobSerializationPtrOutput) Elem

func (ReferenceInputBlobSerializationPtrOutput) ElementType

func (ReferenceInputBlobSerializationPtrOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (ReferenceInputBlobSerializationPtrOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (ReferenceInputBlobSerializationPtrOutput) ToReferenceInputBlobSerializationPtrOutput

func (o ReferenceInputBlobSerializationPtrOutput) ToReferenceInputBlobSerializationPtrOutput() ReferenceInputBlobSerializationPtrOutput

func (ReferenceInputBlobSerializationPtrOutput) ToReferenceInputBlobSerializationPtrOutputWithContext

func (o ReferenceInputBlobSerializationPtrOutput) ToReferenceInputBlobSerializationPtrOutputWithContext(ctx context.Context) ReferenceInputBlobSerializationPtrOutput

func (ReferenceInputBlobSerializationPtrOutput) Type

The serialization format used for the reference data. Possible values are `Avro`, `Csv` and `Json`.

type ReferenceInputBlobState

type ReferenceInputBlobState struct {
	// The authentication mode for the Stream Analytics Reference Input. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.
	DateFormat pulumi.StringPtrInput
	// The name of the Reference Input Blob. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.
	PathPattern pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `serialization` block as defined below.
	Serialization ReferenceInputBlobSerializationPtrInput
	// The Access Key which should be used to connect to this Storage Account. Required if `authenticationMode` is `ConnectionString`.
	StorageAccountKey pulumi.StringPtrInput
	// The name of the Storage Account that has the blob container with reference data.
	StorageAccountName pulumi.StringPtrInput
	// The name of the Container within the Storage Account.
	StorageContainerName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
	// The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.
	TimeFormat pulumi.StringPtrInput
}

func (ReferenceInputBlobState) ElementType

func (ReferenceInputBlobState) ElementType() reflect.Type

type ReferenceInputMssql

type ReferenceInputMssql struct {
	pulumi.CustomResourceState

	// The MS SQL database name where the reference data exists.
	Database pulumi.StringOutput `pulumi:"database"`
	// The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when `refreshType` is `Static`.
	DeltaSnapshotQuery pulumi.StringPtrOutput `pulumi:"deltaSnapshotQuery"`
	// The query used to retrieve the reference data from the MS SQL database.
	FullSnapshotQuery pulumi.StringOutput `pulumi:"fullSnapshotQuery"`
	// The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The password to connect to the MS SQL database.
	Password pulumi.StringOutput `pulumi:"password"`
	// The frequency in `hh:mm:ss` with which the reference data should be retrieved from the MS SQL database e.g. `00:20:00` for every 20 minutes. Must be set when `refreshType` is `RefreshPeriodicallyWithFull` or `RefreshPeriodicallyWithDelta`.
	RefreshIntervalDuration pulumi.StringPtrOutput `pulumi:"refreshIntervalDuration"`
	// Defines whether and how the reference data should be refreshed. Accepted values are `Static`, `RefreshPeriodicallyWithFull` and `RefreshPeriodicallyWithDelta`.
	RefreshType pulumi.StringOutput `pulumi:"refreshType"`
	// The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The fully qualified domain name of the MS SQL server.
	Server pulumi.StringOutput `pulumi:"server"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
	// The name of the table in the Azure SQL database.
	Table pulumi.StringPtrOutput `pulumi:"table"`
	// The username to connect to the MS SQL database.
	Username pulumi.StringOutput `pulumi:"username"`
}

Manages a Stream Analytics Reference Input from MS SQL. Reference data (also known as a lookup table) is a finite data set that is static or slowly changing in nature, used to perform a lookup or to correlate with your data stream. Learn more [here](https://docs.microsoft.com/azure/stream-analytics/stream-analytics-use-reference-data#azure-sql-database).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/mssql"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleServer, err := mssql.NewServer(ctx, "example", &mssql.ServerArgs{
			Name:                       pulumi.String("example-sqlserver"),
			ResourceGroupName:          exampleResourceGroup.Name,
			Location:                   exampleResourceGroup.Location,
			Version:                    pulumi.String("12.0"),
			AdministratorLogin:         pulumi.String("admin"),
			AdministratorLoginPassword: pulumi.String("password"),
		})
		if err != nil {
			return err
		}
		exampleDatabase, err := mssql.NewDatabase(ctx, "example", &mssql.DatabaseArgs{
			Name:     pulumi.String("example-db"),
			ServerId: exampleServer.ID(),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewReferenceInputMssql(ctx, "example", &streamanalytics.ReferenceInputMssqlArgs{
			Name: pulumi.String("example-reference-input"),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			Server:                  exampleServer.FullyQualifiedDomainName,
			Database:                exampleDatabase.Name,
			Username:                pulumi.String("exampleuser"),
			Password:                pulumi.String("examplepassword"),
			RefreshType:             pulumi.String("RefreshPeriodicallyWithFull"),
			RefreshIntervalDuration: pulumi.String("00:20:00"),
			FullSnapshotQuery:       pulumi.String("    SELECT *\n    INTO [YourOutputAlias]\n    FROM [YourInputAlias]\n"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/referenceInputMssql:ReferenceInputMssql example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/inputs/input1 ```

func GetReferenceInputMssql

func GetReferenceInputMssql(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReferenceInputMssqlState, opts ...pulumi.ResourceOption) (*ReferenceInputMssql, error)

GetReferenceInputMssql gets an existing ReferenceInputMssql 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 NewReferenceInputMssql

func NewReferenceInputMssql(ctx *pulumi.Context,
	name string, args *ReferenceInputMssqlArgs, opts ...pulumi.ResourceOption) (*ReferenceInputMssql, error)

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

func (*ReferenceInputMssql) ElementType

func (*ReferenceInputMssql) ElementType() reflect.Type

func (*ReferenceInputMssql) ToReferenceInputMssqlOutput

func (i *ReferenceInputMssql) ToReferenceInputMssqlOutput() ReferenceInputMssqlOutput

func (*ReferenceInputMssql) ToReferenceInputMssqlOutputWithContext

func (i *ReferenceInputMssql) ToReferenceInputMssqlOutputWithContext(ctx context.Context) ReferenceInputMssqlOutput

type ReferenceInputMssqlArgs

type ReferenceInputMssqlArgs struct {
	// The MS SQL database name where the reference data exists.
	Database pulumi.StringInput
	// The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when `refreshType` is `Static`.
	DeltaSnapshotQuery pulumi.StringPtrInput
	// The query used to retrieve the reference data from the MS SQL database.
	FullSnapshotQuery pulumi.StringInput
	// The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The password to connect to the MS SQL database.
	Password pulumi.StringInput
	// The frequency in `hh:mm:ss` with which the reference data should be retrieved from the MS SQL database e.g. `00:20:00` for every 20 minutes. Must be set when `refreshType` is `RefreshPeriodicallyWithFull` or `RefreshPeriodicallyWithDelta`.
	RefreshIntervalDuration pulumi.StringPtrInput
	// Defines whether and how the reference data should be refreshed. Accepted values are `Static`, `RefreshPeriodicallyWithFull` and `RefreshPeriodicallyWithDelta`.
	RefreshType pulumi.StringInput
	// The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The fully qualified domain name of the MS SQL server.
	Server pulumi.StringInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
	// The name of the table in the Azure SQL database.
	Table pulumi.StringPtrInput
	// The username to connect to the MS SQL database.
	Username pulumi.StringInput
}

The set of arguments for constructing a ReferenceInputMssql resource.

func (ReferenceInputMssqlArgs) ElementType

func (ReferenceInputMssqlArgs) ElementType() reflect.Type

type ReferenceInputMssqlArray

type ReferenceInputMssqlArray []ReferenceInputMssqlInput

func (ReferenceInputMssqlArray) ElementType

func (ReferenceInputMssqlArray) ElementType() reflect.Type

func (ReferenceInputMssqlArray) ToReferenceInputMssqlArrayOutput

func (i ReferenceInputMssqlArray) ToReferenceInputMssqlArrayOutput() ReferenceInputMssqlArrayOutput

func (ReferenceInputMssqlArray) ToReferenceInputMssqlArrayOutputWithContext

func (i ReferenceInputMssqlArray) ToReferenceInputMssqlArrayOutputWithContext(ctx context.Context) ReferenceInputMssqlArrayOutput

type ReferenceInputMssqlArrayInput

type ReferenceInputMssqlArrayInput interface {
	pulumi.Input

	ToReferenceInputMssqlArrayOutput() ReferenceInputMssqlArrayOutput
	ToReferenceInputMssqlArrayOutputWithContext(context.Context) ReferenceInputMssqlArrayOutput
}

ReferenceInputMssqlArrayInput is an input type that accepts ReferenceInputMssqlArray and ReferenceInputMssqlArrayOutput values. You can construct a concrete instance of `ReferenceInputMssqlArrayInput` via:

ReferenceInputMssqlArray{ ReferenceInputMssqlArgs{...} }

type ReferenceInputMssqlArrayOutput

type ReferenceInputMssqlArrayOutput struct{ *pulumi.OutputState }

func (ReferenceInputMssqlArrayOutput) ElementType

func (ReferenceInputMssqlArrayOutput) Index

func (ReferenceInputMssqlArrayOutput) ToReferenceInputMssqlArrayOutput

func (o ReferenceInputMssqlArrayOutput) ToReferenceInputMssqlArrayOutput() ReferenceInputMssqlArrayOutput

func (ReferenceInputMssqlArrayOutput) ToReferenceInputMssqlArrayOutputWithContext

func (o ReferenceInputMssqlArrayOutput) ToReferenceInputMssqlArrayOutputWithContext(ctx context.Context) ReferenceInputMssqlArrayOutput

type ReferenceInputMssqlInput

type ReferenceInputMssqlInput interface {
	pulumi.Input

	ToReferenceInputMssqlOutput() ReferenceInputMssqlOutput
	ToReferenceInputMssqlOutputWithContext(ctx context.Context) ReferenceInputMssqlOutput
}

type ReferenceInputMssqlMap

type ReferenceInputMssqlMap map[string]ReferenceInputMssqlInput

func (ReferenceInputMssqlMap) ElementType

func (ReferenceInputMssqlMap) ElementType() reflect.Type

func (ReferenceInputMssqlMap) ToReferenceInputMssqlMapOutput

func (i ReferenceInputMssqlMap) ToReferenceInputMssqlMapOutput() ReferenceInputMssqlMapOutput

func (ReferenceInputMssqlMap) ToReferenceInputMssqlMapOutputWithContext

func (i ReferenceInputMssqlMap) ToReferenceInputMssqlMapOutputWithContext(ctx context.Context) ReferenceInputMssqlMapOutput

type ReferenceInputMssqlMapInput

type ReferenceInputMssqlMapInput interface {
	pulumi.Input

	ToReferenceInputMssqlMapOutput() ReferenceInputMssqlMapOutput
	ToReferenceInputMssqlMapOutputWithContext(context.Context) ReferenceInputMssqlMapOutput
}

ReferenceInputMssqlMapInput is an input type that accepts ReferenceInputMssqlMap and ReferenceInputMssqlMapOutput values. You can construct a concrete instance of `ReferenceInputMssqlMapInput` via:

ReferenceInputMssqlMap{ "key": ReferenceInputMssqlArgs{...} }

type ReferenceInputMssqlMapOutput

type ReferenceInputMssqlMapOutput struct{ *pulumi.OutputState }

func (ReferenceInputMssqlMapOutput) ElementType

func (ReferenceInputMssqlMapOutput) MapIndex

func (ReferenceInputMssqlMapOutput) ToReferenceInputMssqlMapOutput

func (o ReferenceInputMssqlMapOutput) ToReferenceInputMssqlMapOutput() ReferenceInputMssqlMapOutput

func (ReferenceInputMssqlMapOutput) ToReferenceInputMssqlMapOutputWithContext

func (o ReferenceInputMssqlMapOutput) ToReferenceInputMssqlMapOutputWithContext(ctx context.Context) ReferenceInputMssqlMapOutput

type ReferenceInputMssqlOutput

type ReferenceInputMssqlOutput struct{ *pulumi.OutputState }

func (ReferenceInputMssqlOutput) Database added in v5.5.0

The MS SQL database name where the reference data exists.

func (ReferenceInputMssqlOutput) DeltaSnapshotQuery added in v5.5.0

func (o ReferenceInputMssqlOutput) DeltaSnapshotQuery() pulumi.StringPtrOutput

The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when `refreshType` is `Static`.

func (ReferenceInputMssqlOutput) ElementType

func (ReferenceInputMssqlOutput) ElementType() reflect.Type

func (ReferenceInputMssqlOutput) FullSnapshotQuery added in v5.5.0

func (o ReferenceInputMssqlOutput) FullSnapshotQuery() pulumi.StringOutput

The query used to retrieve the reference data from the MS SQL database.

func (ReferenceInputMssqlOutput) Name added in v5.5.0

The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.

func (ReferenceInputMssqlOutput) Password added in v5.5.0

The password to connect to the MS SQL database.

func (ReferenceInputMssqlOutput) RefreshIntervalDuration added in v5.5.0

func (o ReferenceInputMssqlOutput) RefreshIntervalDuration() pulumi.StringPtrOutput

The frequency in `hh:mm:ss` with which the reference data should be retrieved from the MS SQL database e.g. `00:20:00` for every 20 minutes. Must be set when `refreshType` is `RefreshPeriodicallyWithFull` or `RefreshPeriodicallyWithDelta`.

func (ReferenceInputMssqlOutput) RefreshType added in v5.5.0

Defines whether and how the reference data should be refreshed. Accepted values are `Static`, `RefreshPeriodicallyWithFull` and `RefreshPeriodicallyWithDelta`.

func (ReferenceInputMssqlOutput) ResourceGroupName added in v5.5.0

func (o ReferenceInputMssqlOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.

func (ReferenceInputMssqlOutput) Server added in v5.5.0

The fully qualified domain name of the MS SQL server.

func (ReferenceInputMssqlOutput) StreamAnalyticsJobName added in v5.5.0

func (o ReferenceInputMssqlOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (ReferenceInputMssqlOutput) Table added in v5.18.0

The name of the table in the Azure SQL database.

func (ReferenceInputMssqlOutput) ToReferenceInputMssqlOutput

func (o ReferenceInputMssqlOutput) ToReferenceInputMssqlOutput() ReferenceInputMssqlOutput

func (ReferenceInputMssqlOutput) ToReferenceInputMssqlOutputWithContext

func (o ReferenceInputMssqlOutput) ToReferenceInputMssqlOutputWithContext(ctx context.Context) ReferenceInputMssqlOutput

func (ReferenceInputMssqlOutput) Username added in v5.5.0

The username to connect to the MS SQL database.

type ReferenceInputMssqlState

type ReferenceInputMssqlState struct {
	// The MS SQL database name where the reference data exists.
	Database pulumi.StringPtrInput
	// The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when `refreshType` is `Static`.
	DeltaSnapshotQuery pulumi.StringPtrInput
	// The query used to retrieve the reference data from the MS SQL database.
	FullSnapshotQuery pulumi.StringPtrInput
	// The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The password to connect to the MS SQL database.
	Password pulumi.StringPtrInput
	// The frequency in `hh:mm:ss` with which the reference data should be retrieved from the MS SQL database e.g. `00:20:00` for every 20 minutes. Must be set when `refreshType` is `RefreshPeriodicallyWithFull` or `RefreshPeriodicallyWithDelta`.
	RefreshIntervalDuration pulumi.StringPtrInput
	// Defines whether and how the reference data should be refreshed. Accepted values are `Static`, `RefreshPeriodicallyWithFull` and `RefreshPeriodicallyWithDelta`.
	RefreshType pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The fully qualified domain name of the MS SQL server.
	Server pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
	// The name of the table in the Azure SQL database.
	Table pulumi.StringPtrInput
	// The username to connect to the MS SQL database.
	Username pulumi.StringPtrInput
}

func (ReferenceInputMssqlState) ElementType

func (ReferenceInputMssqlState) ElementType() reflect.Type

type StreamInputBlob

type StreamInputBlob struct {
	pulumi.CustomResourceState

	// The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.
	DateFormat pulumi.StringOutput `pulumi:"dateFormat"`
	// The name of the Stream Input Blob. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.
	PathPattern pulumi.StringOutput `pulumi:"pathPattern"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `serialization` block as defined below.
	Serialization StreamInputBlobSerializationOutput `pulumi:"serialization"`
	// The Access Key which should be used to connect to this Storage Account.
	StorageAccountKey pulumi.StringOutput `pulumi:"storageAccountKey"`
	// The name of the Storage Account.
	StorageAccountName pulumi.StringOutput `pulumi:"storageAccountName"`
	// The name of the Container within the Storage Account.
	StorageContainerName pulumi.StringOutput `pulumi:"storageContainerName"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
	// The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.
	TimeFormat pulumi.StringOutput `pulumi:"timeFormat"`
}

Manages a Stream Analytics Stream Input Blob.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplestoracc"),
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{
			Name:                pulumi.String("example"),
			StorageAccountName:  exampleAccount.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewStreamInputBlob(ctx, "example", &streamanalytics.StreamInputBlobArgs{
			Name: pulumi.String("blob-stream-input"),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			StorageAccountName:   exampleAccount.Name,
			StorageAccountKey:    exampleAccount.PrimaryAccessKey,
			StorageContainerName: exampleContainer.Name,
			PathPattern:          pulumi.String("some-random-pattern"),
			DateFormat:           pulumi.String("yyyy/MM/dd"),
			TimeFormat:           pulumi.String("HH"),
			Serialization: &streamanalytics.StreamInputBlobSerializationArgs{
				Type:     pulumi.String("Json"),
				Encoding: pulumi.String("UTF8"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Stream Input Blob's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/streamInputBlob:StreamInputBlob example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/inputs/input1 ```

func GetStreamInputBlob

func GetStreamInputBlob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StreamInputBlobState, opts ...pulumi.ResourceOption) (*StreamInputBlob, error)

GetStreamInputBlob gets an existing StreamInputBlob 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 NewStreamInputBlob

func NewStreamInputBlob(ctx *pulumi.Context,
	name string, args *StreamInputBlobArgs, opts ...pulumi.ResourceOption) (*StreamInputBlob, error)

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

func (*StreamInputBlob) ElementType

func (*StreamInputBlob) ElementType() reflect.Type

func (*StreamInputBlob) ToStreamInputBlobOutput

func (i *StreamInputBlob) ToStreamInputBlobOutput() StreamInputBlobOutput

func (*StreamInputBlob) ToStreamInputBlobOutputWithContext

func (i *StreamInputBlob) ToStreamInputBlobOutputWithContext(ctx context.Context) StreamInputBlobOutput

type StreamInputBlobArgs

type StreamInputBlobArgs struct {
	// The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.
	DateFormat pulumi.StringInput
	// The name of the Stream Input Blob. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.
	PathPattern pulumi.StringInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `serialization` block as defined below.
	Serialization StreamInputBlobSerializationInput
	// The Access Key which should be used to connect to this Storage Account.
	StorageAccountKey pulumi.StringInput
	// The name of the Storage Account.
	StorageAccountName pulumi.StringInput
	// The name of the Container within the Storage Account.
	StorageContainerName pulumi.StringInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
	// The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.
	TimeFormat pulumi.StringInput
}

The set of arguments for constructing a StreamInputBlob resource.

func (StreamInputBlobArgs) ElementType

func (StreamInputBlobArgs) ElementType() reflect.Type

type StreamInputBlobArray

type StreamInputBlobArray []StreamInputBlobInput

func (StreamInputBlobArray) ElementType

func (StreamInputBlobArray) ElementType() reflect.Type

func (StreamInputBlobArray) ToStreamInputBlobArrayOutput

func (i StreamInputBlobArray) ToStreamInputBlobArrayOutput() StreamInputBlobArrayOutput

func (StreamInputBlobArray) ToStreamInputBlobArrayOutputWithContext

func (i StreamInputBlobArray) ToStreamInputBlobArrayOutputWithContext(ctx context.Context) StreamInputBlobArrayOutput

type StreamInputBlobArrayInput

type StreamInputBlobArrayInput interface {
	pulumi.Input

	ToStreamInputBlobArrayOutput() StreamInputBlobArrayOutput
	ToStreamInputBlobArrayOutputWithContext(context.Context) StreamInputBlobArrayOutput
}

StreamInputBlobArrayInput is an input type that accepts StreamInputBlobArray and StreamInputBlobArrayOutput values. You can construct a concrete instance of `StreamInputBlobArrayInput` via:

StreamInputBlobArray{ StreamInputBlobArgs{...} }

type StreamInputBlobArrayOutput

type StreamInputBlobArrayOutput struct{ *pulumi.OutputState }

func (StreamInputBlobArrayOutput) ElementType

func (StreamInputBlobArrayOutput) ElementType() reflect.Type

func (StreamInputBlobArrayOutput) Index

func (StreamInputBlobArrayOutput) ToStreamInputBlobArrayOutput

func (o StreamInputBlobArrayOutput) ToStreamInputBlobArrayOutput() StreamInputBlobArrayOutput

func (StreamInputBlobArrayOutput) ToStreamInputBlobArrayOutputWithContext

func (o StreamInputBlobArrayOutput) ToStreamInputBlobArrayOutputWithContext(ctx context.Context) StreamInputBlobArrayOutput

type StreamInputBlobInput

type StreamInputBlobInput interface {
	pulumi.Input

	ToStreamInputBlobOutput() StreamInputBlobOutput
	ToStreamInputBlobOutputWithContext(ctx context.Context) StreamInputBlobOutput
}

type StreamInputBlobMap

type StreamInputBlobMap map[string]StreamInputBlobInput

func (StreamInputBlobMap) ElementType

func (StreamInputBlobMap) ElementType() reflect.Type

func (StreamInputBlobMap) ToStreamInputBlobMapOutput

func (i StreamInputBlobMap) ToStreamInputBlobMapOutput() StreamInputBlobMapOutput

func (StreamInputBlobMap) ToStreamInputBlobMapOutputWithContext

func (i StreamInputBlobMap) ToStreamInputBlobMapOutputWithContext(ctx context.Context) StreamInputBlobMapOutput

type StreamInputBlobMapInput

type StreamInputBlobMapInput interface {
	pulumi.Input

	ToStreamInputBlobMapOutput() StreamInputBlobMapOutput
	ToStreamInputBlobMapOutputWithContext(context.Context) StreamInputBlobMapOutput
}

StreamInputBlobMapInput is an input type that accepts StreamInputBlobMap and StreamInputBlobMapOutput values. You can construct a concrete instance of `StreamInputBlobMapInput` via:

StreamInputBlobMap{ "key": StreamInputBlobArgs{...} }

type StreamInputBlobMapOutput

type StreamInputBlobMapOutput struct{ *pulumi.OutputState }

func (StreamInputBlobMapOutput) ElementType

func (StreamInputBlobMapOutput) ElementType() reflect.Type

func (StreamInputBlobMapOutput) MapIndex

func (StreamInputBlobMapOutput) ToStreamInputBlobMapOutput

func (o StreamInputBlobMapOutput) ToStreamInputBlobMapOutput() StreamInputBlobMapOutput

func (StreamInputBlobMapOutput) ToStreamInputBlobMapOutputWithContext

func (o StreamInputBlobMapOutput) ToStreamInputBlobMapOutputWithContext(ctx context.Context) StreamInputBlobMapOutput

type StreamInputBlobOutput

type StreamInputBlobOutput struct{ *pulumi.OutputState }

func (StreamInputBlobOutput) DateFormat added in v5.5.0

func (o StreamInputBlobOutput) DateFormat() pulumi.StringOutput

The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.

func (StreamInputBlobOutput) ElementType

func (StreamInputBlobOutput) ElementType() reflect.Type

func (StreamInputBlobOutput) Name added in v5.5.0

The name of the Stream Input Blob. Changing this forces a new resource to be created.

func (StreamInputBlobOutput) PathPattern added in v5.5.0

func (o StreamInputBlobOutput) PathPattern() pulumi.StringOutput

The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.

func (StreamInputBlobOutput) ResourceGroupName added in v5.5.0

func (o StreamInputBlobOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (StreamInputBlobOutput) Serialization added in v5.5.0

A `serialization` block as defined below.

func (StreamInputBlobOutput) StorageAccountKey added in v5.5.0

func (o StreamInputBlobOutput) StorageAccountKey() pulumi.StringOutput

The Access Key which should be used to connect to this Storage Account.

func (StreamInputBlobOutput) StorageAccountName added in v5.5.0

func (o StreamInputBlobOutput) StorageAccountName() pulumi.StringOutput

The name of the Storage Account.

func (StreamInputBlobOutput) StorageContainerName added in v5.5.0

func (o StreamInputBlobOutput) StorageContainerName() pulumi.StringOutput

The name of the Container within the Storage Account.

func (StreamInputBlobOutput) StreamAnalyticsJobName added in v5.5.0

func (o StreamInputBlobOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (StreamInputBlobOutput) TimeFormat added in v5.5.0

func (o StreamInputBlobOutput) TimeFormat() pulumi.StringOutput

The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.

func (StreamInputBlobOutput) ToStreamInputBlobOutput

func (o StreamInputBlobOutput) ToStreamInputBlobOutput() StreamInputBlobOutput

func (StreamInputBlobOutput) ToStreamInputBlobOutputWithContext

func (o StreamInputBlobOutput) ToStreamInputBlobOutputWithContext(ctx context.Context) StreamInputBlobOutput

type StreamInputBlobSerialization

type StreamInputBlobSerialization struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding *string `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
	Type string `pulumi:"type"`
}

type StreamInputBlobSerializationArgs

type StreamInputBlobSerializationArgs struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (StreamInputBlobSerializationArgs) ElementType

func (StreamInputBlobSerializationArgs) ToStreamInputBlobSerializationOutput

func (i StreamInputBlobSerializationArgs) ToStreamInputBlobSerializationOutput() StreamInputBlobSerializationOutput

func (StreamInputBlobSerializationArgs) ToStreamInputBlobSerializationOutputWithContext

func (i StreamInputBlobSerializationArgs) ToStreamInputBlobSerializationOutputWithContext(ctx context.Context) StreamInputBlobSerializationOutput

func (StreamInputBlobSerializationArgs) ToStreamInputBlobSerializationPtrOutput

func (i StreamInputBlobSerializationArgs) ToStreamInputBlobSerializationPtrOutput() StreamInputBlobSerializationPtrOutput

func (StreamInputBlobSerializationArgs) ToStreamInputBlobSerializationPtrOutputWithContext

func (i StreamInputBlobSerializationArgs) ToStreamInputBlobSerializationPtrOutputWithContext(ctx context.Context) StreamInputBlobSerializationPtrOutput

type StreamInputBlobSerializationInput

type StreamInputBlobSerializationInput interface {
	pulumi.Input

	ToStreamInputBlobSerializationOutput() StreamInputBlobSerializationOutput
	ToStreamInputBlobSerializationOutputWithContext(context.Context) StreamInputBlobSerializationOutput
}

StreamInputBlobSerializationInput is an input type that accepts StreamInputBlobSerializationArgs and StreamInputBlobSerializationOutput values. You can construct a concrete instance of `StreamInputBlobSerializationInput` via:

StreamInputBlobSerializationArgs{...}

type StreamInputBlobSerializationOutput

type StreamInputBlobSerializationOutput struct{ *pulumi.OutputState }

func (StreamInputBlobSerializationOutput) ElementType

func (StreamInputBlobSerializationOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (StreamInputBlobSerializationOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (StreamInputBlobSerializationOutput) ToStreamInputBlobSerializationOutput

func (o StreamInputBlobSerializationOutput) ToStreamInputBlobSerializationOutput() StreamInputBlobSerializationOutput

func (StreamInputBlobSerializationOutput) ToStreamInputBlobSerializationOutputWithContext

func (o StreamInputBlobSerializationOutput) ToStreamInputBlobSerializationOutputWithContext(ctx context.Context) StreamInputBlobSerializationOutput

func (StreamInputBlobSerializationOutput) ToStreamInputBlobSerializationPtrOutput

func (o StreamInputBlobSerializationOutput) ToStreamInputBlobSerializationPtrOutput() StreamInputBlobSerializationPtrOutput

func (StreamInputBlobSerializationOutput) ToStreamInputBlobSerializationPtrOutputWithContext

func (o StreamInputBlobSerializationOutput) ToStreamInputBlobSerializationPtrOutputWithContext(ctx context.Context) StreamInputBlobSerializationPtrOutput

func (StreamInputBlobSerializationOutput) Type

The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.

type StreamInputBlobSerializationPtrInput

type StreamInputBlobSerializationPtrInput interface {
	pulumi.Input

	ToStreamInputBlobSerializationPtrOutput() StreamInputBlobSerializationPtrOutput
	ToStreamInputBlobSerializationPtrOutputWithContext(context.Context) StreamInputBlobSerializationPtrOutput
}

StreamInputBlobSerializationPtrInput is an input type that accepts StreamInputBlobSerializationArgs, StreamInputBlobSerializationPtr and StreamInputBlobSerializationPtrOutput values. You can construct a concrete instance of `StreamInputBlobSerializationPtrInput` via:

        StreamInputBlobSerializationArgs{...}

or:

        nil

type StreamInputBlobSerializationPtrOutput

type StreamInputBlobSerializationPtrOutput struct{ *pulumi.OutputState }

func (StreamInputBlobSerializationPtrOutput) Elem

func (StreamInputBlobSerializationPtrOutput) ElementType

func (StreamInputBlobSerializationPtrOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (StreamInputBlobSerializationPtrOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (StreamInputBlobSerializationPtrOutput) ToStreamInputBlobSerializationPtrOutput

func (o StreamInputBlobSerializationPtrOutput) ToStreamInputBlobSerializationPtrOutput() StreamInputBlobSerializationPtrOutput

func (StreamInputBlobSerializationPtrOutput) ToStreamInputBlobSerializationPtrOutputWithContext

func (o StreamInputBlobSerializationPtrOutput) ToStreamInputBlobSerializationPtrOutputWithContext(ctx context.Context) StreamInputBlobSerializationPtrOutput

func (StreamInputBlobSerializationPtrOutput) Type

The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.

type StreamInputBlobState

type StreamInputBlobState struct {
	// The date format. Wherever `{date}` appears in `pathPattern`, the value of this property is used as the date format instead.
	DateFormat pulumi.StringPtrInput
	// The name of the Stream Input Blob. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job.
	PathPattern pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `serialization` block as defined below.
	Serialization StreamInputBlobSerializationPtrInput
	// The Access Key which should be used to connect to this Storage Account.
	StorageAccountKey pulumi.StringPtrInput
	// The name of the Storage Account.
	StorageAccountName pulumi.StringPtrInput
	// The name of the Container within the Storage Account.
	StorageContainerName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
	// The time format. Wherever `{time}` appears in `pathPattern`, the value of this property is used as the time format instead.
	TimeFormat pulumi.StringPtrInput
}

func (StreamInputBlobState) ElementType

func (StreamInputBlobState) ElementType() reflect.Type

type StreamInputEventHub

type StreamInputEventHub struct {
	pulumi.CustomResourceState

	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrOutput `pulumi:"authenticationMode"`
	// The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
	EventhubConsumerGroupName pulumi.StringPtrOutput `pulumi:"eventhubConsumerGroupName"`
	// The name of the Event Hub.
	EventhubName pulumi.StringOutput `pulumi:"eventhubName"`
	// The name of the Stream Input EventHub. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The property the input Event Hub has been partitioned by.
	PartitionKey pulumi.StringPtrOutput `pulumi:"partitionKey"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `serialization` block as defined below.
	Serialization StreamInputEventHubSerializationOutput `pulumi:"serialization"`
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringOutput `pulumi:"servicebusNamespace"`
	// The shared access policy key for the specified shared access policy.
	SharedAccessPolicyKey pulumi.StringPtrOutput `pulumi:"sharedAccessPolicyKey"`
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
	SharedAccessPolicyName pulumi.StringPtrOutput `pulumi:"sharedAccessPolicyName"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
}

> **Note:** This resource creates a Stream Input of type `Microsoft.ServiceBus/EventHub`, to create a Stream Input of type `Microsoft.EventHub/EventHub` please use the resource azurerm_stream_analytics_stream_input_eventhub_v2.

Manages a Stream Analytics Stream Input EventHub.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/eventhub"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "example", &eventhub.EventHubNamespaceArgs{
			Name:              pulumi.String("example-namespace"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("Standard"),
			Capacity:          pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		exampleEventHub, err := eventhub.NewEventHub(ctx, "example", &eventhub.EventHubArgs{
			Name:              pulumi.String("example-eventhub"),
			NamespaceName:     exampleEventHubNamespace.Name,
			ResourceGroupName: exampleResourceGroup.Name,
			PartitionCount:    pulumi.Int(2),
			MessageRetention:  pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		exampleConsumerGroup, err := eventhub.NewConsumerGroup(ctx, "example", &eventhub.ConsumerGroupArgs{
			Name:              pulumi.String("example-consumergroup"),
			NamespaceName:     exampleEventHubNamespace.Name,
			EventhubName:      exampleEventHub.Name,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewStreamInputEventHub(ctx, "example", &streamanalytics.StreamInputEventHubArgs{
			Name: pulumi.String("eventhub-stream-input"),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			EventhubConsumerGroupName: exampleConsumerGroup.Name,
			EventhubName:              exampleEventHub.Name,
			ServicebusNamespace:       exampleEventHubNamespace.Name,
			SharedAccessPolicyKey:     exampleEventHubNamespace.DefaultPrimaryKey,
			SharedAccessPolicyName:    pulumi.String("RootManageSharedAccessKey"),
			Serialization: &streamanalytics.StreamInputEventHubSerializationArgs{
				Type:     pulumi.String("Json"),
				Encoding: pulumi.String("UTF8"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Stream Input EventHub's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/streamInputEventHub:StreamInputEventHub example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/inputs/input1 ```

func GetStreamInputEventHub

func GetStreamInputEventHub(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StreamInputEventHubState, opts ...pulumi.ResourceOption) (*StreamInputEventHub, error)

GetStreamInputEventHub gets an existing StreamInputEventHub 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 NewStreamInputEventHub

func NewStreamInputEventHub(ctx *pulumi.Context,
	name string, args *StreamInputEventHubArgs, opts ...pulumi.ResourceOption) (*StreamInputEventHub, error)

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

func (*StreamInputEventHub) ElementType

func (*StreamInputEventHub) ElementType() reflect.Type

func (*StreamInputEventHub) ToStreamInputEventHubOutput

func (i *StreamInputEventHub) ToStreamInputEventHubOutput() StreamInputEventHubOutput

func (*StreamInputEventHub) ToStreamInputEventHubOutputWithContext

func (i *StreamInputEventHub) ToStreamInputEventHubOutputWithContext(ctx context.Context) StreamInputEventHubOutput

type StreamInputEventHubArgs

type StreamInputEventHubArgs struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
	EventhubConsumerGroupName pulumi.StringPtrInput
	// The name of the Event Hub.
	EventhubName pulumi.StringInput
	// The name of the Stream Input EventHub. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The property the input Event Hub has been partitioned by.
	PartitionKey pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `serialization` block as defined below.
	Serialization StreamInputEventHubSerializationInput
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringInput
	// The shared access policy key for the specified shared access policy.
	SharedAccessPolicyKey pulumi.StringPtrInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
	SharedAccessPolicyName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
}

The set of arguments for constructing a StreamInputEventHub resource.

func (StreamInputEventHubArgs) ElementType

func (StreamInputEventHubArgs) ElementType() reflect.Type

type StreamInputEventHubArray

type StreamInputEventHubArray []StreamInputEventHubInput

func (StreamInputEventHubArray) ElementType

func (StreamInputEventHubArray) ElementType() reflect.Type

func (StreamInputEventHubArray) ToStreamInputEventHubArrayOutput

func (i StreamInputEventHubArray) ToStreamInputEventHubArrayOutput() StreamInputEventHubArrayOutput

func (StreamInputEventHubArray) ToStreamInputEventHubArrayOutputWithContext

func (i StreamInputEventHubArray) ToStreamInputEventHubArrayOutputWithContext(ctx context.Context) StreamInputEventHubArrayOutput

type StreamInputEventHubArrayInput

type StreamInputEventHubArrayInput interface {
	pulumi.Input

	ToStreamInputEventHubArrayOutput() StreamInputEventHubArrayOutput
	ToStreamInputEventHubArrayOutputWithContext(context.Context) StreamInputEventHubArrayOutput
}

StreamInputEventHubArrayInput is an input type that accepts StreamInputEventHubArray and StreamInputEventHubArrayOutput values. You can construct a concrete instance of `StreamInputEventHubArrayInput` via:

StreamInputEventHubArray{ StreamInputEventHubArgs{...} }

type StreamInputEventHubArrayOutput

type StreamInputEventHubArrayOutput struct{ *pulumi.OutputState }

func (StreamInputEventHubArrayOutput) ElementType

func (StreamInputEventHubArrayOutput) Index

func (StreamInputEventHubArrayOutput) ToStreamInputEventHubArrayOutput

func (o StreamInputEventHubArrayOutput) ToStreamInputEventHubArrayOutput() StreamInputEventHubArrayOutput

func (StreamInputEventHubArrayOutput) ToStreamInputEventHubArrayOutputWithContext

func (o StreamInputEventHubArrayOutput) ToStreamInputEventHubArrayOutputWithContext(ctx context.Context) StreamInputEventHubArrayOutput

type StreamInputEventHubInput

type StreamInputEventHubInput interface {
	pulumi.Input

	ToStreamInputEventHubOutput() StreamInputEventHubOutput
	ToStreamInputEventHubOutputWithContext(ctx context.Context) StreamInputEventHubOutput
}

type StreamInputEventHubMap

type StreamInputEventHubMap map[string]StreamInputEventHubInput

func (StreamInputEventHubMap) ElementType

func (StreamInputEventHubMap) ElementType() reflect.Type

func (StreamInputEventHubMap) ToStreamInputEventHubMapOutput

func (i StreamInputEventHubMap) ToStreamInputEventHubMapOutput() StreamInputEventHubMapOutput

func (StreamInputEventHubMap) ToStreamInputEventHubMapOutputWithContext

func (i StreamInputEventHubMap) ToStreamInputEventHubMapOutputWithContext(ctx context.Context) StreamInputEventHubMapOutput

type StreamInputEventHubMapInput

type StreamInputEventHubMapInput interface {
	pulumi.Input

	ToStreamInputEventHubMapOutput() StreamInputEventHubMapOutput
	ToStreamInputEventHubMapOutputWithContext(context.Context) StreamInputEventHubMapOutput
}

StreamInputEventHubMapInput is an input type that accepts StreamInputEventHubMap and StreamInputEventHubMapOutput values. You can construct a concrete instance of `StreamInputEventHubMapInput` via:

StreamInputEventHubMap{ "key": StreamInputEventHubArgs{...} }

type StreamInputEventHubMapOutput

type StreamInputEventHubMapOutput struct{ *pulumi.OutputState }

func (StreamInputEventHubMapOutput) ElementType

func (StreamInputEventHubMapOutput) MapIndex

func (StreamInputEventHubMapOutput) ToStreamInputEventHubMapOutput

func (o StreamInputEventHubMapOutput) ToStreamInputEventHubMapOutput() StreamInputEventHubMapOutput

func (StreamInputEventHubMapOutput) ToStreamInputEventHubMapOutputWithContext

func (o StreamInputEventHubMapOutput) ToStreamInputEventHubMapOutputWithContext(ctx context.Context) StreamInputEventHubMapOutput

type StreamInputEventHubOutput

type StreamInputEventHubOutput struct{ *pulumi.OutputState }

func (StreamInputEventHubOutput) AuthenticationMode added in v5.15.0

func (o StreamInputEventHubOutput) AuthenticationMode() pulumi.StringPtrOutput

The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.

func (StreamInputEventHubOutput) ElementType

func (StreamInputEventHubOutput) ElementType() reflect.Type

func (StreamInputEventHubOutput) EventhubConsumerGroupName added in v5.5.0

func (o StreamInputEventHubOutput) EventhubConsumerGroupName() pulumi.StringPtrOutput

The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.

func (StreamInputEventHubOutput) EventhubName added in v5.5.0

The name of the Event Hub.

func (StreamInputEventHubOutput) Name added in v5.5.0

The name of the Stream Input EventHub. Changing this forces a new resource to be created.

func (StreamInputEventHubOutput) PartitionKey added in v5.5.0

The property the input Event Hub has been partitioned by.

func (StreamInputEventHubOutput) ResourceGroupName added in v5.5.0

func (o StreamInputEventHubOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (StreamInputEventHubOutput) Serialization added in v5.5.0

A `serialization` block as defined below.

func (StreamInputEventHubOutput) ServicebusNamespace added in v5.5.0

func (o StreamInputEventHubOutput) ServicebusNamespace() pulumi.StringOutput

The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.

func (StreamInputEventHubOutput) SharedAccessPolicyKey added in v5.5.0

func (o StreamInputEventHubOutput) SharedAccessPolicyKey() pulumi.StringPtrOutput

The shared access policy key for the specified shared access policy.

func (StreamInputEventHubOutput) SharedAccessPolicyName added in v5.5.0

func (o StreamInputEventHubOutput) SharedAccessPolicyName() pulumi.StringPtrOutput

The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.

func (StreamInputEventHubOutput) StreamAnalyticsJobName added in v5.5.0

func (o StreamInputEventHubOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (StreamInputEventHubOutput) ToStreamInputEventHubOutput

func (o StreamInputEventHubOutput) ToStreamInputEventHubOutput() StreamInputEventHubOutput

func (StreamInputEventHubOutput) ToStreamInputEventHubOutputWithContext

func (o StreamInputEventHubOutput) ToStreamInputEventHubOutputWithContext(ctx context.Context) StreamInputEventHubOutput

type StreamInputEventHubSerialization

type StreamInputEventHubSerialization struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding *string `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
	Type string `pulumi:"type"`
}

type StreamInputEventHubSerializationArgs

type StreamInputEventHubSerializationArgs struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (StreamInputEventHubSerializationArgs) ElementType

func (StreamInputEventHubSerializationArgs) ToStreamInputEventHubSerializationOutput

func (i StreamInputEventHubSerializationArgs) ToStreamInputEventHubSerializationOutput() StreamInputEventHubSerializationOutput

func (StreamInputEventHubSerializationArgs) ToStreamInputEventHubSerializationOutputWithContext

func (i StreamInputEventHubSerializationArgs) ToStreamInputEventHubSerializationOutputWithContext(ctx context.Context) StreamInputEventHubSerializationOutput

func (StreamInputEventHubSerializationArgs) ToStreamInputEventHubSerializationPtrOutput

func (i StreamInputEventHubSerializationArgs) ToStreamInputEventHubSerializationPtrOutput() StreamInputEventHubSerializationPtrOutput

func (StreamInputEventHubSerializationArgs) ToStreamInputEventHubSerializationPtrOutputWithContext

func (i StreamInputEventHubSerializationArgs) ToStreamInputEventHubSerializationPtrOutputWithContext(ctx context.Context) StreamInputEventHubSerializationPtrOutput

type StreamInputEventHubSerializationInput

type StreamInputEventHubSerializationInput interface {
	pulumi.Input

	ToStreamInputEventHubSerializationOutput() StreamInputEventHubSerializationOutput
	ToStreamInputEventHubSerializationOutputWithContext(context.Context) StreamInputEventHubSerializationOutput
}

StreamInputEventHubSerializationInput is an input type that accepts StreamInputEventHubSerializationArgs and StreamInputEventHubSerializationOutput values. You can construct a concrete instance of `StreamInputEventHubSerializationInput` via:

StreamInputEventHubSerializationArgs{...}

type StreamInputEventHubSerializationOutput

type StreamInputEventHubSerializationOutput struct{ *pulumi.OutputState }

func (StreamInputEventHubSerializationOutput) ElementType

func (StreamInputEventHubSerializationOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (StreamInputEventHubSerializationOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (StreamInputEventHubSerializationOutput) ToStreamInputEventHubSerializationOutput

func (o StreamInputEventHubSerializationOutput) ToStreamInputEventHubSerializationOutput() StreamInputEventHubSerializationOutput

func (StreamInputEventHubSerializationOutput) ToStreamInputEventHubSerializationOutputWithContext

func (o StreamInputEventHubSerializationOutput) ToStreamInputEventHubSerializationOutputWithContext(ctx context.Context) StreamInputEventHubSerializationOutput

func (StreamInputEventHubSerializationOutput) ToStreamInputEventHubSerializationPtrOutput

func (o StreamInputEventHubSerializationOutput) ToStreamInputEventHubSerializationPtrOutput() StreamInputEventHubSerializationPtrOutput

func (StreamInputEventHubSerializationOutput) ToStreamInputEventHubSerializationPtrOutputWithContext

func (o StreamInputEventHubSerializationOutput) ToStreamInputEventHubSerializationPtrOutputWithContext(ctx context.Context) StreamInputEventHubSerializationPtrOutput

func (StreamInputEventHubSerializationOutput) Type

The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.

type StreamInputEventHubSerializationPtrInput

type StreamInputEventHubSerializationPtrInput interface {
	pulumi.Input

	ToStreamInputEventHubSerializationPtrOutput() StreamInputEventHubSerializationPtrOutput
	ToStreamInputEventHubSerializationPtrOutputWithContext(context.Context) StreamInputEventHubSerializationPtrOutput
}

StreamInputEventHubSerializationPtrInput is an input type that accepts StreamInputEventHubSerializationArgs, StreamInputEventHubSerializationPtr and StreamInputEventHubSerializationPtrOutput values. You can construct a concrete instance of `StreamInputEventHubSerializationPtrInput` via:

        StreamInputEventHubSerializationArgs{...}

or:

        nil

type StreamInputEventHubSerializationPtrOutput

type StreamInputEventHubSerializationPtrOutput struct{ *pulumi.OutputState }

func (StreamInputEventHubSerializationPtrOutput) Elem

func (StreamInputEventHubSerializationPtrOutput) ElementType

func (StreamInputEventHubSerializationPtrOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (StreamInputEventHubSerializationPtrOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (StreamInputEventHubSerializationPtrOutput) ToStreamInputEventHubSerializationPtrOutput

func (o StreamInputEventHubSerializationPtrOutput) ToStreamInputEventHubSerializationPtrOutput() StreamInputEventHubSerializationPtrOutput

func (StreamInputEventHubSerializationPtrOutput) ToStreamInputEventHubSerializationPtrOutputWithContext

func (o StreamInputEventHubSerializationPtrOutput) ToStreamInputEventHubSerializationPtrOutputWithContext(ctx context.Context) StreamInputEventHubSerializationPtrOutput

func (StreamInputEventHubSerializationPtrOutput) Type

The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.

type StreamInputEventHubState

type StreamInputEventHubState struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
	EventhubConsumerGroupName pulumi.StringPtrInput
	// The name of the Event Hub.
	EventhubName pulumi.StringPtrInput
	// The name of the Stream Input EventHub. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The property the input Event Hub has been partitioned by.
	PartitionKey pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `serialization` block as defined below.
	Serialization StreamInputEventHubSerializationPtrInput
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringPtrInput
	// The shared access policy key for the specified shared access policy.
	SharedAccessPolicyKey pulumi.StringPtrInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
	SharedAccessPolicyName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
}

func (StreamInputEventHubState) ElementType

func (StreamInputEventHubState) ElementType() reflect.Type

type StreamInputEventHubV2 added in v5.25.0

type StreamInputEventHubV2 struct {
	pulumi.CustomResourceState

	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrOutput `pulumi:"authenticationMode"`
	// The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
	EventhubConsumerGroupName pulumi.StringPtrOutput `pulumi:"eventhubConsumerGroupName"`
	// The name of the Event Hub.
	EventhubName pulumi.StringOutput `pulumi:"eventhubName"`
	// The name of the Stream Input EventHub V2. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The property the input Event Hub has been partitioned by.
	PartitionKey pulumi.StringPtrOutput `pulumi:"partitionKey"`
	// A `serialization` block as defined below.
	Serialization StreamInputEventHubV2SerializationOutput `pulumi:"serialization"`
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringOutput `pulumi:"servicebusNamespace"`
	// The shared access policy key for the specified shared access policy.
	SharedAccessPolicyKey pulumi.StringPtrOutput `pulumi:"sharedAccessPolicyKey"`
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
	SharedAccessPolicyName pulumi.StringPtrOutput `pulumi:"sharedAccessPolicyName"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringOutput `pulumi:"streamAnalyticsJobId"`
}

> **Note:** This resource creates a Stream Input of type `Microsoft.EventHub/EventHub`, to create a Stream Input of type `Microsoft.ServiceBus/EventHub` please use the resource azurerm_stream_analytics_stream_input_eventhub.

Manages a Stream Analytics Stream Input EventHub V2.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/eventhub"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "example", &eventhub.EventHubNamespaceArgs{
			Name:              pulumi.String("example-namespace"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku:               pulumi.String("Standard"),
			Capacity:          pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		exampleEventHub, err := eventhub.NewEventHub(ctx, "example", &eventhub.EventHubArgs{
			Name:              pulumi.String("example-eventhub"),
			NamespaceName:     exampleEventHubNamespace.Name,
			ResourceGroupName: exampleResourceGroup.Name,
			PartitionCount:    pulumi.Int(2),
			MessageRetention:  pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		exampleConsumerGroup, err := eventhub.NewConsumerGroup(ctx, "example", &eventhub.ConsumerGroupArgs{
			Name:              pulumi.String("example-consumergroup"),
			NamespaceName:     exampleEventHubNamespace.Name,
			EventhubName:      exampleEventHub.Name,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewStreamInputEventHubV2(ctx, "example", &streamanalytics.StreamInputEventHubV2Args{
			Name: pulumi.String("eventhub-stream-input"),
			StreamAnalyticsJobId: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Id, nil
			}).(pulumi.StringPtrOutput),
			EventhubConsumerGroupName: exampleConsumerGroup.Name,
			EventhubName:              exampleEventHub.Name,
			ServicebusNamespace:       exampleEventHubNamespace.Name,
			SharedAccessPolicyKey:     exampleEventHubNamespace.DefaultPrimaryKey,
			SharedAccessPolicyName:    pulumi.String("RootManageSharedAccessKey"),
			Serialization: &streamanalytics.StreamInputEventHubV2SerializationArgs{
				Type:     pulumi.String("Json"),
				Encoding: pulumi.String("UTF8"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Stream Input EventHub's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/streamInputEventHubV2:StreamInputEventHubV2 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/inputs/input1 ```

func GetStreamInputEventHubV2 added in v5.25.0

func GetStreamInputEventHubV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StreamInputEventHubV2State, opts ...pulumi.ResourceOption) (*StreamInputEventHubV2, error)

GetStreamInputEventHubV2 gets an existing StreamInputEventHubV2 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 NewStreamInputEventHubV2 added in v5.25.0

func NewStreamInputEventHubV2(ctx *pulumi.Context,
	name string, args *StreamInputEventHubV2Args, opts ...pulumi.ResourceOption) (*StreamInputEventHubV2, error)

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

func (*StreamInputEventHubV2) ElementType added in v5.25.0

func (*StreamInputEventHubV2) ElementType() reflect.Type

func (*StreamInputEventHubV2) ToStreamInputEventHubV2Output added in v5.25.0

func (i *StreamInputEventHubV2) ToStreamInputEventHubV2Output() StreamInputEventHubV2Output

func (*StreamInputEventHubV2) ToStreamInputEventHubV2OutputWithContext added in v5.25.0

func (i *StreamInputEventHubV2) ToStreamInputEventHubV2OutputWithContext(ctx context.Context) StreamInputEventHubV2Output

type StreamInputEventHubV2Args added in v5.25.0

type StreamInputEventHubV2Args struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
	EventhubConsumerGroupName pulumi.StringPtrInput
	// The name of the Event Hub.
	EventhubName pulumi.StringInput
	// The name of the Stream Input EventHub V2. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The property the input Event Hub has been partitioned by.
	PartitionKey pulumi.StringPtrInput
	// A `serialization` block as defined below.
	Serialization StreamInputEventHubV2SerializationInput
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringInput
	// The shared access policy key for the specified shared access policy.
	SharedAccessPolicyKey pulumi.StringPtrInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
	SharedAccessPolicyName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringInput
}

The set of arguments for constructing a StreamInputEventHubV2 resource.

func (StreamInputEventHubV2Args) ElementType added in v5.25.0

func (StreamInputEventHubV2Args) ElementType() reflect.Type

type StreamInputEventHubV2Array added in v5.25.0

type StreamInputEventHubV2Array []StreamInputEventHubV2Input

func (StreamInputEventHubV2Array) ElementType added in v5.25.0

func (StreamInputEventHubV2Array) ElementType() reflect.Type

func (StreamInputEventHubV2Array) ToStreamInputEventHubV2ArrayOutput added in v5.25.0

func (i StreamInputEventHubV2Array) ToStreamInputEventHubV2ArrayOutput() StreamInputEventHubV2ArrayOutput

func (StreamInputEventHubV2Array) ToStreamInputEventHubV2ArrayOutputWithContext added in v5.25.0

func (i StreamInputEventHubV2Array) ToStreamInputEventHubV2ArrayOutputWithContext(ctx context.Context) StreamInputEventHubV2ArrayOutput

type StreamInputEventHubV2ArrayInput added in v5.25.0

type StreamInputEventHubV2ArrayInput interface {
	pulumi.Input

	ToStreamInputEventHubV2ArrayOutput() StreamInputEventHubV2ArrayOutput
	ToStreamInputEventHubV2ArrayOutputWithContext(context.Context) StreamInputEventHubV2ArrayOutput
}

StreamInputEventHubV2ArrayInput is an input type that accepts StreamInputEventHubV2Array and StreamInputEventHubV2ArrayOutput values. You can construct a concrete instance of `StreamInputEventHubV2ArrayInput` via:

StreamInputEventHubV2Array{ StreamInputEventHubV2Args{...} }

type StreamInputEventHubV2ArrayOutput added in v5.25.0

type StreamInputEventHubV2ArrayOutput struct{ *pulumi.OutputState }

func (StreamInputEventHubV2ArrayOutput) ElementType added in v5.25.0

func (StreamInputEventHubV2ArrayOutput) Index added in v5.25.0

func (StreamInputEventHubV2ArrayOutput) ToStreamInputEventHubV2ArrayOutput added in v5.25.0

func (o StreamInputEventHubV2ArrayOutput) ToStreamInputEventHubV2ArrayOutput() StreamInputEventHubV2ArrayOutput

func (StreamInputEventHubV2ArrayOutput) ToStreamInputEventHubV2ArrayOutputWithContext added in v5.25.0

func (o StreamInputEventHubV2ArrayOutput) ToStreamInputEventHubV2ArrayOutputWithContext(ctx context.Context) StreamInputEventHubV2ArrayOutput

type StreamInputEventHubV2Input added in v5.25.0

type StreamInputEventHubV2Input interface {
	pulumi.Input

	ToStreamInputEventHubV2Output() StreamInputEventHubV2Output
	ToStreamInputEventHubV2OutputWithContext(ctx context.Context) StreamInputEventHubV2Output
}

type StreamInputEventHubV2Map added in v5.25.0

type StreamInputEventHubV2Map map[string]StreamInputEventHubV2Input

func (StreamInputEventHubV2Map) ElementType added in v5.25.0

func (StreamInputEventHubV2Map) ElementType() reflect.Type

func (StreamInputEventHubV2Map) ToStreamInputEventHubV2MapOutput added in v5.25.0

func (i StreamInputEventHubV2Map) ToStreamInputEventHubV2MapOutput() StreamInputEventHubV2MapOutput

func (StreamInputEventHubV2Map) ToStreamInputEventHubV2MapOutputWithContext added in v5.25.0

func (i StreamInputEventHubV2Map) ToStreamInputEventHubV2MapOutputWithContext(ctx context.Context) StreamInputEventHubV2MapOutput

type StreamInputEventHubV2MapInput added in v5.25.0

type StreamInputEventHubV2MapInput interface {
	pulumi.Input

	ToStreamInputEventHubV2MapOutput() StreamInputEventHubV2MapOutput
	ToStreamInputEventHubV2MapOutputWithContext(context.Context) StreamInputEventHubV2MapOutput
}

StreamInputEventHubV2MapInput is an input type that accepts StreamInputEventHubV2Map and StreamInputEventHubV2MapOutput values. You can construct a concrete instance of `StreamInputEventHubV2MapInput` via:

StreamInputEventHubV2Map{ "key": StreamInputEventHubV2Args{...} }

type StreamInputEventHubV2MapOutput added in v5.25.0

type StreamInputEventHubV2MapOutput struct{ *pulumi.OutputState }

func (StreamInputEventHubV2MapOutput) ElementType added in v5.25.0

func (StreamInputEventHubV2MapOutput) MapIndex added in v5.25.0

func (StreamInputEventHubV2MapOutput) ToStreamInputEventHubV2MapOutput added in v5.25.0

func (o StreamInputEventHubV2MapOutput) ToStreamInputEventHubV2MapOutput() StreamInputEventHubV2MapOutput

func (StreamInputEventHubV2MapOutput) ToStreamInputEventHubV2MapOutputWithContext added in v5.25.0

func (o StreamInputEventHubV2MapOutput) ToStreamInputEventHubV2MapOutputWithContext(ctx context.Context) StreamInputEventHubV2MapOutput

type StreamInputEventHubV2Output added in v5.25.0

type StreamInputEventHubV2Output struct{ *pulumi.OutputState }

func (StreamInputEventHubV2Output) AuthenticationMode added in v5.25.0

func (o StreamInputEventHubV2Output) AuthenticationMode() pulumi.StringPtrOutput

The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.

func (StreamInputEventHubV2Output) ElementType added in v5.25.0

func (StreamInputEventHubV2Output) EventhubConsumerGroupName added in v5.25.0

func (o StreamInputEventHubV2Output) EventhubConsumerGroupName() pulumi.StringPtrOutput

The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.

func (StreamInputEventHubV2Output) EventhubName added in v5.25.0

The name of the Event Hub.

func (StreamInputEventHubV2Output) Name added in v5.25.0

The name of the Stream Input EventHub V2. Changing this forces a new resource to be created.

func (StreamInputEventHubV2Output) PartitionKey added in v5.25.0

The property the input Event Hub has been partitioned by.

func (StreamInputEventHubV2Output) Serialization added in v5.25.0

A `serialization` block as defined below.

func (StreamInputEventHubV2Output) ServicebusNamespace added in v5.25.0

func (o StreamInputEventHubV2Output) ServicebusNamespace() pulumi.StringOutput

The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.

func (StreamInputEventHubV2Output) SharedAccessPolicyKey added in v5.25.0

func (o StreamInputEventHubV2Output) SharedAccessPolicyKey() pulumi.StringPtrOutput

The shared access policy key for the specified shared access policy.

func (StreamInputEventHubV2Output) SharedAccessPolicyName added in v5.25.0

func (o StreamInputEventHubV2Output) SharedAccessPolicyName() pulumi.StringPtrOutput

The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.

func (StreamInputEventHubV2Output) StreamAnalyticsJobId added in v5.25.0

func (o StreamInputEventHubV2Output) StreamAnalyticsJobId() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (StreamInputEventHubV2Output) ToStreamInputEventHubV2Output added in v5.25.0

func (o StreamInputEventHubV2Output) ToStreamInputEventHubV2Output() StreamInputEventHubV2Output

func (StreamInputEventHubV2Output) ToStreamInputEventHubV2OutputWithContext added in v5.25.0

func (o StreamInputEventHubV2Output) ToStreamInputEventHubV2OutputWithContext(ctx context.Context) StreamInputEventHubV2Output

type StreamInputEventHubV2Serialization added in v5.25.0

type StreamInputEventHubV2Serialization struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding *string `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
	Type string `pulumi:"type"`
}

type StreamInputEventHubV2SerializationArgs added in v5.25.0

type StreamInputEventHubV2SerializationArgs struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (StreamInputEventHubV2SerializationArgs) ElementType added in v5.25.0

func (StreamInputEventHubV2SerializationArgs) ToStreamInputEventHubV2SerializationOutput added in v5.25.0

func (i StreamInputEventHubV2SerializationArgs) ToStreamInputEventHubV2SerializationOutput() StreamInputEventHubV2SerializationOutput

func (StreamInputEventHubV2SerializationArgs) ToStreamInputEventHubV2SerializationOutputWithContext added in v5.25.0

func (i StreamInputEventHubV2SerializationArgs) ToStreamInputEventHubV2SerializationOutputWithContext(ctx context.Context) StreamInputEventHubV2SerializationOutput

func (StreamInputEventHubV2SerializationArgs) ToStreamInputEventHubV2SerializationPtrOutput added in v5.25.0

func (i StreamInputEventHubV2SerializationArgs) ToStreamInputEventHubV2SerializationPtrOutput() StreamInputEventHubV2SerializationPtrOutput

func (StreamInputEventHubV2SerializationArgs) ToStreamInputEventHubV2SerializationPtrOutputWithContext added in v5.25.0

func (i StreamInputEventHubV2SerializationArgs) ToStreamInputEventHubV2SerializationPtrOutputWithContext(ctx context.Context) StreamInputEventHubV2SerializationPtrOutput

type StreamInputEventHubV2SerializationInput added in v5.25.0

type StreamInputEventHubV2SerializationInput interface {
	pulumi.Input

	ToStreamInputEventHubV2SerializationOutput() StreamInputEventHubV2SerializationOutput
	ToStreamInputEventHubV2SerializationOutputWithContext(context.Context) StreamInputEventHubV2SerializationOutput
}

StreamInputEventHubV2SerializationInput is an input type that accepts StreamInputEventHubV2SerializationArgs and StreamInputEventHubV2SerializationOutput values. You can construct a concrete instance of `StreamInputEventHubV2SerializationInput` via:

StreamInputEventHubV2SerializationArgs{...}

type StreamInputEventHubV2SerializationOutput added in v5.25.0

type StreamInputEventHubV2SerializationOutput struct{ *pulumi.OutputState }

func (StreamInputEventHubV2SerializationOutput) ElementType added in v5.25.0

func (StreamInputEventHubV2SerializationOutput) Encoding added in v5.25.0

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (StreamInputEventHubV2SerializationOutput) FieldDelimiter added in v5.25.0

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (StreamInputEventHubV2SerializationOutput) ToStreamInputEventHubV2SerializationOutput added in v5.25.0

func (o StreamInputEventHubV2SerializationOutput) ToStreamInputEventHubV2SerializationOutput() StreamInputEventHubV2SerializationOutput

func (StreamInputEventHubV2SerializationOutput) ToStreamInputEventHubV2SerializationOutputWithContext added in v5.25.0

func (o StreamInputEventHubV2SerializationOutput) ToStreamInputEventHubV2SerializationOutputWithContext(ctx context.Context) StreamInputEventHubV2SerializationOutput

func (StreamInputEventHubV2SerializationOutput) ToStreamInputEventHubV2SerializationPtrOutput added in v5.25.0

func (o StreamInputEventHubV2SerializationOutput) ToStreamInputEventHubV2SerializationPtrOutput() StreamInputEventHubV2SerializationPtrOutput

func (StreamInputEventHubV2SerializationOutput) ToStreamInputEventHubV2SerializationPtrOutputWithContext added in v5.25.0

func (o StreamInputEventHubV2SerializationOutput) ToStreamInputEventHubV2SerializationPtrOutputWithContext(ctx context.Context) StreamInputEventHubV2SerializationPtrOutput

func (StreamInputEventHubV2SerializationOutput) Type added in v5.25.0

The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.

type StreamInputEventHubV2SerializationPtrInput added in v5.25.0

type StreamInputEventHubV2SerializationPtrInput interface {
	pulumi.Input

	ToStreamInputEventHubV2SerializationPtrOutput() StreamInputEventHubV2SerializationPtrOutput
	ToStreamInputEventHubV2SerializationPtrOutputWithContext(context.Context) StreamInputEventHubV2SerializationPtrOutput
}

StreamInputEventHubV2SerializationPtrInput is an input type that accepts StreamInputEventHubV2SerializationArgs, StreamInputEventHubV2SerializationPtr and StreamInputEventHubV2SerializationPtrOutput values. You can construct a concrete instance of `StreamInputEventHubV2SerializationPtrInput` via:

        StreamInputEventHubV2SerializationArgs{...}

or:

        nil

type StreamInputEventHubV2SerializationPtrOutput added in v5.25.0

type StreamInputEventHubV2SerializationPtrOutput struct{ *pulumi.OutputState }

func (StreamInputEventHubV2SerializationPtrOutput) Elem added in v5.25.0

func (StreamInputEventHubV2SerializationPtrOutput) ElementType added in v5.25.0

func (StreamInputEventHubV2SerializationPtrOutput) Encoding added in v5.25.0

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (StreamInputEventHubV2SerializationPtrOutput) FieldDelimiter added in v5.25.0

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (StreamInputEventHubV2SerializationPtrOutput) ToStreamInputEventHubV2SerializationPtrOutput added in v5.25.0

func (o StreamInputEventHubV2SerializationPtrOutput) ToStreamInputEventHubV2SerializationPtrOutput() StreamInputEventHubV2SerializationPtrOutput

func (StreamInputEventHubV2SerializationPtrOutput) ToStreamInputEventHubV2SerializationPtrOutputWithContext added in v5.25.0

func (o StreamInputEventHubV2SerializationPtrOutput) ToStreamInputEventHubV2SerializationPtrOutputWithContext(ctx context.Context) StreamInputEventHubV2SerializationPtrOutput

func (StreamInputEventHubV2SerializationPtrOutput) Type added in v5.25.0

The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.

type StreamInputEventHubV2State added in v5.25.0

type StreamInputEventHubV2State struct {
	// The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
	AuthenticationMode pulumi.StringPtrInput
	// The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not set the input will use the Event Hub's default consumer group.
	EventhubConsumerGroupName pulumi.StringPtrInput
	// The name of the Event Hub.
	EventhubName pulumi.StringPtrInput
	// The name of the Stream Input EventHub V2. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The property the input Event Hub has been partitioned by.
	PartitionKey pulumi.StringPtrInput
	// A `serialization` block as defined below.
	Serialization StreamInputEventHubV2SerializationPtrInput
	// The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc.
	ServicebusNamespace pulumi.StringPtrInput
	// The shared access policy key for the specified shared access policy.
	SharedAccessPolicyKey pulumi.StringPtrInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
	SharedAccessPolicyName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobId pulumi.StringPtrInput
}

func (StreamInputEventHubV2State) ElementType added in v5.25.0

func (StreamInputEventHubV2State) ElementType() reflect.Type

type StreamInputIotHub

type StreamInputIotHub struct {
	pulumi.CustomResourceState

	// The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.).
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub.
	EventhubConsumerGroupName pulumi.StringOutput `pulumi:"eventhubConsumerGroupName"`
	// The name or the URI of the IoT Hub.
	IothubNamespace pulumi.StringOutput `pulumi:"iothubNamespace"`
	// The name of the Stream Input IoTHub. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `serialization` block as defined below.
	Serialization StreamInputIotHubSerializationOutput `pulumi:"serialization"`
	// The shared access policy key for the specified shared access policy. Changing this forces a new resource to be created.
	SharedAccessPolicyKey pulumi.StringOutput `pulumi:"sharedAccessPolicyKey"`
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
	SharedAccessPolicyName pulumi.StringOutput `pulumi:"sharedAccessPolicyName"`
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringOutput `pulumi:"streamAnalyticsJobName"`
}

Manages a Stream Analytics Stream Input IoTHub.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/iot"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example := streamanalytics.LookupJobOutput(ctx, streamanalytics.GetJobOutputArgs{
			Name:              pulumi.String("example-job"),
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{
			Name:              pulumi.String("example-iothub"),
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			Sku: &iot.IoTHubSkuArgs{
				Name:     pulumi.String("S1"),
				Capacity: pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		_, err = streamanalytics.NewStreamInputIotHub(ctx, "example", &streamanalytics.StreamInputIotHubArgs{
			Name: pulumi.String("example-iothub-input"),
			StreamAnalyticsJobName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.Name, nil
			}).(pulumi.StringPtrOutput),
			ResourceGroupName: example.ApplyT(func(example streamanalytics.GetJobResult) (*string, error) {
				return &example.ResourceGroupName, nil
			}).(pulumi.StringPtrOutput),
			Endpoint:                  pulumi.String("messages/events"),
			EventhubConsumerGroupName: pulumi.String("$Default"),
			IothubNamespace:           exampleIoTHub.Name,
			SharedAccessPolicyKey: exampleIoTHub.SharedAccessPolicies.ApplyT(func(sharedAccessPolicies []iot.IoTHubSharedAccessPolicy) (*string, error) {
				return &sharedAccessPolicies[0].PrimaryKey, nil
			}).(pulumi.StringPtrOutput),
			SharedAccessPolicyName: pulumi.String("iothubowner"),
			Serialization: &streamanalytics.StreamInputIotHubSerializationArgs{
				Type:     pulumi.String("Json"),
				Encoding: pulumi.String("UTF8"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Stream Analytics Stream Input IoTHub's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:streamanalytics/streamInputIotHub:StreamInputIotHub example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/inputs/input1 ```

func GetStreamInputIotHub

func GetStreamInputIotHub(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StreamInputIotHubState, opts ...pulumi.ResourceOption) (*StreamInputIotHub, error)

GetStreamInputIotHub gets an existing StreamInputIotHub 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 NewStreamInputIotHub

func NewStreamInputIotHub(ctx *pulumi.Context,
	name string, args *StreamInputIotHubArgs, opts ...pulumi.ResourceOption) (*StreamInputIotHub, error)

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

func (*StreamInputIotHub) ElementType

func (*StreamInputIotHub) ElementType() reflect.Type

func (*StreamInputIotHub) ToStreamInputIotHubOutput

func (i *StreamInputIotHub) ToStreamInputIotHubOutput() StreamInputIotHubOutput

func (*StreamInputIotHub) ToStreamInputIotHubOutputWithContext

func (i *StreamInputIotHub) ToStreamInputIotHubOutputWithContext(ctx context.Context) StreamInputIotHubOutput

type StreamInputIotHubArgs

type StreamInputIotHubArgs struct {
	// The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.).
	Endpoint pulumi.StringInput
	// The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub.
	EventhubConsumerGroupName pulumi.StringInput
	// The name or the URI of the IoT Hub.
	IothubNamespace pulumi.StringInput
	// The name of the Stream Input IoTHub. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `serialization` block as defined below.
	Serialization StreamInputIotHubSerializationInput
	// The shared access policy key for the specified shared access policy. Changing this forces a new resource to be created.
	SharedAccessPolicyKey pulumi.StringInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
	SharedAccessPolicyName pulumi.StringInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringInput
}

The set of arguments for constructing a StreamInputIotHub resource.

func (StreamInputIotHubArgs) ElementType

func (StreamInputIotHubArgs) ElementType() reflect.Type

type StreamInputIotHubArray

type StreamInputIotHubArray []StreamInputIotHubInput

func (StreamInputIotHubArray) ElementType

func (StreamInputIotHubArray) ElementType() reflect.Type

func (StreamInputIotHubArray) ToStreamInputIotHubArrayOutput

func (i StreamInputIotHubArray) ToStreamInputIotHubArrayOutput() StreamInputIotHubArrayOutput

func (StreamInputIotHubArray) ToStreamInputIotHubArrayOutputWithContext

func (i StreamInputIotHubArray) ToStreamInputIotHubArrayOutputWithContext(ctx context.Context) StreamInputIotHubArrayOutput

type StreamInputIotHubArrayInput

type StreamInputIotHubArrayInput interface {
	pulumi.Input

	ToStreamInputIotHubArrayOutput() StreamInputIotHubArrayOutput
	ToStreamInputIotHubArrayOutputWithContext(context.Context) StreamInputIotHubArrayOutput
}

StreamInputIotHubArrayInput is an input type that accepts StreamInputIotHubArray and StreamInputIotHubArrayOutput values. You can construct a concrete instance of `StreamInputIotHubArrayInput` via:

StreamInputIotHubArray{ StreamInputIotHubArgs{...} }

type StreamInputIotHubArrayOutput

type StreamInputIotHubArrayOutput struct{ *pulumi.OutputState }

func (StreamInputIotHubArrayOutput) ElementType

func (StreamInputIotHubArrayOutput) Index

func (StreamInputIotHubArrayOutput) ToStreamInputIotHubArrayOutput

func (o StreamInputIotHubArrayOutput) ToStreamInputIotHubArrayOutput() StreamInputIotHubArrayOutput

func (StreamInputIotHubArrayOutput) ToStreamInputIotHubArrayOutputWithContext

func (o StreamInputIotHubArrayOutput) ToStreamInputIotHubArrayOutputWithContext(ctx context.Context) StreamInputIotHubArrayOutput

type StreamInputIotHubInput

type StreamInputIotHubInput interface {
	pulumi.Input

	ToStreamInputIotHubOutput() StreamInputIotHubOutput
	ToStreamInputIotHubOutputWithContext(ctx context.Context) StreamInputIotHubOutput
}

type StreamInputIotHubMap

type StreamInputIotHubMap map[string]StreamInputIotHubInput

func (StreamInputIotHubMap) ElementType

func (StreamInputIotHubMap) ElementType() reflect.Type

func (StreamInputIotHubMap) ToStreamInputIotHubMapOutput

func (i StreamInputIotHubMap) ToStreamInputIotHubMapOutput() StreamInputIotHubMapOutput

func (StreamInputIotHubMap) ToStreamInputIotHubMapOutputWithContext

func (i StreamInputIotHubMap) ToStreamInputIotHubMapOutputWithContext(ctx context.Context) StreamInputIotHubMapOutput

type StreamInputIotHubMapInput

type StreamInputIotHubMapInput interface {
	pulumi.Input

	ToStreamInputIotHubMapOutput() StreamInputIotHubMapOutput
	ToStreamInputIotHubMapOutputWithContext(context.Context) StreamInputIotHubMapOutput
}

StreamInputIotHubMapInput is an input type that accepts StreamInputIotHubMap and StreamInputIotHubMapOutput values. You can construct a concrete instance of `StreamInputIotHubMapInput` via:

StreamInputIotHubMap{ "key": StreamInputIotHubArgs{...} }

type StreamInputIotHubMapOutput

type StreamInputIotHubMapOutput struct{ *pulumi.OutputState }

func (StreamInputIotHubMapOutput) ElementType

func (StreamInputIotHubMapOutput) ElementType() reflect.Type

func (StreamInputIotHubMapOutput) MapIndex

func (StreamInputIotHubMapOutput) ToStreamInputIotHubMapOutput

func (o StreamInputIotHubMapOutput) ToStreamInputIotHubMapOutput() StreamInputIotHubMapOutput

func (StreamInputIotHubMapOutput) ToStreamInputIotHubMapOutputWithContext

func (o StreamInputIotHubMapOutput) ToStreamInputIotHubMapOutputWithContext(ctx context.Context) StreamInputIotHubMapOutput

type StreamInputIotHubOutput

type StreamInputIotHubOutput struct{ *pulumi.OutputState }

func (StreamInputIotHubOutput) ElementType

func (StreamInputIotHubOutput) ElementType() reflect.Type

func (StreamInputIotHubOutput) Endpoint added in v5.5.0

The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.).

func (StreamInputIotHubOutput) EventhubConsumerGroupName added in v5.5.0

func (o StreamInputIotHubOutput) EventhubConsumerGroupName() pulumi.StringOutput

The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub.

func (StreamInputIotHubOutput) IothubNamespace added in v5.5.0

func (o StreamInputIotHubOutput) IothubNamespace() pulumi.StringOutput

The name or the URI of the IoT Hub.

func (StreamInputIotHubOutput) Name added in v5.5.0

The name of the Stream Input IoTHub. Changing this forces a new resource to be created.

func (StreamInputIotHubOutput) ResourceGroupName added in v5.5.0

func (o StreamInputIotHubOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.

func (StreamInputIotHubOutput) Serialization added in v5.5.0

A `serialization` block as defined below.

func (StreamInputIotHubOutput) SharedAccessPolicyKey added in v5.5.0

func (o StreamInputIotHubOutput) SharedAccessPolicyKey() pulumi.StringOutput

The shared access policy key for the specified shared access policy. Changing this forces a new resource to be created.

func (StreamInputIotHubOutput) SharedAccessPolicyName added in v5.5.0

func (o StreamInputIotHubOutput) SharedAccessPolicyName() pulumi.StringOutput

The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.

func (StreamInputIotHubOutput) StreamAnalyticsJobName added in v5.5.0

func (o StreamInputIotHubOutput) StreamAnalyticsJobName() pulumi.StringOutput

The name of the Stream Analytics Job. Changing this forces a new resource to be created.

func (StreamInputIotHubOutput) ToStreamInputIotHubOutput

func (o StreamInputIotHubOutput) ToStreamInputIotHubOutput() StreamInputIotHubOutput

func (StreamInputIotHubOutput) ToStreamInputIotHubOutputWithContext

func (o StreamInputIotHubOutput) ToStreamInputIotHubOutputWithContext(ctx context.Context) StreamInputIotHubOutput

type StreamInputIotHubSerialization

type StreamInputIotHubSerialization struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding *string `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
	Type string `pulumi:"type"`
}

type StreamInputIotHubSerializationArgs

type StreamInputIotHubSerializationArgs struct {
	// The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
	//
	// > **NOTE:** This is required when `type` is set to `Csv`.
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (StreamInputIotHubSerializationArgs) ElementType

func (StreamInputIotHubSerializationArgs) ToStreamInputIotHubSerializationOutput

func (i StreamInputIotHubSerializationArgs) ToStreamInputIotHubSerializationOutput() StreamInputIotHubSerializationOutput

func (StreamInputIotHubSerializationArgs) ToStreamInputIotHubSerializationOutputWithContext

func (i StreamInputIotHubSerializationArgs) ToStreamInputIotHubSerializationOutputWithContext(ctx context.Context) StreamInputIotHubSerializationOutput

func (StreamInputIotHubSerializationArgs) ToStreamInputIotHubSerializationPtrOutput

func (i StreamInputIotHubSerializationArgs) ToStreamInputIotHubSerializationPtrOutput() StreamInputIotHubSerializationPtrOutput

func (StreamInputIotHubSerializationArgs) ToStreamInputIotHubSerializationPtrOutputWithContext

func (i StreamInputIotHubSerializationArgs) ToStreamInputIotHubSerializationPtrOutputWithContext(ctx context.Context) StreamInputIotHubSerializationPtrOutput

type StreamInputIotHubSerializationInput

type StreamInputIotHubSerializationInput interface {
	pulumi.Input

	ToStreamInputIotHubSerializationOutput() StreamInputIotHubSerializationOutput
	ToStreamInputIotHubSerializationOutputWithContext(context.Context) StreamInputIotHubSerializationOutput
}

StreamInputIotHubSerializationInput is an input type that accepts StreamInputIotHubSerializationArgs and StreamInputIotHubSerializationOutput values. You can construct a concrete instance of `StreamInputIotHubSerializationInput` via:

StreamInputIotHubSerializationArgs{...}

type StreamInputIotHubSerializationOutput

type StreamInputIotHubSerializationOutput struct{ *pulumi.OutputState }

func (StreamInputIotHubSerializationOutput) ElementType

func (StreamInputIotHubSerializationOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (StreamInputIotHubSerializationOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (StreamInputIotHubSerializationOutput) ToStreamInputIotHubSerializationOutput

func (o StreamInputIotHubSerializationOutput) ToStreamInputIotHubSerializationOutput() StreamInputIotHubSerializationOutput

func (StreamInputIotHubSerializationOutput) ToStreamInputIotHubSerializationOutputWithContext

func (o StreamInputIotHubSerializationOutput) ToStreamInputIotHubSerializationOutputWithContext(ctx context.Context) StreamInputIotHubSerializationOutput

func (StreamInputIotHubSerializationOutput) ToStreamInputIotHubSerializationPtrOutput

func (o StreamInputIotHubSerializationOutput) ToStreamInputIotHubSerializationPtrOutput() StreamInputIotHubSerializationPtrOutput

func (StreamInputIotHubSerializationOutput) ToStreamInputIotHubSerializationPtrOutputWithContext

func (o StreamInputIotHubSerializationOutput) ToStreamInputIotHubSerializationPtrOutputWithContext(ctx context.Context) StreamInputIotHubSerializationPtrOutput

func (StreamInputIotHubSerializationOutput) Type

The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.

type StreamInputIotHubSerializationPtrInput

type StreamInputIotHubSerializationPtrInput interface {
	pulumi.Input

	ToStreamInputIotHubSerializationPtrOutput() StreamInputIotHubSerializationPtrOutput
	ToStreamInputIotHubSerializationPtrOutputWithContext(context.Context) StreamInputIotHubSerializationPtrOutput
}

StreamInputIotHubSerializationPtrInput is an input type that accepts StreamInputIotHubSerializationArgs, StreamInputIotHubSerializationPtr and StreamInputIotHubSerializationPtrOutput values. You can construct a concrete instance of `StreamInputIotHubSerializationPtrInput` via:

        StreamInputIotHubSerializationArgs{...}

or:

        nil

type StreamInputIotHubSerializationPtrOutput

type StreamInputIotHubSerializationPtrOutput struct{ *pulumi.OutputState }

func (StreamInputIotHubSerializationPtrOutput) Elem

func (StreamInputIotHubSerializationPtrOutput) ElementType

func (StreamInputIotHubSerializationPtrOutput) Encoding

The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.

> **NOTE:** This is required when `type` is set to `Csv` or `Json`.

func (StreamInputIotHubSerializationPtrOutput) FieldDelimiter

The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), ` ` (tab), `|` (pipe) and `;`.

> **NOTE:** This is required when `type` is set to `Csv`.

func (StreamInputIotHubSerializationPtrOutput) ToStreamInputIotHubSerializationPtrOutput

func (o StreamInputIotHubSerializationPtrOutput) ToStreamInputIotHubSerializationPtrOutput() StreamInputIotHubSerializationPtrOutput

func (StreamInputIotHubSerializationPtrOutput) ToStreamInputIotHubSerializationPtrOutputWithContext

func (o StreamInputIotHubSerializationPtrOutput) ToStreamInputIotHubSerializationPtrOutputWithContext(ctx context.Context) StreamInputIotHubSerializationPtrOutput

func (StreamInputIotHubSerializationPtrOutput) Type

The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.

type StreamInputIotHubState

type StreamInputIotHubState struct {
	// The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.).
	Endpoint pulumi.StringPtrInput
	// The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub.
	EventhubConsumerGroupName pulumi.StringPtrInput
	// The name or the URI of the IoT Hub.
	IothubNamespace pulumi.StringPtrInput
	// The name of the Stream Input IoTHub. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `serialization` block as defined below.
	Serialization StreamInputIotHubSerializationPtrInput
	// The shared access policy key for the specified shared access policy. Changing this forces a new resource to be created.
	SharedAccessPolicyKey pulumi.StringPtrInput
	// The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc.
	SharedAccessPolicyName pulumi.StringPtrInput
	// The name of the Stream Analytics Job. Changing this forces a new resource to be created.
	StreamAnalyticsJobName pulumi.StringPtrInput
}

func (StreamInputIotHubState) ElementType

func (StreamInputIotHubState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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