diff --git a/src/Kusto/Az.Kusto.format.ps1xml b/src/Kusto/Az.Kusto.format.ps1xml
index 64ffb593fd5c..52f53bac8c3a 100644
--- a/src/Kusto/Az.Kusto.format.ps1xml
+++ b/src/Kusto/Az.Kusto.format.ps1xml
@@ -23,12 +23,18 @@
+
+
+
+
+
+
@@ -51,12 +57,18 @@
Location
+
+ OperationId
+ PrincipalAssignmentNameResourceGroupName
+
+ ScriptName
+ SubscriptionId
@@ -66,9 +78,61 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.SystemData
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20.SystemData
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CreatedAt
+
+
+ CreatedBy
+
+
+ CreatedByType
+
+
+ LastModifiedAt
+
+
+ LastModifiedBy
+
+
+ LastModifiedByType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfiguration
@@ -100,9 +164,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfigurationProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfigurationProperties
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AttachedDatabaseConfigurationProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AttachedDatabaseConfigurationProperties
@@ -146,9 +210,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureCapacity
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureCapacity
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureCapacity
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureCapacity
@@ -186,9 +250,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureResourceSku
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureResourceSku
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureResourceSku
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureResourceSku
@@ -208,9 +272,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSku
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSku
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.AzureSku
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.AzureSku
@@ -242,9 +306,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CheckNameRequest
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameRequest
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CheckNameRequest
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameRequest
@@ -270,9 +334,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CheckNameResult
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameResult
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CheckNameResult
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CheckNameResult
@@ -310,9 +374,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBody
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBody
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.CloudErrorBody
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.CloudErrorBody
@@ -344,9 +408,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Cluster
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Cluster
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Cluster
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Cluster
@@ -359,6 +423,9 @@
+
+
+
@@ -375,6 +442,9 @@
Type
+
+ Etag
+ Zone
@@ -384,9 +454,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterCheckNameRequest
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterCheckNameRequest
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterCheckNameRequest
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterCheckNameRequest
@@ -412,9 +482,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignment
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignment
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignment
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignment
@@ -440,9 +510,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignmentCheckNameRequest
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignmentCheckNameRequest
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalAssignmentCheckNameRequest
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalAssignmentCheckNameRequest
@@ -468,9 +538,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalProperties
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterPrincipalProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterPrincipalProperties
@@ -526,9 +596,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterProperties
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterProperties
@@ -602,9 +672,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterUpdate
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterUpdate
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterUpdate
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterUpdate
@@ -636,9 +706,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterUpdateTags
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterUpdateTags
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ClusterUpdateTags
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ClusterUpdateTags
@@ -658,9 +728,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties
@@ -686,9 +756,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Database
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Database
@@ -726,9 +796,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipal
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipal
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipal
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipal
@@ -784,9 +854,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignment
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignment
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignment
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignment
@@ -812,9 +882,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignmentCheckNameRequest
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignmentCheckNameRequest
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalAssignmentCheckNameRequest
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalAssignmentCheckNameRequest
@@ -840,9 +910,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalProperties
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabasePrincipalProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabasePrincipalProperties
@@ -898,9 +968,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatistics
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatistics
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DatabaseStatistics
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DatabaseStatistics
@@ -920,9 +990,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnection
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnection
@@ -960,9 +1030,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionCheckNameRequest
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionCheckNameRequest
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionCheckNameRequest
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionCheckNameRequest
@@ -988,9 +1058,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidation
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidation
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidation
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidation
@@ -1010,9 +1080,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidationResult
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidationResult
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidationResult
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidationResult
@@ -1032,9 +1102,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DiagnoseVirtualNetworkResult
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DiagnoseVirtualNetworkResult
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DiagnoseVirtualNetworkResult
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DiagnoseVirtualNetworkResult
@@ -1054,9 +1124,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridConnectionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridConnectionProperties
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridConnectionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridConnectionProperties
@@ -1124,9 +1194,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridDataConnection
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridDataConnection
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridDataConnection
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridDataConnection
@@ -1164,9 +1234,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubConnectionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubConnectionProperties
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubConnectionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubConnectionProperties
@@ -1185,6 +1255,9 @@
+
+
+
@@ -1213,6 +1286,9 @@
EventSystemProperty
+
+ ManagedIdentityResourceId
+ MappingRuleName
@@ -1228,9 +1304,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubDataConnection
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubDataConnection
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubDataConnection
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubDataConnection
@@ -1268,9 +1344,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.FollowerDatabaseDefinition
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.FollowerDatabaseDefinition
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.FollowerDatabaseDefinition
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.FollowerDatabaseDefinition
@@ -1302,9 +1378,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Identity
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Identity
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Identity
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Identity
@@ -1336,9 +1412,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubConnectionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubConnectionProperties
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubConnectionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubConnectionProperties
@@ -1400,9 +1476,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubDataConnection
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubDataConnection
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubDataConnection
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubDataConnection
@@ -1440,9 +1516,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.KeyVaultProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.KeyVaultProperties
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.KeyVaultProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.KeyVaultProperties
@@ -1480,9 +1556,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtension
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtension
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.LanguageExtension
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.LanguageExtension
@@ -1502,9 +1578,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Operation
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Operation
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.Operation
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Operation
@@ -1530,9 +1606,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationDisplay
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationDisplay
@@ -1570,9 +1646,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationListResult
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationListResult
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OperationListResult
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationListResult
@@ -1592,9 +1668,111 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OptimizedAutoscale
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ EndTime
+
+
+ Name
+
+
+ PercentComplete
+
+
+ StartTime
+
+
+ Status
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultErrorProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultErrorProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+ Message
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OperationResultProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OperationKind
+
+
+ OperationState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OptimizedAutoscale
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.OptimizedAutoscale
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.OptimizedAutoscale
@@ -1632,9 +1810,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadOnlyFollowingDatabase
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadOnlyFollowingDatabase
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadOnlyFollowingDatabase
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadOnlyFollowingDatabase
@@ -1672,9 +1850,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadOnlyFollowingDatabaseProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadOnlyFollowingDatabaseProperties
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadOnlyFollowingDatabaseProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadOnlyFollowingDatabaseProperties
@@ -1712,9 +1890,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadWriteDatabase
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadWriteDatabase
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadWriteDatabase
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadWriteDatabase
@@ -1752,9 +1930,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadWriteDatabaseProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadWriteDatabaseProperties
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadWriteDatabaseProperties
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadWriteDatabaseProperties
@@ -1780,9 +1958,111 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.SkuDescription
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Script
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.Script
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptCheckNameRequest
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptCheckNameRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ScriptProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ContinueOnError
+
+
+ ForceUpdateTag
+
+
+ ProvisioningState
+
+
+ ScriptUrl
+
+
+ ScriptUrlSasToken
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.SkuDescription
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.SkuDescription
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.SkuDescription
@@ -1820,9 +2100,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.SkuLocationInfoItem
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.SkuLocationInfoItem
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.SkuLocationInfoItem
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.SkuLocationInfoItem
@@ -1848,9 +2128,61 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.TrustedExternalTenant
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TableLevelSharingProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TableLevelSharingProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ExternalTablesToExclude
+
+
+ ExternalTablesToInclude
+
+
+ MaterializedViewsToExclude
+
+
+ MaterializedViewsToInclude
+
+
+ TablesToExclude
+
+
+ TablesToInclude
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TrustedExternalTenant
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.TrustedExternalTenant
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.TrustedExternalTenant
@@ -1870,9 +2202,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.VirtualNetworkConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.VirtualNetworkConfiguration
- Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.VirtualNetworkConfiguration
+ Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.VirtualNetworkConfiguration
diff --git a/src/Kusto/Az.Kusto.psd1 b/src/Kusto/Az.Kusto.psd1
index ff3d5ddc7962..fa39589d88ed 100644
--- a/src/Kusto/Az.Kusto.psd1
+++ b/src/Kusto/Az.Kusto.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 12/24/2020
+# Generated on: 5/19/2021
#
@{
@@ -45,7 +45,7 @@ PowerShellVersion = '5.1'
DotNetFrameworkVersion = '4.7.2'
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
-# CLRVersion = ''
+# ClrVersion = ''
# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''
@@ -77,27 +77,29 @@ FunctionsToExport = 'Add-AzKustoClusterLanguageExtension',
'Get-AzKustoClusterPrincipalAssignment', 'Get-AzKustoClusterSku',
'Get-AzKustoDatabase', 'Get-AzKustoDatabasePrincipal',
'Get-AzKustoDatabasePrincipalAssignment',
- 'Get-AzKustoDataConnection',
- 'Invoke-AzKustoDataConnectionValidation',
+ 'Get-AzKustoDataConnection', 'Get-AzKustoOperationsResult',
+ 'Get-AzKustoScript', 'Invoke-AzKustoDataConnectionValidation',
'Invoke-AzKustoDetachClusterFollowerDatabase',
'Invoke-AzKustoDiagnoseClusterVirtualNetwork',
'New-AzKustoAttachedDatabaseConfiguration', 'New-AzKustoCluster',
'New-AzKustoClusterPrincipalAssignment', 'New-AzKustoDatabase',
'New-AzKustoDatabasePrincipalAssignment',
- 'New-AzKustoDataConnection',
+ 'New-AzKustoDataConnection', 'New-AzKustoScript',
'Remove-AzKustoAttachedDatabaseConfiguration',
'Remove-AzKustoCluster', 'Remove-AzKustoClusterLanguageExtension',
'Remove-AzKustoClusterPrincipalAssignment',
'Remove-AzKustoDatabase', 'Remove-AzKustoDatabasePrincipal',
'Remove-AzKustoDatabasePrincipalAssignment',
- 'Remove-AzKustoDataConnection', 'Start-AzKustoCluster',
- 'Stop-AzKustoCluster', 'Test-AzKustoClusterNameAvailability',
+ 'Remove-AzKustoDataConnection', 'Remove-AzKustoScript',
+ 'Start-AzKustoCluster', 'Stop-AzKustoCluster',
+ 'Test-AzKustoClusterNameAvailability',
'Test-AzKustoClusterPrincipalAssignmentNameAvailability',
'Test-AzKustoDatabaseNameAvailability',
'Test-AzKustoDatabasePrincipalAssignmentNameAvailability',
'Test-AzKustoDataConnectionNameAvailability',
- 'Update-AzKustoCluster', 'Update-AzKustoDatabase',
- 'Update-AzKustoDataConnection'
+ 'Test-AzKustoScriptNameAvailability', 'Update-AzKustoCluster',
+ 'Update-AzKustoDatabase', 'Update-AzKustoDataConnection',
+ 'Update-AzKustoScript'
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()
@@ -135,7 +137,7 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Updated API version to 2020-09-18.'
+ # ReleaseNotes = ''
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/Kusto/Az.Kusto.psm1 b/src/Kusto/Az.Kusto.psm1
index d015fd467159..2c54a7b9078f 100644
--- a/src/Kusto/Az.Kusto.psm1
+++ b/src/Kusto/Az.Kusto.psm1
@@ -24,17 +24,17 @@
}
}
if(-not $accountsModule) {
- $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'1.8.1' } | Measure-Object).Count -gt 0
+ $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.2.3' } | Measure-Object).Count -gt 0
if($hasAdequateVersion) {
- $accountsModule = Import-Module -Name $accountsName -MinimumVersion 1.8.1 -Scope Global -PassThru
+ $accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.2.3 -Scope Global -PassThru
}
}
}
if(-not $accountsModule) {
- Write-Error "`nThis module requires $accountsName version 1.8.1 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop
- } elseif (($accountsModule.Version -lt [System.Version]'1.8.1') -and (-not $localAccounts)) {
- Write-Error "`nThis module requires $accountsName version 1.8.1 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to remove '.PSSharedModules' in your home directory. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
+ Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop
+ } elseif (($accountsModule.Version -lt [System.Version]'2.2.3') -and (-not $localAccounts)) {
+ Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
}
Write-Information "Loaded Module '$($accountsModule.Name)'"
diff --git a/src/Kusto/ChangeLog.md b/src/Kusto/ChangeLog.md
index 398045a11c34..efcc4a3d8512 100644
--- a/src/Kusto/ChangeLog.md
+++ b/src/Kusto/ChangeLog.md
@@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
+* Bumped API version to 2021-01-01
## Version 1.0.1
* Updated API version to 2020-09-18.
diff --git a/src/Kusto/build-module.ps1 b/src/Kusto/build-module.ps1
index 24c3ddf451e6..e35ff8de9bc2 100644
--- a/src/Kusto/build-module.ps1
+++ b/src/Kusto/build-module.ps1
@@ -120,9 +120,13 @@ $moduleName = 'Az.Kusto'
$examplesFolder = Join-Path $PSScriptRoot 'examples'
$null = New-Item -ItemType Directory -Force -Path $examplesFolder
+Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...'
+$modelCmdlets = @()
+. (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1') -Models $modelCmdlets
+
if($NoDocs) {
Write-Host -ForegroundColor Green 'Creating exports...'
- Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ExcludeDocs
+ Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ExcludeDocs -ExamplesFolder $examplesFolder
} else {
Write-Host -ForegroundColor Green 'Creating exports and docs...'
$moduleDescription = 'Microsoft Azure PowerShell: Kusto cmdlets'
diff --git a/src/Kusto/check-dependencies.ps1 b/src/Kusto/check-dependencies.ps1
index 513c52ca2fb5..657140612d88 100644
--- a/src/Kusto/check-dependencies.ps1
+++ b/src/Kusto/check-dependencies.ps1
@@ -46,17 +46,17 @@ if(Test-Path -Path $localModulesPath) {
$env:PSModulePath = "$localModulesPath$([IO.Path]::PathSeparator)$env:PSModulePath"
}
-DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '1.8.1'
+DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '2.2.3'
DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -requiredVersion '4.10.1'
$tools = Join-Path $PSScriptRoot 'tools'
$resourceDir = Join-Path $tools 'Resources'
$resourceModule = Join-Path $HOME '.PSSharedModules\Resources\Az.Resources.TestSupport.psm1'
-if ($Resources.IsPresent -and (-not (Test-Path -Path $resourceModule))) {
+if ($Resources.IsPresent -and ((-not (Test-Path -Path $resourceModule)) -or $RegenerateSupportModule.IsPresent)) {
Write-Host -ForegroundColor Green "Building local Resource module used for test..."
Set-Location $resourceDir
- $null = autorest-beta .\readme.md --output-folder=$HOME/.PSSharedModules/Resources
+ $null = autorest .\readme.md --use:@autorest/powershell@3.0.414 --output-folder=$HOME/.PSSharedModules/Resources
$null = Copy-Item custom/* $HOME/.PSSharedModules/Resources/custom/
Set-Location $HOME/.PSSharedModules/Resources
$null = .\build-module.ps1
diff --git a/src/Kusto/create-model-cmdlets.ps1 b/src/Kusto/create-model-cmdlets.ps1
new file mode 100644
index 000000000000..aff881c8f0ee
--- /dev/null
+++ b/src/Kusto/create-model-cmdlets.ps1
@@ -0,0 +1,165 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+param([string[]]$Models)
+
+if ($Models.Count -eq 0)
+{
+ return
+}
+
+$ModelCsPath = Join-Path (Join-Path $PSScriptRoot 'generated\api') 'Models'
+$ModuleName = 'Az.Kusto'.Split(".")[1]
+$OutputDir = Join-Path $PSScriptRoot 'custom\autogen-model-cmdlets'
+$null = New-Item -ItemType Directory -Force -Path $OutputDir
+
+$CsFiles = Get-ChildItem -Path $ModelCsPath -Recurse -Filter *.cs
+$Content = ''
+$null = $CsFiles | ForEach-Object -Process { if ($_.Name.Split('.').count -eq 2 )
+ { $Content += get-content $_.fullname -raw
+ } }
+
+$Tree = [Microsoft.CodeAnalysis.CSharp.SyntaxFactory]::ParseCompilationUnit($Content)
+$Nodes = $Tree.ChildNodes().ChildNodes()
+foreach ($Model in $Models)
+{
+ $InterfaceNode = $Nodes | Where-Object { ($_.Keyword.value -eq 'interface') -and ($_.Identifier.value -eq "I$Model") }
+ if ($InterfaceNode.count -eq 0) {
+ continue
+ }
+ # through a queue, we iterate all the parent models.
+ $Queue = @($InterfaceNode)
+ $visited = @("I$Model")
+ $AllInterfaceNodes = @()
+ while ($Queue.count -ne 0)
+ {
+ $AllInterfaceNodes += $Queue[0]
+ # Baselist contains the direct parent models.
+ foreach ($parent in $Queue[0].BaseList.Types)
+ {
+ if (($parent.Type.Right.Identifier.Value -ne 'IJsonSerializable') -and (-not $visited.Contains($parent.Type.Right.Identifier.Value)))
+ {
+ $Queue = [Array]$Queue + ($Nodes | Where-Object { ($_.Keyword.value -eq 'interface') -and ($_.Identifier.value -eq $parent.Type.Right.Identifier.Value) })
+ $visited = [Array]$visited + $parent.Type.Right.Identifier.Value
+ }
+ }
+ $first, $Queue = $Queue
+ }
+
+ $Namespace = $InterfaceNode.Parent.Name
+ $ObjectType = $Model
+ $ObjectTypeWithNamespace = "${Namespace}.${ObjectType}"
+ # remove duplicated module name
+ if ($ObjectType.StartsWith($ModuleName)) {
+ $ModulePrefix = ''
+ } else {
+ $ModulePrefix = $ModuleName
+ }
+ $OutputPath = Join-Path -ChildPath "New-Az${ModulePrefix}${ObjectType}Object.ps1" -Path $OutputDir
+
+ $ParameterDefineScriptList = New-Object System.Collections.Generic.List[string]
+ $ParameterAssignScriptList = New-Object System.Collections.Generic.List[string]
+ foreach ($Node in $AllInterfaceNodes)
+ {
+ foreach ($Member in $Node.Members)
+ {
+ $Arguments = $Member.AttributeLists.Attributes.ArgumentList.Arguments
+ $Required = $false
+ $Description = ""
+ $Readonly = $False
+ foreach ($Argument in $Arguments)
+ {
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Required")
+ {
+ $Required = $Argument.Expression.Token.Value
+ }
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Description")
+ {
+ $Description = $Argument.Expression.Token.Value.Trim('.').replace('"', '`"')
+ }
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Readonly")
+ {
+ $Readonly = $Argument.Expression.Token.Value
+ }
+ }
+ if ($Readonly)
+ {
+ continue
+ }
+ $Identifier = $Member.Identifier.Value
+ $Type = $Member.Type.ToString().replace('?', '').Split("::")[-1]
+ $ParameterDefinePropertyList = New-Object System.Collections.Generic.List[string]
+ if ($Required)
+ {
+ $ParameterDefinePropertyList.Add("Mandatory")
+ }
+ if ($Description -ne "")
+ {
+ $ParameterDefinePropertyList.Add("HelpMessage=`"${Description}.`"")
+ }
+ $ParameterDefineProperty = [System.String]::Join(", ", $ParameterDefinePropertyList)
+ $ParameterDefineScript = "
+ [Parameter($ParameterDefineProperty)]
+ [${Type}]
+ `$${Identifier}"
+ $ParameterDefineScriptList.Add($ParameterDefineScript)
+ $ParameterAssignScriptList.Add("
+ `$Object.${Identifier} = `$${Identifier}")
+ }
+ }
+ $ParameterDefineScript = $ParameterDefineScriptList | Join-String -Separator ","
+ $ParameterAssignScript = $ParameterAssignScriptList | Join-String -Separator ""
+
+ $Script = "
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the \`"License\`");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an \`"AS IS\`" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Create a in-memory object for ${ObjectType}
+.Description
+Create a in-memory object for ${ObjectType}
+
+.Outputs
+${ObjectTypeWithNamespace}
+.Link
+https://docs.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
+#>
+function New-Az${ModulePrefix}${ObjectType}Object {
+ [OutputType('${ObjectTypeWithNamespace}')]
+ [CmdletBinding(PositionalBinding=`$false)]
+ Param(
+${ParameterDefineScript}
+ )
+
+ process {
+ `$Object = [${ObjectTypeWithNamespace}]::New()
+${ParameterAssignScript}
+ return `$Object
+ }
+}
+"
+ Set-Content -Path $OutputPath -Value $Script
+}
diff --git a/src/Kusto/custom/Invoke-AzKustoDataConnectionValidation.ps1 b/src/Kusto/custom/Invoke-AzKustoDataConnectionValidation.ps1
index af184023d841..2596652bc447 100644
--- a/src/Kusto/custom/Invoke-AzKustoDataConnectionValidation.ps1
+++ b/src/Kusto/custom/Invoke-AzKustoDataConnectionValidation.ps1
@@ -19,8 +19,8 @@ Checks that the data connection parameters are valid.
.Description
Checks that the data connection parameters are valid.
.Example
-PS C:\> $dataConnectionProperties = New-Object -Type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubDataConnection -Property @{Location=$location; Kind=$kind; EventHubResourceId=$eventHubResourceId; DataFormat=$dataFormat; ConsumerGroup='$Default'; Compression= "None"; TableName = $tableName; MappingRuleName = $tableMappingName}
-PS C:\> $dataConnectionValidation = New-Object -Type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidation -Property @{DataConnectionName=$dataConnectionName; Property=$dataConnectionProperties}
+PS C:\> $dataConnectionProperties = New-Object -Type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubDataConnection -Property @{Location=$location; Kind=$kind; EventHubResourceId=$eventHubResourceId; DataFormat=$dataFormat; ConsumerGroup='$Default'; Compression= "None"; TableName = $tableName; MappingRuleName = $tableMappingName}
+PS C:\> $dataConnectionValidation = New-Object -Type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidation -Property @{DataConnectionName=$dataConnectionName; Property=$dataConnectionProperties}
PS C:\> Invoke-AzKustoDataConnectionValidation -ResourceGroupName $resourceGroupName -ClusterName $clusterName -DatabaseName $databaseName -Parameter $dataConnectionValidation
ErrorMessage
@@ -28,10 +28,10 @@ ErrorMessage
event hub resource id and consumer group tuple provided are already used
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/invoke-azkustodataconnectionvalidation
+https://docs.microsoft.com/powershell/module/az.kusto/invoke-azkustodataconnectionvalidation
#>
function Invoke-AzKustoDataConnectionValidation {
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult])]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult])]
[CmdletBinding(DefaultParameterSetName = 'DataExpandedEventHub', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
param(
[Parameter(ParameterSetName = 'DataExpandedEventHub', Mandatory)]
@@ -230,13 +230,13 @@ function Invoke-AzKustoDataConnectionValidation {
process {
try {
- $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.DataConnectionValidation]::new()
+ $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.DataConnectionValidation]::new()
$Parameter.DataConnectionName = $PSBoundParameters['DataConnectionName']
$null = $PSBoundParameters.Remove('DataConnectionName')
if ($PSBoundParameters['Kind'] -eq 'EventHub') {
- $Parameter.Property = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubDataConnection]::new()
+ $Parameter.Property = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubDataConnection]::new()
$Parameter.Property.EventHubResourceId = $PSBoundParameters['EventHubResourceId']
$null = $PSBoundParameters.Remove('EventHubResourceId')
@@ -252,7 +252,7 @@ function Invoke-AzKustoDataConnectionValidation {
}
}
elseif ($PSBoundParameters['Kind'] -eq 'EventGrid') {
- $Parameter.Property = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridDataConnection]::new()
+ $Parameter.Property = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridDataConnection]::new()
$Parameter.Property.EventHubResourceId = $PSBoundParameters['EventHubResourceId']
$null = $PSBoundParameters.Remove('EventHubResourceId')
@@ -271,7 +271,7 @@ function Invoke-AzKustoDataConnectionValidation {
}
}
else {
- $Parameter.Property = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubDataConnection]::new()
+ $Parameter.Property = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubDataConnection]::new()
$Parameter.Property.IotHubResourceId = $PSBoundParameters['IotHubResourceId']
$null = $PSBoundParameters.Remove('IotHubResourceId')
diff --git a/src/Kusto/custom/New-AzKustoDataConnection.ps1 b/src/Kusto/custom/New-AzKustoDataConnection.ps1
index 8e0adc9fdab0..817d8e272f5b 100644
--- a/src/Kusto/custom/New-AzKustoDataConnection.ps1
+++ b/src/Kusto/custom/New-AzKustoDataConnection.ps1
@@ -19,7 +19,7 @@ Creates or updates a data connection.
.Description
Creates or updates a data connection.
.Example
-PS C:\> $dataConnectionProperties = New-Object -Type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubDataConnection -Property @{Location="East US"; Kind="EventHub"; EventHubResourceId="/subscriptions/$subscriptionId/resourcegroups/testrg/providers/Microsoft.EventHub/namespaces/myeventhubns/eventhubs/myeventhub"; DataFormat="JSON"; ConsumerGroup='$Default'; Compression= "None"; TableName = "Events"; MappingRuleName = "EventsMapping"}
+PS C:\> $dataConnectionProperties = New-Object -Type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubDataConnection -Property @{Location="East US"; Kind="EventHub"; EventHubResourceId="/subscriptions/$subscriptionId/resourcegroups/testrg/providers/Microsoft.EventHub/namespaces/myeventhubns/eventhubs/myeventhub"; DataFormat="JSON"; ConsumerGroup='$Default'; Compression= "None"; TableName = "Events"; MappingRuleName = "EventsMapping"}
PS C:\> New-AzKustoDataConnection -ResourceGroupName "testrg" -ClusterName "testnewkustocluster" -DatabaseName "mykustodatabase" -DataConnectionName "mykustodataconnection" -Parameter $dataConnectionProperties
Kind Location Name Type
@@ -27,10 +27,10 @@ Kind Location Name Type
EventHub East US testnewkustocluster/mykustodatabase/mykustodataconnection Microsoft.Kusto/Clusters/Databases/DataConnections
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/new-azkustodataconnection
+https://docs.microsoft.com/powershell/module/az.kusto/new-azkustodataconnection
#>
function New-AzKustoDataConnection {
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection])]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection])]
[CmdletBinding(DefaultParameterSetName = 'CreateExpandedEventHub', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
param(
[Parameter(Mandatory)]
@@ -218,7 +218,7 @@ function New-AzKustoDataConnection {
process {
try {
if ($PSBoundParameters['Kind'] -eq 'EventHub') {
- $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubDataConnection]::new()
+ $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubDataConnection]::new()
$Parameter.EventHubResourceId = $PSBoundParameters['EventHubResourceId']
$null = $PSBoundParameters.Remove('EventHubResourceId')
@@ -234,7 +234,7 @@ function New-AzKustoDataConnection {
}
}
elseif ($PSBoundParameters['Kind'] -eq 'EventGrid') {
- $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridDataConnection]::new()
+ $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridDataConnection]::new()
$Parameter.EventHubResourceId = $PSBoundParameters['EventHubResourceId']
$null = $PSBoundParameters.Remove('EventHubResourceId')
@@ -253,7 +253,7 @@ function New-AzKustoDataConnection {
}
}
else {
- $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubDataConnection]::new()
+ $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubDataConnection]::new()
$Parameter.IotHubResourceId = $PSBoundParameters['IotHubResourceId']
$null = $PSBoundParameters.Remove('IotHubResourceId')
diff --git a/src/Kusto/custom/New-AzKustoDatabase.ps1 b/src/Kusto/custom/New-AzKustoDatabase.ps1
index 68bc0e2310c2..8b276c4694d0 100644
--- a/src/Kusto/custom/New-AzKustoDatabase.ps1
+++ b/src/Kusto/custom/New-AzKustoDatabase.ps1
@@ -26,10 +26,10 @@ Kind Location Name Type
ReadWrite East US testnewkustocluster/mykustodatabase Microsoft.Kusto/Clusters/Databases
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/new-azkustodatabase
+https://docs.microsoft.com/powershell/module/az.kusto/new-azkustodatabase
#>
function New-AzKustoDatabase {
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase])]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase])]
[CmdletBinding(PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
param(
[Parameter(Mandatory)]
@@ -146,7 +146,7 @@ function New-AzKustoDatabase {
process {
try {
- $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadWriteDatabase]::new()
+ $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadWriteDatabase]::new()
$Parameter.Kind = $PSBoundParameters['Kind']
$null = $PSBoundParameters.Remove('Kind')
diff --git a/src/Kusto/custom/Update-AzKustoDataConnection.ps1 b/src/Kusto/custom/Update-AzKustoDataConnection.ps1
index 759219f4da55..69dc9f1f40ed 100644
--- a/src/Kusto/custom/Update-AzKustoDataConnection.ps1
+++ b/src/Kusto/custom/Update-AzKustoDataConnection.ps1
@@ -19,7 +19,7 @@ Updates a data connection.
.Description
Updates a data connection.
.Example
-PS C:\> $dataConnectionProperties = New-Object -Type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubDataConnection -Property @{Location="East US"; Kind="EventHub"; EventHubResourceId="/subscriptions/$subscriptionId/resourcegroups/$resourceGroupName/providers/Microsoft.EventHub/namespaces/myeventhubns/eventhubs/myeventhub"; DataFormat="JSON"; ConsumerGroup='$Default'; Compression= "None"; TableName = "Events"; MappingRuleName = "EventsMapping1"}
+PS C:\> $dataConnectionProperties = New-Object -Type Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubDataConnection -Property @{Location="East US"; Kind="EventHub"; EventHubResourceId="/subscriptions/$subscriptionId/resourcegroups/$resourceGroupName/providers/Microsoft.EventHub/namespaces/myeventhubns/eventhubs/myeventhub"; DataFormat="JSON"; ConsumerGroup='$Default'; Compression= "None"; TableName = "Events"; MappingRuleName = "EventsMapping1"}
PS C:\> Update-AzKustoDataConnection -ResourceGroupName $resourceGroupName -ClusterName "testnewkustocluster" -DatabaseName "mykustodatabase" -DataConnectionName "mykustodataconnection" -Parameter $dataConnectionProperties
Kind Location Name Type
@@ -27,10 +27,10 @@ Kind Location Name Type
EventHub East US testnewkustocluster/mykustodatabase/mykustodataconnection Microsoft.Kusto/Clusters/Databases/DataConnections
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/update-azkustodataconnection
+https://docs.microsoft.com/powershell/module/az.kusto/update-azkustodataconnection
#>
function Update-AzKustoDataConnection {
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection])]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection])]
[CmdletBinding(DefaultParameterSetName = 'UpdateExpandedEventHub', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
param(
[Parameter(ParameterSetName = 'UpdateExpandedEventHub', Mandatory)]
@@ -245,7 +245,7 @@ function Update-AzKustoDataConnection {
process {
try {
if ($PSBoundParameters['Kind'] -eq 'EventHub') {
- $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventHubDataConnection]::new()
+ $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventHubDataConnection]::new()
$Parameter.EventHubResourceId = $PSBoundParameters['EventHubResourceId']
$null = $PSBoundParameters.Remove('EventHubResourceId')
@@ -261,7 +261,7 @@ function Update-AzKustoDataConnection {
}
}
elseif ($PSBoundParameters['Kind'] -eq 'EventGrid') {
- $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.EventGridDataConnection]::new()
+ $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.EventGridDataConnection]::new()
$Parameter.EventHubResourceId = $PSBoundParameters['EventHubResourceId']
$null = $PSBoundParameters.Remove('EventHubResourceId')
@@ -280,7 +280,7 @@ function Update-AzKustoDataConnection {
}
}
else {
- $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IotHubDataConnection]::new()
+ $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IotHubDataConnection]::new()
$Parameter.IotHubResourceId = $PSBoundParameters['IotHubResourceId']
$null = $PSBoundParameters.Remove('IotHubResourceId')
diff --git a/src/Kusto/custom/Update-AzKustoDatabase.ps1 b/src/Kusto/custom/Update-AzKustoDatabase.ps1
index 5ed930a61562..6bfd66bddd17 100644
--- a/src/Kusto/custom/Update-AzKustoDatabase.ps1
+++ b/src/Kusto/custom/Update-AzKustoDatabase.ps1
@@ -28,10 +28,10 @@ Kind Location Name Type
ReadWrite East US testnewkustocluster/mykustodatabase Microsoft.Kusto/Clusters/Databases
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/update-azkustodatabase
+https://docs.microsoft.com/powershell/module/az.kusto/update-azkustodatabase
#>
function Update-AzKustoDatabase {
- [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase])]
+ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase])]
[CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
param(
[Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)]
@@ -157,10 +157,10 @@ function Update-AzKustoDatabase {
process {
try {
if ($PSBoundParameters['Kind'] -eq 'ReadWrite') {
- $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadWriteDatabase]::new()
+ $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadWriteDatabase]::new()
}
else {
- $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ReadOnlyFollowingDatabase]::new()
+ $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ReadOnlyFollowingDatabase]::new()
}
$Parameter.Kind = $PSBoundParameters['Kind']
diff --git a/src/Kusto/custom/readme.md b/src/Kusto/custom/readme.md
index 0a6715a28896..d55b0902d316 100644
--- a/src/Kusto/custom/readme.md
+++ b/src/Kusto/custom/readme.md
@@ -31,11 +31,11 @@ These provide functionality to our HTTP pipeline and other useful features. In s
### Attributes
For processing the cmdlets, we've created some additional attributes:
-- `Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.DescriptionAttribute`
+- `Microsoft.Azure.PowerShell.Cmdlets.Kusto.DescriptionAttribute`
- Used in C# cmdlets to provide a high-level description of the cmdlet. This is propegated to reference documentation via [help comments](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
-- `Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.DoNotExportAttribute`
+- `Microsoft.Azure.PowerShell.Cmdlets.Kusto.DoNotExportAttribute`
- Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.Kusto`.
-- `Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.InternalExportAttribute`
+- `Microsoft.Azure.PowerShell.Cmdlets.Kusto.InternalExportAttribute`
- Used in C# cmdlets to route exported cmdlets to the `..\internal`, which are *not exposed* by `Az.Kusto`. For more information, see [readme.md](..\internal/readme.md) in the `..\internal` folder.
-- `Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.ProfileAttribute`
+- `Microsoft.Azure.PowerShell.Cmdlets.Kusto.ProfileAttribute`
- Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.
\ No newline at end of file
diff --git a/src/Kusto/examples/Get-AzKustoOperationsResult.md b/src/Kusto/examples/Get-AzKustoOperationsResult.md
new file mode 100644
index 000000000000..093355d11d50
--- /dev/null
+++ b/src/Kusto/examples/Get-AzKustoOperationsResult.md
@@ -0,0 +1,18 @@
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
diff --git a/src/Kusto/examples/Get-AzKustoScript.md b/src/Kusto/examples/Get-AzKustoScript.md
new file mode 100644
index 000000000000..093355d11d50
--- /dev/null
+++ b/src/Kusto/examples/Get-AzKustoScript.md
@@ -0,0 +1,18 @@
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
diff --git a/src/Kusto/examples/New-AzKustoDatabase.md b/src/Kusto/examples/New-AzKustoDatabase.md
index 32ebf42d1230..093355d11d50 100644
--- a/src/Kusto/examples/New-AzKustoDatabase.md
+++ b/src/Kusto/examples/New-AzKustoDatabase.md
@@ -1,10 +1,18 @@
-### Example 1: Create a new Kusto database by name
+### Example 1: {{ Add title here }}
```powershell
-PS C:\> New-AzKustoDatabase -ResourceGroupName testrg -ClusterName testnewkustocluster -Name mykustodatabase -Kind ReadWrite -Location 'East US'
+PS C:\> {{ Add code here }}
-Kind Location Name Type
----- -------- ---- ----
-ReadWrite East US testnewkustocluster/mykustodatabase Microsoft.Kusto/Clusters/Databases
+{{ Add output here }}
```
-The above command creates a new Kusto database named "mykustodatabase" in the existing cluster "testnewkustocluster" found in the resource group "testrg".
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
diff --git a/src/Kusto/examples/New-AzKustoScript.md b/src/Kusto/examples/New-AzKustoScript.md
new file mode 100644
index 000000000000..093355d11d50
--- /dev/null
+++ b/src/Kusto/examples/New-AzKustoScript.md
@@ -0,0 +1,18 @@
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
diff --git a/src/Kusto/examples/Remove-AzKustoScript.md b/src/Kusto/examples/Remove-AzKustoScript.md
new file mode 100644
index 000000000000..093355d11d50
--- /dev/null
+++ b/src/Kusto/examples/Remove-AzKustoScript.md
@@ -0,0 +1,18 @@
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
diff --git a/src/Kusto/examples/Test-AzKustoScriptNameAvailability.md b/src/Kusto/examples/Test-AzKustoScriptNameAvailability.md
new file mode 100644
index 000000000000..093355d11d50
--- /dev/null
+++ b/src/Kusto/examples/Test-AzKustoScriptNameAvailability.md
@@ -0,0 +1,18 @@
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
diff --git a/src/Kusto/examples/Update-AzKustoScript.md b/src/Kusto/examples/Update-AzKustoScript.md
new file mode 100644
index 000000000000..093355d11d50
--- /dev/null
+++ b/src/Kusto/examples/Update-AzKustoScript.md
@@ -0,0 +1,18 @@
+### Example 1: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
diff --git a/src/Kusto/exports/Add-AzKustoClusterLanguageExtension.ps1 b/src/Kusto/exports/Add-AzKustoClusterLanguageExtension.ps1
index c110973d695a..461615fa8d44 100644
--- a/src/Kusto/exports/Add-AzKustoClusterLanguageExtension.ps1
+++ b/src/Kusto/exports/Add-AzKustoClusterLanguageExtension.ps1
@@ -36,15 +36,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
VALUE : The list of language extensions.
[Name ]: The language extension name.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/add-azkustoclusterlanguageextension
+https://docs.microsoft.com/powershell/module/az.kusto/add-azkustoclusterlanguageextension
#>
function Add-AzKustoClusterLanguageExtension {
[OutputType([System.Boolean])]
@@ -79,7 +81,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[]]
# The list of language extensions.
# To construct, see NOTES section for VALUE properties and create a hash table.
${Value},
diff --git a/src/Kusto/exports/Add-AzKustoDatabasePrincipal.ps1 b/src/Kusto/exports/Add-AzKustoDatabasePrincipal.ps1
index 280b5972ced7..6f71dbf9df7a 100644
--- a/src/Kusto/exports/Add-AzKustoDatabasePrincipal.ps1
+++ b/src/Kusto/exports/Add-AzKustoDatabasePrincipal.ps1
@@ -29,7 +29,7 @@ AppId Email Fqn
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -41,9 +41,11 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
VALUE : The list of Kusto database principals.
@@ -54,10 +56,10 @@ VALUE : The list of Kusto database principals.
[Email ]: Database principal email if exists.
[Fqn ]: Database principal fully qualified name.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/add-azkustodatabaseprincipal
+https://docs.microsoft.com/powershell/module/az.kusto/add-azkustodatabaseprincipal
#>
function Add-AzKustoDatabasePrincipal {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal])]
[CmdletBinding(DefaultParameterSetName='AddExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='AddExpanded', Mandatory)]
@@ -95,7 +97,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[]]
# The list of Kusto database principals.
# To construct, see NOTES section for VALUE properties and create a hash table.
${Value},
diff --git a/src/Kusto/exports/Get-AzKustoAttachedDatabaseConfiguration.ps1 b/src/Kusto/exports/Get-AzKustoAttachedDatabaseConfiguration.ps1
index 0833aa185772..2f5f27801468 100644
--- a/src/Kusto/exports/Get-AzKustoAttachedDatabaseConfiguration.ps1
+++ b/src/Kusto/exports/Get-AzKustoAttachedDatabaseConfiguration.ps1
@@ -34,7 +34,7 @@ testnewkustoclusterf/myfollowerconfiguration Microsoft.Kusto/Clusters/AttachedDa
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -46,15 +46,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustoattacheddatabaseconfiguration
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoattacheddatabaseconfiguration
#>
function Get-AzKustoAttachedDatabaseConfiguration {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/Kusto/exports/Get-AzKustoCluster.ps1 b/src/Kusto/exports/Get-AzKustoCluster.ps1
index 7058f111647f..e6c030e7a009 100644
--- a/src/Kusto/exports/Get-AzKustoCluster.ps1
+++ b/src/Kusto/exports/Get-AzKustoCluster.ps1
@@ -35,7 +35,7 @@ East US testnewkustocluster Microsoft.Kusto/Clusters
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -47,15 +47,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustocluster
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustocluster
#>
function Get-AzKustoCluster {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/Kusto/exports/Get-AzKustoClusterFollowerDatabase.ps1 b/src/Kusto/exports/Get-AzKustoClusterFollowerDatabase.ps1
index c4c0eddbeb7b..b91731f6d30b 100644
--- a/src/Kusto/exports/Get-AzKustoClusterFollowerDatabase.ps1
+++ b/src/Kusto/exports/Get-AzKustoClusterFollowerDatabase.ps1
@@ -26,12 +26,12 @@ AttachedDatabaseConfigurationName ClusterResourceId
myfollowerconfiguration /subscriptions/xxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxx/resourceGroups/testrg/providers/Microsoft.Kusto/Clusters/testnewkustoclusterf mykustodatabase
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustoclusterfollowerdatabase
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoclusterfollowerdatabase
#>
function Get-AzKustoClusterFollowerDatabase {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
diff --git a/src/Kusto/exports/Get-AzKustoClusterLanguageExtension.ps1 b/src/Kusto/exports/Get-AzKustoClusterLanguageExtension.ps1
index 7ff88b49efda..74d390230c67 100644
--- a/src/Kusto/exports/Get-AzKustoClusterLanguageExtension.ps1
+++ b/src/Kusto/exports/Get-AzKustoClusterLanguageExtension.ps1
@@ -27,12 +27,12 @@ R
PYTHON
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustoclusterlanguageextension
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoclusterlanguageextension
#>
function Get-AzKustoClusterLanguageExtension {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
diff --git a/src/Kusto/exports/Get-AzKustoClusterPrincipalAssignment.ps1 b/src/Kusto/exports/Get-AzKustoClusterPrincipalAssignment.ps1
index e8cf1f65a685..a8b02cad19ee 100644
--- a/src/Kusto/exports/Get-AzKustoClusterPrincipalAssignment.ps1
+++ b/src/Kusto/exports/Get-AzKustoClusterPrincipalAssignment.ps1
@@ -34,7 +34,7 @@ testnewkustocluster/kustoprincipal1 Microsoft.Kusto/Clusters/PrincipalAssignment
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -46,15 +46,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustoclusterprincipalassignment
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoclusterprincipalassignment
#>
function Get-AzKustoClusterPrincipalAssignment {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/Kusto/exports/Get-AzKustoClusterSku.ps1 b/src/Kusto/exports/Get-AzKustoClusterSku.ps1
index 8b730823419d..977b32a085c6 100644
--- a/src/Kusto/exports/Get-AzKustoClusterSku.ps1
+++ b/src/Kusto/exports/Get-AzKustoClusterSku.ps1
@@ -69,14 +69,14 @@ Microsoft.Kusto/clusters
...
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustoclustersku
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoclustersku
#>
function Get-AzKustoClusterSku {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription], [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription], [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter()]
diff --git a/src/Kusto/exports/Get-AzKustoDataConnection.ps1 b/src/Kusto/exports/Get-AzKustoDataConnection.ps1
index 5d0c6fa8a352..24d3bf53564b 100644
--- a/src/Kusto/exports/Get-AzKustoDataConnection.ps1
+++ b/src/Kusto/exports/Get-AzKustoDataConnection.ps1
@@ -34,7 +34,7 @@ EventHub East US testnewkustocluster/mykustodatabase/mykustodataconnection Micr
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -46,15 +46,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustodataconnection
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustodataconnection
#>
function Get-AzKustoDataConnection {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/Kusto/exports/Get-AzKustoDatabase.ps1 b/src/Kusto/exports/Get-AzKustoDatabase.ps1
index c3a12299382f..e8610a3d746a 100644
--- a/src/Kusto/exports/Get-AzKustoDatabase.ps1
+++ b/src/Kusto/exports/Get-AzKustoDatabase.ps1
@@ -35,7 +35,7 @@ ReadWrite East US testnewkustocluster/mykustodatabase Microsoft.Kusto/Clusters/
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -47,15 +47,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustodatabase
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustodatabase
#>
function Get-AzKustoDatabase {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/Kusto/exports/Get-AzKustoDatabasePrincipal.ps1 b/src/Kusto/exports/Get-AzKustoDatabasePrincipal.ps1
index 75d5eea1dd46..e9a58377d0cc 100644
--- a/src/Kusto/exports/Get-AzKustoDatabasePrincipal.ps1
+++ b/src/Kusto/exports/Get-AzKustoDatabasePrincipal.ps1
@@ -27,12 +27,12 @@ AppId Email Fqn
otheruser@microsoft.com aaduser=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Other User Admin Microsoft User
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustodatabaseprincipal
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustodatabaseprincipal
#>
function Get-AzKustoDatabasePrincipal {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
diff --git a/src/Kusto/exports/Get-AzKustoDatabasePrincipalAssignment.ps1 b/src/Kusto/exports/Get-AzKustoDatabasePrincipalAssignment.ps1
index 4abafa798d40..c94b4bb6aa43 100644
--- a/src/Kusto/exports/Get-AzKustoDatabasePrincipalAssignment.ps1
+++ b/src/Kusto/exports/Get-AzKustoDatabasePrincipalAssignment.ps1
@@ -36,7 +36,7 @@ testnewkustocluster/mykustodatabase/kustoprincipal1 Microsoft.Kusto/Clusters/Dat
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -48,15 +48,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustodatabaseprincipalassignment
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustodatabaseprincipalassignment
#>
function Get-AzKustoDatabasePrincipalAssignment {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/Kusto/exports/Get-AzKustoOperationsResult.ps1 b/src/Kusto/exports/Get-AzKustoOperationsResult.ps1
new file mode 100644
index 000000000000..cf596473347b
--- /dev/null
+++ b/src/Kusto/exports/Get-AzKustoOperationsResult.ps1
@@ -0,0 +1,171 @@
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Returns operation results.
+.Description
+Returns operation results.
+.Example
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+.Example
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [AttachedDatabaseConfigurationName ]: The name of the attached database configuration.
+ [ClusterName ]: The name of the Kusto cluster.
+ [DataConnectionName ]: The name of the data connection.
+ [DatabaseName ]: The name of the database in the Kusto cluster.
+ [Id ]: Resource identity path
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
+ [PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
+ [ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
+ [SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+.Link
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustooperationsresult
+#>
+function Get-AzKustoOperationsResult {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IOperationResult])]
+[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [System.String]
+ # Azure location (region) name.
+ ${Location},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [System.String]
+ # The Guid of the operation ID
+ ${OperationId},
+
+ [Parameter(ParameterSetName='Get')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # Gets subscription credentials which uniquely identify Microsoft Azure subscription.
+ # The subscription ID forms part of the URI for every service call.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ Get = 'Az.Kusto.private\Get-AzKustoOperationsResult_Get';
+ GetViaIdentity = 'Az.Kusto.private\Get-AzKustoOperationsResult_GetViaIdentity';
+ }
+ if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
diff --git a/src/Kusto/exports/Get-AzKustoScript.ps1 b/src/Kusto/exports/Get-AzKustoScript.ps1
new file mode 100644
index 000000000000..655627b4b7ff
--- /dev/null
+++ b/src/Kusto/exports/Get-AzKustoScript.ps1
@@ -0,0 +1,189 @@
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Gets a Kusto cluster database script.
+.Description
+Gets a Kusto cluster database script.
+.Example
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+.Example
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [AttachedDatabaseConfigurationName ]: The name of the attached database configuration.
+ [ClusterName ]: The name of the Kusto cluster.
+ [DataConnectionName ]: The name of the data connection.
+ [DatabaseName ]: The name of the database in the Kusto cluster.
+ [Id ]: Resource identity path
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
+ [PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
+ [ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
+ [SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+.Link
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoscript
+#>
+function Get-AzKustoScript {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [System.String]
+ # The name of the Kusto cluster.
+ ${ClusterName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [System.String]
+ # The name of the database in the Kusto cluster.
+ ${DatabaseName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Alias('ScriptName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [System.String]
+ # The name of the Kusto database script.
+ ${Name},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [System.String]
+ # The name of the resource group containing the Kusto cluster.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # Gets subscription credentials which uniquely identify Microsoft Azure subscription.
+ # The subscription ID forms part of the URI for every service call.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ Get = 'Az.Kusto.private\Get-AzKustoScript_Get';
+ GetViaIdentity = 'Az.Kusto.private\Get-AzKustoScript_GetViaIdentity';
+ List = 'Az.Kusto.private\Get-AzKustoScript_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
diff --git a/src/Kusto/exports/Invoke-AzKustoDataConnectionValidation.ps1 b/src/Kusto/exports/Invoke-AzKustoDataConnectionValidation.ps1
index 61435c66b1e3..1daf5f3763e6 100644
--- a/src/Kusto/exports/Invoke-AzKustoDataConnectionValidation.ps1
+++ b/src/Kusto/exports/Invoke-AzKustoDataConnectionValidation.ps1
@@ -61,7 +61,7 @@ event hub resource id and consumer group tuple provided are already used
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -73,15 +73,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/invoke-azkustodataconnectionvalidation
+https://docs.microsoft.com/powershell/module/az.kusto/invoke-azkustodataconnectionvalidation
#>
function Invoke-AzKustoDataConnectionValidation {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnectionValidationResult])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnectionValidationResult])]
[CmdletBinding(DefaultParameterSetName='DataExpandedEventHub', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='DataExpandedEventHub', Mandatory)]
diff --git a/src/Kusto/exports/Invoke-AzKustoDetachClusterFollowerDatabase.ps1 b/src/Kusto/exports/Invoke-AzKustoDetachClusterFollowerDatabase.ps1
index abedd2f2b543..f6f4a0a9020e 100644
--- a/src/Kusto/exports/Invoke-AzKustoDetachClusterFollowerDatabase.ps1
+++ b/src/Kusto/exports/Invoke-AzKustoDetachClusterFollowerDatabase.ps1
@@ -37,12 +37,14 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/invoke-azkustodetachclusterfollowerdatabase
+https://docs.microsoft.com/powershell/module/az.kusto/invoke-azkustodetachclusterfollowerdatabase
#>
function Invoke-AzKustoDetachClusterFollowerDatabase {
[OutputType([System.Boolean])]
diff --git a/src/Kusto/exports/Invoke-AzKustoDiagnoseClusterVirtualNetwork.ps1 b/src/Kusto/exports/Invoke-AzKustoDiagnoseClusterVirtualNetwork.ps1
index a2dfa7d24386..92e57d9e7d72 100644
--- a/src/Kusto/exports/Invoke-AzKustoDiagnoseClusterVirtualNetwork.ps1
+++ b/src/Kusto/exports/Invoke-AzKustoDiagnoseClusterVirtualNetwork.ps1
@@ -37,12 +37,14 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/invoke-azkustodiagnoseclustervirtualnetwork
+https://docs.microsoft.com/powershell/module/az.kusto/invoke-azkustodiagnoseclustervirtualnetwork
#>
function Invoke-AzKustoDiagnoseClusterVirtualNetwork {
[OutputType([System.String])]
diff --git a/src/Kusto/exports/New-AzKustoAttachedDatabaseConfiguration.ps1 b/src/Kusto/exports/New-AzKustoAttachedDatabaseConfiguration.ps1
index 6fe4322f6a8b..7120f11c0e3f 100644
--- a/src/Kusto/exports/New-AzKustoAttachedDatabaseConfiguration.ps1
+++ b/src/Kusto/exports/New-AzKustoAttachedDatabaseConfiguration.ps1
@@ -26,12 +26,12 @@ Name Type
testnewkustoclusterf/myfollowerconfiguration Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations East US
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/new-azkustoattacheddatabaseconfiguration
+https://docs.microsoft.com/powershell/module/az.kusto/new-azkustoattacheddatabaseconfiguration
#>
function New-AzKustoAttachedDatabaseConfiguration {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -86,6 +86,42 @@ param(
# Resource location.
${Location},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
+ [System.String[]]
+ # List of external tables exclude from the follower database
+ ${TableLevelSharingPropertyExternalTablesToExclude},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
+ [System.String[]]
+ # List of external tables to include in the follower database
+ ${TableLevelSharingPropertyExternalTablesToInclude},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
+ [System.String[]]
+ # List of materialized views exclude from the follower database
+ ${TableLevelSharingPropertyMaterializedViewsToExclude},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
+ [System.String[]]
+ # List of materialized views to include in the follower database
+ ${TableLevelSharingPropertyMaterializedViewsToInclude},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
+ [System.String[]]
+ # List of tables to exclude from the follower database
+ ${TableLevelSharingPropertyTablesToExclude},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
+ [System.String[]]
+ # List of tables to include in the follower database
+ ${TableLevelSharingPropertyTablesToInclude},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
diff --git a/src/Kusto/exports/New-AzKustoCluster.ps1 b/src/Kusto/exports/New-AzKustoCluster.ps1
index c912bc5812c6..e1eb8c4b59c5 100644
--- a/src/Kusto/exports/New-AzKustoCluster.ps1
+++ b/src/Kusto/exports/New-AzKustoCluster.ps1
@@ -26,22 +26,19 @@ Location Name Type Zone
East US testnewkustocluster Microsoft.Kusto/Clusters
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-LANGUAGEEXTENSIONVALUE : The list of language extensions.
- [Name ]: The language extension name.
-
TRUSTEDEXTERNALTENANT : The cluster's external tenants.
[Value ]: GUID representing an external tenant.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/new-azkustocluster
+https://docs.microsoft.com/powershell/module/az.kusto/new-azkustocluster
#>
function New-AzKustoCluster {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -65,6 +62,21 @@ param(
# The subscription ID forms part of the URI for every service call.
${SubscriptionId},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Header')]
+ [System.String]
+ # The ETag of the cluster.
+ # Omit this value to always overwrite the current cluster.
+ # Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
+ ${IfMatch},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Header')]
+ [System.String]
+ # Set to '*' to allow a new cluster to be created, but to prevent updating an existing cluster.
+ # Other values will result in a 412 Pre-condition Failed response.
+ ${IfNoneMatch},
+
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
[System.String]
@@ -127,7 +139,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IIdentityUserAssignedIdentities]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IIdentityUserAssignedIdentities]))]
[System.Collections.Hashtable]
# The list of user identities associated with the Kusto cluster.
# The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
@@ -157,13 +169,6 @@ param(
# The user assigned identity (ARM resource id) that has access to the key.
${KeyVaultPropertyUserIdentity},
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[]]
- # The list of language extensions.
- # To construct, see NOTES section for LANGUAGEEXTENSIONVALUE properties and create a hash table.
- ${LanguageExtensionValue},
-
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
[System.Management.Automation.SwitchParameter]
@@ -203,7 +208,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ITrustedExternalTenant[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ITrustedExternalTenant[]]
# The cluster's external tenants.
# To construct, see NOTES section for TRUSTEDEXTERNALTENANT properties and create a hash table.
${TrustedExternalTenant},
diff --git a/src/Kusto/exports/New-AzKustoClusterPrincipalAssignment.ps1 b/src/Kusto/exports/New-AzKustoClusterPrincipalAssignment.ps1
index a5b111801a89..fac3e4c9de2a 100644
--- a/src/Kusto/exports/New-AzKustoClusterPrincipalAssignment.ps1
+++ b/src/Kusto/exports/New-AzKustoClusterPrincipalAssignment.ps1
@@ -26,12 +26,12 @@ Name Type
testnewkustocluster/kustoprincipal1 Microsoft.Kusto/Clusters/PrincipalAssignments
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/new-azkustoclusterprincipalassignment
+https://docs.microsoft.com/powershell/module/az.kusto/new-azkustoclusterprincipalassignment
#>
function New-AzKustoClusterPrincipalAssignment {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
diff --git a/src/Kusto/exports/New-AzKustoDataConnection.ps1 b/src/Kusto/exports/New-AzKustoDataConnection.ps1
index 3821f98c4fc0..29e32b9a80a3 100644
--- a/src/Kusto/exports/New-AzKustoDataConnection.ps1
+++ b/src/Kusto/exports/New-AzKustoDataConnection.ps1
@@ -38,12 +38,12 @@ Kind Location Name Type
IotHub East US testnewkustocluster/mykustodatabase/myiothubdc Microsoft.Kusto/Clusters/Databases/DataConnections
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/new-azkustodataconnection
+https://docs.microsoft.com/powershell/module/az.kusto/new-azkustodataconnection
#>
function New-AzKustoDataConnection {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection])]
[CmdletBinding(DefaultParameterSetName='CreateExpandedEventHub', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
diff --git a/src/Kusto/exports/New-AzKustoDatabase.ps1 b/src/Kusto/exports/New-AzKustoDatabase.ps1
index 1bca915e8c6d..e5c85b45ea00 100644
--- a/src/Kusto/exports/New-AzKustoDatabase.ps1
+++ b/src/Kusto/exports/New-AzKustoDatabase.ps1
@@ -19,19 +19,21 @@ Creates or updates a database.
.Description
Creates or updates a database.
.Example
-PS C:\> New-AzKustoDatabase -ResourceGroupName testrg -ClusterName testnewkustocluster -Name mykustodatabase -Kind ReadWrite -Location 'East US'
+PS C:\> {{ Add code here }}
-Kind Location Name Type
----- -------- ---- ----
-ReadWrite East US testnewkustocluster/mykustodatabase Microsoft.Kusto/Clusters/Databases
+{{ Add output here }}
+.Example
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/new-azkustodatabase
+https://docs.microsoft.com/powershell/module/az.kusto/new-azkustodatabase
#>
function New-AzKustoDatabase {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase])]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
diff --git a/src/Kusto/exports/New-AzKustoDatabasePrincipalAssignment.ps1 b/src/Kusto/exports/New-AzKustoDatabasePrincipalAssignment.ps1
index 0049494b120e..2fef82775533 100644
--- a/src/Kusto/exports/New-AzKustoDatabasePrincipalAssignment.ps1
+++ b/src/Kusto/exports/New-AzKustoDatabasePrincipalAssignment.ps1
@@ -26,12 +26,12 @@ Name Type
testnewkustocluster/mykustodatabase/kustoprincipal1 Microsoft.Kusto/Clusters/Databases/PrincipalAssignments
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/new-azkustodatabaseprincipalassignment
+https://docs.microsoft.com/powershell/module/az.kusto/new-azkustodatabaseprincipalassignment
#>
function New-AzKustoDatabasePrincipalAssignment {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
diff --git a/src/Kusto/exports/New-AzKustoScript.ps1 b/src/Kusto/exports/New-AzKustoScript.ps1
new file mode 100644
index 000000000000..4d9c3a0c6f93
--- /dev/null
+++ b/src/Kusto/exports/New-AzKustoScript.ps1
@@ -0,0 +1,220 @@
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Creates a Kusto database script.
+.Description
+Creates a Kusto database script.
+.Example
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+.Example
+PS C:\> {{ Add code here }}
+
+{{ Add output here }}
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+PARAMETER : Class representing a database script.
+ [ContinueOnError ]: Flag that indicates whether to continue if one of the command fails.
+ [ForceUpdateTag ]: A unique string. If changed the script will be applied again.
+ [SystemDataCreatedAt ]: The timestamp of resource creation (UTC).
+ [SystemDataCreatedBy ]: The identity that created the resource.
+ [SystemDataCreatedByType ]: The type of identity that created the resource.
+ [SystemDataLastModifiedAt ]: The timestamp of resource last modification (UTC)
+ [SystemDataLastModifiedBy ]: The identity that last modified the resource.
+ [SystemDataLastModifiedByType ]: The type of identity that last modified the resource.
+ [Url ]: The url to the KQL script blob file.
+ [UrlSasToken ]: The SaS token.
+.Link
+https://docs.microsoft.com/powershell/module/az.kusto/new-azkustoscript
+#>
+function New-AzKustoScript {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript])]
+[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+param(
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [System.String]
+ # The name of the Kusto cluster.
+ ${ClusterName},
+
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [System.String]
+ # The name of the database in the Kusto cluster.
+ ${DatabaseName},
+
+ [Parameter(Mandatory)]
+ [Alias('ScriptName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [System.String]
+ # The name of the Kusto database script.
+ ${Name},
+
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [System.String]
+ # The name of the resource group containing the Kusto cluster.
+ ${ResourceGroupName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String]
+ # Gets subscription credentials which uniquely identify Microsoft Azure subscription.
+ # The subscription ID forms part of the URI for every service call.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IScript]
+ # Class representing a database script.
+ # To construct, see NOTES section for PARAMETER properties and create a hash table.
+ ${Parameter},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # Flag that indicates whether to continue if one of the command fails.
+ ${ContinueOnError},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
+ [System.String]
+ # A unique string.
+ # If changed the script will be applied again.
+ ${ForceUpdateTag},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
+ [System.String]
+ # The url to the KQL script blob file.
+ ${ScriptUrl},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
+ [System.String]
+ # The SaS token.
+ ${ScriptUrlSasToken},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Run the command as a job
+ ${AsJob},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Run the command asynchronously
+ ${NoWait},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ Create = 'Az.Kusto.private\New-AzKustoScript_Create';
+ CreateExpanded = 'Az.Kusto.private\New-AzKustoScript_CreateExpanded';
+ }
+ if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
diff --git a/src/Kusto/exports/ProxyCmdletDefinitions.ps1 b/src/Kusto/exports/ProxyCmdletDefinitions.ps1
index d29a6d126f68..088818d08435 100644
--- a/src/Kusto/exports/ProxyCmdletDefinitions.ps1
+++ b/src/Kusto/exports/ProxyCmdletDefinitions.ps1
@@ -36,15 +36,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
VALUE : The list of language extensions.
[Name ]: The language extension name.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/add-azkustoclusterlanguageextension
+https://docs.microsoft.com/powershell/module/az.kusto/add-azkustoclusterlanguageextension
#>
function Add-AzKustoClusterLanguageExtension {
[OutputType([System.Boolean])]
@@ -79,7 +81,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension[]]
# The list of language extensions.
# To construct, see NOTES section for VALUE properties and create a hash table.
${Value},
@@ -220,7 +222,7 @@ AppId Email Fqn
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -232,9 +234,11 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
VALUE : The list of Kusto database principals.
@@ -245,10 +249,10 @@ VALUE : The list of Kusto database principals.
[Email ]: Database principal email if exists.
[Fqn ]: Database principal fully qualified name.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/add-azkustodatabaseprincipal
+https://docs.microsoft.com/powershell/module/az.kusto/add-azkustodatabaseprincipal
#>
function Add-AzKustoDatabasePrincipal {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal])]
[CmdletBinding(DefaultParameterSetName='AddExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='AddExpanded', Mandatory)]
@@ -286,7 +290,7 @@ param(
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Kusto.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal[]]
+ [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal[]]
# The list of Kusto database principals.
# To construct, see NOTES section for VALUE properties and create a hash table.
${Value},
@@ -414,7 +418,7 @@ testnewkustoclusterf/myfollowerconfiguration Microsoft.Kusto/Clusters/AttachedDa
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -426,15 +430,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustoattacheddatabaseconfiguration
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoattacheddatabaseconfiguration
#>
function Get-AzKustoAttachedDatabaseConfiguration {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAttachedDatabaseConfiguration])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAttachedDatabaseConfiguration])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -590,12 +596,12 @@ AttachedDatabaseConfigurationName ClusterResourceId
myfollowerconfiguration /subscriptions/xxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxx/resourceGroups/testrg/providers/Microsoft.Kusto/Clusters/testnewkustoclusterf mykustodatabase
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustoclusterfollowerdatabase
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoclusterfollowerdatabase
#>
function Get-AzKustoClusterFollowerDatabase {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IFollowerDatabaseDefinition])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IFollowerDatabaseDefinition])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -733,12 +739,12 @@ R
PYTHON
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustoclusterlanguageextension
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoclusterlanguageextension
#>
function Get-AzKustoClusterLanguageExtension {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ILanguageExtension])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ILanguageExtension])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -883,7 +889,7 @@ testnewkustocluster/kustoprincipal1 Microsoft.Kusto/Clusters/PrincipalAssignment
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -895,15 +901,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustoclusterprincipalassignment
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoclusterprincipalassignment
#>
function Get-AzKustoClusterPrincipalAssignment {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IClusterPrincipalAssignment])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IClusterPrincipalAssignment])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -1101,14 +1109,14 @@ Microsoft.Kusto/clusters
...
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustoclustersku
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustoclustersku
#>
function Get-AzKustoClusterSku {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ISkuDescription], [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IAzureResourceSku])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ISkuDescription], [Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IAzureResourceSku])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter()]
@@ -1255,7 +1263,7 @@ East US testnewkustocluster Microsoft.Kusto/Clusters
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -1267,15 +1275,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustocluster
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustocluster
#>
function Get-AzKustoCluster {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.ICluster])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.ICluster])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -1436,7 +1446,7 @@ testnewkustocluster/mykustodatabase/kustoprincipal1 Microsoft.Kusto/Clusters/Dat
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -1448,15 +1458,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustodatabaseprincipalassignment
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustodatabaseprincipalassignment
#>
function Get-AzKustoDatabasePrincipalAssignment {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipalAssignment])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipalAssignment])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -1619,12 +1631,12 @@ AppId Email Fqn
otheruser@microsoft.com aaduser=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Other User Admin Microsoft User
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustodatabaseprincipal
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustodatabaseprincipal
#>
function Get-AzKustoDatabasePrincipal {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabasePrincipal])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabasePrincipal])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -1776,7 +1788,7 @@ ReadWrite East US testnewkustocluster/mykustodatabase Microsoft.Kusto/Clusters/
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -1788,15 +1800,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName ]: The name of the database in the Kusto cluster.
[Id ]: Resource identity path
- [Location ]: Azure location.
+ [Location ]: Azure location (region) name.
+ [OperationId ]: The Guid of the operation ID
[PrincipalAssignmentName ]: The name of the Kusto principalAssignment.
[ResourceGroupName ]: The name of the resource group containing the Kusto cluster.
+ [ScriptName ]: The name of the Kusto database script.
[SubscriptionId ]: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.kusto/get-azkustodatabase
+https://docs.microsoft.com/powershell/module/az.kusto/get-azkustodatabase
#>
function Get-AzKustoDatabase {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDatabase])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDatabase])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -1960,7 +1974,7 @@ EventHub East US testnewkustocluster/mykustodatabase/mykustodataconnection Micr
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.IKustoIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200918.IDataConnection
+Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101.IDataConnection
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -1972,15 +1986,17 @@ INPUTOBJECT : Identity Parameter
[DataConnectionName ]: The name of the data connection.
[DatabaseName