diff --git a/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/AzureFunctionOutputDataSource.cs b/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/AzureFunctionOutputDataSource.cs
new file mode 100644
index 0000000000000..640d502badcf9
--- /dev/null
+++ b/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/AzureFunctionOutputDataSource.cs
@@ -0,0 +1,104 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.StreamAnalytics.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Defines the metadata of AzureFunctionOutputDataSource
+ ///
+ [Newtonsoft.Json.JsonObject("Microsoft.AzureFunction")]
+ [Rest.Serialization.JsonTransformation]
+ public partial class AzureFunctionOutputDataSource : OutputDataSource
+ {
+ ///
+ /// Initializes a new instance of the AzureFunctionOutputDataSource
+ /// class.
+ ///
+ public AzureFunctionOutputDataSource()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AzureFunctionOutputDataSource
+ /// class.
+ ///
+ /// The name of your Azure Functions
+ /// app.
+ /// The name of the function in your Azure
+ /// Functions app.
+ /// If you want to use an Azure Function from
+ /// another subscription, you can do so by providing the key to access
+ /// your function.
+ /// A property that lets you set the maximum
+ /// size for each output batch that's sent to your Azure function. The
+ /// input unit is in bytes. By default, this value is 262,144 bytes
+ /// (256 KB).
+ /// A property that lets you specify the
+ /// maximum number of events in each batch that's sent to Azure
+ /// Functions. The default value is 100.
+ public AzureFunctionOutputDataSource(string functionAppName = default(string), string functionName = default(string), string apiKey = default(string), double? maxBatchSize = default(double?), double? maxBatchCount = default(double?))
+ {
+ FunctionAppName = functionAppName;
+ FunctionName = functionName;
+ ApiKey = apiKey;
+ MaxBatchSize = maxBatchSize;
+ MaxBatchCount = maxBatchCount;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the name of your Azure Functions app.
+ ///
+ [JsonProperty(PropertyName = "properties.functionAppName")]
+ public string FunctionAppName { get; set; }
+
+ ///
+ /// Gets or sets the name of the function in your Azure Functions app.
+ ///
+ [JsonProperty(PropertyName = "properties.functionName")]
+ public string FunctionName { get; set; }
+
+ ///
+ /// Gets or sets if you want to use an Azure Function from another
+ /// subscription, you can do so by providing the key to access your
+ /// function.
+ ///
+ [JsonProperty(PropertyName = "properties.apiKey")]
+ public string ApiKey { get; set; }
+
+ ///
+ /// Gets or sets a property that lets you set the maximum size for each
+ /// output batch that's sent to your Azure function. The input unit is
+ /// in bytes. By default, this value is 262,144 bytes (256 KB).
+ ///
+ [JsonProperty(PropertyName = "properties.maxBatchSize")]
+ public double? MaxBatchSize { get; set; }
+
+ ///
+ /// Gets or sets a property that lets you specify the maximum number of
+ /// events in each batch that's sent to Azure Functions. The default
+ /// value is 100.
+ ///
+ [JsonProperty(PropertyName = "properties.maxBatchCount")]
+ public double? MaxBatchCount { get; set; }
+
+ }
+}
diff --git a/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobDataSourceProperties.cs b/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobDataSourceProperties.cs
index 59d507335471d..630adcb5ecb0a 100644
--- a/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobDataSourceProperties.cs
+++ b/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobDataSourceProperties.cs
@@ -51,13 +51,16 @@ public BlobDataSourceProperties()
/// The time format. Wherever {time} appears
/// in pathPattern, the value of this property is used as the time
/// format instead.
- public BlobDataSourceProperties(IList storageAccounts = default(IList), string container = default(string), string pathPattern = default(string), string dateFormat = default(string), string timeFormat = default(string))
+ /// Authentication Mode. Possible
+ /// values include: 'Msi', 'UserToken', 'ConnectionString'
+ public BlobDataSourceProperties(IList storageAccounts = default(IList), string container = default(string), string pathPattern = default(string), string dateFormat = default(string), string timeFormat = default(string), string authenticationMode = default(string))
{
StorageAccounts = storageAccounts;
Container = container;
PathPattern = pathPattern;
DateFormat = dateFormat;
TimeFormat = timeFormat;
+ AuthenticationMode = authenticationMode;
CustomInit();
}
@@ -110,5 +113,12 @@ public BlobDataSourceProperties()
[JsonProperty(PropertyName = "timeFormat")]
public string TimeFormat { get; set; }
+ ///
+ /// Gets or sets authentication Mode. Possible values include: 'Msi',
+ /// 'UserToken', 'ConnectionString'
+ ///
+ [JsonProperty(PropertyName = "authenticationMode")]
+ public string AuthenticationMode { get; set; }
+
}
}
diff --git a/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobReferenceInputDataSource.cs b/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobReferenceInputDataSource.cs
index 87ebdcc78b6b4..a6c126e86fa01 100644
--- a/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobReferenceInputDataSource.cs
+++ b/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobReferenceInputDataSource.cs
@@ -57,13 +57,16 @@ public BlobReferenceInputDataSource()
/// The time format. Wherever {time} appears
/// in pathPattern, the value of this property is used as the time
/// format instead.
- public BlobReferenceInputDataSource(IList storageAccounts = default(IList), string container = default(string), string pathPattern = default(string), string dateFormat = default(string), string timeFormat = default(string))
+ /// Authentication Mode. Possible
+ /// values include: 'Msi', 'UserToken', 'ConnectionString'
+ public BlobReferenceInputDataSource(IList storageAccounts = default(IList), string container = default(string), string pathPattern = default(string), string dateFormat = default(string), string timeFormat = default(string), string authenticationMode = default(string))
{
StorageAccounts = storageAccounts;
Container = container;
PathPattern = pathPattern;
DateFormat = dateFormat;
TimeFormat = timeFormat;
+ AuthenticationMode = authenticationMode;
CustomInit();
}
@@ -116,5 +119,12 @@ public BlobReferenceInputDataSource()
[JsonProperty(PropertyName = "properties.timeFormat")]
public string TimeFormat { get; set; }
+ ///
+ /// Gets or sets authentication Mode. Possible values include: 'Msi',
+ /// 'UserToken', 'ConnectionString'
+ ///
+ [JsonProperty(PropertyName = "properties.authenticationMode")]
+ public string AuthenticationMode { get; set; }
+
}
}
diff --git a/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobStreamInputDataSource.cs b/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobStreamInputDataSource.cs
index 300dc2237cd36..5da846f4b7642 100644
--- a/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobStreamInputDataSource.cs
+++ b/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/BlobStreamInputDataSource.cs
@@ -55,15 +55,18 @@ public BlobStreamInputDataSource()
/// The time format. Wherever {time} appears
/// in pathPattern, the value of this property is used as the time
/// format instead.
+ /// Authentication Mode. Possible
+ /// values include: 'Msi', 'UserToken', 'ConnectionString'
/// The partition count of the blob
- /// input data source. Range 1 - 256.
- public BlobStreamInputDataSource(IList storageAccounts = default(IList), string container = default(string), string pathPattern = default(string), string dateFormat = default(string), string timeFormat = default(string), int? sourcePartitionCount = default(int?))
+ /// input data source. Range 1 - 1024.
+ public BlobStreamInputDataSource(IList storageAccounts = default(IList), string container = default(string), string pathPattern = default(string), string dateFormat = default(string), string timeFormat = default(string), string authenticationMode = default(string), int? sourcePartitionCount = default(int?))
{
StorageAccounts = storageAccounts;
Container = container;
PathPattern = pathPattern;
DateFormat = dateFormat;
TimeFormat = timeFormat;
+ AuthenticationMode = authenticationMode;
SourcePartitionCount = sourcePartitionCount;
CustomInit();
}
@@ -117,9 +120,16 @@ public BlobStreamInputDataSource()
[JsonProperty(PropertyName = "properties.timeFormat")]
public string TimeFormat { get; set; }
+ ///
+ /// Gets or sets authentication Mode. Possible values include: 'Msi',
+ /// 'UserToken', 'ConnectionString'
+ ///
+ [JsonProperty(PropertyName = "properties.authenticationMode")]
+ public string AuthenticationMode { get; set; }
+
///
/// Gets or sets the partition count of the blob input data source.
- /// Range 1 - 256.
+ /// Range 1 - 1024.
///
[JsonProperty(PropertyName = "properties.sourcePartitionCount")]
public int? SourcePartitionCount { get; set; }
diff --git a/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/SdkInfo_StreamAnalyticsManagementClient.cs b/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/SdkInfo_StreamAnalyticsManagementClient.cs
index 9babdaa90d219..3597d1377ce7c 100644
--- a/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/SdkInfo_StreamAnalyticsManagementClient.cs
+++ b/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/SdkInfo_StreamAnalyticsManagementClient.cs
@@ -31,16 +31,5 @@ public static IEnumerable> ApiInfo_StreamAnalytics
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "v2";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/streamanalytics/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\ZeshiLuo\\azure-sdk-for-net-1\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "main";
- public static readonly String GithubCommidId = "fe0ddc1279ffbfc3b971ba46d4c62ed597b571ae";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-