1. Packages
  2. Azure Classic
  3. API Docs
  4. streamanalytics
  5. OutputFunction

We recommend using Azure Native.

Azure Classic v5.83.0 published on Monday, Jul 8, 2024 by Pulumi

azure.streamanalytics.OutputFunction

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.83.0 published on Monday, Jul 8, 2024 by Pulumi

    Manages a Stream Analytics Output Function.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleAccount = new azure.storage.Account("example", {
        name: "examplestorageaccount",
        resourceGroupName: example.name,
        location: example.location,
        accountTier: "Standard",
        accountReplicationType: "LRS",
    });
    const examplePlan = new azure.appservice.Plan("example", {
        name: "exampleappserviceplan",
        location: example.location,
        resourceGroupName: example.name,
        kind: "FunctionApp",
        reserved: true,
        sku: {
            tier: "Dynamic",
            size: "Y1",
        },
    });
    const exampleFunctionApp = new azure.appservice.FunctionApp("example", {
        name: "examplefunctionapp",
        location: example.location,
        resourceGroupName: example.name,
        appServicePlanId: examplePlan.id,
        storageAccountName: exampleAccount.name,
        storageAccountAccessKey: exampleAccount.primaryAccessKey,
        osType: "linux",
        version: "~3",
    });
    const exampleJob = new azure.streamanalytics.Job("example", {
        name: "examplestreamanalyticsjob",
        resourceGroupName: example.name,
        location: example.location,
        streamingUnits: 3,
        transformationQuery: `    SELECT *
        INTO [YourOutputAlias]
        FROM [YourInputAlias]
    `,
    });
    const exampleOutputFunction = new azure.streamanalytics.OutputFunction("example", {
        name: "exampleoutput",
        resourceGroupName: exampleJob.resourceGroupName,
        streamAnalyticsJobName: exampleJob.name,
        functionApp: exampleFunctionApp.name,
        functionName: "examplefunctionname",
        apiKey: "exampleapikey",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_account = azure.storage.Account("example",
        name="examplestorageaccount",
        resource_group_name=example.name,
        location=example.location,
        account_tier="Standard",
        account_replication_type="LRS")
    example_plan = azure.appservice.Plan("example",
        name="exampleappserviceplan",
        location=example.location,
        resource_group_name=example.name,
        kind="FunctionApp",
        reserved=True,
        sku={
            "tier": "Dynamic",
            "size": "Y1",
        })
    example_function_app = azure.appservice.FunctionApp("example",
        name="examplefunctionapp",
        location=example.location,
        resource_group_name=example.name,
        app_service_plan_id=example_plan.id,
        storage_account_name=example_account.name,
        storage_account_access_key=example_account.primary_access_key,
        os_type="linux",
        version="~3")
    example_job = azure.streamanalytics.Job("example",
        name="examplestreamanalyticsjob",
        resource_group_name=example.name,
        location=example.location,
        streaming_units=3,
        transformation_query="""    SELECT *
        INTO [YourOutputAlias]
        FROM [YourInputAlias]
    """)
    example_output_function = azure.streamanalytics.OutputFunction("example",
        name="exampleoutput",
        resource_group_name=example_job.resource_group_name,
        stream_analytics_job_name=example_job.name,
        function_app=example_function_app.name,
        function_name="examplefunctionname",
        api_key="exampleapikey")
    
    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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleAccount = new Azure.Storage.Account("example", new()
        {
            Name = "examplestorageaccount",
            ResourceGroupName = example.Name,
            Location = example.Location,
            AccountTier = "Standard",
            AccountReplicationType = "LRS",
        });
    
        var examplePlan = new Azure.AppService.Plan("example", new()
        {
            Name = "exampleappserviceplan",
            Location = example.Location,
            ResourceGroupName = example.Name,
            Kind = "FunctionApp",
            Reserved = true,
            Sku = new Azure.AppService.Inputs.PlanSkuArgs
            {
                Tier = "Dynamic",
                Size = "Y1",
            },
        });
    
        var exampleFunctionApp = new Azure.AppService.FunctionApp("example", new()
        {
            Name = "examplefunctionapp",
            Location = example.Location,
            ResourceGroupName = example.Name,
            AppServicePlanId = examplePlan.Id,
            StorageAccountName = exampleAccount.Name,
            StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,
            OsType = "linux",
            Version = "~3",
        });
    
        var exampleJob = new Azure.StreamAnalytics.Job("example", new()
        {
            Name = "examplestreamanalyticsjob",
            ResourceGroupName = example.Name,
            Location = example.Location,
            StreamingUnits = 3,
            TransformationQuery = @"    SELECT *
        INTO [YourOutputAlias]
        FROM [YourInputAlias]
    ",
        });
    
        var exampleOutputFunction = new Azure.StreamAnalytics.OutputFunction("example", new()
        {
            Name = "exampleoutput",
            ResourceGroupName = exampleJob.ResourceGroupName,
            StreamAnalyticsJobName = exampleJob.Name,
            FunctionApp = exampleFunctionApp.Name,
            FunctionName = "examplefunctionname",
            ApiKey = "exampleapikey",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.storage.Account;
    import com.pulumi.azure.storage.AccountArgs;
    import com.pulumi.azure.appservice.Plan;
    import com.pulumi.azure.appservice.PlanArgs;
    import com.pulumi.azure.appservice.inputs.PlanSkuArgs;
    import com.pulumi.azure.appservice.FunctionApp;
    import com.pulumi.azure.appservice.FunctionAppArgs;
    import com.pulumi.azure.streamanalytics.Job;
    import com.pulumi.azure.streamanalytics.JobArgs;
    import com.pulumi.azure.streamanalytics.OutputFunction;
    import com.pulumi.azure.streamanalytics.OutputFunctionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
                .name("examplestorageaccount")
                .resourceGroupName(example.name())
                .location(example.location())
                .accountTier("Standard")
                .accountReplicationType("LRS")
                .build());
    
            var examplePlan = new Plan("examplePlan", PlanArgs.builder()
                .name("exampleappserviceplan")
                .location(example.location())
                .resourceGroupName(example.name())
                .kind("FunctionApp")
                .reserved(true)
                .sku(PlanSkuArgs.builder()
                    .tier("Dynamic")
                    .size("Y1")
                    .build())
                .build());
    
            var exampleFunctionApp = new FunctionApp("exampleFunctionApp", FunctionAppArgs.builder()
                .name("examplefunctionapp")
                .location(example.location())
                .resourceGroupName(example.name())
                .appServicePlanId(examplePlan.id())
                .storageAccountName(exampleAccount.name())
                .storageAccountAccessKey(exampleAccount.primaryAccessKey())
                .osType("linux")
                .version("~3")
                .build());
    
            var exampleJob = new Job("exampleJob", JobArgs.builder()
                .name("examplestreamanalyticsjob")
                .resourceGroupName(example.name())
                .location(example.location())
                .streamingUnits(3)
                .transformationQuery("""
        SELECT *
        INTO [YourOutputAlias]
        FROM [YourInputAlias]
                """)
                .build());
    
            var exampleOutputFunction = new OutputFunction("exampleOutputFunction", OutputFunctionArgs.builder()
                .name("exampleoutput")
                .resourceGroupName(exampleJob.resourceGroupName())
                .streamAnalyticsJobName(exampleJob.name())
                .functionApp(exampleFunctionApp.name())
                .functionName("examplefunctionname")
                .apiKey("exampleapikey")
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleAccount:
        type: azure:storage:Account
        name: example
        properties:
          name: examplestorageaccount
          resourceGroupName: ${example.name}
          location: ${example.location}
          accountTier: Standard
          accountReplicationType: LRS
      examplePlan:
        type: azure:appservice:Plan
        name: example
        properties:
          name: exampleappserviceplan
          location: ${example.location}
          resourceGroupName: ${example.name}
          kind: FunctionApp
          reserved: true
          sku:
            tier: Dynamic
            size: Y1
      exampleFunctionApp:
        type: azure:appservice:FunctionApp
        name: example
        properties:
          name: examplefunctionapp
          location: ${example.location}
          resourceGroupName: ${example.name}
          appServicePlanId: ${examplePlan.id}
          storageAccountName: ${exampleAccount.name}
          storageAccountAccessKey: ${exampleAccount.primaryAccessKey}
          osType: linux
          version: ~3
      exampleJob:
        type: azure:streamanalytics:Job
        name: example
        properties:
          name: examplestreamanalyticsjob
          resourceGroupName: ${example.name}
          location: ${example.location}
          streamingUnits: 3
          transformationQuery: |2
                SELECT *
                INTO [YourOutputAlias]
                FROM [YourInputAlias]
      exampleOutputFunction:
        type: azure:streamanalytics:OutputFunction
        name: example
        properties:
          name: exampleoutput
          resourceGroupName: ${exampleJob.resourceGroupName}
          streamAnalyticsJobName: ${exampleJob.name}
          functionApp: ${exampleFunctionApp.name}
          functionName: examplefunctionname
          apiKey: exampleapikey
    

    Create OutputFunction Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OutputFunction(name: string, args: OutputFunctionArgs, opts?: CustomResourceOptions);
    @overload
    def OutputFunction(resource_name: str,
                       args: OutputFunctionArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def OutputFunction(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       api_key: Optional[str] = None,
                       function_app: Optional[str] = None,
                       function_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       stream_analytics_job_name: Optional[str] = None,
                       batch_max_count: Optional[int] = None,
                       batch_max_in_bytes: Optional[int] = None,
                       name: Optional[str] = None)
    func NewOutputFunction(ctx *Context, name string, args OutputFunctionArgs, opts ...ResourceOption) (*OutputFunction, error)
    public OutputFunction(string name, OutputFunctionArgs args, CustomResourceOptions? opts = null)
    public OutputFunction(String name, OutputFunctionArgs args)
    public OutputFunction(String name, OutputFunctionArgs args, CustomResourceOptions options)
    
    type: azure:streamanalytics:OutputFunction
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OutputFunctionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OutputFunctionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OutputFunctionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OutputFunctionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OutputFunctionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var outputFunctionResource = new Azure.StreamAnalytics.OutputFunction("outputFunctionResource", new()
    {
        ApiKey = "string",
        FunctionApp = "string",
        FunctionName = "string",
        ResourceGroupName = "string",
        StreamAnalyticsJobName = "string",
        BatchMaxCount = 0,
        BatchMaxInBytes = 0,
        Name = "string",
    });
    
    example, err := streamanalytics.NewOutputFunction(ctx, "outputFunctionResource", &streamanalytics.OutputFunctionArgs{
    	ApiKey:                 pulumi.String("string"),
    	FunctionApp:            pulumi.String("string"),
    	FunctionName:           pulumi.String("string"),
    	ResourceGroupName:      pulumi.String("string"),
    	StreamAnalyticsJobName: pulumi.String("string"),
    	BatchMaxCount:          pulumi.Int(0),
    	BatchMaxInBytes:        pulumi.Int(0),
    	Name:                   pulumi.String("string"),
    })
    
    var outputFunctionResource = new OutputFunction("outputFunctionResource", OutputFunctionArgs.builder()
        .apiKey("string")
        .functionApp("string")
        .functionName("string")
        .resourceGroupName("string")
        .streamAnalyticsJobName("string")
        .batchMaxCount(0)
        .batchMaxInBytes(0)
        .name("string")
        .build());
    
    output_function_resource = azure.streamanalytics.OutputFunction("outputFunctionResource",
        api_key="string",
        function_app="string",
        function_name="string",
        resource_group_name="string",
        stream_analytics_job_name="string",
        batch_max_count=0,
        batch_max_in_bytes=0,
        name="string")
    
    const outputFunctionResource = new azure.streamanalytics.OutputFunction("outputFunctionResource", {
        apiKey: "string",
        functionApp: "string",
        functionName: "string",
        resourceGroupName: "string",
        streamAnalyticsJobName: "string",
        batchMaxCount: 0,
        batchMaxInBytes: 0,
        name: "string",
    });
    
    type: azure:streamanalytics:OutputFunction
    properties:
        apiKey: string
        batchMaxCount: 0
        batchMaxInBytes: 0
        functionApp: string
        functionName: string
        name: string
        resourceGroupName: string
        streamAnalyticsJobName: string
    

    OutputFunction Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The OutputFunction resource accepts the following input properties:

    ApiKey string
    The API key for the Function.
    FunctionApp string
    The name of the Function App.
    FunctionName string
    The name of the function in the Function App.
    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    StreamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    BatchMaxCount int
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    BatchMaxInBytes int
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    Name string
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
    ApiKey string
    The API key for the Function.
    FunctionApp string
    The name of the Function App.
    FunctionName string
    The name of the function in the Function App.
    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    StreamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    BatchMaxCount int
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    BatchMaxInBytes int
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    Name string
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
    apiKey String
    The API key for the Function.
    functionApp String
    The name of the Function App.
    functionName String
    The name of the function in the Function App.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    streamAnalyticsJobName String
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    batchMaxCount Integer
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    batchMaxInBytes Integer
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    name String
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
    apiKey string
    The API key for the Function.
    functionApp string
    The name of the Function App.
    functionName string
    The name of the function in the Function App.
    resourceGroupName string
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    streamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    batchMaxCount number
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    batchMaxInBytes number
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    name string
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
    api_key str
    The API key for the Function.
    function_app str
    The name of the Function App.
    function_name str
    The name of the function in the Function App.
    resource_group_name str
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    stream_analytics_job_name str
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    batch_max_count int
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    batch_max_in_bytes int
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    name str
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
    apiKey String
    The API key for the Function.
    functionApp String
    The name of the Function App.
    functionName String
    The name of the function in the Function App.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    streamAnalyticsJobName String
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    batchMaxCount Number
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    batchMaxInBytes Number
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    name String
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OutputFunction resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing OutputFunction Resource

    Get an existing OutputFunction resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OutputFunctionState, opts?: CustomResourceOptions): OutputFunction
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_key: Optional[str] = None,
            batch_max_count: Optional[int] = None,
            batch_max_in_bytes: Optional[int] = None,
            function_app: Optional[str] = None,
            function_name: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            stream_analytics_job_name: Optional[str] = None) -> OutputFunction
    func GetOutputFunction(ctx *Context, name string, id IDInput, state *OutputFunctionState, opts ...ResourceOption) (*OutputFunction, error)
    public static OutputFunction Get(string name, Input<string> id, OutputFunctionState? state, CustomResourceOptions? opts = null)
    public static OutputFunction get(String name, Output<String> id, OutputFunctionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApiKey string
    The API key for the Function.
    BatchMaxCount int
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    BatchMaxInBytes int
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    FunctionApp string
    The name of the Function App.
    FunctionName string
    The name of the function in the Function App.
    Name string
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    StreamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    ApiKey string
    The API key for the Function.
    BatchMaxCount int
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    BatchMaxInBytes int
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    FunctionApp string
    The name of the Function App.
    FunctionName string
    The name of the function in the Function App.
    Name string
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    StreamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    apiKey String
    The API key for the Function.
    batchMaxCount Integer
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    batchMaxInBytes Integer
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    functionApp String
    The name of the Function App.
    functionName String
    The name of the function in the Function App.
    name String
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    streamAnalyticsJobName String
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    apiKey string
    The API key for the Function.
    batchMaxCount number
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    batchMaxInBytes number
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    functionApp string
    The name of the Function App.
    functionName string
    The name of the function in the Function App.
    name string
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    streamAnalyticsJobName string
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    api_key str
    The API key for the Function.
    batch_max_count int
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    batch_max_in_bytes int
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    function_app str
    The name of the Function App.
    function_name str
    The name of the function in the Function App.
    name str
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    stream_analytics_job_name str
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.
    apiKey String
    The API key for the Function.
    batchMaxCount Number
    The maximum number of events in each batch that's sent to the function. Defaults to 100.
    batchMaxInBytes Number
    The maximum batch size in bytes that's sent to the function. Defaults to 262144 (256 kB).
    functionApp String
    The name of the Function App.
    functionName String
    The name of the function in the Function App.
    name String
    The name which should be used for this Stream Analytics Output. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Output should exist. Changing this forces a new resource to be created.
    streamAnalyticsJobName String
    The name of the Stream Analytics Job. Changing this forces a new resource to be created.

    Import

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

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.83.0 published on Monday, Jul 8, 2024 by Pulumi