Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sdk/kusto/azure-resourcemanager-kusto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.7 (Unreleased)
## 1.0.0-beta.1 (2023-02-28)

- Azure Resource Manager Kusto client library for Java. This package contains Microsoft Azure SDK for Kusto Management SDK. The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. Package tag package-2022-12. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
2 changes: 1 addition & 1 deletion sdk/kusto/azure-resourcemanager-kusto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-kusto</artifactId>
<version>1.0.0-beta.6</version>
<version>1.0.0-beta.7</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
15 changes: 15 additions & 0 deletions sdk/kusto/azure-resourcemanager-kusto/SAMPLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,11 +431,15 @@ public final class ClustersCheckNameAvailabilitySamples {
### Clusters_CreateOrUpdate

```java
import com.azure.resourcemanager.kusto.fluent.models.LanguageExtensionInner;
import com.azure.resourcemanager.kusto.models.AzureSku;
import com.azure.resourcemanager.kusto.models.AzureSkuName;
import com.azure.resourcemanager.kusto.models.AzureSkuTier;
import com.azure.resourcemanager.kusto.models.Identity;
import com.azure.resourcemanager.kusto.models.IdentityType;
import com.azure.resourcemanager.kusto.models.LanguageExtensionImageName;
import com.azure.resourcemanager.kusto.models.LanguageExtensionName;
import com.azure.resourcemanager.kusto.models.LanguageExtensionsList;
import com.azure.resourcemanager.kusto.models.PublicIpType;
import com.azure.resourcemanager.kusto.models.PublicNetworkAccess;
import java.util.Arrays;
Expand All @@ -461,6 +465,17 @@ public final class ClustersCreateOrUpdateSamples {
.withIdentity(new Identity().withType(IdentityType.SYSTEM_ASSIGNED))
.withEnableStreamingIngest(true)
.withEnablePurge(true)
.withLanguageExtensions(
new LanguageExtensionsList()
.withValue(
Arrays
.asList(
new LanguageExtensionInner()
.withLanguageExtensionName(LanguageExtensionName.PYTHON)
.withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON3_10_8),
new LanguageExtensionInner()
.withLanguageExtensionName(LanguageExtensionName.R)
.withLanguageExtensionImageName(LanguageExtensionImageName.R))))
.withEnableDoubleEncryption(false)
.withPublicNetworkAccess(PublicNetworkAccess.ENABLED)
.withAllowedIpRangeList(Arrays.asList("0.0.0.0/0"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public KustoManager authenticate(TokenCredential credential, AzureProfile profil
.append("-")
.append("com.azure.resourcemanager.kusto")
.append("/")
.append("1.0.0-beta.6");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ ScriptInner update(
Context context);

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand All @@ -256,7 +256,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String databaseName, String scriptName);

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand All @@ -273,7 +273,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String clusterName, String databaseName, String scriptName, Context context);

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand All @@ -287,7 +287,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
void delete(String resourceGroupName, String clusterName, String databaseName, String scriptName);

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ public ScriptInner update(
}

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand Down Expand Up @@ -1246,7 +1246,7 @@ private Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(
}

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand Down Expand Up @@ -1302,7 +1302,7 @@ private Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(
}

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand All @@ -1325,7 +1325,7 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
}

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand All @@ -1349,7 +1349,7 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(
}

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand All @@ -1367,7 +1367,7 @@ public SyncPoller<PollResult<Void>, Void> beginDelete(
}

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand All @@ -1386,7 +1386,7 @@ public SyncPoller<PollResult<Void>, Void> beginDelete(
}

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand All @@ -1406,7 +1406,7 @@ private Mono<Void> deleteAsync(
}

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand All @@ -1427,7 +1427,7 @@ private Mono<Void> deleteAsync(
}

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand All @@ -1443,7 +1443,7 @@ public void delete(String resourceGroupName, String clusterName, String database
}

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ public final class LanguageExtensionImageName extends ExpandableStringEnum<Langu
/** Static value Python3_6_5 for LanguageExtensionImageName. */
public static final LanguageExtensionImageName PYTHON3_6_5 = fromString("Python3_6_5");

/** Static value Python3_9_12 for LanguageExtensionImageName. */
public static final LanguageExtensionImageName PYTHON3_9_12 = fromString("Python3_9_12");

/** Static value Python3_9_12IncludeDeepLearning for LanguageExtensionImageName. */
public static final LanguageExtensionImageName PYTHON3_9_12INCLUDE_DEEP_LEARNING =
fromString("Python3_9_12IncludeDeepLearning");

/** Static value Python3_10_8 for LanguageExtensionImageName. */
public static final LanguageExtensionImageName PYTHON3_10_8 = fromString("Python3_10_8");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Response<Script> getWithResponse(
Script get(String resourceGroupName, String clusterName, String databaseName, String scriptName);

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand All @@ -82,7 +82,7 @@ Response<Script> getWithResponse(
void delete(String resourceGroupName, String clusterName, String databaseName, String scriptName);

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param clusterName The name of the Kusto cluster.
Expand Down Expand Up @@ -154,7 +154,7 @@ CheckNameResult checkNameAvailability(
Response<Script> getByIdWithResponse(String id, Context context);

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param id the resource ID.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -164,7 +164,7 @@ CheckNameResult checkNameAvailability(
void deleteById(String id);

/**
* Deletes a Kusto principalAssignment.
* Deletes a Kusto database script.
*
* @param id the resource ID.
* @param context The context to associate with this operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@

package com.azure.resourcemanager.kusto.generated;

import com.azure.resourcemanager.kusto.fluent.models.LanguageExtensionInner;
import com.azure.resourcemanager.kusto.models.AzureSku;
import com.azure.resourcemanager.kusto.models.AzureSkuName;
import com.azure.resourcemanager.kusto.models.AzureSkuTier;
import com.azure.resourcemanager.kusto.models.Identity;
import com.azure.resourcemanager.kusto.models.IdentityType;
import com.azure.resourcemanager.kusto.models.LanguageExtensionImageName;
import com.azure.resourcemanager.kusto.models.LanguageExtensionName;
import com.azure.resourcemanager.kusto.models.LanguageExtensionsList;
import com.azure.resourcemanager.kusto.models.PublicIpType;
import com.azure.resourcemanager.kusto.models.PublicNetworkAccess;
import java.util.Arrays;
Expand All @@ -34,6 +38,17 @@ public static void kustoClustersCreateOrUpdate(com.azure.resourcemanager.kusto.K
.withIdentity(new Identity().withType(IdentityType.SYSTEM_ASSIGNED))
.withEnableStreamingIngest(true)
.withEnablePurge(true)
.withLanguageExtensions(
new LanguageExtensionsList()
.withValue(
Arrays
.asList(
new LanguageExtensionInner()
.withLanguageExtensionName(LanguageExtensionName.PYTHON)
.withLanguageExtensionImageName(LanguageExtensionImageName.PYTHON3_10_8),
new LanguageExtensionInner()
.withLanguageExtensionName(LanguageExtensionName.R)
.withLanguageExtensionImageName(LanguageExtensionImageName.R))))
.withEnableDoubleEncryption(false)
.withPublicNetworkAccess(PublicNetworkAccess.ENABLED)
.withAllowedIpRangeList(Arrays.asList("0.0.0.0/0"))
Expand Down

This file was deleted.

This file was deleted.

Loading