We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
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.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = Output.Create(Azure.Core.GetResourceGroup.InvokeAsync(new Azure.Core.GetResourceGroupArgs
{
Name = "example-resources",
}));
var exampleJob = Output.Create(Azure.StreamAnalytics.GetJob.InvokeAsync(new Azure.StreamAnalytics.GetJobArgs
{
Name = "example-job",
ResourceGroupName = azurerm_resource_group.Example.Name,
}));
var exampleServer = new Azure.MSSql.Server("exampleServer", new Azure.MSSql.ServerArgs
{
ResourceGroupName = azurerm_resource_group.Example.Name,
Location = azurerm_resource_group.Example.Location,
Version = "12.0",
AdministratorLogin = "admin",
AdministratorLoginPassword = "password",
});
var exampleDatabase = new Azure.MSSql.Database("exampleDatabase", new Azure.MSSql.DatabaseArgs
{
ServerId = exampleServer.Id,
});
var exampleReferenceInputMssql = new Azure.StreamAnalytics.ReferenceInputMssql("exampleReferenceInputMssql", new Azure.StreamAnalytics.ReferenceInputMssqlArgs
{
ResourceGroupName = azurerm_stream_analytics_job.Example.Resource_group_name,
StreamAnalyticsJobName = azurerm_stream_analytics_job.Example.Name,
Server = exampleServer.FullyQualifiedDomainName,
Database = exampleDatabase.Name,
Username = "exampleuser",
Password = "examplepassword",
RefreshType = "RefreshPeriodicallyWithFull",
RefreshIntervalDuration = "00:20:00",
FullSnapshotQuery = @" SELECT *
INTO [YourOutputAlias]
FROM [YourInputAlias]
",
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mssql"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{
Name: "example-resources",
}, nil)
if err != nil {
return err
}
_, err = streamanalytics.LookupJob(ctx, &streamanalytics.LookupJobArgs{
Name: "example-job",
ResourceGroupName: azurerm_resource_group.Example.Name,
}, nil)
if err != nil {
return err
}
exampleServer, err := mssql.NewServer(ctx, "exampleServer", &mssql.ServerArgs{
ResourceGroupName: pulumi.Any(azurerm_resource_group.Example.Name),
Location: pulumi.Any(azurerm_resource_group.Example.Location),
Version: pulumi.String("12.0"),
AdministratorLogin: pulumi.String("admin"),
AdministratorLoginPassword: pulumi.String("password"),
})
if err != nil {
return err
}
exampleDatabase, err := mssql.NewDatabase(ctx, "exampleDatabase", &mssql.DatabaseArgs{
ServerId: exampleServer.ID(),
})
if err != nil {
return err
}
_, err = streamanalytics.NewReferenceInputMssql(ctx, "exampleReferenceInputMssql", &streamanalytics.ReferenceInputMssqlArgs{
ResourceGroupName: pulumi.Any(azurerm_stream_analytics_job.Example.Resource_group_name),
StreamAnalyticsJobName: pulumi.Any(azurerm_stream_analytics_job.Example.Name),
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(fmt.Sprintf("%v%v%v", " SELECT *\n", " INTO [YourOutputAlias]\n", " FROM [YourInputAlias]\n")),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = azure.core.getResourceGroup({
name: "example-resources",
});
const exampleJob = azure.streamanalytics.getJob({
name: "example-job",
resourceGroupName: azurerm_resource_group.example.name,
});
const exampleServer = new azure.mssql.Server("exampleServer", {
resourceGroupName: azurerm_resource_group.example.name,
location: azurerm_resource_group.example.location,
version: "12.0",
administratorLogin: "admin",
administratorLoginPassword: "password",
});
const exampleDatabase = new azure.mssql.Database("exampleDatabase", {serverId: exampleServer.id});
const exampleReferenceInputMssql = new azure.streamanalytics.ReferenceInputMssql("exampleReferenceInputMssql", {
resourceGroupName: azurerm_stream_analytics_job.example.resource_group_name,
streamAnalyticsJobName: azurerm_stream_analytics_job.example.name,
server: exampleServer.fullyQualifiedDomainName,
database: exampleDatabase.name,
username: "exampleuser",
password: "examplepassword",
refreshType: "RefreshPeriodicallyWithFull",
refreshIntervalDuration: "00:20:00",
fullSnapshotQuery: ` SELECT *
INTO [YourOutputAlias]
FROM [YourInputAlias]
`,
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.get_resource_group(name="example-resources")
example_job = azure.streamanalytics.get_job(name="example-job",
resource_group_name=azurerm_resource_group["example"]["name"])
example_server = azure.mssql.Server("exampleServer",
resource_group_name=azurerm_resource_group["example"]["name"],
location=azurerm_resource_group["example"]["location"],
version="12.0",
administrator_login="admin",
administrator_login_password="password")
example_database = azure.mssql.Database("exampleDatabase", server_id=example_server.id)
example_reference_input_mssql = azure.streamanalytics.ReferenceInputMssql("exampleReferenceInputMssql",
resource_group_name=azurerm_stream_analytics_job["example"]["resource_group_name"],
stream_analytics_job_name=azurerm_stream_analytics_job["example"]["name"],
server=example_server.fully_qualified_domain_name,
database=example_database.name,
username="exampleuser",
password="examplepassword",
refresh_type="RefreshPeriodicallyWithFull",
refresh_interval_duration="00:20:00",
full_snapshot_query=""" SELECT *
INTO [YourOutputAlias]
FROM [YourInputAlias]
""")
Example coming soon!
Create ReferenceInputMssql Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ReferenceInputMssql(name: string, args: ReferenceInputMssqlArgs, opts?: CustomResourceOptions);@overload
def ReferenceInputMssql(resource_name: str,
args: ReferenceInputMssqlArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ReferenceInputMssql(resource_name: str,
opts: Optional[ResourceOptions] = None,
database: Optional[str] = None,
full_snapshot_query: Optional[str] = None,
password: Optional[str] = None,
refresh_type: Optional[str] = None,
resource_group_name: Optional[str] = None,
server: Optional[str] = None,
stream_analytics_job_name: Optional[str] = None,
username: Optional[str] = None,
delta_snapshot_query: Optional[str] = None,
name: Optional[str] = None,
refresh_interval_duration: Optional[str] = None)func NewReferenceInputMssql(ctx *Context, name string, args ReferenceInputMssqlArgs, opts ...ResourceOption) (*ReferenceInputMssql, error)public ReferenceInputMssql(string name, ReferenceInputMssqlArgs args, CustomResourceOptions? opts = null)
public ReferenceInputMssql(String name, ReferenceInputMssqlArgs args)
public ReferenceInputMssql(String name, ReferenceInputMssqlArgs args, CustomResourceOptions options)
type: azure:streamanalytics:ReferenceInputMssql
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 ReferenceInputMssqlArgs
- 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 ReferenceInputMssqlArgs
- 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 ReferenceInputMssqlArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReferenceInputMssqlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReferenceInputMssqlArgs
- 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 referenceInputMssqlResource = new Azure.StreamAnalytics.ReferenceInputMssql("referenceInputMssqlResource", new()
{
Database = "string",
FullSnapshotQuery = "string",
Password = "string",
RefreshType = "string",
ResourceGroupName = "string",
Server = "string",
StreamAnalyticsJobName = "string",
Username = "string",
DeltaSnapshotQuery = "string",
Name = "string",
RefreshIntervalDuration = "string",
});
example, err := streamanalytics.NewReferenceInputMssql(ctx, "referenceInputMssqlResource", &streamanalytics.ReferenceInputMssqlArgs{
Database: pulumi.String("string"),
FullSnapshotQuery: pulumi.String("string"),
Password: pulumi.String("string"),
RefreshType: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Server: pulumi.String("string"),
StreamAnalyticsJobName: pulumi.String("string"),
Username: pulumi.String("string"),
DeltaSnapshotQuery: pulumi.String("string"),
Name: pulumi.String("string"),
RefreshIntervalDuration: pulumi.String("string"),
})
var referenceInputMssqlResource = new ReferenceInputMssql("referenceInputMssqlResource", ReferenceInputMssqlArgs.builder()
.database("string")
.fullSnapshotQuery("string")
.password("string")
.refreshType("string")
.resourceGroupName("string")
.server("string")
.streamAnalyticsJobName("string")
.username("string")
.deltaSnapshotQuery("string")
.name("string")
.refreshIntervalDuration("string")
.build());
reference_input_mssql_resource = azure.streamanalytics.ReferenceInputMssql("referenceInputMssqlResource",
database="string",
full_snapshot_query="string",
password="string",
refresh_type="string",
resource_group_name="string",
server="string",
stream_analytics_job_name="string",
username="string",
delta_snapshot_query="string",
name="string",
refresh_interval_duration="string")
const referenceInputMssqlResource = new azure.streamanalytics.ReferenceInputMssql("referenceInputMssqlResource", {
database: "string",
fullSnapshotQuery: "string",
password: "string",
refreshType: "string",
resourceGroupName: "string",
server: "string",
streamAnalyticsJobName: "string",
username: "string",
deltaSnapshotQuery: "string",
name: "string",
refreshIntervalDuration: "string",
});
type: azure:streamanalytics:ReferenceInputMssql
properties:
database: string
deltaSnapshotQuery: string
fullSnapshotQuery: string
name: string
password: string
refreshIntervalDuration: string
refreshType: string
resourceGroupName: string
server: string
streamAnalyticsJobName: string
username: string
ReferenceInputMssql Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ReferenceInputMssql resource accepts the following input properties:
- Database string
- The MS SQL database name where the reference data exists.
- Full
Snapshot stringQuery - The query used to retrieve the reference data from the MS SQL database.
- Password string
- The username to connect to the MS SQL database.
- Refresh
Type string - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - Resource
Group stringName - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- Server string
- The fully qualified domain name of the MS SQL server.
- Stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- Username string
- The username to connect to the MS SQL database.
- Delta
Snapshot stringQuery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - Name string
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- Refresh
Interval stringDuration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta.
- Database string
- The MS SQL database name where the reference data exists.
- Full
Snapshot stringQuery - The query used to retrieve the reference data from the MS SQL database.
- Password string
- The username to connect to the MS SQL database.
- Refresh
Type string - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - Resource
Group stringName - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- Server string
- The fully qualified domain name of the MS SQL server.
- Stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- Username string
- The username to connect to the MS SQL database.
- Delta
Snapshot stringQuery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - Name string
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- Refresh
Interval stringDuration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta.
- database String
- The MS SQL database name where the reference data exists.
- full
Snapshot StringQuery - The query used to retrieve the reference data from the MS SQL database.
- password String
- The username to connect to the MS SQL database.
- refresh
Type String - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - resource
Group StringName - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- server String
- The fully qualified domain name of the MS SQL server.
- stream
Analytics StringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- username String
- The username to connect to the MS SQL database.
- delta
Snapshot StringQuery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - name String
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- refresh
Interval StringDuration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta.
- database string
- The MS SQL database name where the reference data exists.
- full
Snapshot stringQuery - The query used to retrieve the reference data from the MS SQL database.
- password string
- The username to connect to the MS SQL database.
- refresh
Type string - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - resource
Group stringName - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- server string
- The fully qualified domain name of the MS SQL server.
- stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- username string
- The username to connect to the MS SQL database.
- delta
Snapshot stringQuery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - name string
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- refresh
Interval stringDuration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta.
- database str
- The MS SQL database name where the reference data exists.
- full_
snapshot_ strquery - The query used to retrieve the reference data from the MS SQL database.
- password str
- The username to connect to the MS SQL database.
- refresh_
type str - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - resource_
group_ strname - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- server str
- The fully qualified domain name of the MS SQL server.
- stream_
analytics_ strjob_ name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- username str
- The username to connect to the MS SQL database.
- delta_
snapshot_ strquery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - name str
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- refresh_
interval_ strduration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta.
- database String
- The MS SQL database name where the reference data exists.
- full
Snapshot StringQuery - The query used to retrieve the reference data from the MS SQL database.
- password String
- The username to connect to the MS SQL database.
- refresh
Type String - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - resource
Group StringName - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- server String
- The fully qualified domain name of the MS SQL server.
- stream
Analytics StringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- username String
- The username to connect to the MS SQL database.
- delta
Snapshot StringQuery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - name String
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- refresh
Interval StringDuration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta.
Outputs
All input properties are implicitly available as output properties. Additionally, the ReferenceInputMssql 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 ReferenceInputMssql Resource
Get an existing ReferenceInputMssql 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?: ReferenceInputMssqlState, opts?: CustomResourceOptions): ReferenceInputMssql@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
database: Optional[str] = None,
delta_snapshot_query: Optional[str] = None,
full_snapshot_query: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
refresh_interval_duration: Optional[str] = None,
refresh_type: Optional[str] = None,
resource_group_name: Optional[str] = None,
server: Optional[str] = None,
stream_analytics_job_name: Optional[str] = None,
username: Optional[str] = None) -> ReferenceInputMssqlfunc GetReferenceInputMssql(ctx *Context, name string, id IDInput, state *ReferenceInputMssqlState, opts ...ResourceOption) (*ReferenceInputMssql, error)public static ReferenceInputMssql Get(string name, Input<string> id, ReferenceInputMssqlState? state, CustomResourceOptions? opts = null)public static ReferenceInputMssql get(String name, Output<String> id, ReferenceInputMssqlState state, CustomResourceOptions options)resources: _: type: azure:streamanalytics:ReferenceInputMssql get: id: ${id}- 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.
- Database string
- The MS SQL database name where the reference data exists.
- Delta
Snapshot stringQuery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - Full
Snapshot stringQuery - The query used to retrieve the reference data from the MS SQL database.
- Name string
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- Password string
- The username to connect to the MS SQL database.
- Refresh
Interval stringDuration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta. - Refresh
Type string - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - Resource
Group stringName - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- Server string
- The fully qualified domain name of the MS SQL server.
- Stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- Username string
- The username to connect to the MS SQL database.
- Database string
- The MS SQL database name where the reference data exists.
- Delta
Snapshot stringQuery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - Full
Snapshot stringQuery - The query used to retrieve the reference data from the MS SQL database.
- Name string
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- Password string
- The username to connect to the MS SQL database.
- Refresh
Interval stringDuration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta. - Refresh
Type string - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - Resource
Group stringName - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- Server string
- The fully qualified domain name of the MS SQL server.
- Stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- Username string
- The username to connect to the MS SQL database.
- database String
- The MS SQL database name where the reference data exists.
- delta
Snapshot StringQuery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - full
Snapshot StringQuery - The query used to retrieve the reference data from the MS SQL database.
- name String
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- password String
- The username to connect to the MS SQL database.
- refresh
Interval StringDuration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta. - refresh
Type String - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - resource
Group StringName - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- server String
- The fully qualified domain name of the MS SQL server.
- stream
Analytics StringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- username String
- The username to connect to the MS SQL database.
- database string
- The MS SQL database name where the reference data exists.
- delta
Snapshot stringQuery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - full
Snapshot stringQuery - The query used to retrieve the reference data from the MS SQL database.
- name string
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- password string
- The username to connect to the MS SQL database.
- refresh
Interval stringDuration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta. - refresh
Type string - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - resource
Group stringName - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- server string
- The fully qualified domain name of the MS SQL server.
- stream
Analytics stringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- username string
- The username to connect to the MS SQL database.
- database str
- The MS SQL database name where the reference data exists.
- delta_
snapshot_ strquery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - full_
snapshot_ strquery - The query used to retrieve the reference data from the MS SQL database.
- name str
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- password str
- The username to connect to the MS SQL database.
- refresh_
interval_ strduration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta. - refresh_
type str - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - resource_
group_ strname - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- server str
- The fully qualified domain name of the MS SQL server.
- stream_
analytics_ strjob_ name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- username str
- The username to connect to the MS SQL database.
- database String
- The MS SQL database name where the reference data exists.
- delta
Snapshot StringQuery - The query used to retrieve incremental changes in the reference data from the MS SQL database. Cannot be set when
refresh_typeisStatic. - full
Snapshot StringQuery - The query used to retrieve the reference data from the MS SQL database.
- name String
- The name of the Reference Input MS SQL data. Changing this forces a new resource to be created.
- password String
- The username to connect to the MS SQL database.
- refresh
Interval StringDuration - The frequency in
hh:mm:sswith which the reference data should be retrieved from the MS SQL database e.g.00:20:00for every 20 minutes. Must be set whenrefresh_typeisRefreshPeriodicallyWithFullorRefreshPeriodicallyWithDelta. - refresh
Type String - Defines whether and how the reference data should be refreshed. Accepted values are
Static,RefreshPeriodicallyWithFullandRefreshPeriodicallyWithDelta. - resource
Group StringName - The name of the Resource Group where the Stream Analytics Job should exist. Changing this forces a new resource to be created.
- server String
- The fully qualified domain name of the MS SQL server.
- stream
Analytics StringJob Name - The name of the Stream Analytics Job. Changing this forces a new resource to be created.
- username String
- The username to connect to the MS SQL database.
Import
Stream Analytics can be imported using the resource id, e.g.
$ pulumi import azure:streamanalytics/referenceInputMssql:ReferenceInputMssql example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingjobs/job1/inputs/input1
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
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
