diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ProvisioningState.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ProvisioningState.cs
new file mode 100644
index 000000000000..3d18da5db513
--- /dev/null
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ProvisioningState.cs
@@ -0,0 +1,24 @@
+//
+// 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.SecurityInsights.Models
+{
+
+ ///
+ /// Defines values for ProvisioningState.
+ ///
+ public static class ProvisioningState
+ {
+ public const string Succeeded = "Succeeded";
+ public const string Failed = "Failed";
+ public const string Canceled = "Canceled";
+ public const string InProgress = "InProgress";
+ }
+}
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Watchlist.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Watchlist.cs
index a9587dbd1368..654dfd785a34 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Watchlist.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Watchlist.cs
@@ -78,13 +78,19 @@ public Watchlist()
/// The raw content that represents to
/// watchlist items to create. In case of csv/tsv content type, it's
/// the content of the file that will parsed by the endpoint
+ /// The Shared Access Signature (SAS) URI under
+ /// which the large csv watchlist file is located and from which the
+ /// watchlist and its items will be created
/// The content type of the raw content.
/// Example : text/csv or text/tsv
/// The status of the Watchlist upload :
/// New, InProgress or Complete. Pls note : When a Watchlist upload
/// status is equal to InProgress, the Watchlist cannot be
/// deleted
- public Watchlist(string displayName, string provider, string itemsSearchKey, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), string watchlistId = default(string), string source = default(string), string sourceType = default(string), System.DateTime? created = default(System.DateTime?), System.DateTime? updated = default(System.DateTime?), UserInfo createdBy = default(UserInfo), UserInfo updatedBy = default(UserInfo), string description = default(string), string watchlistType = default(string), string watchlistAlias = default(string), bool? isDeleted = default(bool?), IList labels = default(IList), System.TimeSpan? defaultDuration = default(System.TimeSpan?), string tenantId = default(string), int? numberOfLinesToSkip = default(int?), string rawContent = default(string), string contentType = default(string), string uploadStatus = default(string))
+ /// The provisioning state of the
+ /// watchlist resource. Possible values include: 'Succeeded', 'Failed',
+ /// 'Canceled', 'InProgress'
+ public Watchlist(string displayName, string provider, string itemsSearchKey, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), string watchlistId = default(string), string source = default(string), string sourceType = default(string), System.DateTime? created = default(System.DateTime?), System.DateTime? updated = default(System.DateTime?), UserInfo createdBy = default(UserInfo), UserInfo updatedBy = default(UserInfo), string description = default(string), string watchlistType = default(string), string watchlistAlias = default(string), bool? isDeleted = default(bool?), IList labels = default(IList), System.TimeSpan? defaultDuration = default(System.TimeSpan?), string tenantId = default(string), int? numberOfLinesToSkip = default(int?), string rawContent = default(string), string sasUri = default(string), string contentType = default(string), string uploadStatus = default(string), string provisioningState = default(string))
: base(id, name, type, systemData, etag)
{
WatchlistId = watchlistId;
@@ -105,9 +111,11 @@ public Watchlist()
TenantId = tenantId;
NumberOfLinesToSkip = numberOfLinesToSkip;
RawContent = rawContent;
+ SasUri = sasUri;
ItemsSearchKey = itemsSearchKey;
ContentType = contentType;
UploadStatus = uploadStatus;
+ ProvisioningState = provisioningState;
CustomInit();
}
@@ -230,6 +238,14 @@ public Watchlist()
[JsonProperty(PropertyName = "properties.rawContent")]
public string RawContent { get; set; }
+ ///
+ /// Gets or sets the Shared Access Signature (SAS) URI under which the
+ /// large csv watchlist file is located and from which the watchlist
+ /// and its items will be created
+ ///
+ [JsonProperty(PropertyName = "properties.sasUri")]
+ public string SasUri { get; set; }
+
///
/// Gets or sets the search key is used to optimize query performance
/// when using watchlists for joins with other data. For example,
@@ -255,6 +271,13 @@ public Watchlist()
[JsonProperty(PropertyName = "properties.uploadStatus")]
public string UploadStatus { get; set; }
+ ///
+ /// Gets the provisioning state of the watchlist resource. Possible
+ /// values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress'
+ ///
+ [JsonProperty(PropertyName = "properties.provisioningState")]
+ public string ProvisioningState { get; private set; }
+
///
/// Validate the object.
///
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/WatchlistItem.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/WatchlistItem.cs
index 161d2e5d31bc..520137054097 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/WatchlistItem.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/WatchlistItem.cs
@@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.SecurityInsights.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
using System.Linq;
///
@@ -61,7 +63,7 @@ public WatchlistItem()
/// item
/// key-value pairs for a watchlist item
/// entity mapping
- public WatchlistItem(object itemsKeyValue, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), string watchlistItemType = default(string), string watchlistItemId = default(string), string tenantId = default(string), bool? isDeleted = default(bool?), System.DateTime? created = default(System.DateTime?), System.DateTime? updated = default(System.DateTime?), UserInfo createdBy = default(UserInfo), UserInfo updatedBy = default(UserInfo), object entityMapping = default(object))
+ public WatchlistItem(IDictionary itemsKeyValue, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string etag = default(string), string watchlistItemType = default(string), string watchlistItemId = default(string), string tenantId = default(string), bool? isDeleted = default(bool?), System.DateTime? created = default(System.DateTime?), System.DateTime? updated = default(System.DateTime?), UserInfo createdBy = default(UserInfo), UserInfo updatedBy = default(UserInfo), IDictionary entityMapping = default(IDictionary))
: base(id, name, type, systemData, etag)
{
WatchlistItemType = watchlistItemType;
@@ -135,13 +137,13 @@ public WatchlistItem()
/// Gets or sets key-value pairs for a watchlist item
///
[JsonProperty(PropertyName = "properties.itemsKeyValue")]
- public object ItemsKeyValue { get; set; }
+ public IDictionary ItemsKeyValue { get; set; }
///
/// Gets or sets key-value pairs for a watchlist item entity mapping
///
[JsonProperty(PropertyName = "properties.entityMapping")]
- public object EntityMapping { get; set; }
+ public IDictionary EntityMapping { get; set; }
///
/// Validate the object.
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs
index 60d9df8c0677..ec071544182d 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs
@@ -54,16 +54,5 @@ public static IEnumerable> ApiInfo_SecurityInsight
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "2.0.4421";
- public static readonly String AutoRestBootStrapperVersion = "autorest@3.5.1";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/securityinsights/resource-manager/readme.md --csharp --version=2.0.4421 --reflect-api-versions --csharp-sdks-folder=C:\\One\\azure\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "main";
- public static readonly String GithubCommidId = "96da969aa75e2beb27c3dbc2d69a76900856cc52";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-