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

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

azure.streamanalytics.OutputMssql

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

    Manages a Stream Analytics Output to Microsoft SQL Server Database.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("example", {
        name: "rg-example",
        location: "West Europe",
    });
    const example = azure.streamanalytics.getJobOutput({
        name: "example-job",
        resourceGroupName: exampleResourceGroup.name,
    });
    const exampleSqlServer = new azure.sql.SqlServer("example", {
        name: "example-server",
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        version: "12.0",
        administratorLogin: "dbadmin",
        administratorLoginPassword: "example-password",
    });
    const exampleDatabase = new azure.sql.Database("example", {
        name: "exampledb",
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        serverName: exampleSqlServer.name,
        requestedServiceObjectiveName: "S0",
        collation: "SQL_LATIN1_GENERAL_CP1_CI_AS",
        maxSizeBytes: "268435456000",
        createMode: "Default",
    });
    const exampleOutputMssql = new azure.streamanalytics.OutputMssql("example", {
        name: "example-output-sql",
        streamAnalyticsJobName: example.apply(example => example.name),
        resourceGroupName: example.apply(example => example.resourceGroupName),
        server: exampleSqlServer.fullyQualifiedDomainName,
        user: exampleSqlServer.administratorLogin,
        password: exampleSqlServer.administratorLoginPassword,
        database: exampleDatabase.name,
        table: "ExampleTable",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("example",
        name="rg-example",
        location="West Europe")
    example = azure.streamanalytics.get_job_output(name="example-job",
        resource_group_name=example_resource_group.name)
    example_sql_server = azure.sql.SqlServer("example",
        name="example-server",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        version="12.0",
        administrator_login="dbadmin",
        administrator_login_password="example-password")
    example_database = azure.sql.Database("example",
        name="exampledb",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        server_name=example_sql_server.name,
        requested_service_objective_name="S0",
        collation="SQL_LATIN1_GENERAL_CP1_CI_AS",
        max_size_bytes="268435456000",
        create_mode="Default")
    example_output_mssql = azure.streamanalytics.OutputMssql("example",
        name="example-output-sql",
        stream_analytics_job_name=example.name,
        resource_group_name=example.resource_group_name,
        server=example_sql_server.fully_qualified_domain_name,
        user=example_sql_server.administrator_login,
        password=example_sql_server.administrator_login_password,
        database=example_database.name,
        table="ExampleTable")
    
    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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "rg-example",
            Location = "West Europe",
        });
    
        var example = Azure.StreamAnalytics.GetJob.Invoke(new()
        {
            Name = "example-job",
            ResourceGroupName = exampleResourceGroup.Name,
        });
    
        var exampleSqlServer = new Azure.Sql.SqlServer("example", new()
        {
            Name = "example-server",
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.Location,
            Version = "12.0",
            AdministratorLogin = "dbadmin",
            AdministratorLoginPassword = "example-password",
        });
    
        var exampleDatabase = new Azure.Sql.Database("example", new()
        {
            Name = "exampledb",
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.Location,
            ServerName = exampleSqlServer.Name,
            RequestedServiceObjectiveName = "S0",
            Collation = "SQL_LATIN1_GENERAL_CP1_CI_AS",
            MaxSizeBytes = "268435456000",
            CreateMode = "Default",
        });
    
        var exampleOutputMssql = new Azure.StreamAnalytics.OutputMssql("example", new()
        {
            Name = "example-output-sql",
            StreamAnalyticsJobName = example.Apply(getJobResult => getJobResult.Name),
            ResourceGroupName = example.Apply(getJobResult => getJobResult.ResourceGroupName),
            Server = exampleSqlServer.FullyQualifiedDomainName,
            User = exampleSqlServer.AdministratorLogin,
            Password = exampleSqlServer.AdministratorLoginPassword,
            Database = exampleDatabase.Name,
            Table = "ExampleTable",
        });
    
    });
    
    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.streamanalytics.StreamanalyticsFunctions;
    import com.pulumi.azure.streamanalytics.inputs.GetJobArgs;
    import com.pulumi.azure.sql.SqlServer;
    import com.pulumi.azure.sql.SqlServerArgs;
    import com.pulumi.azure.sql.Database;
    import com.pulumi.azure.sql.DatabaseArgs;
    import com.pulumi.azure.streamanalytics.OutputMssql;
    import com.pulumi.azure.streamanalytics.OutputMssqlArgs;
    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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
                .name("rg-example")
                .location("West Europe")
                .build());
    
            final var example = StreamanalyticsFunctions.getJob(GetJobArgs.builder()
                .name("example-job")
                .resourceGroupName(exampleResourceGroup.name())
                .build());
    
            var exampleSqlServer = new SqlServer("exampleSqlServer", SqlServerArgs.builder()        
                .name("example-server")
                .resourceGroupName(exampleResourceGroup.name())
                .location(exampleResourceGroup.location())
                .version("12.0")
                .administratorLogin("dbadmin")
                .administratorLoginPassword("example-password")
                .build());
    
            var exampleDatabase = new Database("exampleDatabase", DatabaseArgs.builder()        
                .name("exampledb")
                .resourceGroupName(exampleResourceGroup.name())
                .location(exampleResourceGroup.location())
                .serverName(exampleSqlServer.name())
                .requestedServiceObjectiveName("S0")
                .collation("SQL_LATIN1_GENERAL_CP1_CI_AS")
                .maxSizeBytes("268435456000")
                .createMode("Default")
                .build());
    
            var exampleOutputMssql = new OutputMssql("exampleOutputMssql", OutputMssqlArgs.builder()        
                .name("example-output-sql")
                .streamAnalyticsJobName(example.applyValue(getJobResult -> getJobResult).applyValue(example -> example.applyValue(getJobResult -> getJobResult.name())))
                .resourceGroupName(example.applyValue(getJobResult -> getJobResult).applyValue(example -> example.applyValue(getJobResult -> getJobResult.resourceGroupName())))
                .server(exampleSqlServer.fullyQualifiedDomainName())
                .user(exampleSqlServer.administratorLogin())
                .password(exampleSqlServer.administratorLoginPassword())
                .database(exampleDatabase.name())
                .table("ExampleTable")
                .build());
    
        }
    }
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        name: example
        properties:
          name: rg-example
          location: West Europe
      exampleSqlServer:
        type: azure:sql:SqlServer
        name: example
        properties:
          name: example-server
          resourceGroupName: ${exampleResourceGroup.name}
          location: ${exampleResourceGroup.location}
          version: '12.0'
          administratorLogin: dbadmin
          administratorLoginPassword: example-password
      exampleDatabase:
        type: azure:sql:Database
        name: example
        properties:
          name: exampledb
          resourceGroupName: ${exampleResourceGroup.name}
          location: ${exampleResourceGroup.location}
          serverName: ${exampleSqlServer.name}
          requestedServiceObjectiveName: S0
          collation: SQL_LATIN1_GENERAL_CP1_CI_AS
          maxSizeBytes: '268435456000'
          createMode: Default
      exampleOutputMssql:
        type: azure:streamanalytics:OutputMssql
        name: example
        properties:
          name: example-output-sql
          streamAnalyticsJobName: ${example.name}
          resourceGroupName: ${example.resourceGroupName}
          server: ${exampleSqlServer.fullyQualifiedDomainName}
          user: ${exampleSqlServer.administratorLogin}
          password: ${exampleSqlServer.administratorLoginPassword}
          database: ${exampleDatabase.name}
          table: ExampleTable
    variables:
      example:
        fn::invoke:
          Function: azure:streamanalytics:getJob
          Arguments:
            name: example-job
            resourceGroupName: ${exampleResourceGroup.name}
    

    Create OutputMssql Resource

    new OutputMssql(name: string, args: OutputMssqlArgs, opts?: CustomResourceOptions);
    @overload
    def OutputMssql(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    authentication_mode: Optional[str] = None,
                    database: Optional[str] = None,
                    max_batch_count: Optional[float] = None,
                    max_writer_count: Optional[float] = None,
                    name: Optional[str] = None,
                    password: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    server: Optional[str] = None,
                    stream_analytics_job_name: Optional[str] = None,
                    table: Optional[str] = None,
                    user: Optional[str] = None)
    @overload
    def OutputMssql(resource_name: str,
                    args: OutputMssqlArgs,
                    opts: Optional[ResourceOptions] = None)
    func NewOutputMssql(ctx *Context, name string, args OutputMssqlArgs, opts ...ResourceOption) (*OutputMssql, error)
    public OutputMssql(string name, OutputMssqlArgs args, CustomResourceOptions? opts = null)
    public OutputMssql(String name, OutputMssqlArgs args)
    public OutputMssql(String name, OutputMssqlArgs args, CustomResourceOptions options)
    
    type: azure:streamanalytics:OutputMssql
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args OutputMssqlArgs
    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 OutputMssqlArgs
    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 OutputMssqlArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OutputMssqlArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OutputMssqlArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OutputMssql 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 OutputMssql resource accepts the following input properties:

    Database string
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    Server string
    The SQL server url. 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.
    Table string
    Table in the database that the output points to. Changing this forces a new resource to be created.
    AuthenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    MaxBatchCount double
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    MaxWriterCount double
    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.
    Name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    Password string
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    User string
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.
    Database string
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    Server string
    The SQL server url. 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.
    Table string
    Table in the database that the output points to. Changing this forces a new resource to be created.
    AuthenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    MaxBatchCount float64
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    MaxWriterCount float64
    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.
    Name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    Password string
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    User string
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.
    database String
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    server String
    The SQL server url. 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.
    table String
    Table in the database that the output points to. Changing this forces a new resource to be created.
    authenticationMode String
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    maxBatchCount Double
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    maxWriterCount Double
    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.
    name String
    The name of the Stream Output. Changing this forces a new resource to be created.
    password String
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    user String
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.
    database string
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    server string
    The SQL server url. 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.
    table string
    Table in the database that the output points to. Changing this forces a new resource to be created.
    authenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    maxBatchCount number
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    maxWriterCount number
    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.
    name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    password string
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    user string
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.
    database str
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    server str
    The SQL server url. 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.
    table str
    Table in the database that the output points to. Changing this forces a new resource to be created.
    authentication_mode str
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    max_batch_count float
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    max_writer_count float
    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.
    name str
    The name of the Stream Output. Changing this forces a new resource to be created.
    password str
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    user str
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.
    database String
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    server String
    The SQL server url. 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.
    table String
    Table in the database that the output points to. Changing this forces a new resource to be created.
    authenticationMode String
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    maxBatchCount Number
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    maxWriterCount Number
    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.
    name String
    The name of the Stream Output. Changing this forces a new resource to be created.
    password String
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    user String
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OutputMssql 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 OutputMssql Resource

    Get an existing OutputMssql 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?: OutputMssqlState, opts?: CustomResourceOptions): OutputMssql
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication_mode: Optional[str] = None,
            database: Optional[str] = None,
            max_batch_count: Optional[float] = None,
            max_writer_count: Optional[float] = None,
            name: Optional[str] = None,
            password: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            server: Optional[str] = None,
            stream_analytics_job_name: Optional[str] = None,
            table: Optional[str] = None,
            user: Optional[str] = None) -> OutputMssql
    func GetOutputMssql(ctx *Context, name string, id IDInput, state *OutputMssqlState, opts ...ResourceOption) (*OutputMssql, error)
    public static OutputMssql Get(string name, Input<string> id, OutputMssqlState? state, CustomResourceOptions? opts = null)
    public static OutputMssql get(String name, Output<String> id, OutputMssqlState 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:
    AuthenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    Database string
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    MaxBatchCount double
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    MaxWriterCount double
    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.
    Name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    Password string
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    Server string
    The SQL server url. 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.
    Table string
    Table in the database that the output points to. Changing this forces a new resource to be created.
    User string
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.
    AuthenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    Database string
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    MaxBatchCount float64
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    MaxWriterCount float64
    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.
    Name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    Password string
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    ResourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    Server string
    The SQL server url. 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.
    Table string
    Table in the database that the output points to. Changing this forces a new resource to be created.
    User string
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.
    authenticationMode String
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    database String
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    maxBatchCount Double
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    maxWriterCount Double
    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.
    name String
    The name of the Stream Output. Changing this forces a new resource to be created.
    password String
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    server String
    The SQL server url. 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.
    table String
    Table in the database that the output points to. Changing this forces a new resource to be created.
    user String
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.
    authenticationMode string
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    database string
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    maxBatchCount number
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    maxWriterCount number
    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.
    name string
    The name of the Stream Output. Changing this forces a new resource to be created.
    password string
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    resourceGroupName string
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    server string
    The SQL server url. 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.
    table string
    Table in the database that the output points to. Changing this forces a new resource to be created.
    user string
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.
    authentication_mode str
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    database str
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    max_batch_count float
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    max_writer_count float
    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.
    name str
    The name of the Stream Output. Changing this forces a new resource to be created.
    password str
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    resource_group_name str
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    server str
    The SQL server url. 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.
    table str
    Table in the database that the output points to. Changing this forces a new resource to be created.
    user str
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.
    authenticationMode String
    The authentication mode for the Stream Output. Possible values are Msi and ConnectionString. Defaults to ConnectionString.
    database String
    The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
    maxBatchCount Number
    The max batch count to write to the SQL Database. Defaults to 10000. Possible values are between 1 and 1073741824.
    maxWriterCount Number
    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.
    name String
    The name of the Stream Output. Changing this forces a new resource to be created.
    password String
    Password used together with username, to login to the Microsoft SQL Server. Required if authentication_mode is ConnectionString.
    resourceGroupName String
    The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
    server String
    The SQL server url. 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.
    table String
    Table in the database that the output points to. Changing this forces a new resource to be created.
    user String
    Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if authentication_mode is ConnectionString.

    Import

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

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

    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.70.0 published on Wednesday, Mar 27, 2024 by Pulumi