Skip to content

Commit bbbfdd9

Browse files
User/michaelshikh/11 11 2022 release (Azure#33276)
* generated SDK code for 11-11-2022 * Generate the API file * editing + adding new config to bicep * adding new ps scripts * fix bicep * Add test for cosmosdb data connection * minor scripts improvement * fix tests * create new tests recordings * change scripts location * update readme * run again dotnet build /t:GenerateCode * roll back change * update CHANGELOG.md * fix KustoAttachedDatabaseConfigurationTests * update autorest mapping + CHANGELOG.md * generate api file * update all scripts * additional generations * clean generated directory * rename Db to DB * polish language extension image name Co-authored-by: Yao Kou <yaokou@microsoft.com>
1 parent 954e9d8 commit bbbfdd9

File tree

103 files changed

+17770
-17028
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+17770
-17028
lines changed

sdk/kusto/Azure.ResourceManager.Kusto/CHANGELOG.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
# Release History
22

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.2.0 (2023-01-17)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- New data connection cosmosdb
8+
- Ability to create cluster with LanguageExtension
9+
- Get available skus by location
1010

1111
### Other Changes
1212

13+
- Upgraded API version to 2022-11-11.
14+
1315
## 1.1.0 (2022-11-17)
1416

1517
### Features Added

sdk/kusto/Azure.ResourceManager.Kusto/api/Azure.ResourceManager.Kusto.netstandard2.0.cs

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ public static partial class KustoExtensions
359359
public static Azure.ResourceManager.Kusto.KustoPrivateEndpointConnectionResource GetKustoPrivateEndpointConnectionResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; }
360360
public static Azure.ResourceManager.Kusto.KustoPrivateLinkResource GetKustoPrivateLinkResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; }
361361
public static Azure.ResourceManager.Kusto.KustoScriptResource GetKustoScriptResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; }
362+
public static Azure.Pageable<Azure.ResourceManager.Kusto.Models.KustoSkuDescription> GetSkus(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
363+
public static Azure.AsyncPageable<Azure.ResourceManager.Kusto.Models.KustoSkuDescription> GetSkusAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
362364
}
363365
public partial class KustoManagedPrivateEndpointCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Kusto.KustoManagedPrivateEndpointResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Kusto.KustoManagedPrivateEndpointResource>, System.Collections.IEnumerable
364366
{
@@ -826,6 +828,19 @@ public KustoClusterVirtualNetworkConfiguration(string subnetId, string enginePub
826828
public string EnginePublicIPId { get { throw null; } set { } }
827829
public string SubnetId { get { throw null; } set { } }
828830
}
831+
public partial class KustoCosmosDBDataConnection : Azure.ResourceManager.Kusto.KustoDataConnectionData
832+
{
833+
public KustoCosmosDBDataConnection() { }
834+
public Azure.Core.ResourceIdentifier CosmosDBAccountResourceId { get { throw null; } set { } }
835+
public string CosmosDBContainer { get { throw null; } set { } }
836+
public string CosmosDBDatabase { get { throw null; } set { } }
837+
public System.Guid? ManagedIdentityObjectId { get { throw null; } }
838+
public Azure.Core.ResourceIdentifier ManagedIdentityResourceId { get { throw null; } set { } }
839+
public string MappingRuleName { get { throw null; } set { } }
840+
public Azure.ResourceManager.Kusto.Models.KustoProvisioningState? ProvisioningState { get { throw null; } }
841+
public System.DateTimeOffset? RetrievalStartOn { get { throw null; } set { } }
842+
public string TableName { get { throw null; } set { } }
843+
}
829844
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
830845
public readonly partial struct KustoDatabaseCallerRole : System.IEquatable<Azure.ResourceManager.Kusto.Models.KustoDatabaseCallerRole>
831846
{
@@ -1201,8 +1216,30 @@ public KustoKeyVaultProperties() { }
12011216
public partial class KustoLanguageExtension
12021217
{
12031218
public KustoLanguageExtension() { }
1219+
public Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName? LanguageExtensionImageName { get { throw null; } set { } }
12041220
public Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionName? LanguageExtensionName { get { throw null; } set { } }
12051221
}
1222+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1223+
public readonly partial struct KustoLanguageExtensionImageName : System.IEquatable<Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName>
1224+
{
1225+
private readonly object _dummy;
1226+
private readonly int _dummyPrimitive;
1227+
public KustoLanguageExtensionImageName(string value) { throw null; }
1228+
public static Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName Python3_10_8 { get { throw null; } }
1229+
public static Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName Python3_6_5 { get { throw null; } }
1230+
public static Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName Python3_9_12 { get { throw null; } }
1231+
public static Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName Python3_9_12IncludeDeepLearning { get { throw null; } }
1232+
public static Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName R { get { throw null; } }
1233+
public bool Equals(Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName other) { throw null; }
1234+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1235+
public override bool Equals(object obj) { throw null; }
1236+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1237+
public override int GetHashCode() { throw null; }
1238+
public static bool operator ==(Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName left, Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName right) { throw null; }
1239+
public static implicit operator Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName (string value) { throw null; }
1240+
public static bool operator !=(Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName left, Azure.ResourceManager.Kusto.Models.KustoLanguageExtensionImageName right) { throw null; }
1241+
public override string ToString() { throw null; }
1242+
}
12061243
public partial class KustoLanguageExtensionList
12071244
{
12081245
public KustoLanguageExtensionList() { }
@@ -1307,6 +1344,7 @@ public KustoPrivateLinkServiceConnectionStateProperty() { }
13071344
private readonly object _dummy;
13081345
private readonly int _dummyPrimitive;
13091346
public KustoProvisioningState(string value) { throw null; }
1347+
public static Azure.ResourceManager.Kusto.Models.KustoProvisioningState Canceled { get { throw null; } }
13101348
public static Azure.ResourceManager.Kusto.Models.KustoProvisioningState Creating { get { throw null; } }
13111349
public static Azure.ResourceManager.Kusto.Models.KustoProvisioningState Deleting { get { throw null; } }
13121350
public static Azure.ResourceManager.Kusto.Models.KustoProvisioningState Failed { get { throw null; } }
@@ -1346,6 +1384,18 @@ public KustoReadWriteDatabase() { }
13461384
public System.TimeSpan? SoftDeletePeriod { get { throw null; } set { } }
13471385
public float? StatisticsSize { get { throw null; } }
13481386
}
1387+
public partial class KustoResourceSkuCapabilities
1388+
{
1389+
internal KustoResourceSkuCapabilities() { }
1390+
public string Name { get { throw null; } }
1391+
public string Value { get { throw null; } }
1392+
}
1393+
public partial class KustoResourceSkuZoneDetails
1394+
{
1395+
internal KustoResourceSkuZoneDetails() { }
1396+
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Kusto.Models.KustoResourceSkuCapabilities> Capabilities { get { throw null; } }
1397+
public System.Collections.Generic.IReadOnlyList<string> Name { get { throw null; } }
1398+
}
13491399
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
13501400
public readonly partial struct KustoScaleType : System.IEquatable<Azure.ResourceManager.Kusto.Models.KustoScaleType>
13511401
{
@@ -1409,6 +1459,7 @@ public partial class KustoSkuLocationInfoItem
14091459
{
14101460
internal KustoSkuLocationInfoItem() { }
14111461
public Azure.Core.AzureLocation Location { get { throw null; } }
1462+
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Kusto.Models.KustoResourceSkuZoneDetails> ZoneDetails { get { throw null; } }
14121463
public System.Collections.Generic.IReadOnlyList<string> Zones { get { throw null; } }
14131464
}
14141465
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]

sdk/kusto/Azure.ResourceManager.Kusto/src/Azure.ResourceManager.Kusto.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<Version>1.2.0-beta.1</Version>
3+
<Version>1.2.0</Version>
44
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
55
<ApiCompatVersion>1.1.0</ApiCompatVersion>
66
<PackageId>Azure.ResourceManager.Kusto</PackageId>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
#nullable disable
5+
6+
using System;
7+
using Azure.Core;
8+
9+
namespace Azure.ResourceManager.Kusto.Models
10+
{
11+
/// <summary> Language extension image name. </summary>
12+
public readonly partial struct KustoLanguageExtensionImageName : IEquatable<KustoLanguageExtensionImageName>
13+
{
14+
#pragma warning disable CA1707
15+
/// <summary> Python3_6_5. </summary>
16+
[CodeGenMember("Python365")]
17+
public static KustoLanguageExtensionImageName Python3_6_5 { get; } = new KustoLanguageExtensionImageName(Python3_6_5Value);
18+
/// <summary> Python3_9_12. </summary>
19+
[CodeGenMember("Python3912")]
20+
public static KustoLanguageExtensionImageName Python3_9_12 { get; } = new KustoLanguageExtensionImageName(Python3_9_12Value);
21+
/// <summary> Python3_9_12IncludeDeepLearning. </summary>
22+
[CodeGenMember("Python3912IncludeDeepLearning")]
23+
public static KustoLanguageExtensionImageName Python3_9_12IncludeDeepLearning { get; } = new KustoLanguageExtensionImageName(Python3_9_12IncludeDeepLearningValue);
24+
/// <summary> Python3_10_8. </summary>
25+
[CodeGenMember("Python3108")]
26+
public static KustoLanguageExtensionImageName Python3_10_8 { get; } = new KustoLanguageExtensionImageName(Python3_10_8Value);
27+
#pragma warning restore CA1707
28+
}
29+
}

sdk/kusto/Azure.ResourceManager.Kusto/src/Generated/Extensions/KustoExtensions.cs

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/kusto/Azure.ResourceManager.Kusto/src/Generated/Extensions/SubscriptionResourceExtensionClient.cs

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/kusto/Azure.ResourceManager.Kusto/src/Generated/KustoClusterData.cs

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/kusto/Azure.ResourceManager.Kusto/src/Generated/KustoDataConnectionData.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)