From 6e4964be374c04a42aec7e9b7f6866d1ec734a5e Mon Sep 17 00:00:00 2001 From: bashahee Date: Fri, 3 Apr 2020 20:44:23 +0300 Subject: [PATCH 1/4] Create security_resource-manager.txt --- .../SDKs/_metadata/security_resource-manager.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/SDKs/SDKs/_metadata/security_resource-manager.txt diff --git a/src/SDKs/SDKs/_metadata/security_resource-manager.txt b/src/SDKs/SDKs/_metadata/security_resource-manager.txt new file mode 100644 index 0000000000000..f91e93782afe1 --- /dev/null +++ b/src/SDKs/SDKs/_metadata/security_resource-manager.txt @@ -0,0 +1,14 @@ +Installing AutoRest version: 2.0.4413 +AutoRest installed successfully. +Commencing code generation +Generating CSharp code +Executing AutoRest command +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/security/resource-manager/readme.md --csharp --version=2.0.4413 --reflect-api-versions --csharp-sdks-folder=D:\azure-sdk-for-net\src\SDKs +2020-04-03 17:29:04 UTC +Azure-rest-api-specs repository information +GitHub fork: Azure +Branch: master +Commit: 4f935f9cd28cc587db0f0f501ce630135cbae6a6 +AutoRest information +Requested version: 2.0.4413 +Bootstrapper version: autorest@2.0.4413 From a14af30fc647217f198ed957168a988dd32a4203 Mon Sep 17 00:00:00 2001 From: bashahee Date: Tue, 7 Apr 2020 13:27:23 +0300 Subject: [PATCH 2/4] Move txt file --- .../SDKs/_metadata/security_resource-manager.txt | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/SDKs/SDKs/_metadata/security_resource-manager.txt diff --git a/src/SDKs/SDKs/_metadata/security_resource-manager.txt b/src/SDKs/SDKs/_metadata/security_resource-manager.txt deleted file mode 100644 index f91e93782afe1..0000000000000 --- a/src/SDKs/SDKs/_metadata/security_resource-manager.txt +++ /dev/null @@ -1,14 +0,0 @@ -Installing AutoRest version: 2.0.4413 -AutoRest installed successfully. -Commencing code generation -Generating CSharp code -Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/security/resource-manager/readme.md --csharp --version=2.0.4413 --reflect-api-versions --csharp-sdks-folder=D:\azure-sdk-for-net\src\SDKs -2020-04-03 17:29:04 UTC -Azure-rest-api-specs repository information -GitHub fork: Azure -Branch: master -Commit: 4f935f9cd28cc587db0f0f501ce630135cbae6a6 -AutoRest information -Requested version: 2.0.4413 -Bootstrapper version: autorest@2.0.4413 From b606848182f31cb5ada60c546793fb87f04dae15 Mon Sep 17 00:00:00 2001 From: bashahee Date: Tue, 21 Apr 2020 03:09:04 +0300 Subject: [PATCH 3/4] Update clients --- eng/mgmt/mgmtmetadata/security_resource-manager.txt | 10 +++++----- .../Generated/Models/InformationProtectionPolicy.cs | 10 +++++++++- .../src/Generated/Models/InformationType.cs | 4 ++-- .../src/Generated/Models/SensitivityLabel.cs | 4 ++-- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/eng/mgmt/mgmtmetadata/security_resource-manager.txt b/eng/mgmt/mgmtmetadata/security_resource-manager.txt index f91e93782afe1..ca4ac01281794 100644 --- a/eng/mgmt/mgmtmetadata/security_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/security_resource-manager.txt @@ -1,14 +1,14 @@ -Installing AutoRest version: 2.0.4413 +Installing AutoRest version: v2 AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/security/resource-manager/readme.md --csharp --version=2.0.4413 --reflect-api-versions --csharp-sdks-folder=D:\azure-sdk-for-net\src\SDKs -2020-04-03 17:29:04 UTC +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/security/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\azure-sdk-for-net\src\SDKs +2020-04-21 00:04:14 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: 4f935f9cd28cc587db0f0f501ce630135cbae6a6 +Commit: cd7e4889f81553f6d3384c61138fce3af4b9f236 AutoRest information -Requested version: 2.0.4413 +Requested version: v2 Bootstrapper version: autorest@2.0.4413 diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/InformationProtectionPolicy.cs b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/InformationProtectionPolicy.cs index c2c698211eec1..ec242a463632e 100644 --- a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/InformationProtectionPolicy.cs +++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/InformationProtectionPolicy.cs @@ -41,13 +41,15 @@ public InformationProtectionPolicy() /// Resource type /// Describes the last UTC time the /// policy was modified. + /// Describes the version of the policy. /// Dictionary of sensitivity labels. /// The sensitivity information /// types. - public InformationProtectionPolicy(string id = default(string), string name = default(string), string type = default(string), System.DateTime? lastModifiedUtc = default(System.DateTime?), IDictionary labels = default(IDictionary), IDictionary informationTypes = default(IDictionary)) + public InformationProtectionPolicy(string id = default(string), string name = default(string), string type = default(string), System.DateTime? lastModifiedUtc = default(System.DateTime?), string version = default(string), IDictionary labels = default(IDictionary), IDictionary informationTypes = default(IDictionary)) : base(id, name, type) { LastModifiedUtc = lastModifiedUtc; + Version = version; Labels = labels; InformationTypes = informationTypes; CustomInit(); @@ -64,6 +66,12 @@ public InformationProtectionPolicy() [JsonProperty(PropertyName = "properties.lastModifiedUtc")] public System.DateTime? LastModifiedUtc { get; private set; } + /// + /// Gets describes the version of the policy. + /// + [JsonProperty(PropertyName = "properties.version")] + public string Version { get; private set; } + /// /// Gets or sets dictionary of sensitivity labels. /// diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/InformationType.cs b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/InformationType.cs index 83ddb1886adfe..928cd94183745 100644 --- a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/InformationType.cs +++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/InformationType.cs @@ -42,7 +42,7 @@ public InformationType() /// Indicates whether the information type is /// custom or not. /// The information type keywords. - public InformationType(string displayName = default(string), string description = default(string), double? order = default(double?), System.Guid? recommendedLabelId = default(System.Guid?), bool? enabled = default(bool?), bool? custom = default(bool?), IList keywords = default(IList)) + public InformationType(string displayName = default(string), string description = default(string), int? order = default(int?), System.Guid? recommendedLabelId = default(System.Guid?), bool? enabled = default(bool?), bool? custom = default(bool?), IList keywords = default(IList)) { DisplayName = displayName; Description = description; @@ -75,7 +75,7 @@ public InformationType() /// Gets or sets the order of the information type. /// [JsonProperty(PropertyName = "order")] - public double? Order { get; set; } + public int? Order { get; set; } /// /// Gets or sets the recommended label id to be associated with this diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/SensitivityLabel.cs b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/SensitivityLabel.cs index 4800baa01d116..eab74c284f0af 100644 --- a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/SensitivityLabel.cs +++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/SensitivityLabel.cs @@ -38,7 +38,7 @@ public SensitivityLabel() /// The order of the sensitivity label. /// Indicates whether the label is enabled or /// not. - public SensitivityLabel(string displayName = default(string), string description = default(string), Rank? rank = default(Rank?), double? order = default(double?), bool? enabled = default(bool?)) + public SensitivityLabel(string displayName = default(string), string description = default(string), Rank? rank = default(Rank?), int? order = default(int?), bool? enabled = default(bool?)) { DisplayName = displayName; Description = description; @@ -76,7 +76,7 @@ public SensitivityLabel() /// Gets or sets the order of the sensitivity label. /// [JsonProperty(PropertyName = "order")] - public double? Order { get; set; } + public int? Order { get; set; } /// /// Gets or sets indicates whether the label is enabled or not. From d8dcb805cefb3d26dc72ac7600dddafae814c85c Mon Sep 17 00:00:00 2001 From: bashahee Date: Tue, 21 Apr 2020 03:10:58 +0300 Subject: [PATCH 4/4] Update versions --- .../src/Microsoft.Azure.Management.SecurityCenter.csproj | 2 +- .../src/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Microsoft.Azure.Management.SecurityCenter.csproj b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Microsoft.Azure.Management.SecurityCenter.csproj index 44867124520ac..d18d6950928d0 100644 --- a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Microsoft.Azure.Management.SecurityCenter.csproj +++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Microsoft.Azure.Management.SecurityCenter.csproj @@ -6,7 +6,7 @@ Microsoft.Azure.Management.SecurityCenter Provides developers with libraries for the updated Azure Security Center platform under Azure Resource manager to view and manage security posture in and outside Azure. - 1.1.2 + 1.1.3 Microsoft.Azure.Management.SecurityCenter management;security center;security;IoT security; Updated Information Protection SDK clients diff --git a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Properties/AssemblyInfo.cs b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Properties/AssemblyInfo.cs index fd0b322aa19bf..3ed0e46cbbd78 100644 --- a/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Properties/AssemblyInfo.cs +++ b/sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Properties/AssemblyInfo.cs @@ -7,8 +7,8 @@ [assembly: AssemblyTitle("Microsoft Azure Security Center Library")] [assembly: AssemblyDescription("Provides management functionality for Microsoft Azure Security Center Resources.")] -[assembly: AssemblyVersion("1.1.2.0")] -[assembly: AssemblyFileVersion("1.1.2.0")] +[assembly: AssemblyVersion("1.1.3.0")] +[assembly: AssemblyFileVersion("1.1.3.0")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("Microsoft Azure .NET SDK")]